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

[BI] Doc: typo in java.text.BreakIterator

XMLWordPrintable

    • b90
    • x86
    • linux

      A DESCRIPTION OF THE PROBLEM :
      The example in BreakIterator has a typo that makes it not compile:

                   if (Character.isLetter(text.codePointAt(p))
                       return last;

      the first line is missing a ')'


      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.5.0/docs/api/java/text/BreakIterator.html

            peytoia Yuka Kamiya (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: