Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
static { try { Properties props = new Properties(); props.load(AppInfoParser.class.getResourceAsStream("/kafka/kafka-version.properties")); version = props.getProperty("version", version).trim(); commitId = props.getProperty("commitId", commitId).trim();
The stream returned by getResourceAsStream() should be closed.