JAL-3446 from JAL-3253 ApplicationSingletonProvider missing for
[jalview.git] / src / jalview / io / FileFormats.java
index 7743e17..fca29bd 100644 (file)
@@ -46,6 +46,13 @@ public class FileFormats implements ApplicationSingletonI
     return (FileFormats) ApplicationSingletonProvider.getInstance(FileFormats.class);
   }
 
+  /**
+   * Private constructor registers Jalview's built-in file formats
+   */
+  private FileFormats()
+  {
+    reset();
+  }
 
   /*
    * A lookup map of file formats by upper-cased name
@@ -57,13 +64,6 @@ public class FileFormats implements ApplicationSingletonI
    */
   private Set<FileFormatI> identifiable;
 
-  /**
-   * Private constructor registers Jalview's built-in file formats
-   */
-  private FileFormats()
-  {
-    reset();
-  }
 
   /**
    * Reset to just the built-in file formats packaged with Jalview. These are