diff --git a/eo-runtime/src/main/java/org/eolang/PhConst.java b/eo-runtime/src/main/java/org/eolang/PhConst.java index 7463a62d4d..5a15b49a90 100644 --- a/eo-runtime/src/main/java/org/eolang/PhConst.java +++ b/eo-runtime/src/main/java/org/eolang/PhConst.java @@ -51,16 +51,6 @@ public PhConst(final Phi phi) { super(phi); } - @Override - public boolean equals(final Object obj) { - return this.origin.equals(obj); - } - - @Override - public int hashCode() { - return this.origin.hashCode(); - } - @Override public String toString() { return String.format("!%s%s", this.cached.keySet(), this.origin); diff --git a/eo-runtime/src/main/java/org/eolang/PhLogged.java b/eo-runtime/src/main/java/org/eolang/PhLogged.java index ffdf6b15a7..4c75d11175 100644 --- a/eo-runtime/src/main/java/org/eolang/PhLogged.java +++ b/eo-runtime/src/main/java/org/eolang/PhLogged.java @@ -89,16 +89,6 @@ public String forma() { return this.origin.forma(); } - @Override - public boolean equals(final Object obj) { - return this.origin.equals(obj); - } - - @Override - public int hashCode() { - return this.origin.hashCode(); - } - @Override public String toString() { return this.origin.toString(); diff --git a/eo-runtime/src/main/java/org/eolang/PhNamed.java b/eo-runtime/src/main/java/org/eolang/PhNamed.java index 38fea6a743..ab2b538862 100644 --- a/eo-runtime/src/main/java/org/eolang/PhNamed.java +++ b/eo-runtime/src/main/java/org/eolang/PhNamed.java @@ -48,16 +48,6 @@ final class PhNamed extends PhDecorator { this.name = txt; } - @Override - public boolean equals(final Object obj) { - return this.origin.equals(obj); - } - - @Override - public int hashCode() { - return this.origin.hashCode(); - } - @Override public String toString() { return String.format("%s≡%s", this.name, this.origin.toString());