This is an automated email from the ASF dual-hosted git repository.

deepak pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release18.12 by this push:
     new 1c94327c99 Removed duplicate method.
1c94327c99 is described below

commit 1c94327c9930510984c23cb49abdd4da2376b33e
Author: Deepak Dixit <dee...@apache.org>
AuthorDate: Fri Aug 30 15:45:25 2024 +0530

    Removed duplicate method.
---
 .../main/java/org/apache/ofbiz/base/util/UtilValidate.java   | 12 ------------
 1 file changed, 12 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 5322ad7f94..0dd1f74264 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
@@ -756,18 +756,6 @@ public final class UtilValidate {
         return false;
     }
 
-    /**
-     * URLInString returns true if the string contains :// and not 
"component://"
-     * @param s String to validate
-     * @return true if s contains :// and not "component://"
-     */
-    public static boolean URLInString(String s) {
-        if (isEmpty(s) || s.contains("component://")) {
-            return false;
-        }
-        return s.indexOf("://") != -1;
-    }
-
     /**
      * urlInString returns true if the string contains :// and not 
"component://"
      * @param s String to validate

Reply via email to