Commit 552928fa by Nepxion

Fix Codacy

parent b22bc440
......@@ -26,7 +26,7 @@ public class UrlUtil {
public static String formatContextPath(String contextPath) {
if (StringUtils.isEmpty(contextPath)) {
contextPath = "/";
return "/";
} else {
if (!contextPath.startsWith("/")) {
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