Skip to content

Commit 9499666

Browse files
krzykphilwebb
authored andcommitted
Drop unnecessary Collections.unmodifiableSet
See gh-33987
1 parent 1b5b1cd commit 9499666

File tree

1 file changed

+1
-2
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools

1 file changed

+1
-2
lines changed

spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/DefaultLaunchScript.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public class DefaultLaunchScript implements LaunchScript {
4444

4545
private static final Pattern PLACEHOLDER_PATTERN = Pattern.compile("\\{\\{(\\w+)(:.*?)?\\}\\}(?!\\})");
4646

47-
private static final Set<String> FILE_PATH_KEYS = Collections
48-
.unmodifiableSet(Collections.singleton("inlinedConfScript"));
47+
private static final Set<String> FILE_PATH_KEYS = Collections.singleton("inlinedConfScript");
4948

5049
private final String content;
5150

0 commit comments

Comments
 (0)