mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
private addproblems
This commit is contained in:
parent
88f40b55b7
commit
91be468c74
@ -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) {
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user