fix missing translation routine
This commit is contained in:
parent
1a4edb33a4
commit
c67c3c2892
|
@ -323,13 +323,6 @@ public class BaseValidator {
|
||||||
* @return Returns <code>thePass</code> (in other words, returns <code>true</code> if the rule did not fail validation)
|
* @return Returns <code>thePass</code> (in other words, returns <code>true</code> if the rule did not fail validation)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//todo: delete this when finished i18n
|
|
||||||
protected boolean rule(List<ValidationMessage> errors, IssueType type, String path, boolean thePass, String msg) {
|
|
||||||
if (!thePass) {
|
|
||||||
addValidationMessage(errors, type, -1, -1, path, msg, IssueSeverity.ERROR, null);
|
|
||||||
}
|
|
||||||
return thePass;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected boolean rule(List<ValidationMessage> errors, IssueType type, String path, boolean thePass, String theMessage, Object... theMessageArguments) {
|
protected boolean rule(List<ValidationMessage> errors, IssueType type, String path, boolean thePass, String theMessage, Object... theMessageArguments) {
|
||||||
if (!thePass) {
|
if (!thePass) {
|
||||||
|
|
Loading…
Reference in New Issue