commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1305245 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/BaseGraphVisitHandler.java
Date Mon, 26 Mar 2012 07:37:14 GMT
Author: simonetripodi
Date: Mon Mar 26 07:37:13 2012
New Revision: 1305245

URL: http://svn.apache.org/viewvc?rev=1305245&view=rev
Log:
statically imported the VisitState.CONTINUE state

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

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/BaseGraphVisitHandler.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/BaseGraphVisitHandler.java?rev=1305245&r1=1305244&r2=1305245&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/BaseGraphVisitHandler.java
(original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/BaseGraphVisitHandler.java
Mon Mar 26 07:37:13 2012
@@ -19,6 +19,8 @@ package org.apache.commons.graph.visit;
  * under the License.
  */
 
+import static org.apache.commons.graph.visit.VisitState.CONTINUE;
+
 import org.apache.commons.graph.Graph;
 
 /**
@@ -45,7 +47,7 @@ public class BaseGraphVisitHandler<V, E,
     public VisitState discoverVertex( V vertex )
     {
         // do nothing
-        return VisitState.CONTINUE;
+        return CONTINUE;
     }
 
     /**
@@ -54,7 +56,7 @@ public class BaseGraphVisitHandler<V, E,
     public VisitState discoverEdge( V head, E edge, V tail )
     {
         // do nothing
-        return VisitState.CONTINUE;
+        return CONTINUE;
     }
 
     /**
@@ -63,7 +65,7 @@ public class BaseGraphVisitHandler<V, E,
     public VisitState finishEdge( V head, E edge, V tail )
     {
         // do nothing
-        return VisitState.CONTINUE;
+        return CONTINUE;
     }
 
     /**
@@ -72,7 +74,7 @@ public class BaseGraphVisitHandler<V, E,
     public VisitState finishVertex( V vertex )
     {
         // do nothing
-        return VisitState.CONTINUE;
+        return CONTINUE;
     }
 
     /**



Mime
View raw message