if (annotation)\r
{\r
Annotation[] anots = new Annotation[sb.length()];\r
+ String anotString = sb.toString();\r
for (int i = 0; i < sb.length(); i++)\r
{\r
- anots[i] = new Annotation(sb.substring(i, i+1),\r
+ anots[i] = new Annotation(anotString.substring(i, i+1),\r
null,\r
' ', 0);\r
}\r
seq.getName().substring(2), seq.getDescription(),\r
anots);\r
\r
- annotations.add(aa);\r
+ annotations.addElement(aa);\r
}\r
annotation = true;\r
}\r
if (annotation)\r
{\r
Annotation[] anots = new Annotation[sb.length()];\r
+ String anotString = sb.toString();\r
for (int i = 0; i < sb.length(); i++)\r
{\r
- anots[i] = new Annotation(sb.substring(i, i + 1),\r
+ anots[i] = new Annotation(anotString.substring(i, i + 1),\r
null,\r
' ', 0);\r
}\r
seq.getName().substring(2), seq.getDescription(),\r
anots);\r
\r
- annotations.add(aa);\r
+ annotations.addElement(aa);\r
}\r
\r
else if (!firstLine)\r