updated settings cleanup to prevent issue with the update process

Former-commit-id: 3452aec55b778224e10879175e1aba8060da4e42
This commit is contained in:
Jeremy Long
2014-05-03 10:55:56 -04:00
parent e58b7782ac
commit e891ce39c0
2 changed files with 2 additions and 2 deletions

View File

@@ -912,7 +912,7 @@ public class DependencyCheckTask extends Task {
LOGGER.log(Level.SEVERE, "Unable to connect to the dependency-check database; analysis has stopped"); LOGGER.log(Level.SEVERE, "Unable to connect to the dependency-check database; analysis has stopped");
LOGGER.log(Level.FINE, "", ex); LOGGER.log(Level.FINE, "", ex);
} finally { } finally {
Settings.cleanup(); Settings.cleanup(true);
if (engine != null) { if (engine != null) {
engine.cleanup(); engine.cleanup();
} }

View File

@@ -45,7 +45,7 @@ public class DependencyCheckTaskTest extends BuildFileTest {
public void tearDown() { public void tearDown() {
//no cleanup... //no cleanup...
//executeTarget("cleanup"); //executeTarget("cleanup");
Settings.cleanup(); Settings.cleanup(true);
} }
/** /**