You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by aa...@apache.org on 2015/04/03 17:34:09 UTC

hadoop git commit: HADOOP-11800. Clean up some test methods in TestCodec.java. Contributed by Brahma Reddy Battula.

Repository: hadoop
Updated Branches:
  refs/heads/trunk 72f6bd489 -> 228ae9aaa


HADOOP-11800. Clean up some test methods in TestCodec.java. Contributed by Brahma Reddy Battula.


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

Branch: refs/heads/trunk
Commit: 228ae9aaa40750cb796bbdfd69ba5646c28cd4e7
Parents: 72f6bd4
Author: Akira Ajisaka <aa...@apache.org>
Authored: Sat Apr 4 00:32:18 2015 +0900
Committer: Akira Ajisaka <aa...@apache.org>
Committed: Sat Apr 4 00:32:18 2015 +0900

----------------------------------------------------------------------
 hadoop-common-project/hadoop-common/CHANGES.txt                  | 3 +++
 .../src/test/java/org/apache/hadoop/io/compress/TestCodec.java   | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/228ae9aa/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index 495c42d..7dcf8c1 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -494,6 +494,9 @@ Release 2.8.0 - UNRELEASED
     HADOOP-11760. Fix typo of javadoc in DistCp. (Brahma Reddy Battula via
     ozawa).
 
+    HADOOP-11800. Clean up some test methods in TestCodec.java.
+    (Brahma Reddy Battula via aajisaka)
+
 Release 2.7.0 - UNRELEASED
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/228ae9aa/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/TestCodec.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/TestCodec.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/TestCodec.java
index 7246bf5..5d4af91 100644
--- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/TestCodec.java
+++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/TestCodec.java
@@ -827,7 +827,7 @@ public class TestCodec {
     br.close();
   }
 
-  public void testGzipCodecWrite(boolean useNative) throws IOException {
+  private void testGzipCodecWrite(boolean useNative) throws IOException {
     // Create a gzipped file using a compressor from the CodecPool,
     // and try to read it back via the regular GZIPInputStream.
 
@@ -894,7 +894,7 @@ public class TestCodec {
   public void testGzipNativeCodecWrite() throws IOException {
     testGzipCodecWrite(true);
   }
-
+  @Test
   public void testCodecPoolAndGzipDecompressor() {
     // BuiltInZlibInflater should not be used as the GzipCodec decompressor.
     // Assert that this is the case.