Commit 552928fa by Nepxion

Fix Codacy

parent b22bc440
...@@ -26,7 +26,7 @@ public class UrlUtil { ...@@ -26,7 +26,7 @@ public class UrlUtil {
public static String formatContextPath(String contextPath) { public static String formatContextPath(String contextPath) {
if (StringUtils.isEmpty(contextPath)) { if (StringUtils.isEmpty(contextPath)) {
contextPath = "/"; return "/";
} else { } else {
if (!contextPath.startsWith("/")) { if (!contextPath.startsWith("/")) {
contextPath = "/" + contextPath; contextPath = "/" + contextPath;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment