Commit dff7a3bf authored by Dave Syer's avatar Dave Syer

Remove dead code in ServerProperties

parent 53cbe74d
...@@ -84,9 +84,6 @@ public class ServerProperties implements EmbeddedServletContainerCustomizer { ...@@ -84,9 +84,6 @@ public class ServerProperties implements EmbeddedServletContainerCustomizer {
return "/"; return "/";
} }
if (this.servletPath.contains("*")) { if (this.servletPath.contains("*")) {
if (this.servletPath.endsWith("*")) {
return this.servletPath;
}
return this.servletPath; return this.servletPath;
} }
if (this.servletPath.endsWith("/")) { if (this.servletPath.endsWith("/")) {
......
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