Matcher appendTail and appendReplacement should take CharSequence

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • 7
    • Affects Version/s: 5.0
    • Component/s: core-libs

      A DESCRIPTION OF THE REQUEST :
      appendTail and appendReplacement currently take StringBuffer as arguments and the better performing StringBuilder cannot be used.

      JUSTIFICATION :
      JDK1.5 adds the more performance-oriented StringBuilder. Matcher will not work with StringBuilder however. If appendTail and appendReplacement took CharSequence then either StringBuffer or StringBuilder could be used as arguments.

            Assignee:
            Xueming Shen
            Reporter:
            Jitender S (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: