mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 02:57:44 +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);
|
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) {
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user