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 8e6f56d commit 5139b5eCopy full SHA for 5139b5e
src/org/openstreetmap/josm/data/SystemOfMeasurement.java
@@ -304,7 +304,7 @@ public static SystemOfMeasurement getDefault() {
304
.map(LanguageInfo::getLocale)
305
.orElse(Locale.getDefault())
306
.getCountry();
307
- if (country == "US")
+ if ("US".equals(country))
308
// https://en.wikipedia.org/wiki/Metrication_in_the_United_States#Current_use
309
// Imperial units still used in transportation and Earth sciences
310
return IMPERIAL;
0 commit comments