@@ -75,12 +75,10 @@ public void skipsUrls() throws Exception {
75
75
@ Test
76
76
public void urlsFromJarClassPathAreConsidered () throws Exception {
77
77
File relative = this .temporaryFolder .newFolder ();
78
- File absoluteFile = this .temporaryFolder .newFolder ();
79
78
URL absoluteUrl = this .temporaryFolder .newFolder ().toURI ().toURL ();
80
79
File jarWithClassPath = makeJarFileWithUrlsInManifestClassPath (
81
80
"project-core/target/classes/" , "project-web/target/classes/" ,
82
- "does-not-exist/target/classes" , relative .getName () + "/" ,
83
- absoluteFile .getAbsolutePath () + "/" , absoluteUrl );
81
+ "does-not-exist/target/classes" , relative .getName () + "/" , absoluteUrl );
84
82
new File (jarWithClassPath .getParentFile (), "project-core/target/classes" )
85
83
.mkdirs ();
86
84
new File (jarWithClassPath .getParentFile (), "project-web/target/classes" ).mkdirs ();
@@ -90,7 +88,7 @@ public void urlsFromJarClassPathAreConsidered() throws Exception {
90
88
assertThat (urls .toList ()).containsExactly (
91
89
new URL (jarWithClassPath .toURI ().toURL (), "project-core/target/classes/" ),
92
90
new URL (jarWithClassPath .toURI ().toURL (), "project-web/target/classes/" ),
93
- relative .toURI ().toURL (), absoluteFile . toURI (). toURL (), absoluteUrl );
91
+ relative .toURI ().toURL (), absoluteUrl );
94
92
}
95
93
96
94
private URL makeUrl (String name ) throws IOException {
0 commit comments