Added NOSONAR comment

This commit is contained in:
tastybento 2019-08-27 19:23:48 -07:00
parent b4c2853f27
commit 1c50bfb21a

View File

@ -62,6 +62,7 @@ public class JSONDatabaseHandler<T> extends AbstractJSONDatabaseHandler<T> {
list.add(object);
} else {
plugin.logError("JSON file created a null object: " + file.getPath());
// Required to keep OS file handlers low and not rely on GC NOSONAR
reader.close();
}
} catch (FileNotFoundException e) {