You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by cr...@apache.org on 2003/08/17 04:50:05 UTC

cvs commit: jakarta-commons/digester/src/java/org/apache/commons/digester NodeCreateRule.java

craigmcc    2003/08/16 19:50:05

  Modified:    digester/src/java/org/apache/commons/digester
                        NodeCreateRule.java
  Log:
  Make NodeCreateRule pop the Node off the top of the stack in the end()
  method, analogous to what ObjectCreateRule and FactoryCreateRule do.
  
  Suggested on COMMONS-USER by Thomas Nitsche <nitsche at ifis.uni-passau.de>
  on 29 July 2003.
  
  Revision  Changes    Path
  1.3       +11 -1     jakarta-commons/digester/src/java/org/apache/commons/digester/NodeCreateRule.java
  
  Index: NodeCreateRule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/NodeCreateRule.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- NodeCreateRule.java	2 Feb 2003 16:09:53 -0000	1.2
  +++ NodeCreateRule.java	17 Aug 2003 02:50:05 -0000	1.3
  @@ -459,4 +459,14 @@
       }
   
   
  +    /**
  +     * Pop the Node off the top of the stack.
  +     */
  +    public void end() throws Exception {
  +
  +        Object top = digester.pop();
  +
  +    }
  +
  +
   }
  
  
  

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