JAL-3648 resize annotation panel after dragging to resize graph height
[jalview.git] / src / jalview / ws / SequenceFetcherFactory.java
index 9cc4960..25144fc 100644 (file)
@@ -24,29 +24,33 @@ import jalview.ws.seqfetcher.ASequenceFetcher;
 
 public class SequenceFetcherFactory
 {
-
-  private static SequenceFetcher instance;
-
-  /**
-   * Returns a new SequenceFetcher object, or a mock object if one has been set
-   * 
-   * @return
-   */
-  public static ASequenceFetcher getSequenceFetcher()
-  {
-    return instance == null ? new SequenceFetcher() : instance;
-  }
-
-  /**
-   * Set the instance object to use (intended for unit testing with mock
-   * objects).
-   * 
-   * Be sure to reset to null in the tearDown method of any tests!
-   * 
-   * @param sf
-   */
-  public static void setSequenceFetcher(SequenceFetcher sf)
-  {
-    instance = sf;
-  }
+  // BH the two methods in this class merged into SequenceFetcher
 }
+//public class SequenceFetcherFactory
+//{
+//
+//  private static SequenceFetcher instance;
+//
+//  /**
+//   * Returns a new SequenceFetcher object, or a mock object if one has been set
+//   * 
+//   * @return
+//   */
+//  public static ASequenceFetcher getSequenceFetcher()
+//  {
+//    return instance == null ? new SequenceFetcher() : instance;
+//  }
+//
+//  /**
+//   * Set the instance object to use (intended for unit testing with mock
+//   * objects).
+//   * 
+//   * Be sure to reset to null in the tearDown method of any tests!
+//   * 
+//   * @param sf
+//   */
+//  public static void setSequenceFetcher(SequenceFetcher sf)
+//  {
+//    instance = sf;
+//  }
+//}