commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject svn commit: r154462 - jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/SAXHandler.java
Date Sun, 20 Feb 2005 00:45:47 GMT
Author: skitching
Date: Sat Feb 19 16:45:47 2005
New Revision: 154462

URL: http://svn.apache.org/viewcvs?view=rev&rev=154462
Log:
Remove code to invoke startParse and finishParse methods on Actions. This is now
done by the RuleManager that owns those actions.

Modified:
    jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/SAXHandler.java

Modified: jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/SAXHandler.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/SAXHandler.java?view=diff&r1=154461&r2=154462
==============================================================================
--- jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/SAXHandler.java
(original)
+++ jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/SAXHandler.java
Sat Feb 19 16:45:47 2005
@@ -910,11 +910,6 @@
 
         try {
             currRuleManager.startParse(context);
-            List actions = currRuleManager.getActions();
-            for(Iterator i = actions.iterator(); i.hasNext(); ) {
-                Action action = (Action) i.next();
-                action.startParse(context);
-            }
         } catch(DigestionException ex) {
             throw new NestedSAXException(ex);
         }
@@ -945,14 +940,6 @@
 
         RuleManager currRuleManager = context.getRuleManager();
         try {
-            // Fire "finish" events for all defined actions
-            List actions = currRuleManager.getActions();
-            for(Iterator i = actions.iterator(); i.hasNext(); ) {
-                Action action = (Action) i.next();
-                action.finishParse(context);
-            }
-
-            // And finally for the RuleManager too
             currRuleManager.finishParse(context);
         } catch(DigestionException ex) {
             log.error("RuleManager.finishParse threw exception", ex);



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message