mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 19:59:50 +00:00
fixed NPE
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@756 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
1f1debc0d0
commit
78ed2a4075
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ public final class LineDestination
|
||||||
return false;
|
return false;
|
||||||
if (this.destinationId != other.destinationId)
|
if (this.destinationId != other.destinationId)
|
||||||
return false;
|
return false;
|
||||||
if (!this.destination.equals(other.destination))
|
if (!nullSafeEquals(this.destination, other.destination))
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,7 @@ public final class LineDestination
|
||||||
hashCode *= 29;
|
hashCode *= 29;
|
||||||
hashCode += destinationId;
|
hashCode += destinationId;
|
||||||
hashCode *= 29;
|
hashCode *= 29;
|
||||||
hashCode += destination.hashCode();
|
hashCode += nullSafeHashCode(destination);
|
||||||
return hashCode;
|
return hashCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue