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

Typo in JavaDoc for Array.sort

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 7, 8
    • core-libs

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      There is a typo in the JavaDoc description of Arrays.sort with Comparator: http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html#sort(T[],%20java.util.Comparator)

      Duplicate "the" in 4th Paragraph:
      The implementation takes equal advantage of ascending and descending order in its input array, and can take advantage of ascending and descending order in different parts of --> the the <-- same input array


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Follow the link provided in the description.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      No duplicate "the"
      ACTUAL -
      Duplicate "the".

      REPRODUCIBILITY :
      This bug can be reproduced always.

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: