From 46bf9d8c85ecbb62b829e969332d36c03b085df0 Mon Sep 17 00:00:00 2001 From: Jacobus Martinus Kruithof Date: Fri, 4 Jan 2008 20:48:55 +0000 Subject: [PATCH] improved lay-out + add since ant 1.7.1 instead of 1.8 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@608999 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/util/FileUtils.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/org/apache/tools/ant/util/FileUtils.java b/src/main/org/apache/tools/ant/util/FileUtils.java index 6c3d06c33..539adf37e 100644 --- a/src/main/org/apache/tools/ant/util/FileUtils.java +++ b/src/main/org/apache/tools/ant/util/FileUtils.java @@ -804,7 +804,7 @@ public class FileUtils { * Directory to create the temporary file in; java.io.tmpdir used * if not specified. * - * @deprecated since ant 1.8 use createTempFile(String, String, File, + * @deprecated since ant 1.7.1 use createTempFile(String, String, File, * boolean, boolean) instead. * @return a File reference to the new, nonexistent temporary file. */ @@ -831,13 +831,14 @@ public class FileUtils { * If possible set to true. * * @return a File reference to the new temporary file. - * @since Ant 1.8 + * @since Ant 1.7.1 */ public File createTempFile(String prefix, String suffix, File parentDir, boolean deleteOnExit, boolean createFile) { File result = null; - String parent = (parentDir == null) ? System - .getProperty("java.io.tmpdir") : parentDir.getPath(); + String parent = (parentDir == null) + ? System.getProperty("java.io.tmpdir") + : parentDir.getPath(); if (createFile) { try { @@ -885,7 +886,7 @@ public class FileUtils { * @param deleteOnExit * whether to set the tempfile for deletion on normal VM exit. * - * @deprecated since ant 1.8 use createTempFile(String, String, File, + * @deprecated since ant 1.7.1 use createTempFile(String, String, File, * boolean, boolean) instead. * @return a File reference to the new, nonexistent temporary file. */