abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1371956 - /abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java
Date Sat, 11 Aug 2012 14:01:11 GMT
Author: veithen
Date: Sat Aug 11 14:01:10 2012
New Revision: 1371956

URL: http://svn.apache.org/viewvc?rev=1371956&view=rev
Log:
Removed method that duplicates code from the base class.

Modified:
    abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java

Modified: abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java?rev=1371956&r1=1371955&r2=1371956&view=diff
==============================================================================
--- abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java (original)
+++ abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java Sat
Aug 11 14:01:10 2012
@@ -292,19 +292,6 @@ public class FOMBuilder extends StAXOMBu
         }
     }
 
-    @Override
-    protected void endElement() {
-        if (lastNode != null && lastNode.isComplete()) {
-            OMElement parent = (OMElement)lastNode.getParent();
-            ((OMNodeEx)parent).setComplete(true);
-            lastNode = parent;
-        } else {
-            OMNode e = lastNode;
-            if (e != null)
-                ((OMNodeEx)e).setComplete(true);
-        }
-    }
-
     public <T extends Element> Document<T> getFomDocument() {
         while (!indoc && !done) {
             next();



Mime
View raw message