Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A796C6E3F for ; Sat, 11 Jun 2011 22:39:09 +0000 (UTC) Received: (qmail 60400 invoked by uid 500); 11 Jun 2011 22:39:09 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 60341 invoked by uid 500); 11 Jun 2011 22:39:09 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 60334 invoked by uid 99); 11 Jun 2011 22:39:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jun 2011 22:39:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jun 2011 22:39:08 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EAAD423889EC; Sat, 11 Jun 2011 22:38:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@commons.apache.org From: simonetripodi@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110611223847.EAAD423889EC@eris.apache.org> 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; }