8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 120d765 commit da03240Copy full SHA for da03240
src/main/java/travelator/CampSite.kt
@@ -8,8 +8,5 @@ data class CampSite(
8
val countryCode: String
9
get() = address.countryCode
10
11
- val region: String
12
- get() {
13
- return address.region
14
- }
15
-}
+ val region: String get() = address.region
+}
src/main/java/travelator/CampSites.java
@@ -14,7 +14,7 @@ public static Set<CampSite> sitesInRegion(
return sites.stream()
.filter( campSite ->
16
campSite.getCountryCode().equals(countryISO) &&
17
- campSite.getRegion().equalsIgnoreCase(region)
+ campSite.getRegion().equalsIgnoreCase(region) // <1>
18
)
19
.collect(toUnmodifiableSet());
20
}
0 commit comments