From 99051b49264703cf979ac2c50c72a4e84e21a9a5 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Tue, 10 Oct 2006 15:30:55 +0000 Subject: Removed obsolete debug method. --- src/main/java/com/amazon/carbonado/filter/AndFilter.java | 10 ---------- src/main/java/com/amazon/carbonado/filter/ClosedFilter.java | 7 ------- src/main/java/com/amazon/carbonado/filter/Filter.java | 9 --------- src/main/java/com/amazon/carbonado/filter/OpenFilter.java | 7 ------- src/main/java/com/amazon/carbonado/filter/OrFilter.java | 10 ---------- src/main/java/com/amazon/carbonado/filter/PropertyFilter.java | 8 -------- 6 files changed, 51 deletions(-) (limited to 'src/main') diff --git a/src/main/java/com/amazon/carbonado/filter/AndFilter.java b/src/main/java/com/amazon/carbonado/filter/AndFilter.java index a1fd664..be38800 100644 --- a/src/main/java/com/amazon/carbonado/filter/AndFilter.java +++ b/src/main/java/com/amazon/carbonado/filter/AndFilter.java @@ -143,14 +143,4 @@ public class AndFilter extends BinaryOpFilter { mRight.appendTo(app, values); } } - - void dumpTree(Appendable app, int indentLevel) throws IOException { - mRight.dumpTree(app, indentLevel + 1); - for (int i=0; i extends Filter { public void appendTo(Appendable app, FilterValues values) throws IOException { app.append("closed"); } - - void dumpTree(Appendable app, int indentLevel) throws IOException { - for (int i=0; i implements Appender { public abstract void appendTo(Appendable app, FilterValues values) throws IOException; - /** - * Prints a tree representation of the filter to the given Appendable. - */ - public void dumpTree(Appendable app) throws IOException { - dumpTree(app, 0); - } - - abstract void dumpTree(Appendable app, int indentLevel) throws IOException; - /** * Result from calling {@link Filter#notJoinedFrom}. */ diff --git a/src/main/java/com/amazon/carbonado/filter/OpenFilter.java b/src/main/java/com/amazon/carbonado/filter/OpenFilter.java index 235c27d..deb68d2 100644 --- a/src/main/java/com/amazon/carbonado/filter/OpenFilter.java +++ b/src/main/java/com/amazon/carbonado/filter/OpenFilter.java @@ -127,11 +127,4 @@ public class OpenFilter extends Filter { public void appendTo(Appendable app, FilterValues values) throws IOException { app.append("open"); } - - void dumpTree(Appendable app, int indentLevel) throws IOException { - for (int i=0; i extends BinaryOpFilter { mRight.appendTo(app, values); } } - - void dumpTree(Appendable app, int indentLevel) throws IOException { - mRight.dumpTree(app, indentLevel + 1); - for (int i=0; i extends Filter { } return new IllegalArgumentException(b.toString()); } - - void dumpTree(Appendable app, int indentLevel) throws IOException { - for (int i=0; i