[Schmitzm-commits] r424 - branches/1.0-gt2-2.6/src/schmitzm/geotools/feature

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Oct 2 15:34:21 CEST 2009


Author: alfonx
Date: 2009-10-02 15:34:20 +0200 (Fri, 02 Oct 2009)
New Revision: 424

Modified:
   branches/1.0-gt2-2.6/src/schmitzm/geotools/feature/CQLFilterParser.java
Log:
* Removed the unused FilterFactory field

Modified: branches/1.0-gt2-2.6/src/schmitzm/geotools/feature/CQLFilterParser.java
===================================================================
--- branches/1.0-gt2-2.6/src/schmitzm/geotools/feature/CQLFilterParser.java	2009-10-02 11:55:36 UTC (rev 423)
+++ branches/1.0-gt2-2.6/src/schmitzm/geotools/feature/CQLFilterParser.java	2009-10-02 13:34:20 UTC (rev 424)
@@ -33,7 +33,7 @@
 import org.geotools.filter.text.cql2.CQL;
 import org.geotools.filter.text.cql2.CQLException;
 import org.opengis.filter.Filter;
-import org.opengis.filter.FilterFactory;
+//import org.opengis.filter.FilterFactory;
 
 /**
  * This parser creates a CQL-{@link Filter} from a rule string.
@@ -42,24 +42,24 @@
  */
 public class CQLFilterParser implements FilterParser {
   /** Factory used to create the {@link Filter}. */
-  protected FilterFactory filterFactory = null;
+//  protected FilterFactory filterFactory = null;
 
   /**
    * Creates a new parser.
    */
   public CQLFilterParser() {
-    this(null);
+//    this(null);
   }
-
+//
+//  /**
+//   * Creates a new parser.
+////   * @param filterFactory factory used to create the {@link Filter} (can be {@code null})
+//   */
+//  public CQLFilterParser(FilterFactory filterFactory) {
+//    this.filterFactory = filterFactory;
+//  }
+//  
   /**
-   * Creates a new parser.
-   * @param filterFactory factory used to create the {@link Filter} (can be {@code null})
-   */
-  public CQLFilterParser(FilterFactory filterFactory) {
-    this.filterFactory = filterFactory;
-  }
-  
-  /**
    * Creates a CQL-{@link Filter} for the rule string.
    * @param rule a rule string
    * @return TRUE filter, if rule is {@code null} or empty



More information about the Schmitzm-commits mailing list