From 47806656477f02076cac0467c7374e231a59ab7e Mon Sep 17 00:00:00 2001 From: hansonr Date: Fri, 10 May 2019 13:24:32 -0500 Subject: [PATCH] JAL-3253 FileFormats static removal --- src/jalview/io/FileFormats.java | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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 -- 1.7.10.2