You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ju...@apache.org on 2018/11/12 23:32:27 UTC

[jspwiki] 03/09: fix compilation error on rss.jsp

This is an automated email from the ASF dual-hosted git repository.

juanpablo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git

commit 1d54e890128585f424f4487015e0dc68fd3037aa
Author: juanpablo <ju...@apache.org>
AuthorDate: Tue Nov 13 00:21:42 2018 +0100

    fix compilation error on rss.jsp
---
 jspwiki-war/src/main/webapp/rss.jsp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/jspwiki-war/src/main/webapp/rss.jsp b/jspwiki-war/src/main/webapp/rss.jsp
index 3f55b54..4a3dbf8 100644
--- a/jspwiki-war/src/main/webapp/rss.jsp
+++ b/jspwiki-war/src/main/webapp/rss.jsp
@@ -98,7 +98,7 @@
     //
     List< WikiPage > changed;
     
-    if( mode.equals("blog") )
+    if( "blog".equals( mode ) )
     {
         org.apache.wiki.plugin.WeblogPlugin plug = new org.apache.wiki.plugin.WeblogPlugin();
         changed = plug.findBlogEntries(wiki,
@@ -108,7 +108,7 @@
     }
     else
     {
-        changed = wiki.getVersionHistory( wikipage.getName() );
+        changed = ( List< WikiPage > )wiki.getVersionHistory( wikipage.getName() );
     }
     
     //