JAL-3659 unnecessary duplication -- test is made in previous block
authorBobHanson <hansonr@stolaf.edu>
Thu, 18 Jun 2020 16:00:32 +0000 (11:00 -0500)
committerBobHanson <hansonr@stolaf.edu>
Thu, 18 Jun 2020 16:00:32 +0000 (11:00 -0500)
src/jalview/bin/Jalview.java

index 36b5ea3..70aaa42 100755 (executable)
@@ -338,13 +338,6 @@ public class Jalview implements ApplicationSingletonI
         }
         headless = true;
       }
-      if (GraphicsEnvironment.isHeadless())
-      {
-        headless = true;
-      }
-      // <<?
-
-      // anything else!
 
       final String jabawsUrl = aparser.getValue(ArgsParser.JABAWS);
       allowServices = !("none".equals(jabawsUrl));