equal
deleted
inserted
replaced
185 private synchronized void loadLookup() { |
185 private synchronized void loadLookup() { |
186 if (lookup != null) |
186 if (lookup != null) |
187 return; |
187 return; |
188 |
188 |
189 Object[][] contents = getContents(); |
189 Object[][] contents = getContents(); |
190 HashMap<String,Object> temp = new HashMap<String,Object>(contents.length); |
190 HashMap<String,Object> temp = new HashMap<>(contents.length); |
191 for (int i = 0; i < contents.length; ++i) { |
191 for (int i = 0; i < contents.length; ++i) { |
192 // key must be non-null String, value must be non-null |
192 // key must be non-null String, value must be non-null |
193 String key = (String) contents[i][0]; |
193 String key = (String) contents[i][0]; |
194 Object value = contents[i][1]; |
194 Object value = contents[i][1]; |
195 if (key == null || value == null) { |
195 if (key == null || value == null) { |