File tree 3 files changed +11
-11
lines changed
src/main/java/uk/co/spudsoft/query
3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ services:
59
59
- 14268:14268
60
60
61
61
query-engine :
62
- image : ghcr.io/yaytay/query-engine-design-mode:0.0.39-2 -main
62
+ image : ghcr.io/yaytay/query-engine-design-mode:0.0.39-3 -main
63
63
ports :
64
64
- 2000:8080
65
65
volumes :
Original file line number Diff line number Diff line change @@ -222,6 +222,15 @@ public static class Builder {
222
222
223
223
private Builder () {
224
224
}
225
+
226
+ /**
227
+ * Construct the builder with an initial expression.
228
+ * This enables shortcutting of condition values, primarily for parameters.
229
+ * @param expression the JEXL expression.
230
+ */
231
+ public Builder (String expression ) {
232
+ this .expression = expression ;
233
+ }
225
234
226
235
/**
227
236
* Set the expression of the Condition in the builder.
@@ -250,13 +259,4 @@ public static Condition.Builder builder() {
250
259
return new Condition .Builder ();
251
260
}
252
261
253
- /**
254
- * Construct a new Builder object with an expression.
255
- * @param expression The expression.
256
- * @return a new Builder object with an expression.
257
- */
258
- public static Condition .Builder builder (String expression ) {
259
- return new Condition .Builder ().expression (expression );
260
- }
261
-
262
262
}
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public final class Version {
34
34
/**
35
35
* The project version, as set in the Maven pom.xml.
36
36
*/
37
- public static final String MAVEN_PROJECT_VERSION = "0.0.39-2 -main" ;
37
+ public static final String MAVEN_PROJECT_VERSION = "0.0.39-3 -main" ;
38
38
39
39
private Version () {
40
40
}
You can’t perform that action at this time.
0 commit comments