commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1296614 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/CommonsGraph.java
Date Sat, 03 Mar 2012 12:35:08 GMT
Author: simonetripodi
Date: Sat Mar  3 12:35:08 2012
New Revision: 1296614

URL: http://svn.apache.org/viewvc?rev=1296614&view=rev
Log:
private GraphInvocationHandler fields can be final

Modified:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/CommonsGraph.java

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/CommonsGraph.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/CommonsGraph.java?rev=1296614&r1=1296613&r2=1296614&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/CommonsGraph.java (original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/CommonsGraph.java Sat
Mar  3 12:35:08 2012
@@ -304,9 +304,9 @@ public final class CommonsGraph<V extend
     {
         protected Object lock;
 
-        Set<Method> synchronizedMethods;
+        private final Set<Method> synchronizedMethods;
 
-        T checkedToBeSynchronized;
+        private final T checkedToBeSynchronized;
 
         public GraphInvocationHandler( Set<Method> synchronizedMethods, T checkedToBeSynchronized
)
         {



Mime
View raw message