commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1134806 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/contract/Contract.java
Date Sat, 11 Jun 2011 22:38:47 GMT
Author: simonetripodi
Date: Sat Jun 11 22:38:47 2011
New Revision: 1134806

URL: http://svn.apache.org/viewvc?rev=1134806&view=rev
Log:
removed redundant 'public' modifier

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

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/contract/Contract.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/contract/Contract.java?rev=1134806&r1=1134805&r2=1134806&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/contract/Contract.java
(original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/contract/Contract.java
Sat Jun 11 22:38:47 2011
@@ -34,25 +34,25 @@ public interface Contract
      * the graph you should work off of. If an edge or vertex addition is
      * illegal to the contract, raise a GraphException with and explanation.
      */
-    public void setImpl(DirectedGraph impl);
+    void setImpl(DirectedGraph impl);
 
     /**
      * getInterface This returns the marker interface which is associated with
      * the Contract. For instance, AcyclicContract will return AcyclicGraph
      * here.
      */
-    public Class getInterface();
+    Class getInterface();
 
     /**
      * verify - This verifies that the graph it is working on complies.
      */
-    public void verify()
+    void verify()
         throws GraphException;
 
     /**
      * Adds a feature to the Edge attribute of the Contract object
      */
-    public void addEdge(Edge e,
+    void addEdge(Edge e,
                         Vertex start,
                         Vertex end)
         throws GraphException;
@@ -60,19 +60,19 @@ public interface Contract
     /**
      * Adds a feature to the Vertex attribute of the Contract object
      */
-    public void addVertex(Vertex v)
+    void addVertex(Vertex v)
         throws GraphException;
 
     /**
      * Description of the Method
      */
-    public void removeEdge(Edge e)
+    void removeEdge(Edge e)
         throws GraphException;
 
     /**
      * Description of the Method
      */
-    public void removeVertex(Vertex v)
+    void removeVertex(Vertex v)
         throws GraphException;
 
 }



Mime
View raw message