提交 caeae0a4 编写于 作者: M martin

6905029: Broken links in Deflater and DeflaterOutputStream javadoc

Summary: Fix syntax errors in @links
Reviewed-by: alanb
上级 dc2beb85
...@@ -318,7 +318,7 @@ class Deflater { ...@@ -318,7 +318,7 @@ class Deflater {
/** /**
* Compresses the input data and fills specified buffer with compressed * Compresses the input data and fills specified buffer with compressed
* data. Returns actual number of bytes of compressed data. A return value * data. Returns actual number of bytes of compressed data. A return value
* of 0 indicates that {@link needsInput() needsInput} should be called * of 0 indicates that {@link #needsInput() needsInput} should be called
* in order to determine if more input data is required. * in order to determine if more input data is required.
* *
* <p>This method uses {@link #NO_FLUSH} as its compression flush mode. * <p>This method uses {@link #NO_FLUSH} as its compression flush mode.
...@@ -339,7 +339,7 @@ class Deflater { ...@@ -339,7 +339,7 @@ class Deflater {
/** /**
* Compresses the input data and fills specified buffer with compressed * Compresses the input data and fills specified buffer with compressed
* data. Returns actual number of bytes of compressed data. A return value * data. Returns actual number of bytes of compressed data. A return value
* of 0 indicates that {@link needsInput() needsInput} should be called * of 0 indicates that {@link #needsInput() needsInput} should be called
* in order to determine if more input data is required. * in order to determine if more input data is required.
* *
* <p>This method uses {@link #NO_FLUSH} as its compression flush mode. * <p>This method uses {@link #NO_FLUSH} as its compression flush mode.
......
...@@ -66,7 +66,7 @@ class DeflaterOutputStream extends FilterOutputStream { ...@@ -66,7 +66,7 @@ class DeflaterOutputStream extends FilterOutputStream {
* @param def the compressor ("deflater") * @param def the compressor ("deflater")
* @param size the output buffer size * @param size the output buffer size
* @param syncFlush * @param syncFlush
* if {@code true} the {@link flush()} method of this * if {@code true} the {@link #flush()} method of this
* instance flushes the compressor with flush mode * instance flushes the compressor with flush mode
* {@link Deflater#SYNC_FLUSH} before flushing the output * {@link Deflater#SYNC_FLUSH} before flushing the output
* stream, otherwise only flushes the output stream * stream, otherwise only flushes the output stream
...@@ -114,7 +114,7 @@ class DeflaterOutputStream extends FilterOutputStream { ...@@ -114,7 +114,7 @@ class DeflaterOutputStream extends FilterOutputStream {
* @param out the output stream * @param out the output stream
* @param def the compressor ("deflater") * @param def the compressor ("deflater")
* @param syncFlush * @param syncFlush
* if {@code true} the {@link flush()} method of this * if {@code true} the {@link #flush()} method of this
* instance flushes the compressor with flush mode * instance flushes the compressor with flush mode
* {@link Deflater#SYNC_FLUSH} before flushing the output * {@link Deflater#SYNC_FLUSH} before flushing the output
* stream, otherwise only flushes the output stream * stream, otherwise only flushes the output stream
...@@ -151,7 +151,7 @@ class DeflaterOutputStream extends FilterOutputStream { ...@@ -151,7 +151,7 @@ class DeflaterOutputStream extends FilterOutputStream {
* *
* @param out the output stream * @param out the output stream
* @param syncFlush * @param syncFlush
* if {@code true} the {@link flush()} method of this * if {@code true} the {@link #flush()} method of this
* instance flushes the compressor with flush mode * instance flushes the compressor with flush mode
* {@link Deflater#SYNC_FLUSH} before flushing the output * {@link Deflater#SYNC_FLUSH} before flushing the output
* stream, otherwise only flushes the output stream * stream, otherwise only flushes the output stream
...@@ -262,10 +262,10 @@ class DeflaterOutputStream extends FilterOutputStream { ...@@ -262,10 +262,10 @@ class DeflaterOutputStream extends FilterOutputStream {
/** /**
* Flushes the compressed output stream. * Flushes the compressed output stream.
* *
* If {@link DeflaterOutputStream(OutputStream, Deflater, int, boolean) * If {@link #DeflaterOutputStream(OutputStream, Deflater, int, boolean)
* syncFlush} is {@code true} when this compressed output stream is * syncFlush} is {@code true} when this compressed output stream is
* constructed this method flushes the underlying {@code compressor} * constructed, this method first flushes the underlying {@code compressor}
* first with the flush mode {@link Deflater#SYNC_FLUSH} to force * with the flush mode {@link Deflater#SYNC_FLUSH} to force
* all pending data to be flushed out to the output stream and then * all pending data to be flushed out to the output stream and then
* flushes the output stream. Otherwise this method only flushes the * flushes the output stream. Otherwise this method only flushes the
* output stream without flushing the {@code compressor}. * output stream without flushing the {@code compressor}.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册