Skip to content

Commit 903cdf3

Browse files
izeyephilwebb
authored andcommitted
Polish
1 parent e7837a7 commit 903cdf3

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

spring-boot-devtools/src/main/java/org/springframework/boot/devtools/tunnel/server/HttpTunnelServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ public HttpConnection(ServerHttpRequest request, ServerHttpResponse response) {
375375
}
376376

377377
/**
378-
* Start asynchronous support or if unavailble return {@code null} to cause
378+
* Start asynchronous support or if unavailable return {@code null} to cause
379379
* {@link #waitForResponse()} to block.
380380
* @return the async request control
381381
*/

spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,13 +299,13 @@ public void contextRefreshedEventListener() throws Exception {
299299
SpringApplication application = new SpringApplication(ExampleConfig.class);
300300
application.setWebEnvironment(false);
301301
final AtomicReference<ApplicationContext> reference = new AtomicReference<ApplicationContext>();
302-
class InitalizerListener implements ApplicationListener<ContextRefreshedEvent> {
302+
class InitializerListener implements ApplicationListener<ContextRefreshedEvent> {
303303
@Override
304304
public void onApplicationEvent(ContextRefreshedEvent event) {
305305
reference.set(event.getApplicationContext());
306306
}
307307
}
308-
application.setListeners(Arrays.asList(new InitalizerListener()));
308+
application.setListeners(Arrays.asList(new InitializerListener()));
309309
this.context = application.run("--foo=bar");
310310
assertThat(this.context, sameInstance(reference.get()));
311311
// Custom initializers do not switch off the defaults

spring-boot/src/test/java/org/springframework/boot/jta/bitronix/PoolingConnectionFactoryBeanTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public synchronized void init() {
4141
};
4242

4343
@Test
44-
public void sensbileDefaults() throws Exception {
44+
public void sensibleDefaults() throws Exception {
4545
assertThat(this.bean.getMaxPoolSize(), equalTo(10));
4646
assertThat(this.bean.getTestConnections(), equalTo(true));
4747
assertThat(this.bean.getAutomaticEnlistingEnabled(), equalTo(true));

spring-boot/src/test/java/org/springframework/boot/jta/bitronix/PoolingDataSourceBeanTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class PoolingDataSourceBeanTests {
3939
private PoolingDataSourceBean bean = new PoolingDataSourceBean();
4040

4141
@Test
42-
public void sensbileDefaults() throws Exception {
42+
public void sensibleDefaults() throws Exception {
4343
assertThat(this.bean.getMaxPoolSize(), equalTo(10));
4444
assertThat(this.bean.getAutomaticEnlistingEnabled(), equalTo(true));
4545
assertThat(this.bean.isEnableJdbc4ConnectionTest(), equalTo(true));

spring-boot/src/test/java/org/springframework/boot/logging/AbstractLoggingSystemTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public abstract class AbstractLoggingSystemTests {
4141
private String originalTempFolder;
4242

4343
@Before
44-
public void configureTempdir() throws IOException {
44+
public void configureTempDir() throws IOException {
4545
this.originalTempFolder = System.getProperty(JAVA_IO_TMPDIR);
4646
System.setProperty(JAVA_IO_TMPDIR, this.temp.newFolder().getAbsolutePath());
4747
}

spring-boot/src/test/java/org/springframework/boot/logging/logback/LevelRemappingAppenderTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void useSpecificDestination() throws Exception {
7070
}
7171

7272
@Test
73-
public void defaltRemapsInfo() throws Exception {
73+
public void defaultRemapsInfo() throws Exception {
7474
this.appender.append(mockLogEvent(Level.INFO));
7575
verify(this.logger).callAppenders(this.logCaptor.capture());
7676
assertThat(this.logCaptor.getValue().getLevel(), equalTo(Level.DEBUG));

spring-boot/src/test/java/org/springframework/boot/redis/RedisTestServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public Statement apply(final Statement base, Description description) {
4747
return new RedisStatement(base, this.connectionFactory);
4848
}
4949
catch (Exception ex) {
50-
logger.error("No Redis server availble", ex);
50+
logger.error("No Redis server available", ex);
5151
return new SkipStatement();
5252
}
5353
}

spring-boot/src/test/java/org/springframework/boot/test/TestRestTemplateTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class TestRestTemplateTests {
3838

3939
@Test
4040
public void simple() {
41-
// The Apache client is on the classpath so we get the fully-leaded factory
41+
// The Apache client is on the classpath so we get the fully-fledged factory
4242
assertTrue(new TestRestTemplate()
4343
.getRequestFactory() instanceof HttpComponentsClientHttpRequestFactory);
4444
}

0 commit comments

Comments
 (0)