You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/05/28 17:32:10 UTC

svn commit: r1128673 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Rules.java

Author: simonetripodi
Date: Sat May 28 15:32:10 2011
New Revision: 1128673

URL: http://svn.apache.org/viewvc?rev=1128673&view=rev
Log:
fixed checkstyle violation: Redundant 'public' modifier.

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Rules.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Rules.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Rules.java?rev=1128673&r1=1128672&r2=1128673&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Rules.java (original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Rules.java Sat May 28 15:32:10 2011
@@ -34,19 +34,19 @@ public interface Rules
     /**
      * Return the Digester instance with which this Rules instance is associated.
      */
-    public Digester getDigester();
+    Digester getDigester();
 
     /**
      * Set the Digester instance with which this Rules instance is associated.
      * 
      * @param digester The newly associated Digester instance
      */
-    public void setDigester( Digester digester );
+    void setDigester( Digester digester );
 
     /**
      * Return the namespace URI that will be applied to all subsequently added <code>Rule</code> objects.
      */
-    public String getNamespaceURI();
+    String getNamespaceURI();
 
     /**
      * Set the namespace URI that will be applied to all subsequently added <code>Rule</code> objects.
@@ -54,7 +54,7 @@ public interface Rules
      * @param namespaceURI Namespace URI that must match on all subsequently added rules, or <code>null</code> for
      *            matching regardless of the current namespace URI
      */
-    public void setNamespaceURI( String namespaceURI );
+    void setNamespaceURI( String namespaceURI );
 
     // --------------------------------------------------------- Public Methods
 
@@ -64,12 +64,12 @@ public interface Rules
      * @param pattern Nesting pattern to be matched for this Rule
      * @param rule Rule instance to be registered
      */
-    public void add( String pattern, Rule rule );
+    void add( String pattern, Rule rule );
 
     /**
      * Clear all existing Rule instance registrations.
      */
-    public void clear();
+    void clear();
 
     /**
      * Return a List of all registered Rule instances that match the specified nesting pattern, or a zero-length List if
@@ -80,13 +80,13 @@ public interface Rules
      *            namespace URI
      * @param pattern Nesting pattern to be matched
      */
-    public List<Rule> match( String namespaceURI, String pattern );
+    List<Rule> match( String namespaceURI, String pattern );
 
     /**
      * Return a List of all registered Rule instances, or a zero-length List if there are no registered Rule instances.
      * If more than one Rule instance has been registered, they <strong>must</strong> be returned in the order
      * originally registered through the <code>add()</code> method.
      */
-    public List<Rule> rules();
+    List<Rule> rules();
 
 }