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

New Stringbuffer methods parameters are not consistent

XMLWordPrintable

    • b49
    • sparc
    • solaris_9

      String{Buffer,Builder}.append(CharSequence, int, int) and
      String{Buffer,Builder}.insert(int, CharSequence, int, int) use the
      offset and length convention but it would be more appropriate to use
      start, end convention since they specify a subsequence of a CharSequence
      and start, end is the Java convention for specifying a subrange of characters in a string of characters.

            okutsu Masayoshi Okutsu
            mmcclosksunw Michael Mccloskey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: