@ -343,12 +343,12 @@ public class PathMatchingResourcePatternResolver implements ResourcePatternResol
@@ -343,12 +343,12 @@ public class PathMatchingResourcePatternResolver implements ResourcePatternResol
Set < Resource > result = new LinkedHashSet < Resource > ( 16 ) ;
for ( Resource rootDirResource : rootDirResources ) {
rootDirResource = resolveRootDirResource ( rootDirResource ) ;
if ( isJarResource ( rootDirResource ) ) {
result . addAll ( doFindPathMatchingJarResources ( rootDirResource , subPattern ) ) ;
}
else if ( rootDirResource . getURL ( ) . getProtocol ( ) . startsWith ( ResourceUtils . URL_PROTOCOL_VFS ) ) {
if ( rootDirResource . getURL ( ) . getProtocol ( ) . startsWith ( ResourceUtils . URL_PROTOCOL_VFS ) ) {
result . addAll ( VfsResourceMatchingDelegate . findMatchingResources ( rootDirResource , subPattern , getPathMatcher ( ) ) ) ;
}
else if ( isJarResource ( rootDirResource ) ) {
result . addAll ( doFindPathMatchingJarResources ( rootDirResource , subPattern ) ) ;
}
else {
result . addAll ( doFindPathMatchingFileResources ( rootDirResource , subPattern ) ) ;
}