From: Martin Schreier Date: Wed, 5 Jan 2022 15:13:21 +0000 (+0100) Subject: Changes for new spring version X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=23abc2077453ba96dd71bd7db8bd5a0924eddeec;p=archiva.git Changes for new spring version --- diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java index 8d0964082..b2bfd5191 100644 --- a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java +++ b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java @@ -615,6 +615,12 @@ public class RepositoryContentConsumersTest throw new UnsupportedOperationException( "Not supported yet." ); } + @Override + public A findAnnotationOnBean( String s, Class aClass, boolean b ) throws NoSuchBeanDefinitionException + { + throw new UnsupportedOperationException( "Not supported yet." ); + } + @Override public Environment getEnvironment() { diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java index ad7ee23a5..746c5ec82 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java +++ b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java @@ -307,6 +307,12 @@ public class RssFeedServletTest return applicationContext.findAnnotationOnBean( s, aClass ); } + @Override + public A findAnnotationOnBean( String s, Class aClass, boolean b ) throws NoSuchBeanDefinitionException + { + throw new UnsupportedOperationException( "Not implemented yet." ); + } + @Override public Object getBean( String s ) throws BeansException diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java index 22d7c58a5..de7351408 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java +++ b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java @@ -437,6 +437,12 @@ public abstract class AbstractRepositoryServletTestCase return applicationContext.findAnnotationOnBean( s, aClass ); } + @Override + public A findAnnotationOnBean( String s, Class aClass, boolean b ) throws NoSuchBeanDefinitionException + { + throw new UnsupportedOperationException( "No supported yet." ); + } + @Override public T getBean( Class aClass, Object... objects ) throws BeansException