From c2589fe4cfb6b7fc4ea03cc7e9dc1af6ea5b1359 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Tue, 4 Mar 2014 09:35:21 +0100 Subject: [PATCH] Upgrade to Spring Boot 1.0.0.RC4 --- spring/README.md | 6 +++--- spring/pom.xml | 2 +- .../main/java/com/techempower/spring/TomcatCustomizer.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/spring/README.md b/spring/README.md index 173234feb5b..19a6cf59828 100644 --- a/spring/README.md +++ b/spring/README.md @@ -61,8 +61,8 @@ Check out [SampleApplication, the main Application file](src/main/java/com/teche ## Infrastructure Software Versions The tests were run with: -* [Spring 4.0.1.RELEASE](http://projects.spring.io/spring-framework/) -* [Spring Boot 1.0.0.RC3](http://projects.spring.io/spring-boot/) -* [Spring Data JPA 1.5.0.RC1](http://projects.spring.io/spring-data-jpa/) +* [Spring 4.0.2.RELEASE](http://projects.spring.io/spring-framework/) +* [Spring Boot 1.0.0.RC4](http://projects.spring.io/spring-boot/) +* [Spring Data JPA 1.5.0.RELEASE](http://projects.spring.io/spring-data-jpa/) * [Java OpenJDK 1.7.0_09](http://openjdk.java.net/) * [Tomcat 8.0.3](https://tomcat.apache.org/) \ No newline at end of file diff --git a/spring/pom.xml b/spring/pom.xml index 333400962ba..f2e006a551e 100644 --- a/spring/pom.xml +++ b/spring/pom.xml @@ -8,7 +8,7 @@ org.springframework.boot spring-boot-starter-parent - 1.0.0.RC3 + 1.0.0.RC4 com.techempower diff --git a/spring/src/main/java/com/techempower/spring/TomcatCustomizer.java b/spring/src/main/java/com/techempower/spring/TomcatCustomizer.java index 428447d6a9e..dc7cb8fe016 100644 --- a/spring/src/main/java/com/techempower/spring/TomcatCustomizer.java +++ b/spring/src/main/java/com/techempower/spring/TomcatCustomizer.java @@ -4,7 +4,7 @@ import org.apache.coyote.AbstractProtocol; import org.apache.coyote.ProtocolHandler; import org.springframework.beans.factory.annotation.Value; -import org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainerFactory; +import org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer; import org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer; import org.springframework.boot.context.embedded.tomcat.TomcatConnectorCustomizer; import org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory; @@ -26,7 +26,7 @@ public class TomcatCustomizer implements EmbeddedServletContainerCustomizer { private int maxKeepAliveRequests; @Override - public void customize(ConfigurableEmbeddedServletContainerFactory factory) { + public void customize(ConfigurableEmbeddedServletContainer factory) { customizeTomcatConnector((TomcatEmbeddedServletContainerFactory) factory); }