You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by nb...@apache.org on 2005/10/19 18:02:06 UTC

svn commit: r326592 - in /jakarta/velocity/core/trunk/src/java/org/apache/velocity: app/VelocityEngine.java runtime/RuntimeServices.java

Author: nbubna
Date: Wed Oct 19 09:01:59 2005
New Revision: 326592

URL: http://svn.apache.org/viewcvs?rev=326592&view=rev
Log:
clean up javadoc spelling and whatnot

Modified:
    jakarta/velocity/core/trunk/src/java/org/apache/velocity/app/VelocityEngine.java
    jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/RuntimeServices.java

Modified: jakarta/velocity/core/trunk/src/java/org/apache/velocity/app/VelocityEngine.java
URL: http://svn.apache.org/viewcvs/jakarta/velocity/core/trunk/src/java/org/apache/velocity/app/VelocityEngine.java?rev=326592&r1=326591&r2=326592&view=diff
==============================================================================
--- jakarta/velocity/core/trunk/src/java/org/apache/velocity/app/VelocityEngine.java (original)
+++ jakarta/velocity/core/trunk/src/java/org/apache/velocity/app/VelocityEngine.java Wed Oct 19 09:01:59 2005
@@ -606,20 +606,19 @@
 
     /**
      *  <p>
-     *  Set the an ApplicationAttribue, which is an Object
-     *  set by the application which is accessable from
-     *  any component of the system that gets a RuntimeServices.
-     *  This allows communication between the application
-     *  environment and custom pluggable components of the
-     *  Velocity engine, such as loaders and loggers.
+     *  Sets an application attribute (which can be any Object) that will be 
+     *  accessible from any component of the system that gets a 
+     *  RuntimeServices. This allows communication between the application
+     *  environment and custom pluggable components of the Velocity engine,
+     *  such as ResourceLoaders and LogChutes.
      *  </p>
      *
      *  <p>
-     *  Note that there is no enfocement or rules for the key
+     *  Note that there is no enforcement or rules for the key
      *  used - it is up to the application developer.  However, to
      *  help make the intermixing of components possible, using
-     *  the target Class name (e.g.  com.foo.bar ) as the key
-     *   might help avoid collision.
+     *  the target Class name (e.g. com.foo.bar ) as the key
+     *  might help avoid collision.
      *  </p>
      *
      *  @param key object 'name' under which the object is stored
@@ -632,20 +631,12 @@
      
      /**
       *  <p>
-      *  Return an ApplicationAttribue, which is an Object
-      *  set by the application which is accessable from
+      *  Return an application attribute (which can be any Object)
+      *  that was set by the application in order to be accessible from
       *  any component of the system that gets a RuntimeServices.
       *  This allows communication between the application
       *  environment and custom pluggable components of the
-      *  Velocity engine, such as loaders and loggers.
-      *  </p>
-      *
-      *  <p>
-      *  Note that there is no enfocement or rules for the key
-      *  used - it is up to the application developer.  However, to
-      *  help make the intermixing of components possible, using
-      *  the target Class name (e.g.  com.foo.bar ) as the key
-      *   might help avoid collision.
+      *  Velocity engine, such as ResourceLoaders and LogChutes.
       *  </p>
       *
       *  @param key object 'name' under which the object is stored
@@ -655,7 +646,5 @@
      {
         return ri.getApplicationAttribute(key);
      }
-}
-
-
 
+}

Modified: jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/RuntimeServices.java
URL: http://svn.apache.org/viewcvs/jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/RuntimeServices.java?rev=326592&r1=326591&r2=326592&view=diff
==============================================================================
--- jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/RuntimeServices.java (original)
+++ jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/RuntimeServices.java Wed Oct 19 09:01:59 2005
@@ -325,7 +325,7 @@
     public ExtendedProperties getConfiguration();
 
     /**
-     * Return the specified applcation attribute.
+     * Return the specified application attribute.
      *
      * @param key The name of the attribute to retrieve.
      */



---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org