polish
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -32,7 +32,7 @@ public class Route {
|
||||
public Route(String text) {
|
||||
int eqIdx = text.indexOf("=");
|
||||
if (eqIdx <= 0) {
|
||||
throw new ValidationException("Unable to parse Predicate text '" + text + "'" +
|
||||
throw new ValidationException("Unable to parse Route text '" + text + "'" +
|
||||
", must be of the form name=value");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user