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

Typo in JavaDoc for Array.sort

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: