From a3d15ed222dd2d2099c8d877b1dcd4f215cdd2ba Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Wed, 15 Mar 2017 09:41:59 +0900 Subject: [PATCH] Polish Closes gh-8621 --- ...ervletWebServerFactoryCustomizerTests.java | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/DefaultServletWebServerFactoryCustomizerTests.java b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/DefaultServletWebServerFactoryCustomizerTests.java index 1fc45ec153..1e1fcefec7 100644 --- a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/DefaultServletWebServerFactoryCustomizerTests.java +++ b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/DefaultServletWebServerFactoryCustomizerTests.java @@ -349,14 +349,14 @@ public class DefaultServletWebServerFactoryCustomizerTests { bindProperties(map); TomcatServletWebServerFactory factory = new TomcatServletWebServerFactory(0); this.customizer.customize(factory); - TomcatWebServer embeddedfactory = (TomcatWebServer) factory.getWebServer(); - embeddedfactory.start(); + TomcatWebServer embeddedFactory = (TomcatWebServer) factory.getWebServer(); + embeddedFactory.start(); try { - assertThat(((AbstractProtocol) embeddedfactory.getTomcat().getConnector() + assertThat(((AbstractProtocol) embeddedFactory.getTomcat().getConnector() .getProtocolHandler()).getBacklog()).isEqualTo(10); } finally { - embeddedfactory.stop(); + embeddedFactory.stop(); } } @@ -367,14 +367,14 @@ public class DefaultServletWebServerFactoryCustomizerTests { bindProperties(map); TomcatServletWebServerFactory factory = new TomcatServletWebServerFactory(0); this.customizer.customize(factory); - TomcatWebServer embeddedfactory = (TomcatWebServer) factory.getWebServer(); - embeddedfactory.start(); + TomcatWebServer embeddedFactory = (TomcatWebServer) factory.getWebServer(); + embeddedFactory.start(); try { - assertThat(((AbstractProtocol) embeddedfactory.getTomcat().getConnector() + assertThat(((AbstractProtocol) embeddedFactory.getTomcat().getConnector() .getProtocolHandler()).getMaxConnections()).isEqualTo(5); } finally { - embeddedfactory.stop(); + embeddedFactory.stop(); } } @@ -385,14 +385,14 @@ public class DefaultServletWebServerFactoryCustomizerTests { bindProperties(map); TomcatServletWebServerFactory factory = new TomcatServletWebServerFactory(0); this.customizer.customize(factory); - TomcatWebServer embeddedfactory = (TomcatWebServer) factory.getWebServer(); - embeddedfactory.start(); + TomcatWebServer embeddedFactory = (TomcatWebServer) factory.getWebServer(); + embeddedFactory.start(); try { - assertThat(embeddedfactory.getTomcat().getConnector().getMaxPostSize()) + assertThat(embeddedFactory.getTomcat().getConnector().getMaxPostSize()) .isEqualTo(10000); } finally { - embeddedfactory.stop(); + embeddedFactory.stop(); } }