Remove dead code in ServerProperties

This commit is contained in:
Dave Syer
2014-06-06 10:23:47 +01:00
parent 53cbe74d83
commit dff7a3bf7c

View File

@@ -84,9 +84,6 @@ public class ServerProperties implements EmbeddedServletContainerCustomizer {
return "/";
}
if (this.servletPath.contains("*")) {
if (this.servletPath.endsWith("*")) {
return this.servletPath;
}
return this.servletPath;
}
if (this.servletPath.endsWith("/")) {