Author: simonetripodi
Date: Sat Jun 11 23:50:51 2011
New Revision: 1134834

URL: http://svn.apache.org/viewvc?rev=1134834&view=rev
Log:
static fields have to be upper-case

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

Modified: 
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/decorator/DDirectedGraph.java
URL: 
http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/decorator/DDirectedGraph.java?rev=1134834&r1=1134833&r2=1134834&view=diff
==============================================================================
--- 
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/decorator/DDirectedGraph.java
 (original)
+++ 
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/decorator/DDirectedGraph.java
 Sat Jun 11 23:50:51 2011
@@ -43,7 +43,7 @@ public class DDirectedGraph<V extends Ve
     implements DirectedGraph<V, WE>, WeightedGraph<V, WE>
 {
 
-    private static final Map decoratedGraphs = new HashMap();// DGRAPH X 
DDGRAPH
+    private static final Map DECORATED_GRAPHS = new HashMap();// DGRAPH X 
DDGRAPH
 
     /**
      * Description of the Method
@@ -55,13 +55,13 @@ public class DDirectedGraph<V extends Ve
             return (DDirectedGraph<V, WE>) graph;
         }
 
-        if ( decoratedGraphs.containsKey( graph ) )
+        if ( DECORATED_GRAPHS.containsKey( graph ) )
         {
-            return (DDirectedGraph<V, WE>) decoratedGraphs.get( graph );
+            return (DDirectedGraph<V, WE>) DECORATED_GRAPHS.get( graph );
         }
 
         DDirectedGraph<V, WE> decorated = new DDirectedGraph<V, WE>( graph );
-        decoratedGraphs.put( graph, decorated );
+        DECORATED_GRAPHS.put( graph, decorated );
         return decorated;
     }
 


Reply via email to