From dff7a3bf7c2bd18257f55d987dc9e83c50a02d44 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 6 Jun 2014 10:23:47 +0100 Subject: [PATCH] Remove dead code in ServerProperties --- .../boot/autoconfigure/web/ServerProperties.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java index a33608ac6d..bd003576bf 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java @@ -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("/")) {