6808625: Incomplete code sample in Deflater javadoc
Added compresser.end() into example Reviewed-by: martin
This commit is contained in:
parent
e25b3b4834
commit
01649412e3
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user