tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hit...@apache.org
Subject git commit: TEZ-1462. Remove unnecessary SuppressWarnings. (Alexander Pivovarov via hitesh)
Date Fri, 17 Oct 2014 18:40:41 GMT
Repository: tez
Updated Branches:
  refs/heads/branch-0.5 ae5ce03a7 -> fb3d6b2c3


TEZ-1462. Remove unnecessary SuppressWarnings. (Alexander Pivovarov via hitesh)

(cherry picked from commit 18b29713acb3a01d67f4591eeadd5baafa196484)


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

Branch: refs/heads/branch-0.5
Commit: fb3d6b2c3412c0cbeb07d963e07ddd7ab1cd7852
Parents: ae5ce03
Author: Hitesh Shah <hitesh@apache.org>
Authored: Fri Oct 17 11:39:07 2014 -0700
Committer: Hitesh Shah <hitesh@apache.org>
Committed: Fri Oct 17 11:40:34 2014 -0700

----------------------------------------------------------------------
 CHANGES.txt                                                         | 1 +
 .../org/apache/tez/runtime/library/common/shuffle/ShuffleUtils.java | 1 -
 tez-tests/src/main/java/org/apache/tez/mapreduce/examples/Join.java | 1 -
 3 files changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/fb3d6b2c/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 258449f..b6d0b98 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -30,6 +30,7 @@ ALL CHANGES:
   TEZ-1676. Fix failing test in TestHistoryEventTimelineConversion.
   TEZ-1673. Update the default value for allowed node failures, num events per heartbeat
   and counter update interval.
+  TEZ-1462. Remove unnecessary SuppressWarnings.
 
 Release 0.5.1: 2014-10-02
 

http://git-wip-us.apache.org/repos/asf/tez/blob/fb3d6b2c/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/shuffle/ShuffleUtils.java
----------------------------------------------------------------------
diff --git a/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/shuffle/ShuffleUtils.java
b/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/shuffle/ShuffleUtils.java
index 7af0b71..fb929e5 100644
--- a/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/shuffle/ShuffleUtils.java
+++ b/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/shuffle/ShuffleUtils.java
@@ -80,7 +80,6 @@ public class ShuffleUtils {
     }
   }
 
-  @SuppressWarnings("resource")
   public static void shuffleToMemory(byte[] shuffleData,
       InputStream input, int decompressedLength, int compressedLength,
       CompressionCodec codec, boolean ifileReadAhead, int ifileReadAheadLength,

http://git-wip-us.apache.org/repos/asf/tez/blob/fb3d6b2c/tez-tests/src/main/java/org/apache/tez/mapreduce/examples/Join.java
----------------------------------------------------------------------
diff --git a/tez-tests/src/main/java/org/apache/tez/mapreduce/examples/Join.java b/tez-tests/src/main/java/org/apache/tez/mapreduce/examples/Join.java
index a3a65ec..a76bf9f 100644
--- a/tez-tests/src/main/java/org/apache/tez/mapreduce/examples/Join.java
+++ b/tez-tests/src/main/java/org/apache/tez/mapreduce/examples/Join.java
@@ -77,7 +77,6 @@ public class Join extends Configured implements Tool {
    * @throws IOException When there is communication problems with the 
    *                     job tracker.
    */
-  @SuppressWarnings("unchecked")
   public int run(String[] args) throws Exception {
     Configuration conf = getConf();
     JobClient client = new JobClient(conf);


Mime
View raw message