cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject [1/2] git commit: remove incorrect use of generics in non-generified method call
Date Tue, 03 Jun 2014 03:37:19 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 e398c6bb8 -> a89951283


remove incorrect use of generics in non-generified method call


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

Branch: refs/heads/cassandra-2.1
Commit: 62d9c43676c5bf33d145e4d55d25ebd9bcf1caf7
Parents: 709b9fc
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Mon Jun 2 23:36:21 2014 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Mon Jun 2 23:36:21 2014 -0400

----------------------------------------------------------------------
 src/java/org/apache/cassandra/service/FileCacheService.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/62d9c436/src/java/org/apache/cassandra/service/FileCacheService.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/FileCacheService.java b/src/java/org/apache/cassandra/service/FileCacheService.java
index d22763b..faa53f0 100644
--- a/src/java/org/apache/cassandra/service/FileCacheService.java
+++ b/src/java/org/apache/cassandra/service/FileCacheService.java
@@ -77,7 +77,7 @@ public class FileCacheService
             }
         };
 
-        cache = CacheBuilder.<String, Queue<RandomAccessReader>>newBuilder()
+        cache = CacheBuilder.newBuilder()
                 .expireAfterAccess(AFTER_ACCESS_EXPIRATION, TimeUnit.MILLISECONDS)
                 .concurrencyLevel(DatabaseDescriptor.getConcurrentReaders())
                 .removalListener(onRemove)


Mime
View raw message