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/08/14 01:12:13 UTC

svn commit: r685724 - in /velocity/engine/trunk/src/java/org/apache/velocity: ./ context/ exception/ runtime/ runtime/directive/ runtime/parser/node/ runtime/resource/ runtime/resource/loader/ runtime/resource/util/ util/introspection/

Author: nbubna
Date: Wed Aug 13 16:12:12 2008
New Revision: 685724

URL: http://svn.apache.org/viewvc?rev=685724&view=rev
Log:
VELOCITY-597 add more @since tags for things new since 1.5...er...since 1.6...uh...-dev?

Modified:
    velocity/engine/trunk/src/java/org/apache/velocity/Template.java
    velocity/engine/trunk/src/java/org/apache/velocity/context/EvaluateContext.java
    velocity/engine/trunk/src/java/org/apache/velocity/context/InternalContextAdapterImpl.java
    velocity/engine/trunk/src/java/org/apache/velocity/exception/MacroOverflowException.java
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeConstants.java
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeInstance.java
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeServices.java
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeSingleton.java
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/VelocimacroFactory.java
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/VelocimacroManager.java
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Foreach.java
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/RuntimeMacro.java
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/Resource.java
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/loader/StringResourceLoader.java
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/util/StringResourceRepository.java
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/util/StringResourceRepositoryImpl.java
    velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/IntrospectionUtils.java
    velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/UberspectImpl.java

Modified: velocity/engine/trunk/src/java/org/apache/velocity/Template.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/Template.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/Template.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/Template.java Wed Aug 13 16:12:12 2008
@@ -249,6 +249,7 @@
      *          to syntax (or other) error.
      *  @throws MethodInvocationException When a method on a referenced object in the context could not invoked.
      *  @throws IOException  Might be thrown while rendering.
+     *  @since 1.6
      */
     public void merge( Context context, Writer writer, List macroLibraries)
         throws ResourceNotFoundException, ParseErrorException, MethodInvocationException, IOException

Modified: velocity/engine/trunk/src/java/org/apache/velocity/context/EvaluateContext.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/context/EvaluateContext.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/context/EvaluateContext.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/context/EvaluateContext.java Wed Aug 13 16:12:12 2008
@@ -45,6 +45,7 @@
  *
  *  @author <a href="mailto:wglass@forio.com">Will Glass-Husain</a>
  *  @version $Id$
+ *  @since 1.6
  */
 public class EvaluateContext implements InternalContextAdapter
 {

Modified: velocity/engine/trunk/src/java/org/apache/velocity/context/InternalContextAdapterImpl.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/context/InternalContextAdapterImpl.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/context/InternalContextAdapterImpl.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/context/InternalContextAdapterImpl.java Wed Aug 13 16:12:12 2008
@@ -147,6 +147,7 @@
 
     /**
      * @see org.apache.velocity.context.InternalHousekeepingContext#pushCurrentMacroName(java.lang.String)
+     * @since 1.6
      */
     public void pushCurrentMacroName( String s )
     {
@@ -155,6 +156,7 @@
 
     /**
      * @see org.apache.velocity.context.InternalHousekeepingContext#popCurrentMacroName()
+     * @since 1.6
      */
     public void popCurrentMacroName()
     {
@@ -163,6 +165,7 @@
 
     /**
      * @see org.apache.velocity.context.InternalHousekeepingContext#getCurrentMacroName()
+     * @since 1.6
      */
     public String getCurrentMacroName()
     {
@@ -171,6 +174,7 @@
 
     /**
      * @see org.apache.velocity.context.InternalHousekeepingContext#getCurrentMacroCallDepth()
+     * @since 1.6
      */
     public int getCurrentMacroCallDepth()
     {
@@ -179,6 +183,7 @@
 
     /**
      * @see org.apache.velocity.context.InternalHousekeepingContext#getMacroNameStack()
+     * @since 1.6
      */
     public Object[] getMacroNameStack()
     {
@@ -238,6 +243,7 @@
 
     /**
      * @see org.apache.velocity.context.InternalHousekeepingContext#setMacroLibraries(List)
+     * @since 1.6
      */
     public void setMacroLibraries(List macroLibraries)
     {
@@ -246,6 +252,7 @@
 
     /**
      * @see org.apache.velocity.context.InternalHousekeepingContext#getMacroLibraries()
+     * @since 1.6
      */
     public List getMacroLibraries()
     {

Modified: velocity/engine/trunk/src/java/org/apache/velocity/exception/MacroOverflowException.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/exception/MacroOverflowException.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/exception/MacroOverflowException.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/exception/MacroOverflowException.java Wed Aug 13 16:12:12 2008
@@ -23,6 +23,7 @@
  * Application-level exception thrown when macro calls within macro calls
  * exceeds the maximum allowed depth. The maximum allowable depth is given
  * in the configuration as velocimacro.max.depth.
+ * @since 1.6
  */
 public class MacroOverflowException extends VelocityException
 {

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeConstants.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeConstants.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeConstants.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeConstants.java Wed Aug 13 16:12:12 2008
@@ -114,7 +114,10 @@
     /** Counter reference name in #foreach directives. */
     String COUNTER_NAME = "directive.foreach.counter.name";
 
-    /** Iterator.hasNext() reference name in #foreach directives. */
+    /**
+     * Iterator.hasNext() reference name in #foreach directives.
+     * @since 1.6
+     */
     String HAS_NEXT_NAME = "directive.foreach.iterator.name";
 
     /** Initial counter value in #foreach directives. */
@@ -141,7 +144,10 @@
     /** Maximum recursion depth allowed for the #parse directive. */
     String PARSE_DIRECTIVE_MAXDEPTH = "directive.parse.max.depth";
 
-    /** class to use for local context with #evaluate() **/
+    /**
+     * class to use for local context with #evaluate()
+     * @since 1.6
+     */
     String EVALUATE_CONTEXT_CLASS = "directive.evaluate.context.class";
 
 
@@ -255,7 +261,10 @@
     /** if true, throw an exception for wrong number of arguments **/
     String VM_ARGUMENTS_STRICT = "velocimacro.arguments.strict";
 
-    /** Specify the maximum depth for macro calls **/
+    /**
+     * Specify the maximum depth for macro calls
+     * @since 1.6
+     */
     String VM_MAX_DEPTH = "velocimacro.max.depth";
     
     /*

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeInstance.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeInstance.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeInstance.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeInstance.java Wed Aug 13 16:12:12 2008
@@ -1005,6 +1005,7 @@
      * @param templateName name of the template being parsed
      * @return A root node representing the template as an AST tree.
      * @throws ParseException When the string could not be parsed as a template.
+     * @since 1.6
      */
     public SimpleNode parse(String string, String templateName)
         throws ParseException
@@ -1250,6 +1251,7 @@
      * @param writer  Writer for output stream
      * @return true if Velocimacro exists and successfully invoked, false otherwise.
      * @throws IOException While rendering to the writer, an I/O problem occured.
+     * @since 1.6
      */
     public boolean invokeVelocimacro(final String vmName, String logTag,
                                      String[] params, final Context context,
@@ -1485,6 +1487,7 @@
      * @param vmName Name of velocimacro requested
      * @param templateName Name of the template that contains the velocimacro.
      * @return The requested VelocimacroProxy.
+     * @since 1.6
      */
     public Directive getVelocimacro(String vmName, String templateName)
     {

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeServices.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeServices.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeServices.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeServices.java Wed Aug 13 16:12:12 2008
@@ -153,6 +153,7 @@
     /**
      * Wraps the String in a StringReader and passes it off to
      * {@link #parse(Reader,String)}.
+     * @since 1.6
      */
     public SimpleNode parse(String string, String templateName)
         throws ParseException;
@@ -249,6 +250,7 @@
      * @param writer  Writer for output stream
      * @return true if Velocimacro exists and successfully invoked, false otherwise.
      * @throws IOException While rendering to the writer, an I/O problem occured.
+     * @since 1.6
      */
     public boolean invokeVelocimacro(final String vmName, String logTag,
                                      String[] params, final Context context,
@@ -521,7 +523,8 @@
     /**
      * Retrieve a previously instantiated directive.
      * @param name name of the directive
-     * @return
+     * @return the directive with that name, if any
+     * @since 1.6
      */
     public Directive getDirective(String name);
 

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeSingleton.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeSingleton.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeSingleton.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/RuntimeSingleton.java Wed Aug 13 16:12:12 2008
@@ -473,6 +473,7 @@
      * @return boolean  True if added, false if rejected for some
      *                  reason (either parameters or permission settings)
      * @see RuntimeInstance#addVelocimacro(String, Node, String[], String)
+     * @since 1.6
      */
     public static boolean addVelocimacro(String name, Node macro,
                                          String argArray[], String sourceTemplate)

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/VelocimacroFactory.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/VelocimacroFactory.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/VelocimacroFactory.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/VelocimacroFactory.java Wed Aug 13 16:12:12 2008
@@ -405,8 +405,8 @@
      * @param macroBody root node of the parsed macro AST
      * @param argArray Name of the macro arguments. First element is the macro name.
      * @param sourceTemplate Source template from which the macro gets registered.
-     * 
      * @return true if Macro was registered successfully.
+     * @since 1.6
      */
     public boolean addVelocimacro(String name, Node macroBody,
             String argArray[], String sourceTemplate)
@@ -550,6 +550,9 @@
         return(getVelocimacro(vmName, sourceTemplate, null));
      }
 
+     /**
+      * @since 1.6
+      */
      public Directive getVelocimacro(String vmName, String sourceTemplate, String renderingTemplate)
      {
         VelocimacroProxy vp = null;

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/VelocimacroManager.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/VelocimacroManager.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/VelocimacroManager.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/VelocimacroManager.java Wed Aug 13 16:12:12 2008
@@ -186,6 +186,7 @@
       * @param namespace Namespace in which to look up the macro.
       * @param renderingTemplate Name of the template we are currently rendering.
       * @return A proxy representing the Macro.
+      * @since 1.6
       */
      public VelocimacroProxy get(final String vmName, final String namespace, final String renderingTemplate)
      {
@@ -440,6 +441,9 @@
         return null;
     }
     
+    /**
+     * @since 1.6
+     */
     public void setInlineReplacesGlobal(boolean is)
     {
         inlineReplacesGlobal = is;

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Foreach.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Foreach.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Foreach.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Foreach.java Wed Aug 13 16:12:12 2008
@@ -178,6 +178,7 @@
 
         /**
          * @see org.apache.velocity.context.InternalHousekeepingContext#pushCurrentMacroName(java.lang.String)
+         * @since 1.6
          */
         public void pushCurrentMacroName( String s )
         {
@@ -186,6 +187,7 @@
 
         /**
          * @see org.apache.velocity.context.InternalHousekeepingContext#popCurrentMacroName()
+         * @since 1.6
          */
         public void popCurrentMacroName()
         {
@@ -194,6 +196,7 @@
 
         /**
          * @see org.apache.velocity.context.InternalHousekeepingContext#getCurrentMacroName()
+         * @since 1.6
          */
         public String getCurrentMacroName()
         {
@@ -202,6 +205,7 @@
 
         /**
          * @see org.apache.velocity.context.InternalHousekeepingContext#getCurrentMacroCallDepth()
+         * @since 1.6
          */
         public int getCurrentMacroCallDepth()
         {
@@ -210,6 +214,7 @@
 
         /**
          * @see org.apache.velocity.context.InternalHousekeepingContext#getMacroNameStack()
+         * @since 1.6
          */
         public Object[] getMacroNameStack()
         {
@@ -300,6 +305,7 @@
 
         /**
          * @see org.apache.velocity.context.InternalContextAdapter#setMacroLibraries(List)
+         * @since 1.6
          */
         public void setMacroLibraries(List macroLibraries)
         {
@@ -308,6 +314,7 @@
 
         /**
          * @see org.apache.velocity.context.InternalContextAdapter#getMacroLibraries() 
+         * @since 1.6
          */
         public List getMacroLibraries()
         {

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/RuntimeMacro.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/RuntimeMacro.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/RuntimeMacro.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/RuntimeMacro.java Wed Aug 13 16:12:12 2008
@@ -41,6 +41,7 @@
  * the macro is actually defined).  At render time we check whether there is
  * a implementation for the macro call. If an implementation cannot be
  * found the literal text is rendered.
+ * @since 1.6
  */
 public class RuntimeMacro extends Directive
 {

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java Wed Aug 13 16:12:12 2008
@@ -180,6 +180,9 @@
         return data;
     }
 
+    /**
+     * @since 1.6
+     */
     public static String unescape(final String string)
     {
         int u = string.indexOf("\\u");
@@ -222,6 +225,7 @@
     /**
      * Check to see if this is an interpolated string.
      * @return true if this is constant (not an interpolated string)
+     * @since 1.6
      */
     public boolean isConstant()
     {

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/Resource.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/Resource.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/Resource.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/Resource.java Wed Aug 13 16:12:12 2008
@@ -275,6 +275,7 @@
     
     /**
      * Sets the type of this Resource (RESOURCE_TEMPLATE or RESOURCE_CONTENT)
+     * @since 1.6
      */
     public void setType(int type)
     {
@@ -283,6 +284,7 @@
     
     /**
      * @return type code of the Resource
+     * @since 1.6
      */
     public int getType()
     {

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/loader/StringResourceLoader.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/loader/StringResourceLoader.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/loader/StringResourceLoader.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/loader/StringResourceLoader.java Wed Aug 13 16:12:12 2008
@@ -111,10 +111,16 @@
  */
 public class StringResourceLoader extends ResourceLoader
 {
-    /** Key to determine whether the repository should be set as the static one or not. */
+    /**
+     * Key to determine whether the repository should be set as the static one or not.
+     * @since 1.6
+     */
     public static final String REPOSITORY_STATIC = "repository.static";
 
-    /** By default, repositories are stored statically (shared across the VM). */
+    /**
+     * By default, repositories are stored statically (shared across the VM).
+     * @since 1.6
+     */
     public static final boolean REPOSITORY_STATIC_DEFAULT = true;
 
     /** Key to look up the repository implementation class. */
@@ -124,11 +130,16 @@
     public static final String REPOSITORY_CLASS_DEFAULT =
         StringResourceRepositoryImpl.class.getName();
 
-    /** Key to look up the name for the repository to be used. */
+    /**
+     * Key to look up the name for the repository to be used.
+     * @since 1.6
+     */
     public static final String REPOSITORY_NAME = "repository.name";
 
     /** The default name for string resource repositories
-     * ('org.apache.velocity.runtime.resource.util.StringResourceRepository'). */
+     * ('org.apache.velocity.runtime.resource.util.StringResourceRepository').
+     * @since 1.6
+     */
     public static final String REPOSITORY_NAME_DEFAULT =
         StringResourceRepository.class.getName();
 
@@ -153,6 +164,7 @@
     /**
      * Returns a reference to the repository stored statically under the
      * specified name.
+     * @since 1.6
      */
     public static StringResourceRepository getRepository(String name)
     {
@@ -162,6 +174,7 @@
     /**
      * Sets the specified {@link StringResourceRepository} in static storage
      * under the specified name.
+     * @since 1.6
      */
     public static void setRepository(String name, StringResourceRepository repo)
     {
@@ -171,6 +184,7 @@
     /**
      * Removes the {@link StringResourceRepository} stored under the specified
      * name.
+     * @since 1.6
      */
     public static StringResourceRepository removeRepository(String name)
     {
@@ -179,6 +193,7 @@
 
     /**
      * Removes all statically stored {@link StringResourceRepository}s.
+     * @since 1.6
      */
     public static void clearRepositories()
     {
@@ -262,7 +277,9 @@
         log.trace("StringResourceLoader : initialization complete.");
     }
 
-
+    /**
+     * @since 1.6
+     */
     public StringResourceRepository createRepository(final String className,
                                                      final String encoding)
     {

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/util/StringResourceRepository.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/util/StringResourceRepository.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/util/StringResourceRepository.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/util/StringResourceRepository.java Wed Aug 13 16:12:12 2008
@@ -49,6 +49,7 @@
      * @param name The String name to store the template under.
      * @param body A String containing a template.
      * @param encoding The encoding of this string template
+     * @since 1.6
      */
     void putStringResource(String name, String body, String encoding);
 

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/util/StringResourceRepositoryImpl.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/util/StringResourceRepositoryImpl.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/util/StringResourceRepositoryImpl.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/util/StringResourceRepositoryImpl.java Wed Aug 13 16:12:12 2008
@@ -63,6 +63,7 @@
 
     /**
      * @see StringResourceRepository#putStringResource(java.lang.String, java.lang.String, java.lang.String)
+     * @since 1.6
      */
     public void putStringResource(final String name, final String body, final String encoding)
     {

Modified: velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/IntrospectionUtils.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/IntrospectionUtils.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/IntrospectionUtils.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/IntrospectionUtils.java Wed Aug 13 16:12:12 2008
@@ -28,6 +28,7 @@
  * @author <a href="mailto:szegedia@freemail.hu">Attila Szegedi</a>
  * @author Nathan Bubna
  * @version $Id: IntrospectionUtils.java 476785 2006-11-19 10:06:21Z henning $
+ * @since 1.6
  */
 public class IntrospectionUtils
 {

Modified: velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/UberspectImpl.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/UberspectImpl.java?rev=685724&r1=685723&r2=685724&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/UberspectImpl.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/UberspectImpl.java Wed Aug 13 16:12:12 2008
@@ -326,6 +326,9 @@
             this(m, false);
         }
 
+        /**
+         * @since 1.6
+         */
         public VelMethodImpl(Method method, boolean wrapArray)
         {
             this.method = method;
@@ -368,6 +371,7 @@
          * Offers an extension point for subclasses (in alternate Uberspects)
          * to alter the invocation after any array wrapping or varargs handling
          * has already been completed.
+         * @since 1.6
          */
         protected Object doInvoke(Object o, Object[] actual) throws Exception
         {
@@ -376,6 +380,7 @@
 
         /**
          * @returns true if this method can accept a variable number of arguments
+         * @since 1.6
          */
         public boolean isVarArg()
         {