From: tcofoegbu Date: Wed, 16 Nov 2016 14:38:32 +0000 (+0000) Subject: JAL-2322 JAL-2309 replaced references to isheadless variable with method call to... X-Git-Tag: Release_2_10_1~11^2~3 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c3c7f93c27f8bc65da1b5491204b6abbeb557ed3;p=jalview.git JAL-2322 JAL-2309 replaced references to isheadless variable with method call to isHeadless() in HTMLOutput class --- 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); }