tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1237988 - /tomcat/trunk/java/org/apache/catalina/ContainerEvent.java
Date Mon, 30 Jan 2012 20:43:09 GMT
Author: markt
Date: Mon Jan 30 20:43:09 2012
New Revision: 1237988

URL: http://svn.apache.org/viewvc?rev=1237988&view=rev
Log:
Use final where appropriate

Modified:
    tomcat/trunk/java/org/apache/catalina/ContainerEvent.java

Modified: tomcat/trunk/java/org/apache/catalina/ContainerEvent.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ContainerEvent.java?rev=1237988&r1=1237987&r2=1237988&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/ContainerEvent.java (original)
+++ tomcat/trunk/java/org/apache/catalina/ContainerEvent.java Mon Jan 30 20:43:09 2012
@@ -32,13 +32,13 @@ public final class ContainerEvent extend
     /**
      * The event data associated with this event.
      */
-    private Object data = null;
+    private final Object data;
 
 
     /**
      * The event type this instance represents.
      */
-    private String type = null;
+    private final String type;
 
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message