mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
displayReportErrors() signature changed
This commit is contained in:
parent
21c465d07a
commit
5d426457d9
@ -93,10 +93,10 @@ import org.sleuthkit.datamodel.TskData;
|
||||
* MessageNotifyUtil used to display bubble notification.
|
||||
* @param listOfErrors List of strings explaining the errors.
|
||||
*/
|
||||
private static void displayReportErrors(List<String> listOfErrors){
|
||||
if(!listOfErrors.isEmpty()){
|
||||
private void displayReportErrors(){
|
||||
if(!errorList.isEmpty()){
|
||||
String errorString = "";
|
||||
for(String error : listOfErrors)
|
||||
for(String error : errorList)
|
||||
errorString += error + "\n";
|
||||
MessageNotifyUtil.Notify.error("Errors during report generation: ", errorString);
|
||||
return;
|
||||
@ -285,7 +285,7 @@ import org.sleuthkit.datamodel.TskData;
|
||||
// catch and ignore if we were cancelled
|
||||
catch (java.util.concurrent.CancellationException ex ) { }
|
||||
finally{
|
||||
displayReportErrors(errorList);
|
||||
displayReportErrors();
|
||||
errorList.clear();
|
||||
}
|
||||
}
|
||||
@ -393,7 +393,7 @@ import org.sleuthkit.datamodel.TskData;
|
||||
// catch and ignore if we were cancelled
|
||||
catch (java.util.concurrent.CancellationException ex ) { }
|
||||
finally{
|
||||
displayReportErrors(errorList);
|
||||
displayReportErrors();
|
||||
errorList.clear();
|
||||
}
|
||||
}
|
||||
@ -668,7 +668,7 @@ import org.sleuthkit.datamodel.TskData;
|
||||
// catch and ignore if we were cancelled
|
||||
catch (java.util.concurrent.CancellationException ex ) { }
|
||||
finally{
|
||||
displayReportErrors(errorList);
|
||||
displayReportErrors();
|
||||
errorList.clear();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user