You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2007/01/03 14:27:40 UTC
svn commit: r492137 - in /harmony/enhanced/classlib/trunk/modules/jndi/src:
main/java/javax/naming/ main/java/javax/naming/directory/
main/java/javax/naming/event/ main/java/javax/naming/ldap/
main/java/javax/naming/spi/ main/java/org/apache/harmony/jn...
Author: tellison
Date: Wed Jan 3 05:27:38 2007
New Revision: 492137
URL: http://svn.apache.org/viewvc?view=rev&rev=492137
Log:
Apply patch HARMONY-2791 ([Classlib][jndi] Wrong words in jndi module)
Modified:
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/CompositeName.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/CompoundName.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/Context.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/LinkException.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/Name.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/NameClassPair.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/NamingException.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ReferralException.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ServiceUnavailableException.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/Attribute.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/Attributes.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/BasicAttribute.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/BasicAttributes.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/DirContext.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/InitialDirContext.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/InvalidAttributesException.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/InvalidSearchControlsException.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/ModificationItem.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/NoSuchAttributeException.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/SearchControls.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/SearchResult.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/EventContext.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/NamingEvent.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/NamingExceptionEvent.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/ObjectChangeListener.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ldap/InitialLdapContext.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ldap/LdapContext.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ldap/LdapReferralException.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/InitialContextFactory.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/NamingManager.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/ObjectFactory.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/ObjectFactoryBuilder.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/StateFactory.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DNSContext.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DomainProtocolException.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/ProviderMgr.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/Resolver.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/ResolverCache.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/SList.java
harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/rmi/registry/RegistryContext.java
harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/BinaryRefAddrTest.java
harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/InvalidNameExceptionTest.java
harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/NoInitialContextExceptionTest.java
harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/NotContextExceptionTest.java
harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/directory/BasicAttributeTest.java
harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/event/NamingExceptionEventTest.java
harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/AllTests.java
harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/DirectoryManagerTest.java
harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/NamingManagerTest.java
harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/mock/MockActionController.java
harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/mock/ftp/ftpURLContextFactory.java
harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/util/Log.java
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/CompositeName.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/CompositeName.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/CompositeName.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/CompositeName.java Wed Jan 3 05:27:38 2007
@@ -101,7 +101,7 @@
* Element 3 is "b".</p>
* <p>
* Interestingly the name "a/a'a/b/b" is valid and has 4 elements. This is
- * beacuse the single quote char ' is not a leading quote and is embedded in
+ * because the single quote char ' is not a leading quote and is embedded in
* an element so is treated as a character.
* Element 0 is "a".
* Element 1 is "a'a".
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/CompoundName.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/CompoundName.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/CompoundName.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/CompoundName.java Wed Jan 3 05:27:38 2007
@@ -159,7 +159,7 @@
* An empty <code>CompoundName</code> is the name "" and has no elements.
*
* When jndi.syntax.beginquote is set to " and beginquote2 is set to '
- * the behaviour is simliar to CompositeName -
+ * the behaviour is similar to CompositeName -
* The name "\"abcd" gives an InvalidNameException as there is no closing quote.
* The name "'\"abcd'" gives one element of value "abcd.
* The name "\\abcd" gives one element of value \abcd.
@@ -358,7 +358,7 @@
// direction's default value is FLAT
direction = null == (property = props.getProperty(DIRECTION)) ? FLAT
: property;
- //if direction value must equals to one of FLAT, LEFT_TO_RIGHT and RIGHT_TO_LEFT, exception throwed
+ //if direction value must equals to one of FLAT, LEFT_TO_RIGHT and RIGHT_TO_LEFT, exception threw
if (!LEFT_TO_RIGHT.equals(direction)
&& !RIGHT_TO_LEFT.equals(direction) && !FLAT.equals(direction)) {
// jndi.04=Illegal direction property value, which must be one of right_to_left, left_to_right or flat
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/Context.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/Context.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/Context.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/Context.java Wed Jan 3 05:27:38 2007
@@ -128,8 +128,8 @@
* "java.naming.ldap.".</p>
* <p>
* Feature-specific JNDI properties may be used by all service providers
- * offering implementations using a particular flavour of a feature and would
- * include the feature name and the particular flavour name in the property
+ * offering implementations using a particular flavor of a feature and would
+ * include the feature name and the particular flavor name in the property
* name prefix. A common example is SASL used by several service providers for
* security; appropriate SASL feature-specific properties would use prefix
* "java.naming.security.sasl.".</p>
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java Wed Jan 3 05:27:38 2007
@@ -158,7 +158,7 @@
* used in an <code>InitialContext</code> subclass constructor in which
* later action will set up a <code>Hashtable</code> object with appropriate
* environment properties and pass that to the <code>init</code> method to
- * complete initalization of the <code>InitialContext</code> object.</p>
+ * complete initialization of the <code>InitialContext</code> object.</p>
*
* @param doNotInit Specifies whether to initialize the new instance.
* @throws NamingException If failed to create an <code>InitialContext</code>.
@@ -328,7 +328,7 @@
String scheme = UrlParser.getScheme(name);
Context ctx = null;
if (null != scheme) {
- // So the first componet is a valid URL
+ // So the first component is a valid URL
ctx = NamingManager.getURLContext(scheme, myProps);
}
return null == ctx ? getDefaultInitCtx() : ctx;
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/LinkException.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/LinkException.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/LinkException.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/LinkException.java Wed Jan 3 05:27:38 2007
@@ -117,7 +117,7 @@
* If boolean b is set to false then the behavior is the same
* as <code>toString()</code>.
*
- * @param b Indicates if the resolved object need to be outputed.
+ * @param b Indicates if the resolved object need to be outputted.
* @return the string representation of this <code>NamingException</code>
* together with the details of the remaining name.
*/
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/Name.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/Name.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/Name.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/Name.java Wed Jan 3 05:27:38 2007
@@ -44,7 +44,7 @@
public interface Name extends Cloneable, Serializable, Comparable<Object> {
/*
- * SUID declared publically in the spec.
+ * SUID declared publicly in the spec.
*/
public static final long serialVersionUID = -3617482732056931635L;
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/NameClassPair.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/NameClassPair.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/NameClassPair.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/NameClassPair.java Wed Jan 3 05:27:38 2007
@@ -231,7 +231,7 @@
}
buf.append(getName());
buf.append(": "); //$NON-NLS-1$
- buf.append(getClassName()); // getClassName() is overrided by subclass
+ buf.append(getClassName()); // getClassName() is overridden by subclass
return buf.toString();
}
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/NamingException.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/NamingException.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/NamingException.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/NamingException.java Wed Jan 3 05:27:38 2007
@@ -42,7 +42,7 @@
* It can also refer to the object that is associated with the resolved name.
* </p>
* <p>
- * Additionaly it can refer to another exception, which may be the root cause of
+ * Additionally it can refer to another exception, which may be the root cause of
* this exception.
* </p>
* <p>
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ReferralException.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ReferralException.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ReferralException.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ReferralException.java Wed Jan 3 05:27:38 2007
@@ -55,7 +55,7 @@
/**
* Constructs a <code>ReferralException</code> instance
- * with the specified message. All other fields are initialised to null.
+ * with the specified message. All other fields are initialized to null.
*
* @param s The detail message for this exception. It may be null.
*/
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ServiceUnavailableException.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ServiceUnavailableException.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ServiceUnavailableException.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ServiceUnavailableException.java Wed Jan 3 05:27:38 2007
@@ -36,7 +36,7 @@
/**
* Constructs a <code>ServiceUnavailableException</code> instance
- * with all data initialised to null.
+ * with all data initialized to null.
*/
public ServiceUnavailableException() {
super();
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/Attribute.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/Attribute.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/Attribute.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/Attribute.java Wed Jan 3 05:27:38 2007
@@ -55,7 +55,7 @@
* and <code>getAttributeSyntaxDefinition</code> return the schema definitions
* if they exist.</p>
* <p>
- * Note that updates to the attribute via ths interface do not affect the
+ * Note that updates to the attribute via this interface do not affect the
* directory directly. The only mechanism for modifying the directory is
* through the {@link DirContext}.</p>
* <p>
@@ -141,7 +141,7 @@
Object clone();
/**
- * Inidicates whether the specified value is one of the attribute's values.
+ * Indicates whether the specified value is one of the attribute's values.
*
* @param val the value which may be null
* @return true if this attribute contains the value,
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/Attributes.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/Attributes.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/Attributes.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/Attributes.java Wed Jan 3 05:27:38 2007
@@ -107,7 +107,7 @@
Attribute put(Attribute attribute);
/**
- * Places a new attribuet with the supplied ID and value into the attribute
+ * Places a new attribute with the supplied ID and value into the attribute
* collection.
* If there is already an attribute with the same ID, the old one is removed
* from the collection and is returned by this method. If there was no
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/BasicAttribute.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/BasicAttribute.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/BasicAttribute.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/BasicAttribute.java Wed Jan 3 05:27:38 2007
@@ -185,7 +185,7 @@
}
/*
- * Determine whether the two valuess are equal with each other, considering
+ * Determine whether the two values are equal with each other, considering
* the possibility that they might be both arrays so that each element of
* them has to be compared.
*/
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/BasicAttributes.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/BasicAttributes.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/BasicAttributes.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/BasicAttributes.java Wed Jan 3 05:27:38 2007
@@ -97,7 +97,7 @@
* Constructs a <code>BasicAttributes</code> instance which is
* case-sensitive if <code>flag</code> is false.
*
- * @param flag Inidicates whether this instance is
+ * @param flag Indicates whether this instance is
* case-insensitive.
*/
public BasicAttributes(boolean flag) {
@@ -121,7 +121,7 @@
*
* @param attrId the ID of the first attribute
* @param attrObj the value of the first attribute
- * @param flag Inidicates whether this instance is
+ * @param flag Indicates whether this instance is
* case-insensitive.
*/
public BasicAttributes(String attrId, Object attrObj, boolean flag) {
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/DirContext.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/DirContext.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/DirContext.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/DirContext.java Wed Jan 3 05:27:38 2007
@@ -61,14 +61,14 @@
* </ul></p>
* <p>
* The directory service provider can implement either of these logical models, and the client
- * is expeced to know which model it is dealing with.</p>
+ * is expected to know which model it is dealing with.</p>
*
* <em>Attribute Name aliasing</em>
* <p>
- * Directory service providers are free to implement attribute name alising. If the service
- * employs alising then the list of attribute names that are returned as a result of API
+ * Directory service providers are free to implement attribute name aliasing. If the service
+ * employs aliasing then the list of attribute names that are returned as a result of API
* calls to get a named attribute, or search for a set of attributes may include attributes
- * whose name was not in the search list. Implmentations should not rely on the preservation
+ * whose name was not in the search list. Implementations should not rely on the preservation
* of attribute names.</p>
*
* <em>Searching and operational attributes</em>
@@ -208,7 +208,7 @@
* Binds a string name to an <code>Object</code> in this directory
* to produce a binding.
*
- * @param s the string representive of name to be bound
+ * @param s the string representative of name to be bound
* @param obj the object to be bound
* @param attributes the attributes of this binding, can be null
* @throws NamingException thrown if any occurs
@@ -242,7 +242,7 @@
/**
* Creates and binds a new subcontext.
*
- * @param s the string representive of name bound to the new subcontext
+ * @param s the string representative of name bound to the new subcontext
* @param attributes the attributes of the new subcontxt, can be null
* @return the new subcontext
* @throws NamingException If any occurs.
@@ -278,7 +278,7 @@
* This method throws any <code>NamingException</code> that occurs.</p>
*
* @param name name to be searched for attributes
- * @param as the array of strings to match atrrbiutes
+ * @param as the array of strings to match attributes
* @return all attributes for <code>name</code> that match
* the strings in array <code>as</code>.
* @throws NamingException If any occurs.
@@ -288,7 +288,7 @@
/**
* Gets all attributes of name represented by <code>s</code>.
*
- * @param s representive of name to be searched for attributes
+ * @param s representative of name to be searched for attributes
* @return all attributes of name represented by <code>s</code>
* @throws NamingException If any occurs.
* @see #getAttributes(Name name)
@@ -299,8 +299,8 @@
* Gets the attributes for name represented by <code>s</code> that match the strings in
* array <code>as</code>.
*
- * @param s representive of name to be searched for attributes
- * @param as the array of strings to match atrrbiutes
+ * @param s representative of name to be searched for attributes
+ * @param as the array of strings to match attributes
* @return all attributes for name represented by
* <code>s</code> that match the strings in array
* <code>as</code>.
@@ -326,7 +326,7 @@
/**
* Gets the top level of the schema for name represented by <code>s</code>.
*
- * @param s representive of name to be searched for schema
+ * @param s representative of name to be searched for schema
* @return the top level of the schema for object <code>name</code>
* @throws NamingException If any occurs.
* @see #getSchema(Name name)
@@ -356,7 +356,7 @@
/**
* Gets the class definition for name represented by <code>s</code> from its schema.
*
- * @param s the string representive of name to searched for
+ * @param s the string representative of name to searched for
* the class definition from its schema
* @return the class definition for <code>name</code> from
* its schema.
@@ -457,7 +457,7 @@
/**
* Rebinds name represented by <code>s</code> to <code>obj</code>.
*
- * @param s the string representive of name to be bound
+ * @param s the string representative of name to be bound
* @param obj the object to be bound
* @param attributes the attributes of the binding
* @throws NamingException If any occurs.
@@ -480,7 +480,7 @@
*
* @param name the name specifies the context to be searched
* @param attributes the attributes to be matched when search
- * @return <code>NamngEnumeration</code> of <code>SearchResult</code>
+ * @return <code>NamingEnumeration</code> of <code>SearchResult</code>
* @throws NamingException If any occurs.
* @see #search(Name name, Attributes attributes, String[] as)
*/
@@ -529,8 +529,8 @@
*
* @param name the name specifies the context to be searched
* @param attributes the attributes to be matched when search
- * @param as the array of string representive of attributes to be returned
- * @return <code>NamngEnumeration</code> of <code>SearchResult</code>
+ * @param as the array of string representative of attributes to be returned
+ * @return <code>NamingEnumeration</code> of <code>SearchResult</code>
* @throws NamingException If any occurs.
*/
NamingEnumeration<SearchResult> search(Name name, Attributes attributes,
@@ -539,7 +539,7 @@
/**
* This method searches in the context specified by <code>name</code> only,
- * using the fileter specifed by parameter <code>filter</code> and controlled by
+ * using the filter specified by parameter <code>filter</code> and controlled by
* <code>searchControls</code>.
*
* <p>
@@ -580,7 +580,7 @@
*
* @param name the name specifies the context to be searched
* @param filter the search filter
- * @param objs array of objects refered by search filter
+ * @param objs array of objects referred by search filter
* @param searchControls the search controls
* @return <code>NamingEnumeration</code> of <code>SearchResult</code>
* @throws NamingException If any occurs.
@@ -595,7 +595,7 @@
/**
* This method searches in the context specified by <code>name</code> only,
- * using the fileter specifed by parameter <code>filter</code> and controlled by
+ * using the filter specified by parameter <code>filter</code> and controlled by
* <code>searchControls</code>.
* <p>
* This method can throw <code>InvalidSearchFilterException<c/ode>,
@@ -619,7 +619,7 @@
* only, for any objects that have attributes that match the
* <code>attributes</code> parameter.
*
- * @param name the string representive of name which specifies
+ * @param name the string representative of name which specifies
* the context to be searched
* @param attributes the attributes to be matched when search
* @return <code>NamingEnumeration</code> of <code>SearchResult</code>
@@ -634,10 +634,10 @@
* <code>name</code> only, for any objects that have attributes that match
* the <code>attributes</code> parameter.
*
- * @param name the string representive of name which specifies
+ * @param name the string representative of name which specifies
* the context to be searched
* @param attributes the attributes to be matched when search
- * @param as the array of string representive of attributes to be returned
+ * @param as the array of string representative of attributes to be returned
* @return <code>NamingEnumeration</code> of <code>SearchResult</code>
* @throws NamingException If any occurs.
* @see #search(Name, Attributes, String[])
@@ -648,15 +648,15 @@
/**
* This method searches in the context specified by name represented by
- * <code>name</code> only, using the fileter specifed by parameter
+ * <code>name</code> only, using the filter specified by parameter
* <code>filter</code> and controlled by <code>searchControls</code>.
*
- * @param name the string representive of name which specifies
+ * @param name the string representative of name which specifies
* the context to be searched
* @param filter the search filter
- * @param objs array of objects refered by search filter
+ * @param objs array of objects referred by search filter
* @param searchControls the search controls
- * @return <code>NamngEnumeration</code> of <code>SearchResult</code>
+ * @return <code>NamingEnumeration</code> of <code>SearchResult</code>
* @throws NamingException If any occurs.
* @see #search(Name, String, Object[], SearchControls)
*/
@@ -669,10 +669,10 @@
/**
* This method searches in the context specified by name represented by
- * <code>name</code> only, using the fileter specifed by parameter
+ * <code>name</code> only, using the filter specified by parameter
* <code>filter</code> and controlled by <code>searchControls</code>.
*
- * @param name the string representive of name which specifies
+ * @param name the string representative of name which specifies
* the context to be searched
* @param filter the search filter
* @param searchControls the search controls
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/InitialDirContext.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/InitialDirContext.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/InitialDirContext.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/InitialDirContext.java Wed Jan 3 05:27:38 2007
@@ -81,7 +81,7 @@
* Constructs a new <code>InitialDirContext</code> instance with
* environment properties.
*
- * @param hashtable Contains the enironment parameters. This constructor
+ * @param hashtable Contains the environment parameters. This constructor
* will not change the hashtable or keep a reference to
* it. The hashtable parameter may be null.
* @throws NamingException
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/InvalidAttributesException.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/InvalidAttributesException.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/InvalidAttributesException.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/InvalidAttributesException.java Wed Jan 3 05:27:38 2007
@@ -21,7 +21,7 @@
/**
* Thrown when an attempt is made to set attributes that are invalid for
- * the entry they are being targetted.
+ * the entry they are being targeted.
* <p>
* Examples include schema restrictions for attributes such as specific values
* required, attributes that must be set exclusively of others, and so on.</p>
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/InvalidSearchControlsException.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/InvalidSearchControlsException.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/InvalidSearchControlsException.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/InvalidSearchControlsException.java Wed Jan 3 05:27:38 2007
@@ -23,7 +23,7 @@
* Thrown when the <code>SearchControls</code> for a given search are
* invalid.
* <p>
- * For example, the search controls would be invlaid if the scope is not
+ * For example, the search controls would be invalid if the scope is not
* one of the defined class constants.</p>
*
*
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/ModificationItem.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/ModificationItem.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/ModificationItem.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/ModificationItem.java Wed Jan 3 05:27:38 2007
@@ -73,7 +73,7 @@
*/
/**
- * Constructs a <code>ModificaitionItem</code> instance with all parameters.
+ * Constructs a <code>ModificationItem</code> instance with all parameters.
*
* @param operation an operation code chosen from <code>DirContext.ADD_ATTRIBUTE</code>,
* <code>DirContext.REPLACE_ATTRIBUTE</code>,
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/NoSuchAttributeException.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/NoSuchAttributeException.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/NoSuchAttributeException.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/NoSuchAttributeException.java Wed Jan 3 05:27:38 2007
@@ -21,7 +21,7 @@
import javax.naming.NamingException;
/**
- * Thrown when an attempt is made to access a non-existant attribute.
+ * Thrown when an attempt is made to access a non-existent attribute.
*/
public class NoSuchAttributeException extends NamingException {
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/SearchControls.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/SearchControls.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/SearchControls.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/SearchControls.java Wed Jan 3 05:27:38 2007
@@ -69,14 +69,14 @@
* context.
* <p>
* The search will take place over the object, or if the object is a
- * context then the object and all objects that are reachable fromt he
+ * context then the object and all objects that are reachable from he
* given context.</p>
* <p>
* The names that are returned in the enumeration are defined to be
* either relative names to the given root, or full URIs of the matching
* objects.</p>
* <p>
- * The seach is defined to no cross naming system boundaries.</p>
+ * The search is defined to no cross naming system boundaries.</p>
*/
public static final int SUBTREE_SCOPE = 2;
@@ -102,7 +102,7 @@
private int searchScope;
/**
- * Seach time limitation.
+ * search time limitation.
* <p>
* Maximum number of milliseconds to wait for the search to complete.</p>
*
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/SearchResult.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/SearchResult.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/SearchResult.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/directory/SearchResult.java Wed Jan 3 05:27:38 2007
@@ -21,7 +21,7 @@
/**
* <code>SearchResult</code> returned from a search on a directory context
- * and is provided by a <code>NaminEnumeration</code>.
+ * and is provided by a <code>NamingEnumeration</code>.
* <p>
* This class is not thread-safe.</p>
*
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/EventContext.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/EventContext.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/EventContext.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/EventContext.java Wed Jan 3 05:27:38 2007
@@ -145,7 +145,7 @@
* Checks if the implementation supports registration for names that are
* not (yet) bound in this context.
*
- * @return false if implemention supports this, otherwise
+ * @return false if implementation supports this, otherwise
* true if the implementation does not support this.
* @throws NamingException If the support is not known.
*/
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/NamingEvent.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/NamingEvent.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/NamingEvent.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/NamingEvent.java Wed Jan 3 05:27:38 2007
@@ -241,7 +241,7 @@
* Gets the binding after this event.
* <p>
* If it exists and is inside the scope that was specified when the listener
- * was registered using <code>EventContext.addNamimgListener</code>.
+ * was registered using <code>EventContext.addNamingListener</code>.
* Returns null otherwise. Therefore for an <code>OBJECT_RENAMED</code>
* event, the return value will be non-null if the new name places the
* binding within the scope for the listener.</p>
@@ -256,7 +256,7 @@
* Gets the binding before this event.
* <p>
* If it existed and was inside the scope that was specified when the
- * listener was registered using <code>EventContext.addNamimgListener</code>.
+ * listener was registered using <code>EventContext.addNamingListener</code>.
* Returns null otherwise. Therefore for an <code>OBJECT_RENAMED</code>
* event, the return value will be non-null if the old name placed the
* binding within the scope for the listener.</p>
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/NamingExceptionEvent.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/NamingExceptionEvent.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/NamingExceptionEvent.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/NamingExceptionEvent.java Wed Jan 3 05:27:38 2007
@@ -61,7 +61,7 @@
* @param eventContext context that generated this event. It is the
* originator of this event and cannot be null.
* @param namingException
- * the associated exception and cannnot be null.
+ * the associated exception and cannot be null.
*/
public NamingExceptionEvent(
EventContext eventContext,
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/ObjectChangeListener.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/ObjectChangeListener.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/ObjectChangeListener.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/event/ObjectChangeListener.java Wed Jan 3 05:27:38 2007
@@ -43,7 +43,7 @@
* <p>
* The changes can be deduced by querying <code>namingEvent</code>, especially
* <code>NamingEvent.getNewBinding()</code> and
- * <code>NamingEvent.getOldBindng()</code>.</p>
+ * <code>NamingEvent.getOldBinding()</code>.</p>
*
* @param namingEvent the event notification
*/
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ldap/InitialLdapContext.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ldap/InitialLdapContext.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ldap/InitialLdapContext.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ldap/InitialLdapContext.java Wed Jan 3 05:27:38 2007
@@ -57,7 +57,7 @@
"java.naming.ldap.control.connect"; //$NON-NLS-1$
/*
- * The version of this LDAP context implementaton.
+ * The version of this LDAP context implementation.
*/
private static final String THIS_LDAP_VERSION = "3"; //$NON-NLS-1$
@@ -108,7 +108,7 @@
newEnvironment.put(CONNECT_CONTROL, cloneOfCs);
}
- // Set the enviroment property java.naming.ldap.version to be 3
+ // Set the environment property java.naming.ldap.version to be 3
newEnvironment.put(LDAP_VERSION, THIS_LDAP_VERSION);
// Initialize the initial context
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ldap/LdapContext.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ldap/LdapContext.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ldap/LdapContext.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ldap/LdapContext.java Wed Jan 3 05:27:38 2007
@@ -28,7 +28,7 @@
* Extended operations are dealt with by the <code>extendedOperation</code>
* method. All other methods relate to the use of controls. Controls are extra
* information provided to or from an LDAP v3 server. Controls are either of the
- * type <code>Request</code> or <code>Reponse</code>. There is a special type of
+ * type <code>Request</code> or <code>Response</code>. There is a special type of
* request controls known as connection controls.</p>
* <p>
* Connection controls are used by a service provider when connecting or
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ldap/LdapReferralException.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ldap/LdapReferralException.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ldap/LdapReferralException.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/ldap/LdapReferralException.java Wed Jan 3 05:27:38 2007
@@ -72,7 +72,7 @@
*/
/**
- * Gets referal context without environment properties.
+ * Gets referral context without environment properties.
*
* @return referral context
* @throws NamingException
@@ -82,7 +82,7 @@
public abstract Context getReferralContext() throws NamingException;
/**
- * Gets referal context with environment properties.
+ * Gets referral context with environment properties.
*
* @param h environment properties
* @return referral context
@@ -94,7 +94,7 @@
throws NamingException;
/**
- * Gets referal context with environment properties and an array of LDAPv3
+ * Gets referral context with environment properties and an array of LDAPv3
* controls.
*
* @param h environment properties
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/InitialContextFactory.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/InitialContextFactory.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/InitialContextFactory.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/InitialContextFactory.java Wed Jan 3 05:27:38 2007
@@ -40,7 +40,7 @@
/**
* Returns a non-null initial context object on which naming operations can be
* invoked. The specified <code>envmt</code> parameter may be null or may be
- * used to customise the requested <code>Context</code> object. The
+ * used to customize the requested <code>Context</code> object. The
* implementation may clone or copy the <code>envmt</code> object,
* but will not modify the original object.
*
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/NamingManager.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/NamingManager.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/NamingManager.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/NamingManager.java Wed Jan 3 05:27:38 2007
@@ -620,7 +620,7 @@
* </p>
* <p>
* Once a first factory is created, it is used to create the context, and NO
- * further attemptions will be made on other pkg prefixes.
+ * further attempts will be made on other pkg prefixes.
* </p>
*
* @param schema
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/ObjectFactory.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/ObjectFactory.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/ObjectFactory.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/ObjectFactory.java Wed Jan 3 05:27:38 2007
@@ -42,7 +42,7 @@
/**
* Creates an object of the type specified by parameter <code>o</code>,
- * including any reference or location details, customised by the specified
+ * including any reference or location details, customized by the specified
* <code>envmt</code> parameter.
* <p>
* Object factories are specified via environment properties from several
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/ObjectFactoryBuilder.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/ObjectFactoryBuilder.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/ObjectFactoryBuilder.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/ObjectFactoryBuilder.java Wed Jan 3 05:27:38 2007
@@ -41,13 +41,13 @@
*/
/**
- * Returns an <code>ObjectFactory</code> customised by the
+ * Returns an <code>ObjectFactory</code> customized by the
* <code>envmt</code> parameter that is capable of creating instances
* of the object <code>o</code>.
*
* @param o may be null
* @param envmt may be null
- * @return an <code>ObjectFactory</code> customised by the
+ * @return an <code>ObjectFactory</code> customized by the
* <code>envmt</code> parameter that is capable of creating
* instances of the object <code>o</code>.
* @throws NamingException if an object factory could not be created.
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/StateFactory.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/StateFactory.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/StateFactory.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/spi/StateFactory.java Wed Jan 3 05:27:38 2007
@@ -51,7 +51,7 @@
/**
* Returns a new instance of the specified object <code>o</code>
- * containing the state of the object to be bound, customised by the
+ * containing the state of the object to be bound, customized by the
* specified <code>envmt</code> parameter. The name and context
* parameters optionally specify the name of the object being created.
*
@@ -64,7 +64,7 @@
* <code>Context.STATE_FACTORIES</code>. Each state factory in the
* resulting list is used by <code>NamingManager.getStateToBind()</code>
* which invokes this method on each of them until a non-null result is
- * achieved or until the list is exhausted. If a <code>StatetFactory</code>
+ * achieved or until the list is exhausted. If a <code>StateFactory</code>
* throws an exception, it should be passed back to the code that
* invoked <code>NamingManager.getStateToBind()</code> and no further
* state factories in the list are examined. An exception should only be
@@ -86,7 +86,7 @@
* object, but will not modify the original.
* @return either a new instance of the specified object
* <code>o</code> containing the state of the object to be
- * bound, customised by the specified
+ * bound, customized by the specified
* <code>envmt</code> parameter. Or null if no object could
* be created.
* @throws NamingException if it is intended that no other state
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DNSContext.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DNSContext.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DNSContext.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DNSContext.java Wed Jan 3 05:27:38 2007
@@ -1077,7 +1077,7 @@
}
/**
- * Removes the property with given name from the contex's environment.
+ * Removes the property with given name from the context's environment.
* @param name the name of the property to remove
* @see javax.naming.Context#removeFromEnvironment(java.lang.String)
*/
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DomainProtocolException.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DomainProtocolException.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DomainProtocolException.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DomainProtocolException.java Wed Jan 3 05:27:38 2007
@@ -26,7 +26,7 @@
import javax.naming.NamingException;
/**
- * The exception that can be thrown from the DNS Resovler classes.
+ * The exception that can be thrown from the DNS Resolver classes.
*
* @author Alexei Zakharov
* @version $Revision: 1.1.2.4 $
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/ProviderMgr.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/ProviderMgr.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/ProviderMgr.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/ProviderMgr.java Wed Jan 3 05:27:38 2007
@@ -302,7 +302,7 @@
* @param buffer buffer to write to
* @param startIdx index in buffer to start from
* @return updated index
- * @throws NullPointerExcetpion if some argument is null
+ * @throws NullPointerException if some argument is null
* @throws DomainProtocolException if string is too long
*/
public static int writeCharString(String value, byte[] buffer, int startIdx)
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/Resolver.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/Resolver.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/Resolver.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/Resolver.java Wed Jan 3 05:27:38 2007
@@ -246,7 +246,7 @@
// 1. Set workZone to the parent of qName; clear queriedServers.
// 2. Try to get a complete answer for the workZone from the servers
// currently available in SLIST exclude servers from queriedServers.
- // 3. update queiriedServers with "visited servers" info.
+ // 3. update queriedServers with "visited servers" info.
// 4. If the complete answer was received - return it to the user;exit.
// 5. If the delegation was received:
// a) If we already have this server & zone pair in SLIST - skip it.
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/ResolverCache.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/ResolverCache.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/ResolverCache.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/ResolverCache.java Wed Jan 3 05:27:38 2007
@@ -122,7 +122,7 @@
// skip records with wildcards in names or with zero TTL
if (record.getTtl() > 0 && (record.getName().indexOf('*') == -1)) {
entry = new CacheEntry(record, curTime + record.getTtl());
- // remove old occurence if any
+ // remove old occurrence if any
for (int i = 0; i < vect.size(); i++) {
CacheEntry exEntry = vect.elementAt(i);
ResourceRecord exRec = exEntry.rr;
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/SList.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/SList.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/SList.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/SList.java Wed Jan 3 05:27:38 2007
@@ -341,7 +341,7 @@
}
/**
- * Returns all occurences of server with specified
+ * Returns all occurrences of server with specified
* @param name hostname
* @return found server object or <code>null</code> if not found
*/
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/rmi/registry/RegistryContext.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/rmi/registry/RegistryContext.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/rmi/registry/RegistryContext.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/rmi/registry/RegistryContext.java Wed Jan 3 05:27:38 2007
@@ -620,7 +620,7 @@
/**
* Processes object returned from {@linkplain Registry RMI registry}.
- * It unwraps {@link RemoteReference} if neccessary and calls
+ * It unwraps {@link RemoteReference} if necessary and calls
* {@link NamingManager#getObjectInstance(Object, Name, Context, Hashtable)}.
*
* @param name
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/BinaryRefAddrTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/BinaryRefAddrTest.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/BinaryRefAddrTest.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/BinaryRefAddrTest.java Wed Jan 3 05:27:38 2007
@@ -217,7 +217,7 @@
BinaryRefAddr addr1 = new BinaryRefAddr(null, address1);
try {
addr0.equals(addr1);
- fail("Should throw NullPoinerException.");
+ fail("Should throw NullPointerException.");
} catch (NullPointerException e) {
}
}
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/InvalidNameExceptionTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/InvalidNameExceptionTest.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/InvalidNameExceptionTest.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/InvalidNameExceptionTest.java Wed Jan 3 05:27:38 2007
@@ -31,7 +31,7 @@
public class InvalidNameExceptionTest extends TestCase {
/**
- * Test seriallize InvalidNameException: write a InvalidNameException object
+ * Test serialize InvalidNameException: write a InvalidNameException object
* into a byte array, and read from it. the two object should be equals.
*/
public void testSerializable_Simple() throws ClassNotFoundException,
@@ -74,7 +74,7 @@
}
/**
- * Test InvalidNameException seriallization compatibility
+ * Test InvalidNameException serialization compatibility
*/
public void testSerializable_compatibility() throws InvalidNameException,
ClassNotFoundException, IOException {
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/NoInitialContextExceptionTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/NoInitialContextExceptionTest.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/NoInitialContextExceptionTest.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/NoInitialContextExceptionTest.java Wed Jan 3 05:27:38 2007
@@ -32,7 +32,7 @@
public class NoInitialContextExceptionTest extends TestCase {
/**
- * Test seriallize NoInitialContextException: write a
+ * Test serialize NoInitialContextException: write a
* NoInitialContextException object into a byte array, and read from it. The
* two objects should be equal.
*/
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/NotContextExceptionTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/NotContextExceptionTest.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/NotContextExceptionTest.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/NotContextExceptionTest.java Wed Jan 3 05:27:38 2007
@@ -32,7 +32,7 @@
public class NotContextExceptionTest extends TestCase {
/**
- * Test seriallize NotContextException: write a NotContextException object
+ * Test serialize NotContextException: write a NotContextException object
* into a byte array, and read from it. the two object should be equals.
*/
public void testSerializable_Simple() throws ClassNotFoundException,
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/directory/BasicAttributeTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/directory/BasicAttributeTest.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/directory/BasicAttributeTest.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/directory/BasicAttributeTest.java Wed Jan 3 05:27:38 2007
@@ -276,7 +276,7 @@
unorderedAttribute.add(0, value);
try {
unorderedAttribute.add(0, value);
- fail("An value already exsit, throw IllegalStateException.");
+ fail("An value already exist, throw IllegalStateException.");
} catch (IllegalStateException e) {
}
@@ -295,7 +295,7 @@
unorderedAttribute.add(0, persons);
try {
unorderedAttribute.add(0, newPersons);
- fail("An value already exsit, should throw IllegalStateException.");
+ fail("An value already exist, should throw IllegalStateException.");
} catch (IllegalStateException e) {
}
}
@@ -304,7 +304,7 @@
unorderedAttribute.add(0, null);
try {
unorderedAttribute.add(0, null);
- fail("An value already exsit, should throw IllegalStateException.");
+ fail("An value already exist, should throw IllegalStateException.");
} catch (IllegalStateException e) {
}
@@ -725,7 +725,7 @@
public void testRemove2_DuplicateValue() throws NamingException {
Person person = Person.getInstance();
orderedAttribute.add(0, person);
- orderedAttribute.add(1, "singal");
+ orderedAttribute.add(1, "signal");
orderedAttribute.add(2, person);
assertTrue(orderedAttribute.remove(person));
assertEquals(2, orderedAttribute.size());
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/event/NamingExceptionEventTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/event/NamingExceptionEventTest.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/event/NamingExceptionEventTest.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/event/NamingExceptionEventTest.java Wed Jan 3 05:27:38 2007
@@ -57,7 +57,7 @@
try {
event = new NamingExceptionEvent(null, ex);
- fail("IllegalArugmentException expected");
+ fail("IllegalArgumentException expected");
} catch (IllegalArgumentException e) {
}
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/AllTests.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/AllTests.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/AllTests.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/AllTests.java Wed Jan 3 05:27:38 2007
@@ -28,9 +28,9 @@
// $JUnit-BEGIN$
suite.addTestSuite(DirectoryManagerTest.class);
suite.addTestSuite(DirStateFactoryResultTest.class);
- // suite.addTestSuite(NamingManagerExploreTest.class); // run in seperate vm
- // suite.addTestSuite(DirectoryManagerBuilderTest.class); // run in seperate vm
- // suite.addTestSuite(NamingManagerBuilderTest.class); // run in seperate vm
+ // suite.addTestSuite(NamingManagerExploreTest.class); // run in separate vm
+ // suite.addTestSuite(DirectoryManagerBuilderTest.class); // run in separate vm
+ // suite.addTestSuite(NamingManagerBuilderTest.class); // run in separate vm
suite.addTestSuite(NamingManagerTest.class);
suite.addTestSuite(ResolveResultTest.class);
suite.addTestSuite(DirectoryManagerJCKTest.class);
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/DirectoryManagerTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/DirectoryManagerTest.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/DirectoryManagerTest.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/DirectoryManagerTest.java Wed Jan 3 05:27:38 2007
@@ -291,7 +291,7 @@
* factory, and a third one corresponding to a factory that returns null.
* The types of these StringRefAddr is "URL". Before all these
* StringRefAddr, there is a StringRefAddr whose type is neither "URL" nor
- * "url" but contains a vaild URL. Should return an object corresponding to
+ * "url" but contains a valid URL. Should return an object corresponding to
* the URL mentioned in the beginning successfully.
*
* Try the same when the fed object is Referenceable. Replace the address
@@ -541,8 +541,8 @@
/**
* When no factory builder is set and the fed object is neither Reference
* nor Referenceable (e.g., String), and the environment properties contains
- * a vaild factory name, while the fed context's provider resource file also
- * contains a vaild factory name. Should return an object created by the
+ * a valid factory name, while the fed context's provider resource file also
+ * contains a valid factory name. Should return an object created by the
* factory specified by the fed environment properties.
*/
public void testGetObjectInstance_NoBuilder_NotRef_ValidFactory()
@@ -583,8 +583,8 @@
* Before all these StringRefAddr, there is is a MockRefAddr whose type is
* also "url" and contains a valid URL which can be used to create an object
* successfully, and a StringRefAddr whose type is neither "URL" nor "url"
- * but contains a vaild URL. And fed context's provider resource file does
- * contain a vaild factory name following another factory that returns null.
+ * but contains a valid URL. And fed context's provider resource file does
+ * contain a valid factory name following another factory that returns null.
* Should return an object created by the factory specified by the fed
* context's environment properties.
*
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/NamingManagerTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/NamingManagerTest.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/NamingManagerTest.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/NamingManagerTest.java Wed Jan 3 05:27:38 2007
@@ -454,7 +454,7 @@
* factory, and a third one corresponding to a factory that returns null.
* The types of these StringRefAddr is "URL". Before all these
* StringRefAddr, there is a StringRefAddr whose type is neither "URL" nor
- * "url" but contains a vaild URL. Should return an object corresponding to
+ * "url" but contains a valid URL. Should return an object corresponding to
* the URL mentioned in the beginning successfully.
*
* Try the same when the fed object is Referenceable. Replace the address
@@ -696,8 +696,8 @@
/**
* When no factory builder is set and the fed object is neither Reference
* nor Referenceable (e.g., String), and the environment properties contains
- * a vaild factory name, while the fed context's provider resource file also
- * contains a vaild factory name. Should return an object created by the
+ * a valid factory name, while the fed context's provider resource file also
+ * contains a valid factory name. Should return an object created by the
* factory specified by the fed environment properties.
*/
public void testGetObjectInstance_NoBuilder_NotRef_ValidFactory()
@@ -740,8 +740,8 @@
* Before all these StringRefAddr, there is is a MockRefAddr whose type is
* also "url" and contains a valid URL which can be used to create an object
* successfully, and a StringRefAddr whose type is neither "URL" nor "url"
- * but contains a vaild URL. And fed context's provider resource file does
- * contain a vaild factory name following another factory that returns null.
+ * but contains a valid URL. And fed context's provider resource file does
+ * contain a valid factory name following another factory that returns null.
* Should return an object created by the factory specified by the fed
* context's environment properties.
*
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/mock/MockActionController.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/mock/MockActionController.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/mock/MockActionController.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/mock/MockActionController.java Wed Jan 3 05:27:38 2007
@@ -50,7 +50,7 @@
}
if (actions.get(THROW_NAMINGEXCEPTION) != null) {
- throw new NamingException("Mock NamingExcepton");
+ throw new NamingException("Mock NamingException");
}
if (actions.get(THROW_NULLPOINTEREXCEPTION) != null) {
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/mock/ftp/ftpURLContextFactory.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/mock/ftp/ftpURLContextFactory.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/mock/ftp/ftpURLContextFactory.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/spi/mock/ftp/ftpURLContextFactory.java Wed Jan 3 05:27:38 2007
@@ -27,7 +27,7 @@
// import util.Log;
/**
- * Allways succeed.
+ * Always succeed.
*/
public class ftpURLContextFactory implements ObjectFactory {
public Object getObjectInstance(Object o, Name n, Context c, Hashtable<?, ?> h)
Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/util/Log.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/util/Log.java?view=diff&rev=492137&r1=492136&r2=492137
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/util/Log.java (original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/test/java/org/apache/harmony/jndi/tests/javax/naming/util/Log.java Wed Jan 3 05:27:38 2007
@@ -174,7 +174,7 @@
public static void main(String args[]) throws Exception {
- // NamingException ex = new NamingException("test purpsoe");
+ // NamingException ex = new NamingException("test purpose");
// ex.setRemainingName(new CompositeName("RemainingName"));
// ex.setResolvedName(new CompositeName("RemainingName"));
// ex.setResolvedObj(new Integer(1));