提交 35feb826 编写于 作者: S sherman

6808625: Incomplete code sample in Deflater javadoc

Summary: added compresser.end() into example
Reviewed-by: martin
上级 831216cf
......@@ -49,6 +49,7 @@ package java.util.zip;
* compresser.setInput(input);
* compresser.finish();
* int compressedDataLength = compresser.deflate(output);
* compresser.end();
*
* // Decompress the bytes
* Inflater decompresser = new Inflater();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册