cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [4/12] git commit: fix typo
Date Wed, 05 Dec 2012 20:51:02 GMT
fix typo


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

Branch: refs/heads/trunk
Commit: a41b7806a627e5253cead31ae30300f862a331da
Parents: 2f3b5bf
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Wed Dec 5 14:49:15 2012 -0600
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Wed Dec 5 14:49:15 2012 -0600

----------------------------------------------------------------------
 .../org/apache/cassandra/utils/FBUtilities.java    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/a41b7806/src/java/org/apache/cassandra/utils/FBUtilities.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/utils/FBUtilities.java b/src/java/org/apache/cassandra/utils/FBUtilities.java
index d894036..783ce48 100644
--- a/src/java/org/apache/cassandra/utils/FBUtilities.java
+++ b/src/java/org/apache/cassandra/utils/FBUtilities.java
@@ -73,7 +73,7 @@ public class FBUtilities
         if (System.getProperty("cassandra.available_processors") != null)
             return Integer.parseInt(System.getProperty("cassandra.available_processors"));
         else
-            return FBUtilities.getAvailableProcessors();
+            return Runtime.getRuntime().availableProcessors();
     }
 
     private static final ThreadLocal<MessageDigest> localMD5Digest = new ThreadLocal<MessageDigest>()


Mime
View raw message