mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-07 17:59:02 +00:00
Remove dead code in ServerProperties
This commit is contained in:
-3
@@ -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("/")) {
|
||||
|
||||
Reference in New Issue
Block a user