abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r441218 - /incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParserOptions.java
Date Thu, 07 Sep 2006 20:40:06 GMT
Author: jmsnell
Date: Thu Sep  7 13:40:05 2006
New Revision: 441218

URL: http://svn.apache.org/viewvc?view=rev&rev=441218
Log:
Removed unused code.
Add a statement that AbstractParserOptions is not thread-safe

Modified:
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParserOptions.java

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParserOptions.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParserOptions.java?view=diff&rev=441218&r1=441217&r2=441218
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParserOptions.java
(original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractParserOptions.java
Thu Sep  7 13:40:05 2006
@@ -22,6 +22,9 @@
 import org.apache.abdera.filter.TextFilter;
 import org.apache.abdera.parser.ParserOptions;
 
+/**
+ * Non thread-safe abstract implementation of ParserOptions
+ */
 public abstract class AbstractParserOptions 
   implements ParserOptions, Cloneable {
 
@@ -30,10 +33,6 @@
   protected ParseFilter parseFilter = null;
   protected TextFilter textFilter = null;
   protected boolean detect = false;
-  protected boolean ignoredtd = false;
-  protected boolean ignorecomments = false;
-  protected boolean ignorepi = false;
-  protected boolean ignorespace = false;
 
   protected abstract void initFactory();
   protected abstract void checkFactory(Factory factory);
@@ -93,30 +92,5 @@
   
   public void setAutodetectCharset(boolean detect) {
     this.detect = detect;
-  }
-  
-  public void setIgnoreDoctype(boolean ignore) {
-    this.ignoredtd = ignore;
-  }
-  public void setIgnoreComments(boolean ignore) {
-    this.ignorecomments = ignore;
-  }
-  public void setIgnoreWhitespace(boolean ignore) {
-    this.ignorespace = ignore;
-  }
-  public void setIgnoreProcessingInstructions(boolean ignore) {
-    this.ignorepi = ignore;
-  }
-  public boolean getIgnoreDoctype() {
-    return this.ignoredtd;
-  }
-  public boolean getIgnoreComments() {
-    return this.ignorecomments;
-  }
-  public boolean getIgnoreWhitespace() {
-    return this.ignorespace;
-  }
-  public boolean getIgnoreProcessingInstructions() {
-    return this.ignorepi;
   }
 }



Mime
View raw message