projects
/
cql-java-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1ec51b9
)
Single-argument constructor sets type rather than value.
author
mike
<mike>
Wed, 27 Jun 2007 17:18:54 +0000
(17:18 +0000)
committer
mike
<mike>
Wed, 27 Jun 2007 17:18:54 +0000
(17:18 +0000)
src/org/z3950/zing/cql/Modifier.java
patch
|
blob
|
history
diff --git
a/src/org/z3950/zing/cql/Modifier.java
b/src/org/z3950/zing/cql/Modifier.java
index
00c1a89
..
321b2df
100644
(file)
--- a/
src/org/z3950/zing/cql/Modifier.java
+++ b/
src/org/z3950/zing/cql/Modifier.java
@@
-1,4
+1,4
@@
-// $Id: Modifier.java,v 1.1 2007-06-27 17:01:23 mike Exp $
+// $Id: Modifier.java,v 1.2 2007-06-27 17:18:54 mike Exp $
package org.z3950.zing.cql;
import java.util.Vector;
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.
*
* <P>
* This class is used only by ModifierSet.
*
- * @version $Id: Modifier.java,v 1.1 2007-06-27 17:01:23 mike Exp $
+ * @version $Id: Modifier.java,v 1.2 2007-06-27 17:18:54 mike Exp $
*/
public class Modifier {
String type;
*/
public class Modifier {
String type;
@@
-27,14
+27,16
@@
public class Modifier {
this.type = type;
this.comparison = comparison;
this.value = value;
this.type = type;
this.comparison = comparison;
this.value = value;
+ //System.err.println("Made new modifier with " + "type='" + type + "', " + "comparison='" + comparison + "', " + "value='" + value + "',\n");
}
/**
}
/**
- * Creates a new Modifier with the specified value but no
+ * Creates a new Modifier with the specified type but no
* comparison or value.
*/
public Modifier(String value) {
* comparison or value.
*/
public Modifier(String value) {
- this.value = value;
+ this.type = type;
+ //System.err.println("Made new modifier of type '" + type + "'\n");
}
/**
}
/**