From cfedb457f77d02ca2cea6c0fb2ec901de98d825c Mon Sep 17 00:00:00 2001 From: mike Date: Tue, 3 Jul 2007 13:29:34 +0000 Subject: [PATCH] Simplify. --- src/org/z3950/zing/cql/Modifier.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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); -- 1.7.10.4