File tree Expand file tree Collapse file tree
main/java/org/apache/ofbiz/entity/condition
test/java/org/apache/ofbiz/entity Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 * system.out.println("EntityFieldMap");
4747 * }
4848 *
49- * public void visit(EntityDateFilterCondition df) {
50- * system.out.println("EntityDateFilterCondition");
51- * }
52- *
5349 * public void visit(EntityExpr expr) {
5450 * system.out.println("EntityExpr");
5551 * }
6864 *
6965 * public void visit(EntityNotCondition cond) {}
7066 * public void visit(EntityFieldMap m) {}
71- * public void visit(EntityDateFilterCondition df) {}
7267 *
7368 * public <T extends EntityCondition> void visit(EntityConditionList<T> l) {
7469 * Iterator<T> it = l.getConditionIterator();
@@ -124,13 +119,6 @@ public interface EntityConditionVisitor {
124119 */
125120 void visit (EntityFieldMap m );
126121
127- /**
128- * Visits a date filter condition.
129- * @param df the visited class
130- * @see EntityDateFilterCondition
131- */
132- void visit (EntityDateFilterCondition df );
133-
134122 /**
135123 * Visits an entity expression.
136124 * @param expr the visited class
Original file line number Diff line number Diff line change @@ -95,8 +95,9 @@ public int hashCode() {
9595 }
9696
9797 @ Override
98+ @ Deprecated
9899 public void accept (EntityConditionVisitor visitor ) {
99- visitor . visit ( this );
100+ throw new UnsupportedOperationException ( "EntityDateFilterCondition is deprecated and visitor support has been removed." );
100101 }
101102
102103 @ Override
Original file line number Diff line number Diff line change 3131import org .apache .ofbiz .entity .condition .EntityNotCondition ;
3232import org .apache .ofbiz .entity .condition .EntityConditionList ;
3333import org .apache .ofbiz .entity .condition .EntityConditionVisitor ;
34- import org .apache .ofbiz .entity .condition .EntityDateFilterCondition ;
3534import org .apache .ofbiz .entity .condition .EntityExpr ;
3635import org .apache .ofbiz .entity .condition .EntityFieldMap ;
3736import org .apache .ofbiz .entity .condition .EntityWhereString ;
@@ -64,11 +63,6 @@ public void visit(EntityFieldMap m) {
6463 pw .print ("EntityFieldMap" );
6564 }
6665
67- @ Override
68- public void visit (EntityDateFilterCondition df ) {
69- pw .print ("EntityDateFilterConfition" );
70- }
71-
7266 @ Override
7367 public void visit (EntityExpr expr ) {
7468 pw .print ("EntityExpr" );
@@ -92,7 +86,6 @@ class ContainsRawCondition implements EntityConditionVisitor {
9286
9387 @ Override public void visit (EntityNotCondition cond ) { }
9488 @ Override public void visit (EntityFieldMap m ) { }
95- @ Override public void visit (EntityDateFilterCondition df ) { }
9689
9790 @ Override
9891 public <T extends EntityCondition > void visit (EntityConditionList <T > l ) {
You can’t perform that action at this time.
0 commit comments