Fix POI compare

This commit is contained in:
xmd5a 2019-02-12 15:44:38 +03:00
parent 29da2d9cb4
commit 9da013b3f8

View file

@ -274,6 +274,7 @@ public class Amenity extends MapObject {
Algorithms.objectEquals(getLocation(), thatObj.getLocation()) && Algorithms.objectEquals(getLocation(), thatObj.getLocation()) &&
Algorithms.objectEquals(this.subType, thatObj.subType) && Algorithms.objectEquals(this.subType, thatObj.subType) &&
Algorithms.objectEquals(this.additionalInfo, thatObj.additionalInfo) && Algorithms.objectEquals(this.additionalInfo, thatObj.additionalInfo) &&
Algorithms.objectEquals(this.getName(), thatObj.getName()) &&
Algorithms.objectEquals(this.getNamesMap(true), thatObj.getNamesMap(true))) { Algorithms.objectEquals(this.getNamesMap(true), thatObj.getNamesMap(true))) {
return true; return true;
} }