Make public constructors in CustomGzipOutputStream #798

Merged
merged 1 commit into from Feb 10, 2017
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Split
@@ -11,13 +11,13 @@
* @author Tim Fennell
*/
public class CustomGzipOutputStream extends GZIPOutputStream {
- CustomGzipOutputStream(final OutputStream outputStream, final int bufferSize, final int compressionLevel) throws
+ public CustomGzipOutputStream(final OutputStream outputStream, final int bufferSize, final int compressionLevel) throws
IOException {
super(outputStream, bufferSize);
this.def.setLevel(compressionLevel);
}
- CustomGzipOutputStream(final OutputStream outputStream, final int compressionLevel) throws IOException {
+ public CustomGzipOutputStream(final OutputStream outputStream, final int compressionLevel) throws IOException {
super(outputStream);
this.def.setLevel(compressionLevel);
}