accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject git commit: ACCUMULO-1874 Remove warning
Date Thu, 14 Nov 2013 01:19:19 GMT
Updated Branches:
  refs/heads/1.6.0-SNAPSHOT c32fb1908 -> feb0f3151


ACCUMULO-1874 Remove warning


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

Branch: refs/heads/1.6.0-SNAPSHOT
Commit: feb0f3151d9849c7cca669278ec2d9a8f7aeec35
Parents: c32fb19
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Wed Nov 13 20:17:52 2013 -0500
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Wed Nov 13 20:17:52 2013 -0500

----------------------------------------------------------------------
 .../org/apache/accumulo/examples/simple/mapreduce/JobUtil.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/feb0f315/examples/simple/src/main/java/org/apache/accumulo/examples/simple/mapreduce/JobUtil.java
----------------------------------------------------------------------
diff --git a/examples/simple/src/main/java/org/apache/accumulo/examples/simple/mapreduce/JobUtil.java
b/examples/simple/src/main/java/org/apache/accumulo/examples/simple/mapreduce/JobUtil.java
index 0d5db2f..d732562 100644
--- a/examples/simple/src/main/java/org/apache/accumulo/examples/simple/mapreduce/JobUtil.java
+++ b/examples/simple/src/main/java/org/apache/accumulo/examples/simple/mapreduce/JobUtil.java
@@ -23,6 +23,8 @@ import org.apache.hadoop.mapreduce.Job;
 
 public class JobUtil {
   public static Job getJob(Configuration conf) throws IOException {
-    return new Job(conf);
+    @SuppressWarnings("deprecation")
+    Job job = new Job(conf);
+    return job;
   }
 }


Mime
View raw message