From: hansonr Date: Fri, 10 May 2019 18:24:32 +0000 (-0500) Subject: JAL-3253 FileFormats static removal X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=47806656477f02076cac0467c7374e231a59ab7e;p=jalview.git JAL-3253 FileFormats static removal --- diff --git a/src/jalview/io/FileFormats.java b/src/jalview/io/FileFormats.java index fb490d3..d65fe95 100644 --- a/src/jalview/io/FileFormats.java +++ b/src/jalview/io/FileFormats.java @@ -40,16 +40,6 @@ import java.util.Set; */ public class FileFormats { - /* - * A lookup map of file formats by upper-cased name - */ - private static Map formats; - - /* - * Formats in this set are capable of being identified by IdentifyFile - */ - private static Set identifiable; - public static FileFormats getInstance() { Instance i = Instance.getInstance(); @@ -65,6 +55,16 @@ public class FileFormats reset(); } + /* + * A lookup map of file formats by upper-cased name + */ + private Map formats; + + /* + * Formats in this set are capable of being identified by IdentifyFile + */ + private Set identifiable; + /** * Reset to just the built-in file formats packaged with Jalview. These are * added (and will be shown in menus) in the order of their declaration in the