We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d74b6b commit 4fc56baCopy full SHA for 4fc56ba
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