cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [01/20] git commit: return absolute path from resourceToFile patch by Josh McKenzie; reviewed by jbellis for CASSANDRA-7335
Date Fri, 13 Jun 2014 12:53:50 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.0 b93f287c8 -> be79ba500
  refs/heads/cassandra-2.1 4e0656b0b -> 30d3623bc
  refs/heads/trunk e428ae04c -> 3aa030593


return absolute path from resourceToFile
patch by Josh McKenzie; reviewed by jbellis for CASSANDRA-7335


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

Branch: refs/heads/trunk
Commit: b93f287c869c1da5158a7961b3ee1281a11a2b9e
Parents: 53c95eb
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Thu Jun 12 12:00:37 2014 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Thu Jun 12 20:42:39 2014 -0500

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/b93f287c/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 b8260b2..9f09868 100644
--- a/src/java/org/apache/cassandra/utils/FBUtilities.java
+++ b/src/java/org/apache/cassandra/utils/FBUtilities.java
@@ -340,7 +340,7 @@ public class FBUtilities
         if (scpurl == null)
             throw new ConfigurationException("unable to locate " + filename);
 
-        return scpurl.getFile();
+        return new File(scpurl.getFile()).getAbsolutePath();
     }
 
     public static File cassandraTriggerDir()


Mime
View raw message