X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FDBRefUtils.java;h=8eb5d7b94c940d9c0bdbb8a86a74181b0a135628;hb=2b3edc77ed89937505a6c1297b4264cd8b820b8b;hp=3e0004e0db6f888f4d50a1fabed513ffc473a31d;hpb=8734c40ed208a27c7c2f5d4a56b658339e9d52ff;p=jalview.git diff --git a/src/jalview/util/DBRefUtils.java b/src/jalview/util/DBRefUtils.java index 3e0004e..8eb5d7b 100755 --- a/src/jalview/util/DBRefUtils.java +++ b/src/jalview/util/DBRefUtils.java @@ -137,23 +137,18 @@ public class DBRefUtils */ public static DBRefEntry[] searchRefs(DBRefEntry[] ref, DBRefEntry entry) { + return searchRefs(ref, entry, matchDbAndIdAndEitherMapOrEquivalentMapList); + } + public static DBRefEntry[] searchRefs(DBRefEntry[] ref, DBRefEntry entry, DbRefComp comparator) + { if (ref==null || entry==null) return null; Vector rfs = new Vector(); for (int i=0; i