Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8357286

(bf) Remove obsolete instanceof checks in CharBuffer.append

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • 25
    • core-libs
    • master
    • generic
    • generic

      Given that CharSequence.getChars now exists, there is no reason in the general case to continue to check inside the CharBuffer.append methods whether a CharSequence is a String, StringBuffer, or StringBuilder.

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: