cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject git commit: don't rely on toString being a stable implementation, where possible
Date Sat, 14 Jun 2014 05:31:09 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 8ff5262f0 -> 45afe1d93


don't rely on toString being a stable implementation, where possible


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

Branch: refs/heads/trunk
Commit: 45afe1d935be9057fe3aa08f2d7b9300501402ff
Parents: 8ff5262
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Sat Jun 14 01:29:58 2014 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Sat Jun 14 01:29:58 2014 -0400

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/45afe1d9/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/ColumnFamilyStore.java b/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
index e2d9248..ae191f0 100644
--- a/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
+++ b/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
@@ -463,7 +463,7 @@ public class ColumnFamilyStore implements ColumnFamilyStoreMBean
         {
             public boolean accept(File pathname)
             {
-                return pathname.toString().endsWith(StreamLockfile.FILE_EXT);
+                return pathname.getPath().endsWith(StreamLockfile.FILE_EXT);
             }
         };
         for (File dir : directories.getCFDirectories())


Mime
View raw message