There was an error while loading. Please reload this page.
1 parent 68de54b commit dd425e0Copy full SHA for dd425e0
java/src/processing/mode/java/JavaMode.java
@@ -401,13 +401,14 @@ public void loadSuggestionsMap() {
401
if (suggestionsMap.containsKey(key)) {
402
suggestionsMap.get(key).add(val);
403
} else {
404
- HashSet<String> al = new HashSet<>();
405
- al.add(val);
406
- suggestionsMap.put(key, al);
+ HashSet<String> set = new HashSet<>();
+ set.add(val);
+ suggestionsMap.put(key, set);
407
}
408
409
410
411
+ br.close();
412
} catch (IOException e) {
413
Messages.loge("IOException while reading suggestions file:"
414
+ suggestionsListFile.getAbsolutePath());
0 commit comments