meili-epfl/Meili

View on GitHub
app/src/main/java/com/github/epfl/meili/models/PointOfInterest.kt

Summary

Maintainability
A
40 mins
Test Coverage
A
100%

Consider simplifying this complex logical expression.
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
        }
Severity: Major
Found in app/src/main/java/com/github/epfl/meili/models/PointOfInterest.kt - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status