commit | d7135572ee58a59caab44cfaad8d93a13d34fa3a | [log] [tgz] |
---|---|---|
author | Abdullah Alamoudi <bamousaa@gmail.com> | Tue Feb 23 17:14:25 2016 +0300 |
committer | abdullah alamoudi <bamousaa@gmail.com> | Wed Feb 24 23:03:32 2016 -0800 |
tree | 3510b120eebc5c75ae35d5f0949df4a4470df32b | |
parent | 5507b75292f90c065354d2b2bfcdddc7605c1df2 [diff] |
Remove Unneeded Suppress Warnings When the classes in this change were created, we were using deprecated Hadoop library. Since we updated the library, there is no need to suppress deprecation warnings. Change-Id: I710c1efbe006ee6de22299f8e6e833a566fb884d Reviewed-on: https://asterix-gerrit.ics.uci.edu/656 Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Reviewed-by: Murtadha Hubail <hubailmor@gmail.com> Reviewed-by: Till Westmann <tillw@apache.org> Reviewed-by: Michael Blow <michael.blow@couchbase.com>
diff --git a/hyracks/hyracks-hdfs/hyracks-hdfs-core/src/main/java/org/apache/hyracks/hdfs/dataflow/ConfFactory.java b/hyracks/hyracks-hdfs/hyracks-hdfs-core/src/main/java/org/apache/hyracks/hdfs/dataflow/ConfFactory.java index ad6b0c9..3840167 100644 --- a/hyracks/hyracks-hdfs/hyracks-hdfs-core/src/main/java/org/apache/hyracks/hdfs/dataflow/ConfFactory.java +++ b/hyracks/hyracks-hdfs/hyracks-hdfs-core/src/main/java/org/apache/hyracks/hdfs/dataflow/ConfFactory.java
@@ -25,10 +25,8 @@ import java.io.Serializable; import org.apache.hadoop.mapred.JobConf; - import org.apache.hyracks.api.exceptions.HyracksDataException; -@SuppressWarnings("deprecation") public class ConfFactory implements Serializable { private static final long serialVersionUID = 1L; private byte[] confBytes;
diff --git a/hyracks/hyracks-hdfs/hyracks-hdfs-core/src/main/java/org/apache/hyracks/hdfs/dataflow/InputSplitsFactory.java b/hyracks/hyracks-hdfs/hyracks-hdfs-core/src/main/java/org/apache/hyracks/hdfs/dataflow/InputSplitsFactory.java index 8eb03c6..927eb54 100644 --- a/hyracks/hyracks-hdfs/hyracks-hdfs-core/src/main/java/org/apache/hyracks/hdfs/dataflow/InputSplitsFactory.java +++ b/hyracks/hyracks-hdfs/hyracks-hdfs-core/src/main/java/org/apache/hyracks/hdfs/dataflow/InputSplitsFactory.java
@@ -29,10 +29,9 @@ import org.apache.hadoop.mapred.FileSplit; import org.apache.hadoop.mapred.InputSplit; - import org.apache.hyracks.api.exceptions.HyracksDataException; -@SuppressWarnings({ "deprecation", "rawtypes" }) +@SuppressWarnings({ "rawtypes" }) public class InputSplitsFactory implements Serializable { private static final long serialVersionUID = 1L;