[241785] Null folder doesn't go to correct default
diff --git a/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/util/PublishHelper.java b/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/util/PublishHelper.java
index 4548eb4..3b8d979 100644
--- a/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/util/PublishHelper.java
+++ b/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/util/PublishHelper.java
@@ -52,11 +52,11 @@
/**
* Create a new PublishHelper.
*
- * @param tempDir a temporary directory to use during publishing, or <code>null</code>
+ * @param tempDirectory a temporary directory to use during publishing, or <code>null</code>
* to use the default. If it does not exist, the folder will be created
*/
- public PublishHelper(File tempDir) {
- this.tempDir = tempDir;
+ public PublishHelper(File tempDirectory) {
+ this.tempDir = tempDirectory;
if (tempDir == null)
tempDir = defaultTempDir;
else if (!tempDir.exists())