Skip to content

Commit

Permalink
Improved: small documentation change in UtilValidate::urlInString
Browse files Browse the repository at this point in the history
  • Loading branch information
JacquesLeRoux committed Sep 9, 2024
1 parent 9e4022b commit b466d22
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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://")) {
Expand Down

0 comments on commit b466d22

Please sign in to comment.