提交 a55e1143 编写于 作者: T Tijs Rademakers

Merge pull request #370 from dbmalkovsky/ACT-2099

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