mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +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
|
||||
private final File getHomeDirectory(Supplier<String>... pathSuppliers) {
|
||||
private File getHomeDirectory(Supplier<String>... pathSuppliers) {
|
||||
for (Supplier<String> pathSupplier : pathSuppliers) {
|
||||
String path = pathSupplier.get();
|
||||
if (StringUtils.hasText(path)) {
|
||||
|
@ -169,7 +169,7 @@ abstract class AbstractJsonMarshalTesterTests {
|
||||
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.setName(name);
|
||||
exampleObject.setAge(age);
|
||||
|
Loading…
Reference in New Issue
Block a user