HADOOP-14097. Remove Java6 specific code from GzipCodec.java. Contributed by Elek, Marton.
(cherry picked from commit 50decd3613
)
This commit is contained in:
parent
c6d7da2112
commit
b5a8c49cf3
|
@ -45,10 +45,6 @@ public class GzipCodec extends DefaultCodec {
|
|||
protected static class GzipOutputStream extends CompressorStream {
|
||||
|
||||
private static class ResetableGZIPOutputStream extends GZIPOutputStream {
|
||||
private static final int TRAILER_SIZE = 8;
|
||||
public static final String JVMVersion= System.getProperty("java.version");
|
||||
private static final boolean HAS_BROKEN_FINISH =
|
||||
(IBM_JAVA && JVMVersion.contains("1.6.0"));
|
||||
|
||||
public ResetableGZIPOutputStream(OutputStream out) throws IOException {
|
||||
super(out);
|
||||
|
|
Loading…
Reference in New Issue