From b3ddeeaa0d25db8feff4ba62d43ad6487d4f1968 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Fri, 24 Oct 2003 05:44:02 +0000 Subject: [PATCH] comment git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275554 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/util/FileUtils.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/org/apache/tools/ant/util/FileUtils.java b/src/main/org/apache/tools/ant/util/FileUtils.java index cc6ae3a06..9f2ba84c4 100644 --- a/src/main/org/apache/tools/ant/util/FileUtils.java +++ b/src/main/org/apache/tools/ant/util/FileUtils.java @@ -1004,16 +1004,19 @@ public class FileUtils { *

The file denoted by the returned abstract pathname did not * exist before this method was invoked, any subsequent invocation * of this method will yield a different file name.

- * + *

+ * The filename is prefixNNNNNsuffix where NNNN is a random number + *

*

This method is different to File.createTempFile of JDK 1.2 * as it doesn't create the file itself. * It uses the location pointed to by java.io.tmpdir * when the parentDir attribute is * null.

* + * @param prefix prefix before the random number + * @param suffix file extension; include the '.' * @param parentDir Directory to create the temporary file in - - * current working directory will be assumed if this parameter is - * null. + * java.io.tmpdir used if not specificed * * @return a File reference to the new temporary file. * @since ant 1.5