mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +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.
|
* MessageNotifyUtil used to display bubble notification.
|
||||||
* @param listOfErrors List of strings explaining the errors.
|
* @param listOfErrors List of strings explaining the errors.
|
||||||
*/
|
*/
|
||||||
private static void displayReportErrors(List<String> listOfErrors){
|
private void displayReportErrors(){
|
||||||
if(!listOfErrors.isEmpty()){
|
if(!errorList.isEmpty()){
|
||||||
String errorString = "";
|
String errorString = "";
|
||||||
for(String error : listOfErrors)
|
for(String error : errorList)
|
||||||
errorString += error + "\n";
|
errorString += error + "\n";
|
||||||
MessageNotifyUtil.Notify.error("Errors during report generation: ", errorString);
|
MessageNotifyUtil.Notify.error("Errors during report generation: ", errorString);
|
||||||
return;
|
return;
|
||||||
@ -285,7 +285,7 @@ import org.sleuthkit.datamodel.TskData;
|
|||||||
// catch and ignore if we were cancelled
|
// catch and ignore if we were cancelled
|
||||||
catch (java.util.concurrent.CancellationException ex ) { }
|
catch (java.util.concurrent.CancellationException ex ) { }
|
||||||
finally{
|
finally{
|
||||||
displayReportErrors(errorList);
|
displayReportErrors();
|
||||||
errorList.clear();
|
errorList.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -393,7 +393,7 @@ import org.sleuthkit.datamodel.TskData;
|
|||||||
// catch and ignore if we were cancelled
|
// catch and ignore if we were cancelled
|
||||||
catch (java.util.concurrent.CancellationException ex ) { }
|
catch (java.util.concurrent.CancellationException ex ) { }
|
||||||
finally{
|
finally{
|
||||||
displayReportErrors(errorList);
|
displayReportErrors();
|
||||||
errorList.clear();
|
errorList.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -668,7 +668,7 @@ import org.sleuthkit.datamodel.TskData;
|
|||||||
// catch and ignore if we were cancelled
|
// catch and ignore if we were cancelled
|
||||||
catch (java.util.concurrent.CancellationException ex ) { }
|
catch (java.util.concurrent.CancellationException ex ) { }
|
||||||
finally{
|
finally{
|
||||||
displayReportErrors(errorList);
|
displayReportErrors();
|
||||||
errorList.clear();
|
errorList.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user