From 1f93bad9cdfc99bd866d2b40b5363bd349b72b58 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 8 Jun 2015 13:29:00 +0100 Subject: [PATCH] JAL-1421 undid premature 'improvement' of method parameter to interface --- src/MCview/PDBfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MCview/PDBfile.java b/src/MCview/PDBfile.java index 28ece4c..d81e734 100755 --- a/src/MCview/PDBfile.java +++ b/src/MCview/PDBfile.java @@ -379,7 +379,7 @@ public class PDBfile extends jalview.io.AlignFile final Object[] args = new Object[] { new FileParse(getDataName(), type) }; Object jmf = constructor.newInstance(args); - AlignmentI al = new Alignment((SequenceI[]) cl.getMethod( + Alignment al = new Alignment((SequenceI[]) cl.getMethod( "getSeqsAsArray", new Class[] {}).invoke(jmf)); cl.getMethod("addAnnotations", new Class[] -- 1.7.10.2