JAL-2543 identify as JSON before HTML
[jalview.git] / src / jalview / datamodel / AllColsIterator.java
index 4e1ff2e..c7a0bb1 100644 (file)
@@ -38,15 +38,11 @@ public class AllColsIterator implements Iterator<Integer>
 
   private int current;
 
-  ColumnSelection hidden;
-
-  public AllColsIterator(int firstcol, int lastcol,
-          ColumnSelection hiddenCols)
+  public AllColsIterator(int firstcol, int lastcol, HiddenColumns hiddenCols)
   {
     last = lastcol;
     next = firstcol;
     current = firstcol;
-    hidden = hiddenCols;
   }
 
   @Override