improve generic signature of internal DCInlineTag class

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: 21
    • Component/s: tools
    • b21

      DCEndPosTrr<T extends DCEndPosTree> has a method

      T setEndPos(int)

      so that it can easily be used in chained method calls.

      But that flexibility is lost for subtypes of DCInlineTag which is defined as

      public abstract static class DCInlineTag extends DCEndPosTree<DCInlineTag> implements InlineTagTree {

      In other words, the T in EndPosTree<T> is fixed at DCInlineTag.

      We should change DCInlineTag to itself be a generic type.

            Assignee:
            Jonathan Gibbons
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: