Skip to content

Commit 4b5b97b

Browse files
committed
Merge pull request #24629 from andrey4623
* pr/24629: Polish "Make a field final" Make a field final Closes gh-24629
2 parents 052565e + 1bc1258 commit 4b5b97b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/StandardConfigDataResource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 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.
@@ -36,7 +36,7 @@ public class StandardConfigDataResource extends ConfigDataResource {
3636

3737
private final Resource resource;
3838

39-
private boolean emptyDirectory;
39+
private final boolean emptyDirectory;
4040

4141
/**
4242
* Create a new {@link StandardConfigDataResource} instance.

0 commit comments

Comments
 (0)