|
|
|
@ -25,7 +25,7 @@ public class PredicateDefinition {
@@ -25,7 +25,7 @@ public class PredicateDefinition {
|
|
|
|
|
public PredicateDefinition(String text) { |
|
|
|
|
int eqIdx = text.indexOf("="); |
|
|
|
|
if (eqIdx <= 0) { |
|
|
|
|
throw new ValidationException("Unable to parse Predicate text '" + text + "'" + |
|
|
|
|
throw new ValidationException("Unable to parse PredicateDefinition text '" + text + "'" + |
|
|
|
|
", must be of the form name=value"); |
|
|
|
|
} |
|
|
|
|
setName(text.substring(0, eqIdx)); |
|
|
|
|