You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2013/11/14 02:19:51 UTC
[3/4] git commit: ACCUMULO-1874 Remove warning
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/master
Commit: feb0f3151d9849c7cca669278ec2d9a8f7aeec35
Parents: c32fb19
Author: Christopher Tubbs <ct...@apache.org>
Authored: Wed Nov 13 20:17:52 2013 -0500
Committer: Christopher Tubbs <ct...@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;
}
}