From 1691df1a44932a9e93caf5cb6005e70ee8869c72 Mon Sep 17 00:00:00 2001 From: mike Date: Fri, 6 Dec 2002 12:34:45 +0000 Subject: [PATCH] Add stub toType1() that throws an exception. --- src/org/z3950/zing/cql/CQLRelation.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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"); } } -- 1.7.10.4