JAL-3032 avoid assignments on the same line as synchronized
[jalview.git] / src / jalview / ws / SequenceFetcher.java
index d5065b5..a0b77de 100644 (file)
@@ -60,11 +60,11 @@ public class SequenceFetcher extends ASequenceFetcher
     addDBRefSourceImpl(EmblSource.class);
     addDBRefSourceImpl(EmblCdsSource.class);
     addDBRefSourceImpl(Uniprot.class);
-    // addDBRefSourceImpl(UniprotName.class);
     addDBRefSourceImpl(Pdb.class);
     addDBRefSourceImpl(PfamFull.class);
     addDBRefSourceImpl(PfamSeed.class);
     addDBRefSourceImpl(RfamSeed.class);
+
     if (addDas)
     {
       registerDasSequenceSources();
@@ -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();