提交 ba32fa7d 编写于 作者: D David Malkovsky

correct variable self compare

上级 83c78dc2
......@@ -48,7 +48,7 @@ public class EmbeddableCompoundId implements Serializable {
@Override
public boolean equals(Object obj) {
EmbeddableCompoundId other = (EmbeddableCompoundId) obj;
return idPart1 == other.idPart1 && idPart2.equals(idPart2);
return idPart1 == other.idPart1 && idPart2.equals(other.idPart2);
}
@Override
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册