Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Here is related code:
InputStream mappingFile = store.getClass().getClassLoader().getResourceAsStream(mappingFilename); if (mappingFile == null) throw new IOException("Unable to open mapping file: "+mappingFilename); return mappingFilename;
mappingFile should be closed before returning.