aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/cache/CacheUtil.java
diff options
context:
space:
mode:
authorDenis Lila <[email protected]>2011-03-15 11:11:07 -0400
committerDenis Lila <[email protected]>2011-03-15 11:11:07 -0400
commite3baa1c7d05508cb1b9e522f0157a0cf62491b42 (patch)
tree54fb6340fd61a22d469207668c3d1f80edec3355 /netx/net/sourceforge/jnlp/cache/CacheUtil.java
parent20e7ad77b70507d5f53ef945147751a7e41e86fe (diff)
Handling error code returning functions.
Diffstat (limited to 'netx/net/sourceforge/jnlp/cache/CacheUtil.java')
-rw-r--r--netx/net/sourceforge/jnlp/cache/CacheUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/cache/CacheUtil.java b/netx/net/sourceforge/jnlp/cache/CacheUtil.java
index 3e0a966..bb88325 100644
--- a/netx/net/sourceforge/jnlp/cache/CacheUtil.java
+++ b/netx/net/sourceforge/jnlp/cache/CacheUtil.java
@@ -291,7 +291,7 @@ public class CacheUtil {
String cacheDir = JNLPRuntime.getConfiguration()
.getProperty(DeploymentConfiguration.KEY_USER_CACHE_DIR);
File localFile = urlToPath(source, cacheDir);
- localFile.getParentFile().mkdirs();
+ FileUtils.createParentDir(localFile);
return localFile;
} catch (Exception ex) {