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

Trivial javadoc warnings in Base64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • None
    • core-libs
    • b69
    • Verified

      hg diff Base64.java
      diff -r d206e52bf8a6 src/share/classes/java/util/Base64.java
      --- a/src/share/classes/java/util/Base64.java Tue Dec 11 13:14:56 2012 +0800
      +++ b/src/share/classes/java/util/Base64.java Tue Dec 11 18:05:30 2012 +0000
      @@ -289,8 +289,8 @@ public class Base64 {
                *
                * <p> This method first encodes all input bytes into a base64 encoded
                * byte array and then constructs a new String by using the encoded byte
      - * array and the {@link java.nio.charset.StandardCharsets.ISO_8859_1 ISO-8859-1}
      - * charset.
      + * array and the {@link java.nio.charset.StandardCharsets#ISO_8859_1
      + * ISO-8859-1} charset.
                *
                * <p> In other words, an invocation of this method has exactly the same
                * effect as invoking
      @@ -358,9 +358,9 @@ public class Base64 {
                * to encode any more input bytes. The encoding operation can be
                * continued, if there is more bytes in input buffer to be encoded,
                * by invoking this method again with an output buffer that has more
      - * {@linkplain Buffer#remaining remaining} bytes. This is typically
      - * done by draining any encoded bytes from the output buffer. The
      - * value returned from last invocation needs to be passed in as the
      + * {@linkplain java.nio.Buffer#remaining remaining} bytes. This is
      + * typically done by draining any encoded bytes from the output buffer.
      + * The value returned from last invocation needs to be passed in as the
                * third parameter {@code bytesOut} if it is to continue an unfinished
                * encoding, 0 otherwise.
                *
      @@ -806,9 +806,9 @@ public class Base64 {
                * buffer has insufficient space to decode any more input bytes.
                * The decoding operation can be continued, if there is more bytes
                * in input buffer to be decoded, by invoking this method again with
      - * an output buffer that has more {@linkplain Buffer#remaining remaining}
      - * bytes.This is typically done by draining any decoded bytes from the
      - * output buffer.
      + * an output buffer that has more {@linkplain java.nio.Buffer#remaining
      + * remaining} bytes. This is typically done by draining any decoded
      + * bytes from the output buffer.
                *
                * <p><b>Recommended Usage Example</b>
                * <pre>

            chegar Chris Hegarty
            chegar Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: