correct OrLocatorTemplate error message

This commit is contained in:
dfsek
2022-01-08 10:38:25 -07:00
parent 0bf8d54598
commit 0bfa6f4b04

View File

@@ -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;
}
}