Skip to content

Commit

Permalink
Merge branch '2.4.x'
Browse files Browse the repository at this point in the history
Closes gh-26748
  • Loading branch information
snicoll committed Jun 3, 2021
2 parents 02494d6 + ad99aa2 commit 75f31f6
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -131,11 +131,7 @@ private static URL toURL(String entry) {
}

private static boolean isManifestOnlyJar(URL url) {
return isSurefireBooterJar(url) || isShortenedIntelliJJar(url);
}

private static boolean isSurefireBooterJar(URL url) {
return url.getPath().contains("surefirebooter");
return isShortenedIntelliJJar(url);
}

private static boolean isShortenedIntelliJJar(URL url) {
Expand Down

0 comments on commit 75f31f6

Please sign in to comment.