mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-02 20:49:02 +00:00
polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@837 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+1
-1
@@ -385,7 +385,7 @@ public class PathMatchingResourcePatternResolver implements ResourcePatternResol
|
||||
if (equinoxResolveMethod != null) {
|
||||
URL url = original.getURL();
|
||||
if (url.getProtocol().startsWith("bundle")) {
|
||||
return new UrlResource((URL) ReflectionUtils.invokeMethod(equinoxResolveMethod, null, new Object[] {url}));
|
||||
return new UrlResource((URL) ReflectionUtils.invokeMethod(equinoxResolveMethod, null, url));
|
||||
}
|
||||
}
|
||||
return original;
|
||||
|
||||
Reference in New Issue
Block a user