From 395f3939fc7ab3e1a187f53070dbdfa2ee152a27 Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Mon, 22 Nov 2004 18:18:42 +0000 Subject: [PATCH] checkstyle changes Obtained from: Kevin Jackson git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277070 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/util/FileUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/util/FileUtils.java b/src/main/org/apache/tools/ant/util/FileUtils.java index 840dd33a5..cd4802734 100644 --- a/src/main/org/apache/tools/ant/util/FileUtils.java +++ b/src/main/org/apache/tools/ant/util/FileUtils.java @@ -30,10 +30,8 @@ import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.Reader; -import java.io.PrintWriter; import java.io.Writer; import java.io.OutputStream; -import java.lang.reflect.Method; import java.net.MalformedURLException; import java.net.URL; import java.text.CharacterIterator; @@ -1121,6 +1119,7 @@ public class FileUtils { * * @param f the file to be created * @return true if the file did not exist already. + * @throws IOException on error * @since Ant 1.5 */ public boolean createNewFile(File f) throws IOException { @@ -1138,6 +1137,7 @@ public class FileUtils { * @param name the name of the file to test. * * @return true if the file is a symbolic link. + * @throws IOException on error * @since Ant 1.5 */ public boolean isSymbolicLink(File parent, String name)