Author: markt
Date: Tue Nov 17 22:27:58 2009
New Revision: 881575

URL: http://svn.apache.org/viewvc?rev=881575&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48147
Correct JavaDoc typos. Patch provided by gingyang.xu

Modified:
    tomcat/trunk/java/org/apache/naming/NamingEntry.java
    tomcat/trunk/java/org/apache/naming/NamingService.java
    tomcat/trunk/java/org/apache/naming/NamingServiceMBean.java
    tomcat/trunk/java/org/apache/naming/ResourceRef.java
    tomcat/trunk/java/org/apache/naming/factory/EjbFactory.java
    tomcat/trunk/java/org/apache/naming/factory/OpenEjbFactory.java
    tomcat/trunk/java/org/apache/naming/factory/ResourceEnvFactory.java
    tomcat/trunk/java/org/apache/naming/factory/TransactionFactory.java
    tomcat/trunk/java/org/apache/naming/resources/BaseDirContext.java
    tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java
    tomcat/trunk/java/org/apache/naming/resources/FileDirContext.java
    tomcat/trunk/java/org/apache/naming/resources/ProxyDirContext.java
    tomcat/trunk/java/org/apache/naming/resources/Resource.java
    tomcat/trunk/java/org/apache/naming/resources/ResourceCache.java
    tomcat/trunk/java/org/apache/naming/resources/WARDirContext.java

Modified: tomcat/trunk/java/org/apache/naming/NamingEntry.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/NamingEntry.java?rev=881575&r1=881574&r2=881575&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/NamingEntry.java (original)
+++ tomcat/trunk/java/org/apache/naming/NamingEntry.java Tue Nov 17 22:27:58 
2009
@@ -53,7 +53,7 @@
 
 
     /**
-     * The type instance variable is used to avoid unsing RTTI when doing
+     * The type instance variable is used to avoid using RTTI when doing
      * lookups.
      */
     public int type;

Modified: tomcat/trunk/java/org/apache/naming/NamingService.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/NamingService.java?rev=881575&r1=881574&r2=881575&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/NamingService.java (original)
+++ tomcat/trunk/java/org/apache/naming/NamingService.java Tue Nov 17 22:27:58 
2009
@@ -93,7 +93,7 @@
     
     
     /**
-     * Retruns the Catalina component name.
+     * Returns the Catalina component name.
      */
     public String getName() {
         return NAME;

Modified: tomcat/trunk/java/org/apache/naming/NamingServiceMBean.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/NamingServiceMBean.java?rev=881575&r1=881574&r2=881575&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/NamingServiceMBean.java (original)
+++ tomcat/trunk/java/org/apache/naming/NamingServiceMBean.java Tue Nov 17 
22:27:58 2009
@@ -59,7 +59,7 @@
     
     
     /**
-     * Retruns the JNDI component name.
+     * Returns the JNDI component name.
      */
     public String getName();
     

Modified: tomcat/trunk/java/org/apache/naming/ResourceRef.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/ResourceRef.java?rev=881575&r1=881574&r2=881575&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/ResourceRef.java (original)
+++ tomcat/trunk/java/org/apache/naming/ResourceRef.java Tue Nov 17 22:27:58 
2009
@@ -72,7 +72,7 @@
      * 
      * @param resourceClass Resource class
      * @param scope Resource scope
-     * @param auth Resource authetication
+     * @param auth Resource authentication
      */
     public ResourceRef(String resourceClass, String description, 
                        String scope, String auth) {
@@ -85,7 +85,7 @@
      * 
      * @param resourceClass Resource class
      * @param scope Resource scope
-     * @param auth Resource authetication
+     * @param auth Resource authentication
      */
     public ResourceRef(String resourceClass, String description, 
                        String scope, String auth, String factory,

Modified: tomcat/trunk/java/org/apache/naming/factory/EjbFactory.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/factory/EjbFactory.java?rev=881575&r1=881574&r2=881575&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/factory/EjbFactory.java (original)
+++ tomcat/trunk/java/org/apache/naming/factory/EjbFactory.java Tue Nov 17 
22:27:58 2009
@@ -55,7 +55,7 @@
 
 
     /**
-     * Crete a new EJB instance.
+     * Create a new EJB instance.
      * 
      * @param obj The reference object describing the DataSource
      */

Modified: tomcat/trunk/java/org/apache/naming/factory/OpenEjbFactory.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/factory/OpenEjbFactory.java?rev=881575&r1=881574&r2=881575&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/factory/OpenEjbFactory.java (original)
+++ tomcat/trunk/java/org/apache/naming/factory/OpenEjbFactory.java Tue Nov 17 
22:27:58 2009
@@ -50,7 +50,7 @@
 
 
     /**
-     * Crete a new EJB instance using OpenEJB.
+     * Create a new EJB instance using OpenEJB.
      * 
      * @param obj The reference object describing the DataSource
      */

Modified: tomcat/trunk/java/org/apache/naming/factory/ResourceEnvFactory.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/factory/ResourceEnvFactory.java?rev=881575&r1=881574&r2=881575&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/factory/ResourceEnvFactory.java 
(original)
+++ tomcat/trunk/java/org/apache/naming/factory/ResourceEnvFactory.java Tue Nov 
17 22:27:58 2009
@@ -54,7 +54,7 @@
 
 
     /**
-     * Crete a new Resource env instance.
+     * Create a new Resource env instance.
      * 
      * @param obj The reference object describing the DataSource
      */

Modified: tomcat/trunk/java/org/apache/naming/factory/TransactionFactory.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/factory/TransactionFactory.java?rev=881575&r1=881574&r2=881575&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/factory/TransactionFactory.java 
(original)
+++ tomcat/trunk/java/org/apache/naming/factory/TransactionFactory.java Tue Nov 
17 22:27:58 2009
@@ -28,7 +28,7 @@
 import org.apache.naming.TransactionRef;
 
 /**
- * Object factory for User trasactions.
+ * Object factory for User transactions.
  * 
  * @author Remy Maucherat
  * @version $Revision$ $Date$
@@ -54,7 +54,7 @@
 
 
     /**
-     * Crete a new User transaction instance.
+     * Create a new User transaction instance.
      * 
      * @param obj The reference object describing the DataSource
      */

Modified: tomcat/trunk/java/org/apache/naming/resources/BaseDirContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/resources/BaseDirContext.java?rev=881575&r1=881574&r2=881575&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/resources/BaseDirContext.java (original)
+++ tomcat/trunk/java/org/apache/naming/resources/BaseDirContext.java Tue Nov 
17 22:27:58 2009
@@ -1342,7 +1342,7 @@
      * occurrence of "{i}". If null, equivalent to an empty array.
      * @param cons the search controls that control the search. If null, the 
      * default search controls are used (equivalent to (new SearchControls())).
-     * @return an enumeration of SearchResults of the objects that satisy the 
+     * @return an enumeration of SearchResults of the objects that satisfy the 
      * filter; never null
      * @exception ArrayIndexOutOfBoundsException if filterExpr contains {i} 
      * expressions where i is outside the bounds of the array filterArgs

Modified: 
tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java?rev=881575&r1=881574&r2=881575&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java 
(original)
+++ tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java 
Tue Nov 17 22:27:58 2009
@@ -121,7 +121,7 @@
     
     
     /**
-     * Connect to the DirContext, and retrive the bound object, as well as
+     * Connect to the DirContext, and retrieve the bound object, as well as
      * its attributes. If no object is bound with the name specified in the
      * URL, then an IOException is thrown.
      * 

Modified: tomcat/trunk/java/org/apache/naming/resources/FileDirContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/resources/FileDirContext.java?rev=881575&r1=881574&r2=881575&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/resources/FileDirContext.java (original)
+++ tomcat/trunk/java/org/apache/naming/resources/FileDirContext.java Tue Nov 
17 22:27:58 2009
@@ -750,7 +750,7 @@
      * occurrence of "{i}". If null, equivalent to an empty array.
      * @param cons the search controls that control the search. If null, the
      * default search controls are used (equivalent to (new SearchControls())).
-     * @return an enumeration of SearchResults of the objects that satisy the
+     * @return an enumeration of SearchResults of the objects that satisfy the
      * filter; never null
      * @exception ArrayIndexOutOfBoundsException if filterExpr contains {i}
      * expressions where i is outside the bounds of the array filterArgs
@@ -847,7 +847,7 @@
      * List the resources which are members of a collection.
      *
      * @param file Collection
-     * @return Vector containg NamingEntry objects
+     * @return Vector containing NamingEntry objects
      */
     protected ArrayList<NamingEntry> list(File file) {
 

Modified: tomcat/trunk/java/org/apache/naming/resources/ProxyDirContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/resources/ProxyDirContext.java?rev=881575&r1=881574&r2=881575&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/resources/ProxyDirContext.java 
(original)
+++ tomcat/trunk/java/org/apache/naming/resources/ProxyDirContext.java Tue Nov 
17 22:27:58 2009
@@ -1544,7 +1544,7 @@
             }
         }
 
-        // Retriving object
+        // Retrieving object
         if ((exists) && (entry.resource == null) && (entry.context == null)) {
             try {
                 Object object = dirContext.lookup(name);

Modified: tomcat/trunk/java/org/apache/naming/resources/Resource.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/resources/Resource.java?rev=881575&r1=881574&r2=881575&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/resources/Resource.java (original)
+++ tomcat/trunk/java/org/apache/naming/resources/Resource.java Tue Nov 17 
22:27:58 2009
@@ -22,7 +22,7 @@
 import java.io.IOException;
 
 /**
- * Encapsultes the contents of a resource.
+ * Encapsulates the contents of a resource.
  * 
  * @author <a href="mailto:r...@apache.org";>Remy Maucherat</a>
  * @version $Revision$

Modified: tomcat/trunk/java/org/apache/naming/resources/ResourceCache.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/resources/ResourceCache.java?rev=881575&r1=881574&r2=881575&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/resources/ResourceCache.java (original)
+++ tomcat/trunk/java/org/apache/naming/resources/ResourceCache.java Tue Nov 17 
22:27:58 2009
@@ -339,7 +339,7 @@
 
 
     /**
-     * Find a map elemnt given its name in a sorted array of map elements.
+     * Find a map element given its name in a sorted array of map elements.
      * This will return the index for the closest inferior or equal item in the
      * given array.
      */

Modified: tomcat/trunk/java/org/apache/naming/resources/WARDirContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/resources/WARDirContext.java?rev=881575&r1=881574&r2=881575&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/resources/WARDirContext.java (original)
+++ tomcat/trunk/java/org/apache/naming/resources/WARDirContext.java Tue Nov 17 
22:27:58 2009
@@ -729,7 +729,7 @@
      * occurrence of "{i}". If null, equivalent to an empty array.
      * @param cons the search controls that control the search. If null, the 
      * default search controls are used (equivalent to (new SearchControls())).
-     * @return an enumeration of SearchResults of the objects that satisy the 
+     * @return an enumeration of SearchResults of the objects that satisfy the 
      * filter; never null
      * @exception ArrayIndexOutOfBoundsException if filterExpr contains {i} 
      * expressions where i is outside the bounds of the array filterArgs



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to