case insensitive matching of database ids
authorjprocter <Jim Procter>
Fri, 30 Nov 2007 13:52:16 +0000 (13:52 +0000)
committerjprocter <Jim Procter>
Fri, 30 Nov 2007 13:52:16 +0000 (13:52 +0000)
src/jalview/datamodel/DBRefEntry.java

index 35ada0d..03445cd 100755 (executable)
@@ -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;