diff --git a/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilValidate.java b/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilValidate.java index 674a3cb6d5..9dd3735b6b 100644 --- a/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilValidate.java +++ b/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilValidate.java @@ -633,9 +633,9 @@ public static boolean isUrl(String s) { } /** - * urlInString returns true if the string contains :// and not "component://" + * urlInString returns true if the string contains :// and does not start with "component://" * @param s String to validate - * @return true if s contains :// and not "component://" + * @return true if s contains :// and does not start with "component://" */ public static boolean urlInString(String s) { if (isEmpty(s) || s.startsWith("component://")) {