From: mike Date: Fri, 6 Dec 2002 12:34:45 +0000 (+0000) Subject: Add stub toType1() that throws an exception. X-Git-Tag: v1.5~174 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=1691df1a44932a9e93caf5cb6005e70ee8869c72;p=cql-java-moved-to-github.git Add stub toType1() that throws an exception. --- diff --git a/src/org/z3950/zing/cql/CQLRelation.java b/src/org/z3950/zing/cql/CQLRelation.java index dc04417..c2ae57c 100644 --- a/src/org/z3950/zing/cql/CQLRelation.java +++ b/src/org/z3950/zing/cql/CQLRelation.java @@ -1,4 +1,4 @@ -// $Id: CQLRelation.java,v 1.8 2002-12-05 17:14:52 mike Exp $ +// $Id: CQLRelation.java,v 1.9 2002-12-06 12:34:45 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.9 2002-12-06 12:34:45 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; + throw new Error("CQLRelation.toType1() can never be called"); } }