From 9b2921acd159a3dcac5869ac44986c97fd0bd078 Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Wed, 25 Jul 2012 11:12:10 +0200 Subject: [PATCH] Add toString --- src/main/java/org/z3950/zing/cql/CQLNode.java | 5 +++++ 1 file changed, 5 insertions(+) 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(); + } } -- 1.7.10.4