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:11 GMT
Repository: tez
Updated Branches:
  refs/heads/master 749062d82 -> 18b29713a


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


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

Branch: refs/heads/master
Commit: 18b29713acb3a01d67f4591eeadd5baafa196484
Parents: 749062d
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:39:07 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/18b29713/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 1ac6000..a6da35c 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -37,6 +37,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/18b29713/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/18b29713/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 8811232..df8b247 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
@@ -79,7 +79,6 @@ public class Join extends Configured implements Tool {
    * @throws Exception 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