Skip to content

Commit 885c288

Browse files
izeyesnicoll
authored andcommitted
1 parent 7bdcee5 commit 885c288

File tree

7 files changed

+9
-14
lines changed

7 files changed

+9
-14
lines changed

CONTRIBUTING.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ work with m2eclipse, we provide an additional Eclipse plugin that you can instal
181181
===== Install the Spring Formatter plugin
182182
* Select "`Help`" -> "`Install New Software`".
183183
* Add `https://dl.bintray.com/spring/javaformat-eclipse/` as a site.
184-
* Install "Spring Java Format"
184+
* Install "Spring Java Format".
185185

186186
NOTE: The plugin is optional. Projects can be imported without the plugins, your code
187187
changes just won't be automatically formatted.

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/dynatrace/DynatracePropertiesConfigAdapter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/**
2424
* Adapter to convert {@link DynatraceProperties} to a {@link DynatraceConfig}.
2525
*
26-
* @author Andy Wilkinson *
26+
* @author Andy Wilkinson
2727
*/
2828
class DynatracePropertiesConfigAdapter
2929
extends StepRegistryPropertiesConfigAdapter<DynatraceProperties>

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -6395,7 +6395,7 @@ configured as it requires an `AsyncTaskExecutor` implementation (named
63956395
an `AsyncConfigurer` wrapping your custom `Executor`.
63966396
63976397
The auto-configured `TaskExecutorBuilder` allows you to easily create instances that
6398-
reproduces what the auto-configuration does by default.
6398+
reproduce what the auto-configuration does by default.
63996399
====
64006400

64016401
The thread pool uses 8 core threads that can grow and shrink according to the load. Those

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/netty/SslServerCustomizer.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,7 @@ private KeyStore loadTrustStore(String type, String provider, String resource,
152152
if (resource == null) {
153153
return null;
154154
}
155-
else {
156-
return loadStore(type, provider, resource, password);
157-
}
155+
return loadStore(type, provider, resource, password);
158156
}
159157

160158
private KeyStore loadStore(String type, String provider, String resource,

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/SslBuilderCustomizer.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,7 @@ private KeyStore loadTrustStore(String type, String provider, String resource,
182182
if (resource == null) {
183183
return null;
184184
}
185-
else {
186-
return loadStore(type, provider, resource, password);
187-
}
185+
return loadStore(type, provider, resource, password);
188186
}
189187

190188
private KeyStore loadStore(String type, String provider, String resource,

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/CollectionBinderTests.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -450,8 +450,8 @@ public void bindToBeanWithEnumSetCollection() {
450450
MockConfigurationPropertySource source = new MockConfigurationPropertySource();
451451
source.put("foo.values[0]", "foo-bar,bar-baz");
452452
this.sources.add(source);
453-
BeanWithEnumsetCollection result = this.binder
454-
.bind("foo", Bindable.of(BeanWithEnumsetCollection.class)).get();
453+
BeanWithEnumSetCollection result = this.binder
454+
.bind("foo", Bindable.of(BeanWithEnumSetCollection.class)).get();
455455
assertThat(result.getValues().get(0)).containsExactly(ExampleEnum.FOO_BAR,
456456
ExampleEnum.BAR_BAZ);
457457
}
@@ -574,7 +574,7 @@ public List<String> getValues() {
574574

575575
}
576576

577-
public static class BeanWithEnumsetCollection {
577+
public static class BeanWithEnumSetCollection {
578578

579579
private List<EnumSet<ExampleEnum>> values;
580580

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/jetty/SslServerCustomizerTests.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ public void alpnConnectionFactoryHasNullDefaultProtocolToAllowNegotiationToHttp1
8282
}
8383

8484
@Test
85-
public void configureSslWhenSslIsEnabledWithNoKeyStoreThrowsWebServerException()
86-
throws Exception {
85+
public void configureSslWhenSslIsEnabledWithNoKeyStoreThrowsWebServerException() {
8786
Ssl ssl = new Ssl();
8887
SslServerCustomizer customizer = new SslServerCustomizer(null, ssl, null, null);
8988
assertThatExceptionOfType(Exception.class)

0 commit comments

Comments
 (0)