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.FINE, "", ex);
} finally {
Settings.cleanup();
Settings.cleanup(true);
if (engine != null) {
engine.cleanup();
}

View File

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