tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1370384 - /tomcat/trunk/java/org/apache/catalina/tribes/transport/bio/util/LinkObject.java
Date Tue, 07 Aug 2012 17:41:06 GMT
Author: markt
Date: Tue Aug  7 17:41:06 2012
New Revision: 1370384

URL: http://svn.apache.org/viewvc?rev=1370384&view=rev
Log:
Partial code clean-up for o.a.catalina.tribes
 - Add final prompted by UCDetector
 - Java 7 use of <>

Modified:
    tomcat/trunk/java/org/apache/catalina/tribes/transport/bio/util/LinkObject.java

Modified: tomcat/trunk/java/org/apache/catalina/tribes/transport/bio/util/LinkObject.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/transport/bio/util/LinkObject.java?rev=1370384&r1=1370383&r2=1370384&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/transport/bio/util/LinkObject.java (original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/transport/bio/util/LinkObject.java Tue Aug
 7 17:41:06 2012
@@ -36,11 +36,11 @@ import org.apache.catalina.tribes.group.
 
 public class LinkObject {
 
-    private ChannelMessage msg;
+    private final ChannelMessage msg;
     private LinkObject next;
-    private byte[] key ;
-    private Member[] destination;
-    private InterceptorPayload payload;
+    private final byte[] key ;
+    private final Member[] destination;
+    private final InterceptorPayload payload;
 
     /**
      * Construct a new element from the data object.



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


Mime
View raw message