Revert "Added Netbeans project."
[cql-java-moved-to-github.git] / src / org / z3950 / zing / cql / CQLOrNode.java
index dde3368..9e7d66e 100644 (file)
@@ -1,4 +1,4 @@
-// $Id: CQLOrNode.java,v 1.6 2002-12-05 17:14:52 mike Exp $
+// $Id: CQLOrNode.java,v 1.9 2007-06-29 12:48:21 mike Exp $
 
 package org.z3950.zing.cql;
 
@@ -6,19 +6,15 @@ package org.z3950.zing.cql;
 /**
  * Represents an OR node in a CQL parse-tree.
  *
- * @version    $Id: CQLOrNode.java,v 1.6 2002-12-05 17:14:52 mike Exp $
+ * @version    $Id: CQLOrNode.java,v 1.9 2007-06-29 12:48:21 mike Exp $
  */
 public class CQLOrNode extends CQLBooleanNode {
     /**
-     * Creates a new OR node with the specified left- and right-hand sides.
+     * Creates a new OR node with the specified left- and right-hand
+     * sides and modifiers.
      */
-    public CQLOrNode(CQLNode left, CQLNode right) {
-       this.left = left;
-       this.right = right;
-    }
-
-    String op() {
-       return "or";
+    public CQLOrNode(CQLNode left, CQLNode right, ModifierSet ms) {
+       super(left, right, ms);
     }
 
     byte[] opType1() {