HADOOP-14097. Remove Java6 specific code from GzipCodec.java. Contributed by Elek, Marton.

(cherry picked from commit 50decd3613)
This commit is contained in:
Akira Ajisaka 2017-02-25 00:28:31 +09:00
parent c6d7da2112
commit b5a8c49cf3
1 changed files with 0 additions and 4 deletions

View File

@ -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);