accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [1/2] git commit: ACCUMULO-2125 fix deprecated warnings
Date Mon, 13 Jan 2014 20:05:33 GMT
Updated Branches:
  refs/heads/1.6.0-SNAPSHOT 9d1e171e2 -> 782262a6b


ACCUMULO-2125 fix deprecated warnings


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

Branch: refs/heads/1.6.0-SNAPSHOT
Commit: 6c4fa8ee5bdbafd032ac76e5a4a4884dd9e59723
Parents: 3ab5c3e
Author: Eric Newton <eric.newton@gmail.com>
Authored: Mon Jan 13 15:03:28 2014 -0500
Committer: Eric Newton <eric.newton@gmail.com>
Committed: Mon Jan 13 15:03:28 2014 -0500

----------------------------------------------------------------------
 .../test/java/org/apache/accumulo/test/functional/ScannerIT.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/6c4fa8ee/test/src/test/java/org/apache/accumulo/test/functional/ScannerIT.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/test/functional/ScannerIT.java b/test/src/test/java/org/apache/accumulo/test/functional/ScannerIT.java
index e364b46..f2211e5 100644
--- a/test/src/test/java/org/apache/accumulo/test/functional/ScannerIT.java
+++ b/test/src/test/java/org/apache/accumulo/test/functional/ScannerIT.java
@@ -66,7 +66,7 @@ public class ScannerIT extends SimpleMacIT {
     s.setBatchSize(1);
     s.setRange(new Range());
 
-    Stopwatch sw = new Stopwatch();
+    Stopwatch sw = Stopwatch.createUnstarted();
     Iterator<Entry<Key,Value>> iterator = s.iterator();
 
     sw.start();
@@ -88,7 +88,7 @@ public class ScannerIT extends SimpleMacIT {
     s.setBatchSize(1);
     s.setReadaheadThreshold(0l);
 
-    sw = new Stopwatch();
+    sw = Stopwatch.createUnstarted();
     iterator = s.iterator();
 
     sw.start();


Mime
View raw message