cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [2/3] git commit: return absolute path from resourceToFile patch by Josh McKenzie; reviewed by jbellis for CASSANDRA-7335
Date Thu, 12 Jun 2014 17:01:00 GMT
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/fa601bdf
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/fa601bdf
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/fa601bdf

Branch: refs/heads/trunk
Commit: fa601bdff0bbd98605db6ff17591724aefc16245
Parents: ae8aad4
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 12:00:37 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/fa601bdf/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 0b89aec..38e5834 100644
--- a/src/java/org/apache/cassandra/utils/FBUtilities.java
+++ b/src/java/org/apache/cassandra/utils/FBUtilities.java
@@ -338,7 +338,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