added supresswarnings for findbugs false positive

Former-commit-id: 7423c03adb41f92e447aba5e58bc415d27c6c957
This commit is contained in:
Jeremy Long
2013-05-27 19:56:19 -04:00
parent 6628fc3c33
commit e0e85c468a

View File

@@ -219,6 +219,9 @@ public class JarAnalyzer extends AbstractAnalyzer implements Analyzer {
* pom.
* @return whether or not evidence was added to the dependency
*/
@edu.umd.cs.findbugs.annotations.SuppressWarnings(
value = "OS_OPEN_STREAM",
justification = "The reader on line 259 is closed by closing the zipEntry")
protected boolean analyzePOM(Dependency dependency) throws IOException, AnalysisException {
boolean foundSomething = false;
Properties pomProperties = null;