ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r592844 - /ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/CopyTest.java
Date Wed, 07 Nov 2007 18:24:08 GMT
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


Mime
View raw message