mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 10:30:42 +00:00
correct OrLocatorTemplate error message
This commit is contained in:
@@ -33,7 +33,7 @@ public class OrLocatorTemplate implements ObjectTemplate<Locator>, ValidatedConf
|
||||
|
||||
@Override
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user