You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by nb...@apache.org on 2008/04/25 01:53:58 UTC
svn commit: r651462 -
/velocity/tools/trunk/src/main/java/org/apache/velocity/tools/generic/ResourceTool.java
Author: nbubna
Date: Thu Apr 24 16:53:55 2008
New Revision: 651462
URL: http://svn.apache.org/viewvc?rev=651462&view=rev
Log:
VELTOOLS-104 update javadoc to match fixed behavior, thanks to Rod Vagg
Modified:
velocity/tools/trunk/src/main/java/org/apache/velocity/tools/generic/ResourceTool.java
Modified: velocity/tools/trunk/src/main/java/org/apache/velocity/tools/generic/ResourceTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/src/main/java/org/apache/velocity/tools/generic/ResourceTool.java?rev=651462&r1=651461&r2=651462&view=diff
==============================================================================
--- velocity/tools/trunk/src/main/java/org/apache/velocity/tools/generic/ResourceTool.java (original)
+++ velocity/tools/trunk/src/main/java/org/apache/velocity/tools/generic/ResourceTool.java Thu Apr 24 16:53:55 2008
@@ -200,11 +200,9 @@
}
/**
- * Renders the specified resource value and arguments as a String.
- * If there are no arguments, then the String value of the resource
- * is returned directly. If there are arguments, then the resource
- * is treated as a {@link MessageFormat} pattern and used to format
- * the specified argument values.
+ * Renders the specified resource value and arguments as a String.
+ * The resource is treated as a {@link MessageFormat} pattern which
+ * is used for formatting along with any specified argument values.
*/
public String render(Object resource, Object[] args)
{