mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Remove unnecessary final
modifiers
See gh-38739
This commit is contained in:
parent
d3a51e56b7
commit
84f7c2dba9
@ -144,7 +144,7 @@ public class DevToolsHomePropertiesPostProcessor implements EnvironmentPostProce
|
|||||||
}
|
}
|
||||||
|
|
||||||
@SafeVarargs
|
@SafeVarargs
|
||||||
private final File getHomeDirectory(Supplier<String>... pathSuppliers) {
|
private File getHomeDirectory(Supplier<String>... pathSuppliers) {
|
||||||
for (Supplier<String> pathSupplier : pathSuppliers) {
|
for (Supplier<String> pathSupplier : pathSuppliers) {
|
||||||
String path = pathSupplier.get();
|
String path = pathSupplier.get();
|
||||||
if (StringUtils.hasText(path)) {
|
if (StringUtils.hasText(path)) {
|
||||||
|
@ -169,7 +169,7 @@ abstract class AbstractJsonMarshalTesterTests {
|
|||||||
assertThat(tester.parse(MAP_JSON)).asMap().containsEntry("a", OBJECT);
|
assertThat(tester.parse(MAP_JSON)).asMap().containsEntry("a", OBJECT);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected static final ExampleObject createExampleObject(String name, int age) {
|
protected static ExampleObject createExampleObject(String name, int age) {
|
||||||
ExampleObject exampleObject = new ExampleObject();
|
ExampleObject exampleObject = new ExampleObject();
|
||||||
exampleObject.setName(name);
|
exampleObject.setName(name);
|
||||||
exampleObject.setAge(age);
|
exampleObject.setAge(age);
|
||||||
|
Loading…
Reference in New Issue
Block a user