You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by he...@apache.org on 2007/01/03 01:33:13 UTC
svn commit: r491989 -
/velocity/site/velocity-news-plugin/src/main/java/org/apache/velocity/maven/plugin/news/NewsFeedGenerator.java
Author: henning
Date: Tue Jan 2 16:33:13 2007
New Revision: 491989
URL: http://svn.apache.org/viewvc?view=rev&rev=491989
Log:
Don't pass null in, c'tor does it anyway.
Modified:
velocity/site/velocity-news-plugin/src/main/java/org/apache/velocity/maven/plugin/news/NewsFeedGenerator.java
Modified: velocity/site/velocity-news-plugin/src/main/java/org/apache/velocity/maven/plugin/news/NewsFeedGenerator.java
URL: http://svn.apache.org/viewvc/velocity/site/velocity-news-plugin/src/main/java/org/apache/velocity/maven/plugin/news/NewsFeedGenerator.java?view=diff&rev=491989&r1=491988&r2=491989
==============================================================================
--- velocity/site/velocity-news-plugin/src/main/java/org/apache/velocity/maven/plugin/news/NewsFeedGenerator.java (original)
+++ velocity/site/velocity-news-plugin/src/main/java/org/apache/velocity/maven/plugin/news/NewsFeedGenerator.java Tue Jan 2 16:33:13 2007
@@ -141,7 +141,7 @@
String aptText = " " + itemText;
StringWriter stringWriter = new StringWriter();
- RenderingContext renderContext = new RenderingContext(new File(newsFeed.getOutputDirectory()), "/" + newsFeed.getNewsFileName() + ".html", null);
+ RenderingContext renderContext = new RenderingContext(new File(newsFeed.getOutputDirectory()), "/" + newsFeed.getNewsFileName() + ".html");
Sink sink = new NewsItemSink(stringWriter, renderContext);