You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rd...@apache.org on 2005/08/25 20:24:10 UTC
svn commit: r240113 -
/jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/BeanRuleSet.java
Author: rdonkin
Date: Thu Aug 25 11:24:07 2005
New Revision: 240113
URL: http://svn.apache.org/viewcvs?rev=240113&view=rev
Log:
New formulation means no complaints from digester.
Modified:
jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/BeanRuleSet.java
Modified: jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/BeanRuleSet.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/BeanRuleSet.java?rev=240113&r1=240112&r2=240113&view=diff
==============================================================================
--- jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/BeanRuleSet.java (original)
+++ jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/BeanRuleSet.java Thu Aug 25 11:24:07 2005
@@ -401,10 +401,9 @@
*/
public Object popBean() {
Object bean = super.popBean();
- Object top = digester.pop();
- if (digester.peek() == null) {
- // don't pop the last from the stack
- digester.push(top);
+ // don't pop the last from the stack
+ if (digester.getCount() > 0) {
+ digester.pop();
}
return bean;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org