From 053240d928e62428b231346696320cb47b3c1936 Mon Sep 17 00:00:00 2001 From: Scokart Gilles Date: Thu, 21 Aug 2008 19:21:01 +0000 Subject: [PATCH] add some final keyword to immutable things git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@687834 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/BuildEvent.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/org/apache/tools/ant/BuildEvent.java b/src/main/org/apache/tools/ant/BuildEvent.java index 65c927e13..623ad1e62 100644 --- a/src/main/org/apache/tools/ant/BuildEvent.java +++ b/src/main/org/apache/tools/ant/BuildEvent.java @@ -32,11 +32,11 @@ public class BuildEvent extends EventObject { private static final long serialVersionUID = 4538050075952288486L; /** Project which emitted the event. */ - private Project project; + private final Project project; /** Target which emitted the event, if specified. */ - private Target target; + private final Target target; /** Task which emitted the event, if specified. */ - private Task task; + private final Task task; /** * Message associated with the event. This is only used for * "messageLogged" events.