From: amwaterhouse Date: Wed, 2 Nov 2005 16:06:39 +0000 (+0000) Subject: Only add first Id to suggestedIds X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5516035dd572f63b1caf9af31cc5ec5e6c8dfa04;p=jalview.git Only add first Id to suggestedIds --- diff --git a/src/jalview/io/WSWUBlastClient.java b/src/jalview/io/WSWUBlastClient.java index 8e4532c..36e5dfd 100755 --- a/src/jalview/io/WSWUBlastClient.java +++ b/src/jalview/io/WSWUBlastClient.java @@ -126,7 +126,10 @@ public class WSWUBlastClient { maxFound = value; buffer.append(" " + id2 + " " + value + "%; "); - suggestedIds.put(id1, id2); + if(!suggestedIds.containsKey(id1)) + { + suggestedIds.put(id1, id2); + } } } }