Skip to content

Commit 0d90466

Browse files
committed
Merge pull request #26737 from dreis2211
* pr/26737: Remove reference to surefirebooter JAR Closes gh-26737
2 parents 1beee57 + f470151 commit 0d90466

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/classpath/ModifiedClassPathClassLoader.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -124,11 +124,7 @@ private static URL toURL(String entry) {
124124
}
125125

126126
private static boolean isManifestOnlyJar(URL url) {
127-
return isSurefireBooterJar(url) || isShortenedIntelliJJar(url);
128-
}
129-
130-
private static boolean isSurefireBooterJar(URL url) {
131-
return url.getPath().contains("surefirebooter");
127+
return isShortenedIntelliJJar(url);
132128
}
133129

134130
private static boolean isShortenedIntelliJJar(URL url) {

0 commit comments

Comments
 (0)