From adc8cdf16a875b3cf750960b86aa11cdf7631188 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 27 Aug 2014 12:22:13 +0100 Subject: [PATCH] Fix generics warnings triggered by upgrade to Tomcat 7.0.55 See changes made in revision 1602507 [1] [1] https://svn.apache.org/viewvc?view=revision&revision=1602507 --- .../embedded/tomcat/TomcatEmbeddedServletContainerFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainerFactory.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainerFactory.java index 0780f488c1..c77e75fe99 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainerFactory.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainerFactory.java @@ -219,7 +219,7 @@ public class TomcatEmbeddedServletContainerFactory extends connector.setPort(port); if (connector.getProtocolHandler() instanceof AbstractProtocol) { if (getAddress() != null) { - ((AbstractProtocol) connector.getProtocolHandler()) + ((AbstractProtocol) connector.getProtocolHandler()) .setAddress(getAddress()); } }