abdera-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1371885&view=rev
Log:
Removed unused attribute.

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=1371885&r1=1371884&r2=1371885&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 08:20:54 2012
@@ -52,7 +52,6 @@ public class FOMBuilder extends StAXOMBu
     private final FOMFactory fomfactory;
     private final ParserOptions parserOptions;
     private boolean indoc = false;
-    private int depth = 0;
     private int depthInSkipElement = 0;
     private boolean ignoreWhitespace = false;
     private boolean ignoreComments = false;
@@ -82,7 +81,6 @@ public class FOMBuilder extends StAXOMBu
 
     @Override
     protected OMNode createOMElement() throws OMException {
-        depth++;
         OMElement node;
         String elementName = parser.getLocalName();
         if (lastNode == null) {
@@ -309,7 +307,6 @@ public class FOMBuilder extends StAXOMBu
             if (e != null)
                 ((OMNodeEx)e).setComplete(true);
         }
-        depth--;
     }
 
     public <T extends Element> Document<T> getFomDocument() {



Mime
View raw message