From c3c7f93c27f8bc65da1b5491204b6abbeb557ed3 Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Wed, 16 Nov 2016 14:38:32 +0000 Subject: [PATCH] JAL-2322 JAL-2309 replaced references to isheadless variable with method call to isHeadless() in HTMLOutput class --- src/jalview/io/HTMLOutput.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/jalview/io/HTMLOutput.java b/src/jalview/io/HTMLOutput.java index ccf1ea4..a422a38 100755 --- a/src/jalview/io/HTMLOutput.java +++ b/src/jalview/io/HTMLOutput.java @@ -43,8 +43,6 @@ public abstract class HTMLOutput protected IProgressIndicator pIndicator; - private boolean headless; - protected File generatedFile; public HTMLOutput(AlignmentPanel ap) @@ -252,7 +250,7 @@ public abstract class HTMLOutput public String getOutputFile() throws NoFileSelectedException { String selectedFile = null; - if (pIndicator != null && !headless) + if (pIndicator != null && !isHeadless()) { pIndicator.setProgressBar(MessageManager.formatMessage( "status.waiting_for_user_to_select_output_file", "HTML"), @@ -288,7 +286,7 @@ public abstract class HTMLOutput protected void setProgressMessage(String message) { - if (pIndicator != null && !headless) + if (pIndicator != null && !isHeadless()) { pIndicator.setProgressBar(message, pSessionId); } -- 1.7.10.2