|
|
|
|
@ -44,11 +44,6 @@ final class JarFileUrlKey {
@@ -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 {
@@ -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)); |
|
|
|
|
} |
|
|
|
|
|