correct OrLocatorTemplate error message

This commit is contained in:
dfsek committed 2022-01-08 10:38:25 -07:00
1 parent 0bf8d54598
commit 0bfa6f4b04
1 file changed
+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;
}
}