HIGUCHI Yuta
Committed by Gerrit Code Review

bugfix: equals comparing a field with itself

Change-Id: I02df9a7ca3788bf736edb89e39215992e2d6c375
......@@ -241,7 +241,7 @@ public class PIMAddrGroup {
return false;
}
final PIMAddrGroup other = (PIMAddrGroup) obj;
if (this.family != this.family) {
if (this.family != other.family) {
return false;
}
......
......@@ -265,7 +265,7 @@ public class PIMAddrSource {
return false;
}
final PIMAddrSource other = (PIMAddrSource) obj;
if (this.family != this.family) {
if (this.family != other.family) {
return false;
}
......
......@@ -166,7 +166,7 @@ public class PIMAddrUnicast {
return false;
}
final PIMAddrUnicast other = (PIMAddrUnicast) obj;
if (this.family != this.family) {
if (this.family != other.family) {
return false;
}
......