cassandra-commits mailing list archives

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


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/cassandra-2.0
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