Polish
See gh-14667
This commit is contained in:
committed by
Stephane Nicoll
parent
b4a8ad06de
commit
335775892b
@@ -130,7 +130,7 @@ final class ClassLoaderFilesResourcePatternResolver implements ResourcePatternRe
|
||||
for (Entry<String, ClassLoaderFile> entry : sourceFolder.getFilesEntrySet()) {
|
||||
String name = entry.getKey();
|
||||
ClassLoaderFile file = entry.getValue();
|
||||
if (entry.getValue().getKind() != Kind.DELETED
|
||||
if (file.getKind() != Kind.DELETED
|
||||
&& this.antPathMatcher.match(trimmedLocationPattern, name)) {
|
||||
URL url = new URL("reloaded", null, -1, "/" + name,
|
||||
new ClassLoaderFileURLStreamHandler(file));
|
||||
|
||||
Reference in New Issue
Block a user