Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-4306

SeqCigar.getSeq should return an empty sequence for 0-length sequence.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.12.0
    • Fix Version/s: None
    • Component/s: Datamodel
    • Labels:
      None

      Description

      The current implementation of SeqCigar.getSeq returns null for an empty sequence. I don't think such a case should have special treatment and the method should return an empty sequence, especially since all current usages of that method are not null-safe and will throw uncaught NullPointerException whenever a null is returned from getSeq.

        Attachments

          Activity

            People

            Assignee:
            mmwarowny Mateusz Warowny
            Reporter:
            mmwarowny Mateusz Warowny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: