From: jprocter Date: Fri, 30 Nov 2007 13:52:16 +0000 (+0000) Subject: case insensitive matching of database ids X-Git-Tag: Release_2_4~177 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=55b5247bdccefa496e94614bcc682163d13f6b4a;p=jalview.git case insensitive matching of database ids --- diff --git a/src/jalview/datamodel/DBRefEntry.java b/src/jalview/datamodel/DBRefEntry.java index 35ada0d..03445cd 100755 --- a/src/jalview/datamodel/DBRefEntry.java +++ b/src/jalview/datamodel/DBRefEntry.java @@ -69,9 +69,9 @@ public class DBRefEntry return true; if ((source!=null && entry.source!=null && source.equals(entry.source)) && - (accessionId!=null && entry.accessionId!=null && accessionId.equals(entry.accessionId)) + (accessionId!=null && entry.accessionId!=null && accessionId.equalsIgnoreCase(entry.accessionId)) && - (version!=null && entry.version!=null && version.equals(entry.version)) + (version!=null && entry.version!=null && version.equalsIgnoreCase(entry.version)) ) { return true;