Author: gscokart
Date: Thu Aug 21 12:21:01 2008
New Revision: 687834
URL: http://svn.apache.org/viewvc?rev=687834&view=rev
Log:
add some final keyword to immutable things
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/BuildEvent.java
Modified: ant/core/trunk/src/main/org/apache/tools/ant/BuildEvent.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/BuildEvent.java?rev=687834&r1=687833&r2=687834&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/BuildEvent.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/BuildEvent.java Thu Aug 21
12:21:01 2008
@@ -32,11 +32,11 @@
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.