From: jprocter Date: Thu, 10 May 2007 08:39:40 +0000 (+0000) Subject: fixed array index out of bounds when not removing alignment annotation X-Git-Tag: Release_2_3~4 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=13627d2cded75044b5e80c7c19aa2c789939bce9;p=jalview.git fixed array index out of bounds when not removing alignment annotation --- diff --git a/src/jalview/datamodel/Alignment.java b/src/jalview/datamodel/Alignment.java index 9c7f2fb..677f436 100755 --- a/src/jalview/datamodel/Alignment.java +++ b/src/jalview/datamodel/Alignment.java @@ -489,8 +489,8 @@ public class Alignment swap=true; continue; } - - temp[tIndex++] = annotations[i]; + if (tIndex