simplified the equals method for CallPath
This commit is contained in:
parent
5adfa4bc04
commit
8cbdd8a030
|
@ -45,16 +45,7 @@ public final class CallPath {
|
||||||
if (obj == null) {
|
if (obj == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (getClass() != obj.getClass()) {
|
return getClass() == obj.getClass() && path == ((CallPath)obj).path;
|
||||||
return false;
|
|
||||||
}
|
|
||||||
CallPath other = (CallPath) obj;
|
|
||||||
if (path == null && other.path != null) {
|
|
||||||
return false;
|
|
||||||
} else if (!path.equals(other.path)) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user