Fixed: Reducing scope of variables in org.apache.ofbiz.base package
Reverts
public static Document readHtmlDocument(String str) {
+    private static Document readHtmlDocument(String str) {
Error:
Error while initializing UelFunctions.Functions instance
java.lang.NoSuchMethodException:
org.apache.ofbiz.base.util.string.UelFunctions.readHtmlDocument
It's a runtime error
@@ -361,7 +361,7 @@ public class UelFunctions {
return null;
}
- private static Document readHtmlDocument(String str) {
+ public static Document readHtmlDocument(String str) {
Document document = null;
try {
URL url = FlexibleLocation.resolveLocation(str);
