mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-26 11:39:14 +00:00
Merge branch '3.5.x'
This commit is contained in:
+5
-5
@@ -44,11 +44,6 @@ final class JarFileUrlKey {
|
||||
this.runtimeRef = "runtime".equals(url.getRef());
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hashCode(this.file);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj) {
|
||||
@@ -64,6 +59,11 @@ final class JarFileUrlKey {
|
||||
&& (this.runtimeRef == other.runtimeRef);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hashCode(this.file);
|
||||
}
|
||||
|
||||
private boolean equalsIgnoringCase(String s1, String s2) {
|
||||
return (s1 == s2) || (s1 != null && s1.equalsIgnoreCase(s2));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user