Simplify.
[cql-java-moved-to-github.git] / src / org / z3950 / zing / cql / Modifier.java
index 321b2df..4992b25 100644 (file)
@@ -1,4 +1,4 @@
-// $Id: Modifier.java,v 1.2 2007-06-27 17:18:54 mike Exp $
+// $Id: Modifier.java,v 1.4 2007-07-03 13:29:34 mike Exp $
 
 package org.z3950.zing.cql;
 import java.util.Vector;
@@ -12,7 +12,7 @@ import java.lang.StringBuffer;
  * <P>
  * This class is used only by ModifierSet.
  *
- * @version $Id: Modifier.java,v 1.2 2007-06-27 17:18:54 mike Exp $
+ * @version $Id: Modifier.java,v 1.4 2007-07-03 13:29:34 mike Exp $
  */
 public class Modifier {
     String type;
@@ -34,7 +34,7 @@ public class Modifier {
      * Creates a new Modifier with the specified type but no
      * comparison or value.
      */
-    public Modifier(String value) {
+    public Modifier(String type) {
        this.type = type;
        //System.err.println("Made new modifier of type '" + type + "'\n");
     }
@@ -79,7 +79,6 @@ public class Modifier {
 
     public String toCQL() {
        StringBuffer buf = new StringBuffer(type);
-
        if (value != null)
            buf.append(" " + comparison + " " + value);