Merge branch 'master' of github.com:jeremylong/DependencyCheck

Former-commit-id: ed02b171d4a62eb4e22deea53dfcec07676a96d2
This commit is contained in:
Jeremy Long
2014-04-02 06:52:59 -04:00

View File

@@ -93,6 +93,7 @@ public abstract class AbstractSuppressionAnalyzer extends AbstractAnalyzer {
private void loadSuppressionData() throws SuppressionParseException {
final String suppressionFilePath = Settings.getString(Settings.KEYS.SUPPRESSION_FILE);
if (suppressionFilePath == null) {
rules = null; // Set to null to fix issue with Jenkins plugin configuration changes between builds
return;
}
File file = null;