accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject accumulo git commit: ACCUMULO-3691 Use HashMap for a non-Comparable key.
Date Tue, 07 Apr 2015 03:37:56 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master f5b1c0330 -> e16c96842


ACCUMULO-3691 Use HashMap for a non-Comparable key.


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

Branch: refs/heads/master
Commit: e16c968428646c7e71e455d4c512764d62c9ef6f
Parents: f5b1c03
Author: Josh Elser <elserj@apache.org>
Authored: Mon Apr 6 23:08:46 2015 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Mon Apr 6 23:08:46 2015 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/accumulo/monitor/Monitor.java        | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/e16c9684/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
----------------------------------------------------------------------
diff --git a/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java b/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
index 1a2904c..1ad5ab5 100644
--- a/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
+++ b/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
@@ -29,7 +29,6 @@ import java.util.List;
 import java.util.Map;
 import java.util.Map.Entry;
 import java.util.Set;
-import java.util.TreeMap;
 
 import org.apache.accumulo.core.Constants;
 import org.apache.accumulo.core.client.Connector;
@@ -539,7 +538,7 @@ public class Monitor {
 
   public static Map<HostAndPort,ScanStats> getScans() {
     synchronized (allScans) {
-      return new TreeMap<HostAndPort,ScanStats>(allScans);
+      return new HashMap<HostAndPort,ScanStats>(allScans);
     }
   }
 


Mime
View raw message