app/src/main/java/com/github/epfl/meili/models/PointOfInterest.kt
Consider simplifying this complex logical expression. Open
Open
if (other != null && other::class.java == PointOfInterest::class.java) {
val otherPoi = other as PointOfInterest
return otherPoi.latitude == latitude && otherPoi.longitude == longitude && otherPoi.name == name
&& otherPoi.uid == uid && otherPoi.icon == icon
}