From 5d426457d9d8d30fc9192b17dd9e4fd188a1f93c Mon Sep 17 00:00:00 2001 From: sidheshenator Date: Tue, 17 Feb 2015 15:01:01 -0500 Subject: [PATCH] displayReportErrors() signature changed --- .../sleuthkit/autopsy/report/ReportGenerator.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/report/ReportGenerator.java b/Core/src/org/sleuthkit/autopsy/report/ReportGenerator.java index e5f676262f..d09984be0d 100644 --- a/Core/src/org/sleuthkit/autopsy/report/ReportGenerator.java +++ b/Core/src/org/sleuthkit/autopsy/report/ReportGenerator.java @@ -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 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(); } }