polishing

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@837 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Juergen Hoeller
2009-03-27 00:07:25 +00:00
parent a3eeadf1bb
commit 09ba05f510
2 changed files with 7 additions and 7 deletions
@@ -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;