* under the License.
*/
+import org.apache.commons.io.FileUtils;
import org.codehaus.plexus.PlexusTestCase;
-import org.codehaus.plexus.util.FileUtils;
import java.io.BufferedReader;
import java.io.File;
* under the License.
*/
+import org.apache.commons.io.FileUtils;
import org.codehaus.plexus.PlexusTestCase;
-import org.codehaus.plexus.util.FileUtils;
import java.io.File;
import java.util.Properties;
if ( createLocalFile )
{
localFile.getParentFile().mkdirs();
- FileUtils.fileWrite( localFile.getAbsolutePath(), "random-junk" );
+ FileUtils.writeStringToFile( localFile, "random-junk" );
localFile.setLastModified( localFile.lastModified() - generatedLocalFileUpdateDelta );
}
* under the License.
*/
+import org.apache.commons.io.FileUtils;
import org.codehaus.plexus.PlexusTestCase;
-import org.codehaus.plexus.util.FileUtils;
import java.io.File;
import java.util.Properties;
if ( createLocalFile )
{
localFile.getParentFile().mkdirs();
- FileUtils.fileWrite( localFile.getAbsolutePath(), "random-junk" );
+ FileUtils.writeStringToFile( localFile, "random-junk" );
localFile.setLastModified( localFile.lastModified() - generatedLocalFileUpdateDelta );
}