From: Jakub Skoczen Date: Wed, 25 Jul 2012 09:12:10 +0000 (+0200) Subject: Add toString X-Git-Tag: v1.11~6 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=9b2921acd159a3dcac5869ac44986c97fd0bd078;p=cql-java-moved-to-github.git Add toString --- diff --git a/src/main/java/org/z3950/zing/cql/CQLNode.java b/src/main/java/org/z3950/zing/cql/CQLNode.java index 8e24cf3..a4e171d 100644 --- a/src/main/java/org/z3950/zing/cql/CQLNode.java +++ b/src/main/java/org/z3950/zing/cql/CQLNode.java @@ -337,4 +337,9 @@ public abstract class CQLNode { System.arraycopy(qry, 0, q, 0, offset); return q; } + + @Override + public String toString() { + return toCQL(); + } }