JAL-3980 JAL-3979 TODOs bug/JAL-3980_JAL-3981_tooltips_sequence_details
authorJim Procter <j.procter@dundee.ac.uk>
Fri, 25 Mar 2022 14:31:18 +0000 (14:31 +0000)
committerJim Procter <j.procter@dundee.ac.uk>
Fri, 25 Mar 2022 14:31:18 +0000 (14:31 +0000)
src/jalview/datamodel/Sequence.java

index d52e049..f8e70b1 100755 (executable)
@@ -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++)
     {