ICU-21957 Fixed java compiler warnings

This commit is contained in:
Yoshito Umaoka 2022-09-22 14:23:57 -04:00
parent 0c9d6f6b85
commit b5acb0ffc2

View file

@ -19,7 +19,7 @@ public class UnitPreferences {
private static final Map<String, String> measurementSystem;
static {
Map tempMS = new HashMap<String, String>();
Map<String, String> tempMS = new HashMap<>();
tempMS.put("metric", "001");
tempMS.put("ussystem", "US");
tempMS.put("uksystem", "GB");