mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8338564: Remove obsolete AbstractNamedEntry::equals method
Reviewed-by: liach
This commit is contained in:
parent
6ff6b09943
commit
f0fe31383a
1 changed files with 0 additions and 9 deletions
|
@ -534,15 +534,6 @@ public abstract sealed class AbstractPoolEntry {
|
||||||
public String asInternalName() {
|
public String asInternalName() {
|
||||||
return ref1.stringValue();
|
return ref1.stringValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean equals(Object o) {
|
|
||||||
if (o == this) { return true; }
|
|
||||||
if (o instanceof AbstractNamedEntry ne) {
|
|
||||||
return tag == ne.tag() && name().equals(ref1());
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final class ClassEntryImpl extends AbstractNamedEntry implements ClassEntry {
|
public static final class ClassEntryImpl extends AbstractNamedEntry implements ClassEntry {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue