summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2006-10-10 15:30:55 +0000
committerBrian S. O'Neill <bronee@gmail.com>2006-10-10 15:30:55 +0000
commit99051b49264703cf979ac2c50c72a4e84e21a9a5 (patch)
tree537f7016b320c2cf770ec7af62da545f944db312 /src
parent295c4484f89014235c35c7f432c5a778b703fa4f (diff)
Removed obsolete debug method.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/amazon/carbonado/filter/AndFilter.java10
-rw-r--r--src/main/java/com/amazon/carbonado/filter/ClosedFilter.java7
-rw-r--r--src/main/java/com/amazon/carbonado/filter/Filter.java9
-rw-r--r--src/main/java/com/amazon/carbonado/filter/OpenFilter.java7
-rw-r--r--src/main/java/com/amazon/carbonado/filter/OrFilter.java10
-rw-r--r--src/main/java/com/amazon/carbonado/filter/PropertyFilter.java8
6 files changed, 0 insertions, 51 deletions
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<S extends Storable> extends BinaryOpFilter<S> {
mRight.appendTo(app, values);
}
}
-
- void dumpTree(Appendable app, int indentLevel) throws IOException {
- mRight.dumpTree(app, indentLevel + 1);
- for (int i=0; i<indentLevel; i++) {
- app.append(" ");
- }
- app.append("and");
- app.append('\n');
- mLeft.dumpTree(app, indentLevel + 1);
- }
}
diff --git a/src/main/java/com/amazon/carbonado/filter/ClosedFilter.java b/src/main/java/com/amazon/carbonado/filter/ClosedFilter.java
index 6538f8d..f5f1273 100644
--- a/src/main/java/com/amazon/carbonado/filter/ClosedFilter.java
+++ b/src/main/java/com/amazon/carbonado/filter/ClosedFilter.java
@@ -127,11 +127,4 @@ public class ClosedFilter<S extends Storable> extends Filter<S> {
public void appendTo(Appendable app, FilterValues<S> values) throws IOException {
app.append("closed");
}
-
- void dumpTree(Appendable app, int indentLevel) throws IOException {
- for (int i=0; i<indentLevel; i++) {
- app.append(" ");
- }
- app.append("closed");
- }
}
diff --git a/src/main/java/com/amazon/carbonado/filter/Filter.java b/src/main/java/com/amazon/carbonado/filter/Filter.java
index 05cf47d..b262822 100644
--- a/src/main/java/com/amazon/carbonado/filter/Filter.java
+++ b/src/main/java/com/amazon/carbonado/filter/Filter.java
@@ -619,15 +619,6 @@ public abstract class Filter<S extends Storable> implements Appender {
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}.
*/
public class NotJoined {
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<S extends Storable> extends Filter<S> {
public void appendTo(Appendable app, FilterValues<S> values) throws IOException {
app.append("open");
}
-
- void dumpTree(Appendable app, int indentLevel) throws IOException {
- for (int i=0; i<indentLevel; i++) {
- app.append(" ");
- }
- app.append("open");
- }
}
diff --git a/src/main/java/com/amazon/carbonado/filter/OrFilter.java b/src/main/java/com/amazon/carbonado/filter/OrFilter.java
index c7ff64a..d5748aa 100644
--- a/src/main/java/com/amazon/carbonado/filter/OrFilter.java
+++ b/src/main/java/com/amazon/carbonado/filter/OrFilter.java
@@ -160,14 +160,4 @@ public class OrFilter<S extends Storable> extends BinaryOpFilter<S> {
mRight.appendTo(app, values);
}
}
-
- void dumpTree(Appendable app, int indentLevel) throws IOException {
- mRight.dumpTree(app, indentLevel + 1);
- for (int i=0; i<indentLevel; i++) {
- app.append(" ");
- }
- app.append("or");
- app.append('\n');
- mLeft.dumpTree(app, indentLevel + 1);
- }
}
diff --git a/src/main/java/com/amazon/carbonado/filter/PropertyFilter.java b/src/main/java/com/amazon/carbonado/filter/PropertyFilter.java
index 64d1d94..4d47ef5 100644
--- a/src/main/java/com/amazon/carbonado/filter/PropertyFilter.java
+++ b/src/main/java/com/amazon/carbonado/filter/PropertyFilter.java
@@ -510,12 +510,4 @@ public class PropertyFilter<S extends Storable> extends Filter<S> {
}
return new IllegalArgumentException(b.toString());
}
-
- void dumpTree(Appendable app, int indentLevel) throws IOException {
- for (int i=0; i<indentLevel; i++) {
- app.append(" ");
- }
- appendTo(app);
- app.append('\n');
- }
}