private void removeHiddenAnnotation(int start, int end,
HiddenColumns hiddenColumns)
{
+ start = Math.min(Math.max(0, start), annotations.length);
+ end = Math.min(Math.max(-1, end), annotations.length - 1);
// mangle the alignmentAnnotation annotation array
ArrayList<Annotation[]> annels = new ArrayList<>();
Annotation[] els = null;