mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-29 05:29:08 +00:00
Polish
Closes gh-11991
This commit is contained in:
+1
-1
@@ -109,7 +109,7 @@ public abstract class AbstractEmbeddedServletContainerFactory
|
||||
private boolean isStaticResourceJar(URL url) {
|
||||
try {
|
||||
if ("file".equals(url.getProtocol())) {
|
||||
File file = new File(getDecodedFile(url), "UTF-8");
|
||||
File file = new File(getDecodedFile(url));
|
||||
return (file.isDirectory()
|
||||
&& new File(file, "META-INF/resources").isDirectory())
|
||||
|| isResourcesJar(file);
|
||||
|
||||
Reference in New Issue
Block a user