mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-15 21:31:05 +00:00
correct OrLocatorTemplate error message
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ public class OrLocatorTemplate implements ObjectTemplate<Locator>, ValidatedConf
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean validate() throws ValidationException {
|
public boolean validate() throws ValidationException {
|
||||||
if(locators.isEmpty()) throw new ValidationException("AND Pattern must specify at least 1 pattern.");
|
if(locators.isEmpty()) throw new ValidationException("OR Pattern must specify at least 1 pattern.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user