mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-25 02:21:28 +01:00
coverity suggested corrections
This commit is contained in:
@@ -325,8 +325,10 @@ public class JarAnalyzer extends AbstractFileTypeAnalyzer {
|
|||||||
} else {
|
} else {
|
||||||
pom = PomUtils.readPom(externalPom);
|
pom = PomUtils.readPom(externalPom);
|
||||||
}
|
}
|
||||||
pom.processProperties(pomProperties);
|
if (pom != null) {
|
||||||
foundSomething |= setPomEvidence(dependency, pom, classes);
|
pom.processProperties(pomProperties);
|
||||||
|
foundSomething |= setPomEvidence(dependency, pom, classes);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} catch (AnalysisException ex) {
|
} catch (AnalysisException ex) {
|
||||||
LOGGER.warn("An error occurred while analyzing '{}'.", dependency.getActualFilePath());
|
LOGGER.warn("An error occurred while analyzing '{}'.", dependency.getActualFilePath());
|
||||||
|
|||||||
Reference in New Issue
Block a user