Rename the toType1() method to the more explicit toType1BER()
[cql-java-moved-to-github.git] / src / org / z3950 / zing / cql / CQLRelation.java
index dc04417..cd0c0b9 100644 (file)
@@ -1,4 +1,4 @@
-// $Id: CQLRelation.java,v 1.8 2002-12-05 17:14:52 mike Exp $
+// $Id: CQLRelation.java,v 1.10 2002-12-11 17:14:20 mike Exp $
 
 package org.z3950.zing.cql;
 import java.util.Vector;
@@ -8,7 +8,7 @@ import java.lang.StringBuffer;
 /**
  * Represents a relation between a CQL qualifier and term.
  *
- * @version    $Id: CQLRelation.java,v 1.8 2002-12-05 17:14:52 mike Exp $
+ * @version    $Id: CQLRelation.java,v 1.10 2002-12-11 17:14:20 mike Exp $
  */
 public class CQLRelation extends CQLNode {
     ModifierSet ms;
@@ -71,9 +71,7 @@ public class CQLRelation extends CQLNode {
        throw new Error("CQLRelation.toPQF() can never be called");
     }
 
-    // ### THIS IS NOT THE REAL CODE.  I'm waiting for Ralph to send it.
-    public byte[] toType1(Properties config) {
-       byte[] op = new byte[0];
-       return op;
+    public byte[] toType1BER(Properties config) {
+       throw new Error("CQLRelation.toType1BER() can never be called");
     }
 }