private addproblems

This commit is contained in:
Karl Mortensen 2015-06-04 11:43:13 -04:00
parent 88f40b55b7
commit 91be468c74
2 changed files with 1 additions and 12 deletions

View File

@ -218,13 +218,6 @@ public class Case {
this.services = new Services(db); this.services = new Services(db);
} }
/**
* Does initialization that would leak a reference to this if done in the
* constructor.
*/
private void init() {
}
/** /**
* Gets the currently opened case, if there is one. * Gets the currently opened case, if there is one.
* *
@ -375,8 +368,6 @@ public class Case {
* constructor. * constructor.
*/ */
Case newCase = new Case(caseName, caseNumber, examiner, configFilePath, xmlcm, db, caseType); Case newCase = new Case(caseName, caseNumber, examiner, configFilePath, xmlcm, db, caseType);
newCase.init();
changeCase(newCase); changeCase(newCase);
} }
@ -435,8 +426,6 @@ public class Case {
* constructor. * constructor.
*/ */
Case openedCase = new Case(caseName, caseNumber, examiner, configFilePath, xmlcm, db, caseType); Case openedCase = new Case(caseName, caseNumber, examiner, configFilePath, xmlcm, db, caseType);
openedCase.init();
changeCase(openedCase); changeCase(openedCase);
} catch (Exception ex) { } catch (Exception ex) {

View File

@ -79,7 +79,7 @@ class IntervalErrorReportData implements SleuthkitCase.ErrorObserver {
* @param newProblems the newProblems to set * @param newProblems the newProblems to set
* @param ex the exception for this error * @param ex the exception for this error
*/ */
public void addProblems(long newProblems, Exception ex) { private void addProblems(long newProblems, Exception ex) {
this.newProblems += newProblems; this.newProblems += newProblems;
this.totalProblems += newProblems; this.totalProblems += newProblems;