Skip to content

Commit

Permalink
use string() from OmtLanguageUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
phanecak-maptiler committed Oct 14, 2024
1 parent de0c3e4 commit b0f5725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/openmaptiles/util/OmtLanguageUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ private static Stream<String> getAllNameTranslationsBesidesEnglishAndGerman(Map<
return tags.entrySet().stream()
.filter(e -> !EN_DE_NAME_KEYS.contains(e.getKey()) && VALID_NAME_TAGS.test(e.getKey()))
.map(Map.Entry::getValue)
.map(LanguageUtils::string);
.map(OmtLanguageUtils::string);
}
}

0 comments on commit b0f5725

Please sign in to comment.