From 91be468c74870f46c1f30253bbddce80cb83955b Mon Sep 17 00:00:00 2001 From: Karl Mortensen Date: Thu, 4 Jun 2015 11:43:13 -0400 Subject: [PATCH] private addproblems --- Core/src/org/sleuthkit/autopsy/casemodule/Case.java | 11 ----------- .../autopsy/casemodule/IntervalErrorReportData.java | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/casemodule/Case.java b/Core/src/org/sleuthkit/autopsy/casemodule/Case.java index 78c4f20c50..11ac5611b3 100644 --- a/Core/src/org/sleuthkit/autopsy/casemodule/Case.java +++ b/Core/src/org/sleuthkit/autopsy/casemodule/Case.java @@ -218,13 +218,6 @@ public class Case { 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. * @@ -375,8 +368,6 @@ public class Case { * constructor. */ Case newCase = new Case(caseName, caseNumber, examiner, configFilePath, xmlcm, db, caseType); - newCase.init(); - changeCase(newCase); } @@ -435,8 +426,6 @@ public class Case { * constructor. */ Case openedCase = new Case(caseName, caseNumber, examiner, configFilePath, xmlcm, db, caseType); - openedCase.init(); - changeCase(openedCase); } catch (Exception ex) { diff --git a/Core/src/org/sleuthkit/autopsy/casemodule/IntervalErrorReportData.java b/Core/src/org/sleuthkit/autopsy/casemodule/IntervalErrorReportData.java index 2900bdacf3..679917c476 100644 --- a/Core/src/org/sleuthkit/autopsy/casemodule/IntervalErrorReportData.java +++ b/Core/src/org/sleuthkit/autopsy/casemodule/IntervalErrorReportData.java @@ -79,7 +79,7 @@ class IntervalErrorReportData implements SleuthkitCase.ErrorObserver { * @param newProblems the newProblems to set * @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.totalProblems += newProblems;