X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FStartRegionIterator.java;h=b7af62147fb9fdbc5afbe022c4fb16b20a69cd23;hb=62fb9a3042bdc6daaad8218d47b12cb912907354;hp=bd036e41e397ddb2c7c147bdf55ecc310c9a5ef4;hpb=5c1e80ada930876d477059fd92c68c898659efbf;p=jalview.git diff --git a/src/jalview/datamodel/StartRegionIterator.java b/src/jalview/datamodel/StartRegionIterator.java index bd036e4..b7af621 100644 --- a/src/jalview/datamodel/StartRegionIterator.java +++ b/src/jalview/datamodel/StartRegionIterator.java @@ -1,3 +1,23 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.datamodel; import java.util.ArrayList; @@ -64,7 +84,7 @@ public class StartRegionIterator implements Iterator // navigate to start, keeping count of hidden columns int i = 0; int hiddenSoFar = 0; - + if (pos != null) { // use the cursor position provided @@ -120,4 +140,3 @@ public class StartRegionIterator implements Iterator return result; } } -