![JAR search and dependency download from the Maven repository](/logo.png)
io.codemodder.codemods.InputResourceLeakCodemod.report.json Maven / Gradle / Ivy
{
"summary" : "Prevent resource leaks (CodeQL)",
"change": "Added a try-with-resources statement to automatically close resources",
"reviewGuidanceIJustification" : "This codemod causes resources to be cleaned up immediately after use instead of at garbage collection time, and we don't believe this change entails any risk.",
"references" : [
"https://codeql.github.com/codeql-query-help/java/java-input-resource-leak/",
"https://cwe.mitre.org/data/definitions/404.html",
"https://cwe.mitre.org/data/definitions/772.html"
]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy