From 569a95435f50f9537f9d49dcc796a3c8f918cae1 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 25 Mar 2022 14:31:18 +0000 Subject: [PATCH] JAL-3980 JAL-3979 TODOs --- src/jalview/datamodel/Sequence.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jalview/datamodel/Sequence.java b/src/jalview/datamodel/Sequence.java index d52e049..f8e70b1 100755 --- a/src/jalview/datamodel/Sequence.java +++ b/src/jalview/datamodel/Sequence.java @@ -1415,6 +1415,7 @@ public class Sequence extends ASequence implements SequenceI @Override public void addDBRef(DBRefEntry entry) { + // TODO JAL-3980 maintain as sorted list if (datasetSequence != null) { datasetSequence.addDBRef(entry); @@ -1425,6 +1426,7 @@ public class Sequence extends ASequence implements SequenceI { dbrefs = new DBModList<>(); } + // TODO JAL-3979 LOOK UP RATHER THAN SWEEP FOR EFFICIENCY for (int ib = 0, nb = dbrefs.size(); ib < nb; ib++) { -- 1.7.10.2