summaryrefslogtreecommitdiff
path: root/src/main/org/apache
diff options
context:
space:
mode:
authorScokart Gilles <gscokart@apache.org>2008-08-21 19:21:01 +0000
committerScokart Gilles <gscokart@apache.org>2008-08-21 19:21:01 +0000
commit053240d928e62428b231346696320cb47b3c1936 (patch)
tree5c949b87c45f61c942560bd44f1dd06e779d4d91 /src/main/org/apache
parent502a6bcbf71545cea2109fa6ceb8a60ad5fdfb82 (diff)
downloadant-053240d928e62428b231346696320cb47b3c1936.tar.gz
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
Diffstat (limited to 'src/main/org/apache')
-rw-r--r--src/main/org/apache/tools/ant/BuildEvent.java6
1 files 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.