[FEAT] add a contructor to simplify a checker API
This commit is contained in:
parent
38d1fa9241
commit
3c85af5af9
@ -10,6 +10,10 @@ public class ConditionChecker extends QueryOption {
|
|||||||
this.condition = items;
|
this.condition = items;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ConditionChecker(final Condition cond) {
|
||||||
|
this.condition = cond.condition;
|
||||||
|
}
|
||||||
|
|
||||||
public ConditionChecker() {
|
public ConditionChecker() {
|
||||||
this.condition = null;
|
this.condition = null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user