diff options
author | Olivier Lamy <olamy@apache.org> | 2011-06-07 16:44:27 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-06-07 16:44:27 +0000 |
commit | 9c55823b96a84a67cd17157e8938601de4de86db (patch) | |
tree | 09cb5f81e2175d24b90f419982188df60689269e /archiva-modules/archiva-base | |
parent | 532dd24896a775c933becf9d287a65ba2962fd6d (diff) | |
download | archiva-9c55823b96a84a67cd17157e8938601de4de86db.tar.gz archiva-9c55823b96a84a67cd17157e8938601de4de86db.zip |
fix main compilation in webapp module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133091 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base')
-rw-r--r-- | archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/AbstractProxyTestCase.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/AbstractProxyTestCase.java b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/AbstractProxyTestCase.java index a9cb3e06d..476a9b4fc 100644 --- a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/AbstractProxyTestCase.java +++ b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/AbstractProxyTestCase.java @@ -21,7 +21,6 @@ package org.apache.maven.archiva.proxy; import junit.framework.TestCase; import org.apache.archiva.common.plexusbridge.PlexusSisuBridge; -import org.apache.commons.io.FileUtils; import org.apache.commons.lang.ArrayUtils; import org.apache.commons.lang.StringUtils; import org.apache.maven.archiva.configuration.ArchivaConfiguration; @@ -36,6 +35,7 @@ import org.apache.maven.archiva.policies.ReleasesPolicy; import org.apache.maven.archiva.policies.SnapshotsPolicy; import org.apache.maven.archiva.repository.ManagedRepositoryContent; import org.apache.maven.wagon.Wagon; +import org.codehaus.plexus.util.FileUtils; import org.easymock.ArgumentsMatcher; import org.easymock.MockControl; import org.junit.Before; @@ -303,8 +303,8 @@ public abstract class AbstractProxyTestCase actualFile.getCanonicalPath() ); assertEquals( "Check file path matches.", expectedFile.getAbsolutePath(), actualFile.getAbsolutePath() ); - String expectedContents = FileUtils.readFileToString( sourceFile, null ); - String actualContents = FileUtils.readFileToString( actualFile, null ); + String expectedContents = org.apache.commons.io.FileUtils.readFileToString( sourceFile, null ); + String actualContents = org.apache.commons.io.FileUtils.readFileToString( actualFile, null ); assertEquals( "Check file contents.", expectedContents, actualContents ); } @@ -322,7 +322,7 @@ public abstract class AbstractProxyTestCase return; } - Collection<File> tmpFiles = FileUtils.listFiles( workingDir, new String[]{ "tmp" }, false ); + Collection<File> tmpFiles = org.apache.commons.io.FileUtils.listFiles( workingDir, new String[]{ "tmp" }, false ); if ( !tmpFiles.isEmpty() ) { StringBuffer emsg = new StringBuffer(); @@ -369,7 +369,7 @@ public abstract class AbstractProxyTestCase { destination = destination.getParentFile(); - FileUtils.copyFile( file, new File( destination, file.getName() ), false ); + org.apache.commons.io.FileUtils.copyFile( file, new File( destination, file.getName() ), false ); // TODO: Change when there is a FileUtils.copyFileToDirectory(file, destination, boolean) option //FileUtils.copyFileToDirectory( file, destination ); } |