aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.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/config/DeploymentConfiguration.java
parent20e7ad77b70507d5f53ef945147751a7e41e86fe (diff)
Handling error code returning functions.
Diffstat (limited to 'netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java')
-rw-r--r--netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java b/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java
index ded5923..8261749 100644
--- a/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java
+++ b/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java
@@ -38,6 +38,7 @@ import java.util.Set;
import javax.naming.ConfigurationException;
import net.sourceforge.jnlp.runtime.JNLPRuntime;
+import net.sourceforge.jnlp.util.FileUtils;
/**
* Manages the various properties and configuration related to deployment.
@@ -518,7 +519,7 @@ public final class DeploymentConfiguration {
}
}
- userPropertiesFile.getParentFile().mkdirs();
+ FileUtils.createParentDir(userPropertiesFile);
OutputStream out = new BufferedOutputStream(new FileOutputStream(userPropertiesFile));
try {
toSave.store(out, DEPLOYMENT_COMMENT);