mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-24 07:39:09 +00:00
polishing
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