JAL-1628 tweak signature of core annotation printer for outputting hidden columns...
[jalview.git] / test / jalview / io / AnnotationFileIOTest.java
index 3d4e841..56e6cda 100644 (file)
@@ -115,13 +115,12 @@ public class AnnotationFileIOTest
               new AnnotationFile().readAnnotationFile(al, cs, af,
                       FormatAdapter.FILE));
 
-      ViewDef[] v = new ViewDef[1];
       AnnotationFile aff = new AnnotationFile();
-      v[0] = aff.new ViewDef(null, al.getHiddenSequences(), cs,
+      ViewDef v = aff.new ViewDef(null, al.getHiddenSequences(), cs,
               new Hashtable());
       String anfileout = new AnnotationFile().printAnnotations(
               al.getAlignmentAnnotation(), al.getGroups(),
-              al.getProperties(), v);
+              al.getProperties(), null, al, v);
       assertTrue(
               "Test "
                       + testname