Commit 45249218 authored by Andy Wilkinson's avatar Andy Wilkinson

Polish

Closes gh-11991
parent 3cc0055d
...@@ -109,7 +109,7 @@ public abstract class AbstractEmbeddedServletContainerFactory ...@@ -109,7 +109,7 @@ public abstract class AbstractEmbeddedServletContainerFactory
private boolean isStaticResourceJar(URL url) { private boolean isStaticResourceJar(URL url) {
try { try {
if ("file".equals(url.getProtocol())) { if ("file".equals(url.getProtocol())) {
File file = new File(getDecodedFile(url), "UTF-8"); File file = new File(getDecodedFile(url));
return (file.isDirectory() return (file.isDirectory()
&& new File(file, "META-INF/resources").isDirectory()) && new File(file, "META-INF/resources").isDirectory())
|| isResourcesJar(file); || isResourcesJar(file);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment