From: Jim Procter Date: Fri, 25 Mar 2022 14:31:18 +0000 (+0000) Subject: JAL-3980 JAL-3979 TODOs X-Git-Tag: Release_2_11_2_1~4^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=569a95435f50f9537f9d49dcc796a3c8f918cae1;p=jalview.git JAL-3980 JAL-3979 TODOs --- 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++) {