clean up
[jalview.git] / test / MCview / PDBfileTest.java
index 9ebed25..5d69a00 100644 (file)
@@ -5,12 +5,6 @@ import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertSame;
 import static org.junit.Assert.assertTrue;
-
-import java.io.IOException;
-
-import org.junit.Ignore;
-import org.junit.Test;
-
 import jalview.datamodel.Alignment;
 import jalview.datamodel.AlignmentAnnotation;
 import jalview.datamodel.AlignmentI;
@@ -19,6 +13,11 @@ import jalview.datamodel.Sequence;
 import jalview.datamodel.SequenceI;
 import jalview.io.AppletFormatAdapter;
 
+import java.io.IOException;
+
+import org.junit.Ignore;
+import org.junit.Test;
+
 public class PDBfileTest
 {
   @Test
@@ -266,7 +265,7 @@ public class PDBfileTest
   private AlignmentAnnotation[] getAlignmentAnnotations(PDBfile pf)
   {
     AlignmentI al = new Alignment(pf.getSeqsAsArray());
-    pf.addAnnotations(al);
+    pf.addAnnotations((Alignment) al);
     return al.getAlignmentAnnotation();
   }
   }