You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ol...@apache.org on 2015/10/01 01:41:48 UTC
archiva git commit: compilation fix
Repository: archiva
Updated Branches:
refs/heads/master 6484df9d6 -> 4a16f9a58
compilation fix
Project: http://git-wip-us.apache.org/repos/asf/archiva/repo
Commit: http://git-wip-us.apache.org/repos/asf/archiva/commit/4a16f9a5
Tree: http://git-wip-us.apache.org/repos/asf/archiva/tree/4a16f9a5
Diff: http://git-wip-us.apache.org/repos/asf/archiva/diff/4a16f9a5
Branch: refs/heads/master
Commit: 4a16f9a586c85cb96fe9db773086de2a90cda325
Parents: 6484df9
Author: Olivier Lamy <ol...@apache.org>
Authored: Thu Oct 1 09:41:18 2015 +1000
Committer: Olivier Lamy <ol...@apache.org>
Committed: Thu Oct 1 09:41:18 2015 +1000
----------------------------------------------------------------------
.../archiva/web/rss/RssFeedServletTest.java | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/archiva/blob/4a16f9a5/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java
----------------------------------------------------------------------
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 6ad417c..a68f2f1 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;
+ }
}