accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [6/8] accumulo git commit: ACCUMULO-3862 Fix generics on Map parameter
Date Fri, 29 May 2015 21:18:07 GMT
ACCUMULO-3862 Fix generics on Map parameter


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

Branch: refs/heads/master
Commit: f7be66e6938b40c888efc1ea7b6d161ab9e6ce05
Parents: 782dc23
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Fri May 29 17:15:13 2015 -0400
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Fri May 29 17:15:13 2015 -0400

----------------------------------------------------------------------
 .../apache/accumulo/tracer/AsyncSpanReceiverTest.java | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/f7be66e6/server/tracer/src/test/java/org/apache/accumulo/tracer/AsyncSpanReceiverTest.java
----------------------------------------------------------------------
diff --git a/server/tracer/src/test/java/org/apache/accumulo/tracer/AsyncSpanReceiverTest.java
b/server/tracer/src/test/java/org/apache/accumulo/tracer/AsyncSpanReceiverTest.java
index 6744efc..e735373 100644
--- a/server/tracer/src/test/java/org/apache/accumulo/tracer/AsyncSpanReceiverTest.java
+++ b/server/tracer/src/test/java/org/apache/accumulo/tracer/AsyncSpanReceiverTest.java
@@ -16,17 +16,17 @@
  */
 package org.apache.accumulo.tracer;
 
-import org.apache.accumulo.tracer.thrift.RemoteSpan;
-import org.apache.htrace.HTraceConfiguration;
-import org.apache.htrace.Span;
-import org.apache.htrace.impl.MilliSpan;
-import org.junit.Test;
+import static org.junit.Assert.assertEquals;
 
 import java.util.Collections;
 import java.util.Map;
 import java.util.concurrent.atomic.AtomicInteger;
 
-import static org.junit.Assert.assertEquals;
+import org.apache.accumulo.tracer.thrift.RemoteSpan;
+import org.apache.htrace.HTraceConfiguration;
+import org.apache.htrace.Span;
+import org.apache.htrace.impl.MilliSpan;
+import org.junit.Test;
 
 public class AsyncSpanReceiverTest {
   static class TestReceiver extends AsyncSpanReceiver<String,String> {
@@ -51,7 +51,7 @@ public class AsyncSpanReceiverTest {
     }
 
     @Override
-    protected String getSpanKey(Map data) {
+    protected String getSpanKey(Map<String,String> data) {
       return "DEST";
     }
 


Mime
View raw message