Skip to content

Commit 84f7c2d

Browse files
quaffphilwebb
authored andcommitted
Remove unnecessary final modifiers
See gh-38739
1 parent d3a51e5 commit 84f7c2d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/env/DevToolsHomePropertiesPostProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ protected File getHomeDirectory() {
144144
}
145145

146146
@SafeVarargs
147-
private final File getHomeDirectory(Supplier<String>... pathSuppliers) {
147+
private File getHomeDirectory(Supplier<String>... pathSuppliers) {
148148
for (Supplier<String> pathSupplier : pathSuppliers) {
149149
String path = pathSupplier.get();
150150
if (StringUtils.hasText(path)) {

spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/json/AbstractJsonMarshalTesterTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ void parseMapShouldReturnContent() throws Exception {
169169
assertThat(tester.parse(MAP_JSON)).asMap().containsEntry("a", OBJECT);
170170
}
171171

172-
protected static final ExampleObject createExampleObject(String name, int age) {
172+
protected static ExampleObject createExampleObject(String name, int age) {
173173
ExampleObject exampleObject = new ExampleObject();
174174
exampleObject.setName(name);
175175
exampleObject.setAge(age);

0 commit comments

Comments
 (0)