Skip to content

Commit

Permalink
fix pmd
Browse files Browse the repository at this point in the history
git-svn-id: https://josm.openstreetmap.de/svn/trunk@19071 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
stoecker committed May 2, 2024
1 parent 5ee6e06 commit 34948b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/openstreetmap/josm/tools/LanguageInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public static String[] getOSMLocaleCodes(String prefix, Locale locale) {
case "zh_TW":
return new String[]{prefix+"zh-Hant-TW", prefix+"zh-Hant", prefix+"zh"};
default:
ArrayList<String> r = new ArrayList<String>();
var r = new ArrayList<String>();
for (String s : LanguageInfo.getLanguageCodes(null)) {
r.add(prefix + s);
}
Expand Down

0 comments on commit 34948b4

Please sign in to comment.