Improved: In 'ValidateMethod.java', when we don't pass any className from xml files. default value 'org.apache.ofbiz.base.util.UtilValidate' should be set for className. (OFBIZ-9969)

Thanks Sonal Patwari and Suraj Khurana for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819126 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Deepak Dixit
2017-12-23 09:29:58 +00:00
parent fb77a3c477
commit 78a1b15a25
@@ -41,7 +41,7 @@ public class ValidateMethod extends SimpleMapOperation {
public ValidateMethod(Element element, SimpleMapProcess simpleMapProcess) {
super(element, simpleMapProcess);
this.methodName = element.getAttribute("method");
this.className = element.getAttribute("class");
this.className = MiniLangValidate.checkAttribute(element.getAttribute("class"), "org.apache.ofbiz.base.util.UtilValidate");
}
@Override