You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by jh...@apache.org on 2007/11/07 19:24:08 UTC
svn commit: r592844 -
/ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/CopyTest.java
Author: jhm
Date: Wed Nov 7 10:24:08 2007
New Revision: 592844
URL: http://svn.apache.org/viewvc?rev=592844&view=rev
Log:
use static methods in a static way
Modified:
ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/CopyTest.java
Modified: ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/CopyTest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/CopyTest.java?rev=592844&r1=592843&r2=592844&view=diff
==============================================================================
--- ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/CopyTest.java (original)
+++ ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/CopyTest.java Wed Nov 7 10:24:08 2007
@@ -181,7 +181,7 @@
File file1 = new File(getProjectDir(), getProject().getProperty("to.dir")+"/fileNR.txt");
assertTrue(file1.exists());
try {
- String file1Content = FILE_UTILS.readFully(new FileReader(file1));
+ String file1Content = FileUtils.readFully(new FileReader(file1));
assertEquals("This is file 42", file1Content);
} catch (IOException e) {
// no-op: not a real business error
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org