From: hansonr Date: Fri, 24 Aug 2018 07:35:44 +0000 (-0500) Subject: JAL-3026 Java bug associated with File/String mods X-Git-Tag: Release_2_11_4_0~45^2~18^2~461 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=8de672a19aa66c59e84511da1961dd35397c02cb;p=jalview.git JAL-3026 Java bug associated with File/String mods in AlignFrame lines 4586,4592 --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index a59cc13..3db81f1 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -4583,13 +4583,13 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, for (SequenceI toassoc : (SequenceI[]) fm[2]) { PDBEntry pe = new AssociatePdbFileWithSeq() - .associatePdbWithSeq((String) fm[0], + .associatePdbWithSeq(fm[0].toString(), (DataSourceType) fm[1], toassoc, false, Desktop.instance); if (pe != null) { System.err.println("Associated file : " - + ((String) fm[0]) + " with " + + (fm[0].toString()) + " with " + toassoc.getDisplayId(true)); assocfiles++; }