From: mike Date: Fri, 29 Jun 2007 12:48:21 +0000 (+0000) Subject: Remove op() X-Git-Tag: v1.5~81 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=43c5ce0c75761cdad125f0e8dc64868541b45485;p=cql-java-moved-to-github.git Remove op() --- diff --git a/src/org/z3950/zing/cql/CQLAndNode.java b/src/org/z3950/zing/cql/CQLAndNode.java index d2e9f0f..dc452db 100644 --- a/src/org/z3950/zing/cql/CQLAndNode.java +++ b/src/org/z3950/zing/cql/CQLAndNode.java @@ -1,4 +1,4 @@ -// $Id: CQLAndNode.java,v 1.8 2007-06-29 11:54:56 mike Exp $ +// $Id: CQLAndNode.java,v 1.9 2007-06-29 12:48:21 mike Exp $ package org.z3950.zing.cql; @@ -6,7 +6,7 @@ package org.z3950.zing.cql; /** * Represents an AND node in a CQL parse-tree. * - * @version $Id: CQLAndNode.java,v 1.8 2007-06-29 11:54:56 mike Exp $ + * @version $Id: CQLAndNode.java,v 1.9 2007-06-29 12:48:21 mike Exp $ */ public class CQLAndNode extends CQLBooleanNode { /** @@ -17,10 +17,6 @@ public class CQLAndNode extends CQLBooleanNode { super(left, right, ms); } - String op() { - return "and"; - } - // ### Too much code duplication here with OR and NOT byte[] opType1() { byte[] op = new byte[5]; diff --git a/src/org/z3950/zing/cql/CQLNotNode.java b/src/org/z3950/zing/cql/CQLNotNode.java index dd51321..7b56de3 100644 --- a/src/org/z3950/zing/cql/CQLNotNode.java +++ b/src/org/z3950/zing/cql/CQLNotNode.java @@ -1,4 +1,4 @@ -// $Id: CQLNotNode.java,v 1.8 2007-06-29 11:54:56 mike Exp $ +// $Id: CQLNotNode.java,v 1.9 2007-06-29 12:48:21 mike Exp $ package org.z3950.zing.cql; @@ -6,7 +6,7 @@ package org.z3950.zing.cql; /** * Represents a NOT node in a CQL parse-tree. * - * @version $Id: CQLNotNode.java,v 1.8 2007-06-29 11:54:56 mike Exp $ + * @version $Id: CQLNotNode.java,v 1.9 2007-06-29 12:48:21 mike Exp $ */ public class CQLNotNode extends CQLBooleanNode { /** @@ -17,10 +17,6 @@ public class CQLNotNode extends CQLBooleanNode { super(left, right, ms); } - String op() { - return "not"; - } - byte[] opType1() { byte[] op = new byte[5]; putTag(CONTEXT, 46, CONSTRUCTED, op, 0); // Operator diff --git a/src/org/z3950/zing/cql/CQLOrNode.java b/src/org/z3950/zing/cql/CQLOrNode.java index 961f6d1..9e7d66e 100644 --- a/src/org/z3950/zing/cql/CQLOrNode.java +++ b/src/org/z3950/zing/cql/CQLOrNode.java @@ -1,4 +1,4 @@ -// $Id: CQLOrNode.java,v 1.8 2007-06-29 11:54:56 mike Exp $ +// $Id: CQLOrNode.java,v 1.9 2007-06-29 12:48:21 mike Exp $ package org.z3950.zing.cql; @@ -6,7 +6,7 @@ package org.z3950.zing.cql; /** * Represents an OR node in a CQL parse-tree. * - * @version $Id: CQLOrNode.java,v 1.8 2007-06-29 11:54:56 mike Exp $ + * @version $Id: CQLOrNode.java,v 1.9 2007-06-29 12:48:21 mike Exp $ */ public class CQLOrNode extends CQLBooleanNode { /** @@ -17,10 +17,6 @@ public class CQLOrNode extends CQLBooleanNode { super(left, right, ms); } - String op() { - return "or"; - } - byte[] opType1() { byte[] op = new byte[5]; putTag(CONTEXT, 46, CONSTRUCTED, op, 0); // Operator