diff --git a/src/main/java/org/apache/commons/lang3/mutable/MutableObject.java b/src/main/java/org/apache/commons/lang3/mutable/MutableObject.java index 869ceb6af..a92a53d41 100644 --- a/src/main/java/org/apache/commons/lang3/mutable/MutableObject.java +++ b/src/main/java/org/apache/commons/lang3/mutable/MutableObject.java @@ -100,9 +100,8 @@ public class MutableObject implements Mutable, Serializable { if (this.getClass() == obj.getClass()) { final MutableObject that = (MutableObject) obj; return this.value.equals(that.value); - } else { - return false; } + return false; } /**