You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by pe...@apache.org on 2004/11/22 19:18:42 UTC
cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java
peterreilly 2004/11/22 10:18:42
Modified: src/main/org/apache/tools/ant/util FileUtils.java
Log:
checkstyle changes
Obtained from: Kevin Jackson
Revision Changes Path
1.73 +3 -3 ant/src/main/org/apache/tools/ant/util/FileUtils.java
Index: FileUtils.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/FileUtils.java,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- FileUtils.java 22 Nov 2004 09:23:37 -0000 1.72
+++ FileUtils.java 22 Nov 2004 18:18:42 -0000 1.73
@@ -30,10 +30,8 @@
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 @@
*
* @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 @@
* @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)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org