diff --git a/org.springframework.web/src/main/java/org/springframework/web/context/support/ServletConfigPropertySource.java b/org.springframework.web/src/main/java/org/springframework/web/context/support/ServletConfigPropertySource.java index d97c476086..c933827cff 100644 --- a/org.springframework.web/src/main/java/org/springframework/web/context/support/ServletConfigPropertySource.java +++ b/org.springframework.web/src/main/java/org/springframework/web/context/support/ServletConfigPropertySource.java @@ -16,8 +16,6 @@ package org.springframework.web.context.support; -import java.util.Enumeration; - import javax.servlet.ServletConfig; import org.springframework.core.env.EnumerablePropertySource; @@ -38,10 +36,9 @@ public class ServletConfigPropertySource extends EnumerablePropertySource)this.source.getInitParameterNames(), EMPTY_NAMES_ARRAY); + this.source.getInitParameterNames(), EMPTY_NAMES_ARRAY); } @Override diff --git a/org.springframework.web/src/main/java/org/springframework/web/context/support/ServletContextPropertySource.java b/org.springframework.web/src/main/java/org/springframework/web/context/support/ServletContextPropertySource.java index f922dd5b68..38251f1ad1 100644 --- a/org.springframework.web/src/main/java/org/springframework/web/context/support/ServletContextPropertySource.java +++ b/org.springframework.web/src/main/java/org/springframework/web/context/support/ServletContextPropertySource.java @@ -16,8 +16,6 @@ package org.springframework.web.context.support; -import java.util.Enumeration; - import javax.servlet.ServletContext; import org.springframework.core.env.EnumerablePropertySource; @@ -38,10 +36,9 @@ public class ServletContextPropertySource extends EnumerablePropertySource)this.source.getInitParameterNames(), EMPTY_NAMES_ARRAY); + this.source.getInitParameterNames(), EMPTY_NAMES_ARRAY); } @Override