You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ra...@apache.org on 2008/12/23 21:18:22 UTC

svn commit: r729086 - /commons/proper/digester/trunk/src/java/org/apache/commons/digester/Rules.java

Author: rahul
Date: Tue Dec 23 12:18:22 2008
New Revision: 729086

URL: http://svn.apache.org/viewvc?rev=729086&view=rev
Log:
Rules interface: Use generics instead of raw types.

Modified:
    commons/proper/digester/trunk/src/java/org/apache/commons/digester/Rules.java

Modified: commons/proper/digester/trunk/src/java/org/apache/commons/digester/Rules.java
URL: http://svn.apache.org/viewvc/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Rules.java?rev=729086&r1=729085&r2=729086&view=diff
==============================================================================
--- commons/proper/digester/trunk/src/java/org/apache/commons/digester/Rules.java (original)
+++ commons/proper/digester/trunk/src/java/org/apache/commons/digester/Rules.java Tue Dec 23 12:18:22 2008
@@ -98,7 +98,7 @@
      *
      * @deprecated Call match(namespaceURI,pattern) instead.
      */
-    public List match(String pattern);
+    public List<Rule> match(String pattern);
 
 
     /**
@@ -112,7 +112,7 @@
      *  or <code>null</code> to match regardless of namespace URI
      * @param pattern Nesting pattern to be matched
      */
-    public List match(String namespaceURI, String pattern);
+    public List<Rule> match(String namespaceURI, String pattern);
 
 
     /**
@@ -122,7 +122,7 @@
      * in the order originally registered through the <code>add()</code>
      * method.
      */
-    public List rules();
+    public List<Rule> rules();
 
 
 }