diff options
author | Joakim Erdfelt <joakime@apache.org> | 2008-02-24 05:21:35 +0000 |
---|---|---|
committer | Joakim Erdfelt <joakime@apache.org> | 2008-02-24 05:21:35 +0000 |
commit | ff7c2e5502518afead822298b6046e875970cc9a (patch) | |
tree | 0dcc4ec127efb08f34288ca8220245097df4ff6d /archiva-base | |
parent | 153a5d32f8996cf9e4f887eea5531ec7f7ce2d26 (diff) | |
download | archiva-ff7c2e5502518afead822298b6046e875970cc9a.tar.gz archiva-ff7c2e5502518afead822298b6046e875970cc9a.zip |
MRM-709: Use commons-io instead of Plexus Utils
* Using FileUtils from commons-io
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630593 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-base')
3 files changed, 5 insertions, 5 deletions
diff --git a/archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/ChecksumPolicyTest.java b/archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/ChecksumPolicyTest.java index a1d83d36f..335a7a72e 100644 --- a/archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/ChecksumPolicyTest.java +++ b/archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/ChecksumPolicyTest.java @@ -19,8 +19,8 @@ package org.apache.maven.archiva.policies; * 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; diff --git a/archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/ReleasePolicyTest.java b/archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/ReleasePolicyTest.java index 3ede659be..747241ca2 100644 --- a/archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/ReleasePolicyTest.java +++ b/archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/ReleasePolicyTest.java @@ -19,8 +19,8 @@ package org.apache.maven.archiva.policies; * 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; @@ -306,7 +306,7 @@ public class ReleasePolicyTest if ( createLocalFile ) { localFile.getParentFile().mkdirs(); - FileUtils.fileWrite( localFile.getAbsolutePath(), "random-junk" ); + FileUtils.writeStringToFile( localFile, "random-junk" ); localFile.setLastModified( localFile.lastModified() - generatedLocalFileUpdateDelta ); } diff --git a/archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/SnapshotsPolicyTest.java b/archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/SnapshotsPolicyTest.java index 0879a7ea8..c57381a44 100644 --- a/archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/SnapshotsPolicyTest.java +++ b/archiva-base/archiva-policies/src/test/java/org/apache/maven/archiva/policies/SnapshotsPolicyTest.java @@ -19,8 +19,8 @@ package org.apache.maven.archiva.policies; * 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; @@ -306,7 +306,7 @@ public class SnapshotsPolicyTest if ( createLocalFile ) { localFile.getParentFile().mkdirs(); - FileUtils.fileWrite( localFile.getAbsolutePath(), "random-junk" ); + FileUtils.writeStringToFile( localFile, "random-junk" ); localFile.setLastModified( localFile.lastModified() - generatedLocalFileUpdateDelta ); } |