JAL-2745 stderr rather than stdout for unexpected HTTP response
[jalview.git] / src / jalview / ws / SequenceFetcher.java
index 2c35ed9..a0b77de 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
  * 
  * This file is part of Jalview.
  * 
@@ -78,7 +78,8 @@ public class SequenceFetcher extends ASequenceFetcher
   public String[] getOrderedSupportedSources()
   {
     String[] srcs = this.getSupportedDb();
-    ArrayList<String> dassrc = new ArrayList<String>(), nondas = new ArrayList<String>();
+    ArrayList<String> dassrc = new ArrayList<String>(),
+            nondas = new ArrayList<String>();
     for (int i = 0; i < srcs.length; i++)
     {
       boolean das = false, skip = false;
@@ -94,7 +95,8 @@ public class SequenceFetcher extends ASequenceFetcher
         else
         {
           nm = dbs.getDbName();
-          if (getSourceProxy(srcs[i]) instanceof jalview.ws.dbsources.das.datamodel.DasSequenceSource)
+          if (getSourceProxy(
+                  srcs[i]) instanceof jalview.ws.dbsources.das.datamodel.DasSequenceSource)
           {
             if (nm.startsWith("das:"))
             {
@@ -118,8 +120,8 @@ public class SequenceFetcher extends ASequenceFetcher
         nondas.add(srcs[i]);
       }
     }
-    String[] tosort = nondas.toArray(new String[0]), sorted = nondas
-            .toArray(new String[0]);
+    String[] tosort = nondas.toArray(new String[0]),
+            sorted = nondas.toArray(new String[0]);
     for (int j = 0, jSize = sorted.length; j < jSize; j++)
     {
       tosort[j] = tosort[j].toLowerCase();