From: Jim Procter Date: Thu, 20 Sep 2018 15:39:45 +0000 (+0100) Subject: JAL-2755 canonicalise the database source for a dbref before resolving a database... X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=8c09d04c5ec473af68b498295321d58ad58c343d;hp=9f20cd3f523c61db9fa6c44022d50baa692356f4;p=jalview.git JAL-2755 canonicalise the database source for a dbref before resolving a database fetcher for it.. --- diff --git a/src/jalview/util/DBRefUtils.java b/src/jalview/util/DBRefUtils.java index b9939e6..bded248 100755 --- a/src/jalview/util/DBRefUtils.java +++ b/src/jalview/util/DBRefUtils.java @@ -616,7 +616,8 @@ public class DBRefUtils { for (DBRefEntry dbref : dbRefs) { - if (source.equalsIgnoreCase(dbref.getSource())) + if (source.equalsIgnoreCase( + DBRefUtils.getCanonicalName(dbref.getSource()))) { matches.add(dbref); }