From: amwaterhouse Date: Wed, 8 Mar 2006 16:53:36 +0000 (+0000) Subject: IdentfyFile should not be static X-Git-Tag: Root_VamJalview_2_07b+~79 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=39fe02a01137354d94b28fdbfc128b3d4ca2d6f6;p=jalview.git IdentfyFile should not be static --- diff --git a/src/jalview/gui/CutAndPasteTransfer.java b/src/jalview/gui/CutAndPasteTransfer.java index 31a756b..12f9e28 100755 --- a/src/jalview/gui/CutAndPasteTransfer.java +++ b/src/jalview/gui/CutAndPasteTransfer.java @@ -129,7 +129,7 @@ public class CutAndPasteTransfer extends GCutAndPasteTransfer */ public void ok_actionPerformed(ActionEvent e) { - String format = IdentifyFile.Identify(getText(), "Paste"); + String format = new IdentifyFile().Identify(getText(), "Paste"); SequenceI[] sequences = null; if (FormatAdapter.formats.contains(format))