From: Olivier Lamy Date: Wed, 30 Sep 2015 23:41:18 +0000 (+1000) Subject: compilation fix X-Git-Tag: archiva-2.2.1~41 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4a16f9a586c85cb96fe9db773086de2a90cda325;p=archiva.git compilation fix --- 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 6ad417ccd..a68f2f13f 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 @@ -39,6 +39,7 @@ import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationEvent; import org.springframework.context.MessageSourceResolvable; import org.springframework.context.NoSuchMessageException; +import org.springframework.core.ResolvableType; import org.springframework.core.env.Environment; import org.springframework.core.io.Resource; import org.springframework.mock.web.MockHttpServletRequest; @@ -376,6 +377,25 @@ public class RssFeedServletTest { return applicationContext.getClassLoader(); } + + @Override + public void publishEvent( Object o ) + { + // no op + } + + @Override + public String[] getBeanNamesForType( ResolvableType resolvableType ) + { + return new String[0]; + } + + @Override + public boolean isTypeMatch( String s, ResolvableType resolvableType ) + throws NoSuchBeanDefinitionException + { + return false; + } }