JAL-2490 find features for export as GFF, JAL-2548 respect group
[jalview.git] / src / jalview / viewmodel / seqfeatures / FeatureRendererModel.java
index 284ee4f..a8e8989 100644 (file)
@@ -980,23 +980,12 @@ public abstract class FeatureRendererModel implements
   public List<String> getDisplayedFeatureGroups()
   {
     List<String> _gps = new ArrayList<String>();
-    boolean valid = false;
     for (String gp : getFeatureGroups())
     {
       if (checkGroupVisibility(gp, false))
       {
-        valid = true;
         _gps.add(gp);
       }
-      if (!valid)
-      {
-        return null;
-      }
-      else
-      {
-        // gps = new String[_gps.size()];
-        // _gps.toArray(gps);
-      }
     }
     return _gps;
   }