Permalink
Browse files

return absolute path

  • Loading branch information...
1 parent 8d8646d commit 0db436ff1821b5630b6666200b8e035b101538a6 mic committed Feb 22, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 blogracy-web/src/main/java/net/blogracy/config/Configurations.java
@@ -99,8 +99,9 @@ public String getCachedFilesDirectoryPath() {
String cachedFilesDirectoryPath = pathProperties
.getProperty(BLOGRACY_PATHS_CACHED);
// "Lazy" creation of cached files folder if non-existent
- this.createDirIfMissing(new File(cachedFilesDirectoryPath));
- return cachedFilesDirectoryPath;
+ File f = new File(cachedFilesDirectoryPath);
+ this.createDirIfMissing(f);
+ return f.getAbsolutePath();
}
@Override

0 comments on commit 0db436f

Please sign in to comment.