提交 c8ceff9c 编写于 作者: S sherman

6836489: Incorrect @link usage in java.util.zip API doc

Summary: correct the wrong @link tag
Reviewed-by: alanb
上级 3c55cc0e
...@@ -154,7 +154,7 @@ class ZipFile implements ZipConstants { ...@@ -154,7 +154,7 @@ class ZipFile implements ZipConstants {
* @param file the ZIP file to be opened for reading * @param file the ZIP file to be opened for reading
* @param mode the mode in which the file is to be opened * @param mode the mode in which the file is to be opened
* @param charset * @param charset
* the {@link java.nio.charset.Charset {@code charset}} to * the {@linkplain java.nio.charset.Charset charset} to
* be used to decode the ZIP entry name and comment that are not * be used to decode the ZIP entry name and comment that are not
* encoded by using UTF-8 encoding (indicated by entry's general * encoded by using UTF-8 encoding (indicated by entry's general
* purpose flag). * purpose flag).
...@@ -206,7 +206,7 @@ class ZipFile implements ZipConstants { ...@@ -206,7 +206,7 @@ class ZipFile implements ZipConstants {
* *
* @param name the name of the zip file * @param name the name of the zip file
* @param charset * @param charset
* the {@link java.nio.charset.Charset {@code charset}} to * the {@linkplain java.nio.charset.Charset charset} to
* be used to decode the ZIP entry name and comment that are not * be used to decode the ZIP entry name and comment that are not
* encoded by using UTF-8 encoding (indicated by entry's general * encoded by using UTF-8 encoding (indicated by entry's general
* purpose flag). * purpose flag).
...@@ -230,7 +230,7 @@ class ZipFile implements ZipConstants { ...@@ -230,7 +230,7 @@ class ZipFile implements ZipConstants {
* Opens a ZIP file for reading given the specified File object. * Opens a ZIP file for reading given the specified File object.
* @param file the ZIP file to be opened for reading * @param file the ZIP file to be opened for reading
* @param charset * @param charset
* The {@link java.nio.charset.Charset {@code charset}} to be * The {@linkplain java.nio.charset.Charset charset} to be
* used to decode the ZIP entry name and comment (ignored if * used to decode the ZIP entry name and comment (ignored if
* the <a href="package-summary.html#lang_encoding"> language * the <a href="package-summary.html#lang_encoding"> language
* encoding bit</a> of the ZIP entry's general purpose bit * encoding bit</a> of the ZIP entry's general purpose bit
......
...@@ -84,7 +84,7 @@ class ZipInputStream extends InflaterInputStream implements ZipConstants { ...@@ -84,7 +84,7 @@ class ZipInputStream extends InflaterInputStream implements ZipConstants {
* @param in the actual input stream * @param in the actual input stream
* *
* @param charset * @param charset
* The {@link java.nio.charset.Charset {@code charset}} to be * The {@linkplain java.nio.charset.Charset charset} to be
* used to decode the ZIP entry name (ignored if the * used to decode the ZIP entry name (ignored if the
* <a href="package-summary.html#lang_encoding"> language * <a href="package-summary.html#lang_encoding"> language
* encoding bit</a> of the ZIP entry's general purpose bit * encoding bit</a> of the ZIP entry's general purpose bit
......
...@@ -108,7 +108,7 @@ class ZipOutputStream extends DeflaterOutputStream implements ZipConstants { ...@@ -108,7 +108,7 @@ class ZipOutputStream extends DeflaterOutputStream implements ZipConstants {
* *
* @param out the actual output stream * @param out the actual output stream
* *
* @param charset the {@link java.nio.charset.Charset </code>charset<code>} * @param charset the {@linkplain java.nio.charset.Charset charset}
* to be used to encode the entry names and comments * to be used to encode the entry names and comments
* *
* @since 1.7 * @since 1.7
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册