diff options
author | Olivier Lamy <olamy@apache.org> | 2014-04-10 14:36:30 +1000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-04-10 14:36:30 +1000 |
commit | 03601570ef70ec4c1ae9f2b992333b8200c016d5 (patch) | |
tree | cb8311b25a98dde4da3bda033761d599022a180d /archiva-modules/archiva-base | |
parent | 0bb58b73ab27f984d5f08af35ed2b3bc572d956b (diff) | |
download | archiva-03601570ef70ec4c1ae9f2b992333b8200c016d5.tar.gz archiva-03601570ef70ec4c1ae9f2b992333b8200c016d5.zip |
my bad fix compilation
Diffstat (limited to 'archiva-modules/archiva-base')
2 files changed, 6 insertions, 6 deletions
diff --git a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/AbstractProxyTestCase.java b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/AbstractProxyTestCase.java index 98c17a9b5..e3f39d2ec 100644 --- a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/AbstractProxyTestCase.java +++ b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/AbstractProxyTestCase.java @@ -144,9 +144,9 @@ public abstract class AbstractProxyTestCase config = (MockConfiguration) applicationContext.getBean( "archivaConfiguration#mock", ArchivaConfiguration.class ); - config.getConfiguration().setManagedRepositories( new ArrayList<>() ); - config.getConfiguration().setRemoteRepositories( new ArrayList<>() ); - config.getConfiguration().setProxyConnectors( new ArrayList<>() ); + config.getConfiguration().setManagedRepositories( new ArrayList<ManagedRepositoryConfiguration>() ); + config.getConfiguration().setRemoteRepositories( new ArrayList<RemoteRepositoryConfiguration>() ); + config.getConfiguration().setProxyConnectors( new ArrayList<ProxyConnectorConfiguration>() ); // Setup source repository (using default layout) String name = getClass().getSimpleName(); diff --git a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/MetadataTransferTest.java b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/MetadataTransferTest.java index 24624b20f..ed7f04b48 100644 --- a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/MetadataTransferTest.java +++ b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/MetadataTransferTest.java @@ -186,7 +186,7 @@ public class MetadataTransferTest String requestedResource = "org/apache/maven/test/get-default-metadata-nonexistant/maven-metadata.xml"; setupTestableManagedRepository( requestedResource ); - config.getConfiguration().setProxyConnectors( new ArrayList<>( ) ); + config.getConfiguration().setProxyConnectors( new ArrayList<ProxyConnectorConfiguration>( ) ); assertResourceNotFound( requestedResource ); @@ -206,7 +206,7 @@ public class MetadataTransferTest String requestedResource = "org/apache/maven/test/get-project-metadata/maven-metadata.xml"; setupTestableManagedRepository( requestedResource ); - config.getConfiguration().setProxyConnectors( new ArrayList<>( ) ); + config.getConfiguration().setProxyConnectors( new ArrayList<ProxyConnectorConfiguration>( ) ); assertResourceExists( requestedResource ); @@ -333,7 +333,7 @@ public class MetadataTransferTest setupTestableManagedRepository( requestedResource ); - config.getConfiguration().setProxyConnectors( new ArrayList<>( ) ); + config.getConfiguration().setProxyConnectors( new ArrayList<ProxyConnectorConfiguration>( ) ); // Configure Connector (usually done within archiva.xml configuration) saveConnector( ID_DEFAULT_MANAGED, ID_PROXIED1, ChecksumPolicy.FIX, ReleasesPolicy.ALWAYS, SnapshotsPolicy.ALWAYS, CachedFailuresPolicy.NO, false ); |