From: mike Date: Thu, 28 Jun 2007 00:23:17 +0000 (+0000) Subject: toXCL() emits modifiers with "comparison" rather than "relation" X-Git-Tag: v1.5~103 X-Git-Url: http://jira.indexdata.com/?a=commitdiff_plain;h=ebb507470f5cd2e05da8381706248f0d5855b159;p=cql-java-moved-to-github.git toXCL() emits modifiers with "comparison" rather than "relation" --- diff --git a/src/org/z3950/zing/cql/ModifierSet.java b/src/org/z3950/zing/cql/ModifierSet.java index ee185a3..120b4e9 100644 --- a/src/org/z3950/zing/cql/ModifierSet.java +++ b/src/org/z3950/zing/cql/ModifierSet.java @@ -1,4 +1,4 @@ -// $Id: ModifierSet.java,v 1.10 2007-06-27 22:14:03 mike Exp $ +// $Id: ModifierSet.java,v 1.11 2007-06-28 00:23:17 mike Exp $ package org.z3950.zing.cql; import java.util.Vector; @@ -15,7 +15,7 @@ import java.lang.StringBuffer; * zero or more type comparison value pairs, * where type, comparison and value are all strings. * - * @version $Id: ModifierSet.java,v 1.10 2007-06-27 22:14:03 mike Exp $ + * @version $Id: ModifierSet.java,v 1.11 2007-06-28 00:23:17 mike Exp $ */ public class ModifierSet { String base; @@ -77,7 +77,7 @@ public class ModifierSet { if (modifiers.size() > 0) { buf.append(Utils.indent(level+1) + "\n"); for (int i = 0; i < modifiers.size(); i++) { - buf.append(modifiers.get(i).toXCQL(level+2, "relation")); + buf.append(modifiers.get(i).toXCQL(level+2, "comparison")); } buf.append(Utils.indent(level+1) + "\n"); }