Skip to content

Commit 4524921

Browse files
committed
Polish
Closes gh-11991
1 parent 3cc0055 commit 4524921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot/src/main/java/org/springframework/boot/context/embedded/AbstractEmbeddedServletContainerFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ protected List<URL> getUrlsOfJarsWithMetaInfResources() {
109109
private boolean isStaticResourceJar(URL url) {
110110
try {
111111
if ("file".equals(url.getProtocol())) {
112-
File file = new File(getDecodedFile(url), "UTF-8");
112+
File file = new File(getDecodedFile(url));
113113
return (file.isDirectory()
114114
&& new File(file, "META-INF/resources").isDirectory())
115115
|| isResourcesJar(file);

0 commit comments

Comments
 (0)