File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/main/java/io/github/xfuns/java Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2503,13 +2503,13 @@ public static boolean isUrl(final String url) {
25032503 */
25042504 public static String urlNormalize (final String url ) {
25052505 if (isUrl (url )) {
2506- if (startsWith (url , URLFun .NO_PROTOCOL )) {
2507- String formatUrl = removePrefix (url , URLFun .NO_PROTOCOL );
2508- return URLFun .HTTP_PROTOCOL + URLFun .PROTOCOL_BREAK + formatUrl ;
2506+ if (startsWith (url , UrlFun .NO_PROTOCOL )) {
2507+ String formatUrl = removePrefix (url , UrlFun .NO_PROTOCOL );
2508+ return UrlFun .HTTP_PROTOCOL + UrlFun .PROTOCOL_BREAK + formatUrl ;
25092509 }
25102510
2511- if (!contains (url , URLFun .PROTOCOL_BREAK )) {
2512- return URLFun .HTTP_PROTOCOL + URLFun .PROTOCOL_BREAK + url ;
2511+ if (!contains (url , UrlFun .PROTOCOL_BREAK )) {
2512+ return UrlFun .HTTP_PROTOCOL + UrlFun .PROTOCOL_BREAK + url ;
25132513 }
25142514
25152515 return url ;
You can’t perform that action at this time.
0 commit comments