JAL-1191 additions to SOLite, tweak to test
[jalview.git] / src / jalview / ws / seqfetcher / ASequenceFetcher.java
index 9e438d3..f825608 100644 (file)
@@ -157,7 +157,8 @@ public class ASequenceFetcher
       Stack<String> queriesLeft = new Stack<String>();
       queriesLeft.addAll(query);
 
-      for (DbSourceProxy fetcher : getSourceProxy(db))
+      List<DbSourceProxy> proxies = getSourceProxy(db);
+      for (DbSourceProxy fetcher : proxies)
       {
         List<String> queriesMade = new ArrayList<String>();
         HashSet<String> queriesFound = new HashSet<String>();
@@ -206,7 +207,7 @@ public class ASequenceFetcher
                 {
                   rseqs.addElement(seqs[is]);
                   DBRefEntry[] frefs = DBRefUtils.searchRefs(seqs[is]
-                          .getDBRef(), new DBRefEntry(db, null, null));
+                          .getDBRefs(), new DBRefEntry(db, null, null));
                   if (frefs != null)
                   {
                     for (DBRefEntry dbr : frefs)