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: fix cast guard to be of the c* FutureTask type
Date Sat, 31 May 2014 03:55:08 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk ce248f227 -> 91ea6da10


fix cast guard to be of the c* FutureTask type


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

Branch: refs/heads/trunk
Commit: f66689db9705fe5ebb0a6d2fe5063e23b0c2af0c
Parents: e56a64e
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Fri May 30 23:54:17 2014 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Fri May 30 23:54:17 2014 -0400

----------------------------------------------------------------------
 .../cassandra/concurrent/AbstractTracingAwareExecutorService.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/f66689db/src/java/org/apache/cassandra/concurrent/AbstractTracingAwareExecutorService.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/concurrent/AbstractTracingAwareExecutorService.java
b/src/java/org/apache/cassandra/concurrent/AbstractTracingAwareExecutorService.java
index 544e8a7..95c55d3 100644
--- a/src/java/org/apache/cassandra/concurrent/AbstractTracingAwareExecutorService.java
+++ b/src/java/org/apache/cassandra/concurrent/AbstractTracingAwareExecutorService.java
@@ -105,7 +105,7 @@ public abstract class AbstractTracingAwareExecutorService implements TracingAwar
                 return (TraceSessionFutureTask<T>) callable;
             return new TraceSessionFutureTask<T>(callable, null);
         }
-        if (callable instanceof java.util.concurrent.FutureTask)
+        if (callable instanceof FutureTask)
             return (FutureTask<T>) callable;
         return new FutureTask<>(callable);
     }


Mime
View raw message