Remove unnecessary final modifiers

See gh-38739
This commit is contained in:
Yanming Zhou 2023-12-19 22:27:44 -08:00 committed by Phillip Webb
parent d3a51e56b7
commit 84f7c2dba9
2 changed files with 2 additions and 2 deletions

View File

@ -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)) {

View File

@ -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);