hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aajis...@apache.org
Subject hadoop git commit: HADOOP-14097. Remove Java6 specific code from GzipCodec.java. Contributed by Elek, Marton.
Date Fri, 24 Feb 2017 15:44:31 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 c6d7da211 -> b5a8c49cf


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

(cherry picked from commit 50decd36130945e184734dcd55b8912be6f4550a)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/b5a8c49c
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b5a8c49c
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b5a8c49c

Branch: refs/heads/branch-2
Commit: b5a8c49cf346031bad0c56b970355545b37b8e07
Parents: c6d7da2
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Sat Feb 25 00:28:31 2017 +0900
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Sat Feb 25 00:29:40 2017 +0900

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/io/compress/GzipCodec.java   | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/b5a8c49c/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/GzipCodec.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/GzipCodec.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/GzipCodec.java
index ce24793..5e60b56 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/GzipCodec.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/GzipCodec.java
@@ -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);


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message