mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-20 15:27:24 +00:00
correct OrLocatorTemplate error message
This commit is contained in:
1 parent
0bf8d54598
commit
0bfa6f4b04
1 file changed
+1
-1
+1
-1
@@ -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