From: gmungoc Date: Mon, 8 Jun 2015 12:29:00 +0000 (+0100) Subject: JAL-1421 undid premature 'improvement' of method parameter to interface X-Git-Tag: Release_2_10_0~616 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=1f93bad9cdfc99bd866d2b40b5363bd349b72b58;p=jalview.git JAL-1421 undid premature 'improvement' of method parameter to interface --- 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[]