This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new b466d22a38 Improved: small documentation change in UtilValidate::urlInString b466d22a38 is described below commit b466d22a38a85d7d46275e74e937805495448536 Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Mon Sep 9 07:52:40 2024 +0200 Improved: small documentation change in UtilValidate::urlInString --- .../base/src/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 final class UtilValidate { } /** - * 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://")) {