From: mike Date: Tue, 3 Jul 2007 13:29:34 +0000 (+0000) Subject: Simplify. X-Git-Tag: v1.5~60 X-Git-Url: http://jira.indexdata.com/?a=commitdiff_plain;h=cfedb457f77d02ca2cea6c0fb2ec901de98d825c;p=cql-java-moved-to-github.git Simplify. --- diff --git a/src/org/z3950/zing/cql/Modifier.java b/src/org/z3950/zing/cql/Modifier.java index 56cec56..4992b25 100644 --- a/src/org/z3950/zing/cql/Modifier.java +++ b/src/org/z3950/zing/cql/Modifier.java @@ -1,4 +1,4 @@ -// $Id: Modifier.java,v 1.3 2007-06-29 10:20:09 mike Exp $ +// $Id: Modifier.java,v 1.4 2007-07-03 13:29:34 mike Exp $ package org.z3950.zing.cql; import java.util.Vector; @@ -12,7 +12,7 @@ import java.lang.StringBuffer; *

* This class is used only by ModifierSet. * - * @version $Id: Modifier.java,v 1.3 2007-06-29 10:20:09 mike Exp $ + * @version $Id: Modifier.java,v 1.4 2007-07-03 13:29:34 mike Exp $ */ public class Modifier { String type; @@ -78,9 +78,7 @@ public class Modifier { } public String toCQL() { - StringBuffer buf = new StringBuffer(); - - buf.append(type); + StringBuffer buf = new StringBuffer(type); if (value != null) buf.append(" " + comparison + " " + value);