Skip to content

Commit 636898f

Browse files
committed
Polish
1 parent 5922cfa commit 636898f

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/GsonHttpMessageConvertersConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/**
3333
* Configuration for HTTP Message converters that use Gson
3434
*
35-
* @author awilkinson
35+
* @author Andy Wilkinson
3636
* @since 1.2.2
3737
*/
3838
@Configuration

spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ConditionalOnJndiTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2014 the original author or authors.
2+
* Copyright 2012-2015 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jackson/JacksonAutoConfigurationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2014 the original author or authors.
2+
* Copyright 2012-2015 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -252,7 +252,7 @@ public void enableDeserializationFeature() throws Exception {
252252
public void disableDeserializationFeature() throws Exception {
253253
this.context.register(JacksonAutoConfiguration.class);
254254
EnvironmentTestUtils.addEnvironment(this.context,
255-
"spring.jackson.deserialization.fail_on_unknown_properties:false");
255+
"spring.jackson.deserialization.fail-on-unknown-properties:false");
256256
this.context.refresh();
257257
ObjectMapper mapper = this.context.getBean(ObjectMapper.class);
258258
assertTrue(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES.enabledByDefault());

spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jndi/JndiPropertiesHidingClassLoader.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ public Enumeration<URL> getResources(String name) throws IOException {
3838
if ("jndi.properties".equals(name)) {
3939
return Collections.enumeration(Collections.<URL> emptyList());
4040
}
41-
else {
42-
return super.getResources(name);
43-
}
41+
return super.getResources(name);
4442
}
4543

46-
}
44+
}

spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jndi/TestableInitialContextFactory.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,7 @@ public Object lookup(String name) throws NamingException {
9191
public void clearAll() {
9292
this.bindings.clear();
9393
}
94+
9495
}
95-
}
96+
97+
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ a specific command line switch (e.g. `java -jar app.jar --name="Spring"`).
274274

275275
[[boot-features-external-config-random-values]]
276276
=== Configuring random values
277-
278277
The `RandomValuePropertySource` is useful for injecting random values (e.g. into secrets
279278
or test cases). It can produce integers, longs or strings, e.g.
280279

spring-boot-integration-tests/src/test/resources/boot-run-resources/src/main/java/BootRunResourcesApplication.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
*/
1616

1717
public class BootRunResourcesApplication {
18-
18+
1919
public static void main(String[] args) {
20-
ClassLoader classLoader = BootRunResourcesApplication.class.getClassLoader();
20+
ClassLoader classLoader = BootRunResourcesApplication.class.getClassLoader();
2121
System.out.println(classLoader.getResource("test.txt"));
2222
}
2323

spring-boot-samples/spring-boot-sample-data-redis/src/test/java/sample/data/redis/SampleRedisApplicationTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2014 the original author or authors.
2+
* Copyright 2012-2015 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -55,4 +55,5 @@ private boolean redisServerRunning(Throwable ex) {
5555
}
5656
return (ex.getCause() == null || redisServerRunning(ex.getCause()));
5757
}
58+
5859
}

spring-boot-tools/spring-boot-gradle-plugin/src/main/groovy/org/springframework/boot/gradle/run/BootRunTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2014 the original author or authors.
2+
* Copyright 2012-2015 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)