File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
spring-core/src/main/java/org/springframework/core/io/support Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -614,7 +614,6 @@ private Set<ClassPathManifestEntry> getClassPathManifestEntries() {
614614 private Set <ClassPathManifestEntry > getClassPathManifestEntriesFromJar (File jar ) throws IOException {
615615 URL base = jar .toURI ().toURL ();
616616 File parent = jar .getAbsoluteFile ().getParentFile ();
617-
618617 try (JarFile jarFile = new JarFile (jar )) {
619618 Manifest manifest = jarFile .getManifest ();
620619 Attributes attributes = (manifest != null ? manifest .getMainAttributes () : null );
@@ -624,7 +623,6 @@ private Set<ClassPathManifestEntry> getClassPathManifestEntriesFromJar(File jar)
624623 StringTokenizer tokenizer = new StringTokenizer (classPath );
625624 while (tokenizer .hasMoreTokens ()) {
626625 String path = tokenizer .nextToken ();
627-
628626 if (path .indexOf (':' ) >= 0 && !"file" .equalsIgnoreCase (new URL (base , path ).getProtocol ())) {
629627 // See jdk.internal.loader.URLClassPath.JarLoader.tryResolveFile(URL, String)
630628 continue ;
You can’t perform that action at this time.
0 commit comments