commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1128529 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/AbstractRulesImpl.java
Date Fri, 27 May 2011 23:37:18 GMT
Author: simonetripodi
Date: Fri May 27 23:37:18 2011
New Revision: 1128529

URL: http://svn.apache.org/viewvc?rev=1128529&view=rev
Log:
'public'/'protected' modifier out of order with the JLS suggestions.

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

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/AbstractRulesImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/AbstractRulesImpl.java?rev=1128529&r1=1128528&r2=1128529&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/AbstractRulesImpl.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/AbstractRulesImpl.java
Fri May 27 23:37:18 2011
@@ -113,12 +113,12 @@ public abstract class AbstractRulesImpl
      * @param pattern Nesting pattern to be matched for this Rule
      * @param rule Rule instance to be registered
      */
-    abstract protected void registerRule( String pattern, Rule rule );
+    protected abstract void registerRule( String pattern, Rule rule );
 
     /**
      * Clear all existing Rule instance registrations.
      */
-    abstract public void clear();
+    public abstract void clear();
 
     /**
      * Return a List of all registered Rule instances that match the specified nesting pattern,
or a zero-length List if
@@ -143,13 +143,13 @@ public abstract class AbstractRulesImpl
      *            namespace URI
      * @param pattern Nesting pattern to be matched
      */
-    abstract public List<Rule> match( String namespaceURI, String pattern );
+    public abstract 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.
      */
-    abstract public List<Rule> rules();
+    public abstract List<Rule> rules();
 
 }



Mime
View raw message