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

Refactor code examples to use @snippet in java.text.Collator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • None
    • core-libs
    • b07

      Implement JEP413. Additionally, it looks like the code example as seen below could use minor tweaks.

       * if( myCollator.compare("abc", "ABC") < 0 )
       * System.out.println("abc is less than ABC");
       * else
       * System.out.println("abc is greater than or equal to ABC");
       * }</pre>
       * </blockquote>

            jlu Justin Lu
            jlu Justin Lu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: