From 39fe02a01137354d94b28fdbfc128b3d4ca2d6f6 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 8 Mar 2006 16:53:36 +0000 Subject: [PATCH] IdentfyFile should not be static --- src/jalview/gui/CutAndPasteTransfer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 1.7.10.2