From b466d22a38a85d7d46275e74e937805495448536 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Mon, 9 Sep 2024 07:52:40 +0200 Subject: [PATCH] Improved: small documentation change in UtilValidate::urlInString --- .../main/java/org/apache/ofbiz/base/util/UtilValidate.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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://")) {