Description
try { FileInputStream fis = new FileInputStream(sitePath); try { scaleProps.load(fis); } finally { fis.close(); } fis = new FileInputStream(testPath); testProps.load(fis); } catch (Exception e) { log.error("Error loading config file.", e); }
The second instance assigned to fis might not be closed.