]> source.dussan.org Git - archiva.git/commitdiff
Changes for new spring version
authorMartin Schreier <martin_s@apache.org>
Wed, 5 Jan 2022 15:13:21 +0000 (16:13 +0100)
committerMartin Schreier <martin_s@apache.org>
Wed, 5 Jan 2022 15:13:21 +0000 (16:13 +0100)
archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java
archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java
archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java

index 8d09640824b77f1a37d01384fdde0257b9f0381f..b2bfd519157f667a00f3c6638e2b9ef4784f2ff4 100644 (file)
@@ -615,6 +615,12 @@ public class RepositoryContentConsumersTest
             throw new UnsupportedOperationException( "Not supported yet." );
         }
 
+        @Override
+        public <A extends Annotation> A findAnnotationOnBean( String s, Class<A> aClass, boolean b ) throws NoSuchBeanDefinitionException
+        {
+            throw new UnsupportedOperationException( "Not supported yet." );
+        }
+
         @Override
         public Environment getEnvironment()
         {
index ad7ee23a5acd6baf841d5fc66d902ded88b99d39..746c5ec82ae94e1a5824477f35ff126aaa92628a 100644 (file)
@@ -307,6 +307,12 @@ public class RssFeedServletTest
             return applicationContext.findAnnotationOnBean( s, aClass );
         }
 
+        @Override
+        public <A extends Annotation> A findAnnotationOnBean( String s, Class<A> aClass, boolean b ) throws NoSuchBeanDefinitionException
+        {
+            throw new UnsupportedOperationException( "Not implemented yet." );
+        }
+
         @Override
         public Object getBean( String s )
             throws BeansException
index 22d7c58a5947f944a48b4415d28795b7cdb844a5..de735140875a1b039acb179e9781a0551325dc9e 100644 (file)
@@ -437,6 +437,12 @@ public abstract class AbstractRepositoryServletTestCase
             return applicationContext.findAnnotationOnBean( s, aClass );
         }
 
+        @Override
+        public <A extends Annotation> A findAnnotationOnBean( String s, Class<A> aClass, boolean b ) throws NoSuchBeanDefinitionException
+        {
+            throw new UnsupportedOperationException( "No supported yet." );
+        }
+
         @Override
         public <T> T getBean( Class<T> aClass, Object... objects )
             throws BeansException