diff options
author | Brett Porter <brett@apache.org> | 2009-03-17 15:47:25 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2009-03-17 15:47:25 +0000 |
commit | ad7be3a3fcc2b73e0f5695e36234dc3ee1fbc0f8 (patch) | |
tree | 63c470903c5fec907aa3542affe06dc67df187b8 /archiva-modules/archiva-base/archiva-proxy | |
parent | 969828589ebe916effe6b61ad16b34b799c640ec (diff) | |
download | archiva-ad7be3a3fcc2b73e0f5695e36234dc3ee1fbc0f8.tar.gz archiva-ad7be3a3fcc2b73e0f5695e36234dc3ee1fbc0f8.zip |
clean up warnings
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755287 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-proxy')
2 files changed, 3 insertions, 0 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 eab69300e..fe5760870 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 @@ -200,6 +200,7 @@ public abstract class AbstractProxyTestCase assertNull( "Found file: " + downloadedFile + "; but was expecting a failure", downloadedFile ); } + @SuppressWarnings("unchecked") protected void assertNoTempFiles( File expectedFile ) { File workingDir = expectedFile.getParentFile(); diff --git a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/WagonDelegate.java b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/WagonDelegate.java index 94f8727b7..e59fddb4a 100644 --- a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/WagonDelegate.java +++ b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/WagonDelegate.java @@ -88,6 +88,7 @@ public class WagonDelegate return delegate.resourceExists( resourceName ); } + @SuppressWarnings("unchecked") public List<String> getFileList( String destinationDirectory ) throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException { @@ -150,6 +151,7 @@ public class WagonDelegate delegate.connect( source, authenticationInfo, proxyInfoProvider ); } + @SuppressWarnings("deprecation") public void openConnection() throws ConnectionException, AuthenticationException { |