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

(spec) String should use {@linkplain ... instead of {@link...</code>...<code>

XMLWordPrintable

    • b83
    • generic
    • generic

      Recently added documentation in String.java includes references like:

           * @param charsetName the name of a supported
           * {@link java.nio.charset.Charset </code>charset<code>}

      This is ugly and dependent on implementation details of {@link...}.
      We should instead be using the architected solution to achieve the same effect,
      simply

      {@linkplain Charset charset}

      There are also a number of @link's that should simply be changed to @linkplain,
      e.g.

           * bytes using the specified {@link java.nio.charset.Charset charset}. The

            iris Iris Clark
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: