Skip to content

Commit b554894

Browse files
committed
Polishing
1 parent 1fbd43b commit b554894

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/ChangeableUrlsTests.java

+5-3
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,11 @@ public void urlsFromJarClassPathAreConsidered() throws Exception {
7979
URL projectCore = makeUrl("project-core");
8080
URL projectWeb = makeUrl("project-web");
8181
File relative = this.temporaryFolder.newFolder();
82-
ChangeableUrls urls = ChangeableUrls.fromUrlClassLoader(new URLClassLoader(
83-
new URL[] { makeJarFileWithUrlsInManifestClassPath(projectCore,
84-
projectWeb, relative.getName() + "/"), makeJarFileWithNoManifest() }));
82+
ChangeableUrls urls = ChangeableUrls
83+
.fromUrlClassLoader(new URLClassLoader(new URL[] {
84+
makeJarFileWithUrlsInManifestClassPath(projectCore, projectWeb,
85+
relative.getName() + "/"),
86+
makeJarFileWithNoManifest() }));
8587
assertThat(urls.toList(),
8688
contains(projectCore, projectWeb, relative.toURI().toURL()));
8789
}

0 commit comments

Comments
 (0)