se[1])
+ {
se[1] = p;
+ }
}
}
if (se != null)
@@ -136,20 +145,18 @@ public class SeqGroupIndexVector extends InputType implements
// remaining group ? - these might be at the start or the end
if (gl.size() > 0)
{
- if (lowest-1>minsize)
+ if (lowest - 1 > minsize)
{
- gl.add(0, new int[]
- { 0, lowest-2});
+ gl.add(0, new int[] { 0, lowest - 2 });
}
- if ((al.getHeight()-1-highest)>minsize)
+ if ((al.getHeight() - 1 - highest) > minsize)
{
- gl.add(new int[] { highest+1, al.getHeight()-1});
+ gl.add(new int[] { highest + 1, al.getHeight() - 1 });
}
}
else
{
- gl.add(new int[]
- { 0, al.getHeight() - 1 });
+ gl.add(new int[] { 0, al.getHeight() - 1 });
}
if (min >= 0 && gl.size() < min)
{
@@ -166,7 +173,9 @@ public class SeqGroupIndexVector extends InputType implements
int[][] vals = gl.toArray(new int[gl.size()][]);
int[] srt = new int[gl.size()];
for (int i = 0; i < vals.length; i++)
+ {
srt[i] = vals[i][0];
+ }
jalview.util.QuickSort.sort(srt, vals);
list = false;
int last = vals[0][0] - 1;
@@ -208,7 +217,7 @@ public class SeqGroupIndexVector extends InputType implements
@Override
public List