Index: doc/vm_doc/html/installdox =================================================================== --- doc/vm_doc/html/installdox.orig 2006-03-20 18:34:46.000000000 +0000 +++ doc/vm_doc/html/installdox 2006-03-24 21:18:04.000000000 +0000 @@ -53,7 +53,7 @@ } elsif ( ! $quiet && $sub ne "_doc" && $sub ne "_cgi" ) { - print "Substituting $subst{$sub} for each occurence of tag file $sub\n"; + print "Substituting $subst{$sub} for each occurrence of tag file $sub\n"; } } Index: modules/archive/src/main/java/java/util/jar/Manifest.java =================================================================== --- modules/archive/src/main/java/java/util/jar/Manifest.java.orig 2006-03-20 18:35:08.000000000 +0000 +++ modules/archive/src/main/java/java/util/jar/Manifest.java 2006-03-24 21:08:28.000000000 +0000 @@ -262,7 +262,7 @@ /** * Contructs a new Manifest instance obtaining Attribute information from - * the paramter InputStream. + * the parameter InputStream. * * @param is * The InputStream to read from Index: modules/archive/src/test/java/tests/api/java/util/zip/DeflaterOutputStreamTest.java =================================================================== --- modules/archive/src/test/java/tests/api/java/util/zip/DeflaterOutputStreamTest.java.orig 2006-03-20 18:34:52.000000000 +0000 +++ modules/archive/src/test/java/tests/api/java/util/zip/DeflaterOutputStreamTest.java 2006-03-24 21:11:18.000000000 +0000 @@ -380,7 +380,7 @@ iis.close(); f1.delete(); - // Test for trying to write more bytes than availble from the array + // Test for trying to write more bytes than available from the array File f2 = new File("writeBII2.tst"); FileOutputStream fos2 = new FileOutputStream(f2); DeflaterOutputStream dos2 = new DeflaterOutputStream(fos2); Index: modules/beans/src/main/java/java/beans/Encoder.java =================================================================== --- modules/beans/src/main/java/java/beans/Encoder.java.orig 2006-03-21 07:48:18.000000000 +0000 +++ modules/beans/src/main/java/java/beans/Encoder.java 2006-03-24 21:04:23.000000000 +0000 @@ -62,7 +62,7 @@ * @com.intel.drl.spec_ref */ public Object remove(Object oldInstance) { - //TODO - notify refernces on node deletion + //TODO - notify references on node deletion if(oldInstance == null) { return null; } Index: modules/beans/src/test/java/org/apache/harmony/tests/beans/ExpressionTest.java =================================================================== --- modules/beans/src/test/java/org/apache/harmony/tests/beans/ExpressionTest.java.orig 2006-03-21 07:48:16.000000000 +0000 +++ modules/beans/src/test/java/org/apache/harmony/tests/beans/ExpressionTest.java 2006-03-24 21:00:51.000000000 +0000 @@ -65,7 +65,7 @@ SampleBean bean = (SampleBean) result; assertEquals("hello", bean.getText()); } else { - fail("Cannot instantialte an instance of Bean class."); + fail("Cannot instantiate an instance of Bean class."); } } catch (Exception e) { System.out.println(e.getClass() + ": " + e.getMessage()); @@ -87,7 +87,7 @@ assertEquals("hello", bean.getText()); assertEquals(theBean, bean.getObject()); } else { - fail("Cannot instantialte an instance of Bean class by " + fail("Cannot instantiate an instance of Bean class by " + "static method."); } } catch (Exception e) { Index: modules/jndi/src/main/java/javax/naming/CompoundName.java =================================================================== --- modules/jndi/src/main/java/javax/naming/CompoundName.java.orig 2006-03-20 18:36:16.000000000 +0000 +++ modules/jndi/src/main/java/javax/naming/CompoundName.java 2006-03-24 21:18:00.000000000 +0000 @@ -71,7 +71,7 @@ * When a non-escaped quote appears at the start of an element it must be matched at the * end. That element can then be said to be quoted. When an escape sequence appears * within a quoted element then it is treated as normal characters unless it precedes - * an occurence of the quote in which case it is assumed that the quoted element + * an occurrence of the quote in which case it is assumed that the quoted element * contains a quote which is escaped.
*
* If the element does not start with a quote, then any quote strings within that
Index: modules/jndi/src/main/java/javax/naming/event/NamingEvent.java
===================================================================
--- modules/jndi/src/main/java/javax/naming/event/NamingEvent.java.orig 2006-03-20 18:36:14.000000000 +0000
+++ modules/jndi/src/main/java/javax/naming/event/NamingEvent.java 2006-03-24 21:09:17.000000000 +0000
@@ -123,7 +123,7 @@
* @param type the constant value that specifies the type of event
* @param newBinding binding after the event. newBinding might
* be null depending on the value of the type
- * paramater as follows:
+ * parameter as follows:
*
OBJECT_ADDED - newBinding cannot be null
@@ -141,7 +141,7 @@
* The names are relative to the eventContext
* @param oldBinding the binding before the event. oldBinding might
* be null depending on the value of the type
- * paramater as follows:
+ * parameter as follows:
* OBJECT_ADDED - oldBinding
Index: modules/luni/src/main/java/java/io/ObjectInputStream.java
===================================================================
--- modules/luni/src/main/java/java/io/ObjectInputStream.java.orig 2006-03-20 18:39:34.000000000 +0000
+++ modules/luni/src/main/java/java/io/ObjectInputStream.java 2006-03-24 21:07:29.000000000 +0000
@@ -1399,7 +1399,7 @@
/**
* Read a new array from the receiver. It is assumed the array has not been
- * read yet (not a cyclic rfeference). Return the array read.
+ * read yet (not a cyclic reference). Return the array read.
*
* @param unshared
* read the object unshared
@@ -1488,7 +1488,7 @@
/**
* Reads a new class from the receiver. It is assumed the class has not been
- * read yet (not a cyclic rfeference). Return the class read.
+ * read yet (not a cyclic reference). Return the class read.
*
* @param unshared
* read the object unshared
@@ -1515,7 +1515,7 @@
/**
* Reads a new class descriptor from the receiver. It is assumed the class
- * descriptor has not been read yet (not a cyclic rfeference). Return the
+ * descriptor has not been read yet (not a cyclic reference). Return the
* class descriptor read.
*
* @param unshared
@@ -1570,7 +1570,7 @@
/**
* Reads a new proxy class descriptor from the receiver. It is assumed the
- * proxy class descriptor has not been read yet (not a cyclic rfeference).
+ * proxy class descriptor has not been read yet (not a cyclic reference).
* Return the proxy class descriptor read.
*
* @return The Class read from the stream.
Index: modules/luni/src/main/java/java/lang/Readable.java
===================================================================
--- modules/luni/src/main/java/java/lang/Readable.java.orig 2006-03-20 18:39:24.000000000 +0000
+++ modules/luni/src/main/java/java/lang/Readable.java 2006-03-24 21:08:32.000000000 +0000
@@ -21,7 +21,7 @@
/**
* Readable marks that the implementing class provides character sequence.
* Readable gives a reference to character sequence from within itself to caller
- * through a CharBuffer paramter of the read
+ * through a CharBuffer parameter of the read
* method.
*/
public interface Readable {
Index: modules/luni/src/main/java/java/util/Stack.java
===================================================================
--- modules/luni/src/main/java/java/util/Stack.java.orig 2006-03-20 18:39:38.000000000 +0000
+++ modules/luni/src/main/java/java/util/Stack.java 2006-03-24 21:17:54.000000000 +0000
@@ -94,9 +94,9 @@
}
/**
- * Returns the index of the first occurence of the object.
+ * Returns the index of the first occurrence of the object.
*
- * @return the index of the first occurence of the object
+ * @return the index of the first occurrence of the object
* @param o
* the object to be searched
*/
Index: modules/luni/src/test/java/tests/api/java/io/PushbackInputStreamTest.java
===================================================================
--- modules/luni/src/test/java/tests/api/java/io/PushbackInputStreamTest.java.orig 2006-03-20 18:39:09.000000000 +0000
+++ modules/luni/src/test/java/tests/api/java/io/PushbackInputStreamTest.java 2006-03-24 21:11:07.000000000 +0000
@@ -71,7 +71,7 @@
assertTrue("Available returned incorrect number of bytes", pis
.available() == fileString.getBytes().length);
} catch (IOException e) {
- fail("Exception during avaialable test: " + e.toString());
+ fail("Exception during available test: " + e.toString());
}
}
Index: modules/luni/src/test/java/tests/api/java/lang/reflect/ConstructorTest.java
===================================================================
--- modules/luni/src/test/java/tests/api/java/lang/reflect/ConstructorTest.java.orig 2006-03-20 18:38:49.000000000 +0000
+++ modules/luni/src/test/java/tests/api/java/lang/reflect/ConstructorTest.java 2006-03-24 21:08:37.000000000 +0000
@@ -177,7 +177,7 @@
fail("Exception during getParameterTypes test:"
+ e.toString());
}
- assertTrue("Incorrect paramter returned", types.length == 0);
+ assertTrue("Incorrect parameter returned", types.length == 0);
Class[] parms = null;
try {
@@ -190,7 +190,7 @@
fail("Exception during getParameterTypes test:"
+ e.toString());
}
- assertTrue("Incorrect paramter returned", types[0].equals(parms[0]));
+ assertTrue("Incorrect parameter returned", types[0].equals(parms[0]));
}
/**
Index: modules/luni/src/test/java/tests/api/java/net/URLTest.java
===================================================================
--- modules/luni/src/test/java/tests/api/java/net/URLTest.java.orig 2006-03-22 20:01:52.000000000 +0000
+++ modules/luni/src/test/java/tests/api/java/net/URLTest.java 2006-03-24 21:17:42.000000000 +0000
@@ -165,7 +165,7 @@
assertTrue("u3b returns a wrong file", u3b.getFile().equals(""));
assertTrue("u3b returns a wrong anchor", u3b.getRef() == null);
- // test for non-port ":" and wierd characters occurences
+ // test for non-port ":" and wierd characters occurrences
u4 = new URL(
"http://www.yahoo5.com/di!@$%^&*()_+r1/di:::r2/test.cgi?point1.html#anchor1");
assertTrue("u4 returns a wrong protocol", u4.getProtocol().equals(
Index: modules/nio/src/main/java/java/nio/channels/spi/AbstractInterruptibleChannel.java
===================================================================
--- modules/nio/src/main/java/java/nio/channels/spi/AbstractInterruptibleChannel.java.orig 2006-03-20 18:36:25.000000000 +0000
+++ modules/nio/src/main/java/java/nio/channels/spi/AbstractInterruptibleChannel.java 2006-03-24 21:03:28.000000000 +0000
@@ -80,7 +80,7 @@
/**
* Start an IO operation that is potentially blocking.
*
- * Once the operation is completed the applicaion should invoke a
+ * Once the operation is completed the application should invoke a
* corresponding end(boolean).
*/
protected final void begin() {
Index: modules/prefs/src/main/java/java/util/prefs/AbstractPreferences.java
===================================================================
--- modules/prefs/src/main/java/java/util/prefs/AbstractPreferences.java.orig 2006-03-20 18:34:48.000000000 +0000
+++ modules/prefs/src/main/java/java/util/prefs/AbstractPreferences.java 2006-03-24 21:12:39.000000000 +0000
@@ -212,7 +212,7 @@
/**
* Flush changes of this node to the backing store. This method should only
- * flush this node, and should not include the descendent nodes. The
+ * flush this node, and should not include the descendant nodes. The
* implementation which want to flush all nodes at once should override
* {@link #flush() flush()} method.
*
@@ -303,7 +303,7 @@
/**
* Synchronize this node with the backing store. This method should only
- * synchronize this node, and should not include the descendent nodes. The
+ * synchronize this node, and should not include the descendant nodes. The
* implementation which want to synchronize all nodes at once should override
* {@link #sync() sync()} method.
*
Index: modules/prefs/src/main/java/java/util/prefs/Preferences.java
===================================================================
--- modules/prefs/src/main/java/java/util/prefs/Preferences.java.orig 2006-03-20 18:34:48.000000000 +0000
+++ modules/prefs/src/main/java/java/util/prefs/Preferences.java 2006-03-24 21:12:27.000000000 +0000
@@ -664,7 +664,7 @@
public abstract void remove (String key);
/**
- * Remove this preferences node and its all descendents. The removal maybe
+ * Remove this preferences node and its all descendants. The removal maybe
* won't be persisted until the flush() method is invoked.
*
* @throws BackingStoreException
@@ -725,8 +725,8 @@
public abstract void removePreferenceChangeListener (PreferenceChangeListener pcl);
/**
- * Synchronize this prefernces node and its descendants' data with the back
- * end prefernces store. The changes of back end should be reflect by this
+ * Synchronize this preferences node and its descendants' data with the back
+ * end preferences store. The changes of back end should be reflect by this
* node and its descendants, meanwhile, the changes of this node and descendants
* should be persisted.
*
Index: modules/regex-beans-math/doc/Regexp.htm
===================================================================
--- modules/regex-beans-math/doc/Regexp.htm.orig 2006-03-20 18:36:43.000000000 +0000
+++ modules/regex-beans-math/doc/Regexp.htm 2006-03-24 21:13:21.000000000 +0000
@@ -263,7 +263,7 @@
MatchResultImpl matchResult) {
...
while (strIndex <= strLength) {
- // call the fast search metod instead of default implementation
+ // call the fast search method instead of default implementation
strIndex = indexOf(testStr, strIndex);
if (strIndex < 0) {
return -1;
Index: modules/security/src/common/javasrc/java/security/KeyStore.java
===================================================================
--- modules/security/src/common/javasrc/java/security/KeyStore.java.orig 2006-03-24 19:09:25.000000000 +0000
+++ modules/security/src/common/javasrc/java/security/KeyStore.java 2006-03-25 08:01:28.000000000 +0000
@@ -50,7 +50,7 @@
// Store KeyStore SERVICE name
private static final String SERVICE = "KeyStore";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// Store KeyStore property name
@@ -113,7 +113,7 @@
public static KeyStore getInstance(String type, String provider)
throws KeyStoreException, NoSuchProviderException {
if ((provider == null) || (provider.length() == 0)) {
- throw new IllegalArgumentException("Proveder is null or empty");
+ throw new IllegalArgumentException("Provider is null or empty");
}
Provider impProvider = Security.getProvider(provider);
if (impProvider == null) {
@@ -136,7 +136,7 @@
throws KeyStoreException {
// check parameters
if (provider == null) {
- throw new IllegalArgumentException("Proveder is null");
+ throw new IllegalArgumentException("Provider is null");
}
if (type == null) {
throw new NullPointerException("type is null");
Index: modules/security/src/common/javasrc/java/security/cert/CertificateFactory.java
===================================================================
--- modules/security/src/common/javasrc/java/security/cert/CertificateFactory.java.orig 2006-03-20 18:38:20.000000000 +0000
+++ modules/security/src/common/javasrc/java/security/cert/CertificateFactory.java 2006-03-25 08:02:23.000000000 +0000
@@ -43,7 +43,7 @@
// Store CertificateFactory service name
private static final String SERVICE = "CertificateFactory";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// Store used provider
@@ -120,7 +120,7 @@
public static final CertificateFactory getInstance(String type,
Provider provider) throws CertificateException {
if (provider == null) {
- throw new IllegalArgumentException("Proveder is null");
+ throw new IllegalArgumentException("Provider is null");
}
if (type == null) {
throw new NullPointerException("type is null");
@@ -223,4 +223,4 @@
throws CRLException {
return spiImpl.engineGenerateCRLs(inStream);
}
-}
\ No newline at end of file
+}
Index: modules/security/src/common/javasrc/java/security/cert/X509CertSelector.java
===================================================================
--- modules/security/src/common/javasrc/java/security/cert/X509CertSelector.java.orig 2006-03-22 16:11:41.000000000 +0000
+++ modules/security/src/common/javasrc/java/security/cert/X509CertSelector.java 2006-03-24 21:14:20.000000000 +0000
@@ -1007,7 +1007,7 @@
return false;
}
if (policies.size() == 0) {
- // if certificate has such exstension than it has at least
+ // if certificate has such extension than it has at least
// one policy in it.
return true;
}
Index: modules/security/src/common/javasrc/org/apache/harmony/security/fortress/Services.java
===================================================================
--- modules/security/src/common/javasrc/org/apache/harmony/security/fortress/Services.java.orig 2006-03-20 18:38:32.000000000 +0000
+++ modules/security/src/common/javasrc/org/apache/harmony/security/fortress/Services.java 2006-03-24 21:02:44.000000000 +0000
@@ -119,7 +119,7 @@
}
/**
- * Insertrs a proveder at a specified position
+ * Inserts a provider at a specified position
*
* @param provider
* @param position
@@ -245,4 +245,4 @@
updateServiceInfo();
}
}
-}
\ No newline at end of file
+}
Index: modules/security/test/common/unit/javax/crypto/EncryptedPrivateKeyInfoTest.java
===================================================================
--- modules/security/test/common/unit/javax/crypto/EncryptedPrivateKeyInfoTest.java.orig 2006-03-20 18:37:47.000000000 +0000
+++ modules/security/test/common/unit/javax/crypto/EncryptedPrivateKeyInfoTest.java 2006-03-24 21:10:25.000000000 +0000
@@ -2732,10 +2732,10 @@
* @throws NoSuchAlgorithmException
*/
private static byte[] getValidEncryptedPrivateKeyInfoEncoding(
- String algName, boolean includingAlgPararameters)
+ String algName, boolean includingAlgParameters)
throws NoSuchAlgorithmException {
String algNameUC = algName.toUpperCase();
- byte[] ret = includingAlgPararameters
+ byte[] ret = includingAlgParameters
? (byte[])validEPKIEncodings.get(algNameUC)
: (byte[])validEPKIEncodingsNP.get(algNameUC);
if (ret != null) {
Index: modules/security/test/common/unit/javax/security/auth/login/LoginContextTest_1.java
===================================================================
--- modules/security/test/common/unit/javax/security/auth/login/LoginContextTest_1.java.orig 2006-03-20 18:38:01.000000000 +0000
+++ modules/security/test/common/unit/javax/security/auth/login/LoginContextTest_1.java 2006-03-25 08:11:06.000000000 +0000
@@ -543,7 +543,7 @@
}
/**
- * A special-purpose LoginModule whose operations are always successfull.
+ * A special-purpose LoginModule whose operations are always successful.
*/
public static final class TestLoginModule_Success extends TestLoginModule {
public TestLoginModule_Success() {
@@ -863,7 +863,7 @@
/**
* Tests LoginContext.login()
- * Second attemt to login() on context already logged, must be successfull.
+ * Second attempt to login() on context already logged, must be successful.
* This is how the RI works.
*/
public void testLogin_00() throws Exception {
@@ -1124,7 +1124,7 @@
assertTrue(TestLoginModule.size() == 0);
// fail nowhere
TestLoginModule.staticMask = 0;
- lc.login(); // must be successfull now
+ lc.login(); // must be successful now
assertTrue(TestLoginModule.size() == 1);
assertTrue(TestLoginModule.get(0).initCalled);
assertTrue(TestLoginModule.get(0).loginCalled);
@@ -1186,7 +1186,7 @@
/**
* Tests LoginContext.login()
- * If no class found, then following modules must not be instantizted
+ * If no class found, then following modules must not be instantiated
*/
public void testLogin_07() throws Exception {
TestConfig.addInstalledOptional("TestLoginModule_Success");
@@ -1786,7 +1786,7 @@
/**
* Tests LoginContext.getSubject()
- * Must return null if no subject was provided by user an no login attemt
+ * Must return null if no subject was provided by user an no login attempt
* was made.
*/
public void testGetSubject_00() throws Exception {
@@ -1798,7 +1798,7 @@
/**
* Tests LoginContext.getSubject()
- * Must return subject created after succesfull login.
+ * Must return subject created after succesful login.
*/
public void testGetSubject_01() throws Exception {
TestConfig.addInstalledRequired("TestLoginModule_Success");
@@ -1811,7 +1811,7 @@
/**
* Tests LoginContext.getSubject()
- * Must return null until succesfull login().
+ * Must return null until succesful login().
*/
public void testGetSubject_02() throws Exception {
TestConfig.addInstalledRequired("TestLoginModule");
Index: modules/security/test/common/unit/org/apache/harmony/security/TestCertUtils.java
===================================================================
--- modules/security/test/common/unit/org/apache/harmony/security/TestCertUtils.java.orig 2006-03-20 18:37:44.000000000 +0000
+++ modules/security/test/common/unit/org/apache/harmony/security/TestCertUtils.java 2006-03-24 21:15:46.000000000 +0000
@@ -427,7 +427,7 @@
*
* TestX509CErtificate.
* Does nothing interesting, but
- * a) is not abstaract, so it can be instantiated
+ * a) is not abstract, so it can be instantiated
* b) returns Encoded form
*
*/
Index: modules/nio_char/src/main/java/java/nio/charset/Charset.java
===================================================================
--- modules/nio_char/src/main/java/java/nio/charset/Charset.java.orig 2006-03-20 18:35:15.000000000 +0000
+++ modules/nio_char/src/main/java/java/nio/charset/Charset.java 2006-03-24 21:20:20.000000000 +0000
@@ -647,7 +647,7 @@
}
/**
- * Encodes a string and outputs to a byte buffer that is to be retured.
+ * Encodes a string and outputs to a byte buffer that is to be returned.
*
* The default action in case of encoding errors is
* CodingErrorAction.REPLACE.
@@ -663,7 +663,7 @@
/**
* Decodes the content of the give byte buffer and outputs to a character
- * buffer that is to be retured.
+ * buffer that is to be returned.
*
* The default action in case of decoding errors is
* CodingErrorAction.REPLACE.
Index: modules/sql/src/main/java/java/sql/ResultSet.java
===================================================================
--- modules/sql/src/main/java/java/sql/ResultSet.java.orig 2006-03-20 18:37:03.000000000 +0000
+++ modules/sql/src/main/java/java/sql/ResultSet.java 2006-03-24 21:21:12.000000000 +0000
@@ -835,7 +835,7 @@
/**
* Gets the Statement that produced this ResultSet. If the ResultSet was not
- * created by a Statement (eg it was retuned fromone of the DatabaseMetaData
+ * created by a Statement (eg it was returned from one of the DatabaseMetaData
* methods), null is returned.
*
* @return the Statement which produced this ResultSet, or null if the
Index: modules/text/src/main/java/java/text/BreakIterator.java
===================================================================
--- modules/text/src/main/java/java/text/BreakIterator.java.orig 2006-03-22 16:11:42.000000000 +0000
+++ modules/text/src/main/java/java/text/BreakIterator.java 2006-03-24 21:20:40.000000000 +0000
@@ -37,7 +37,7 @@
*
getSentenceInstance() returns a BreakIterator that iterate the
* sentence-breaks.getLineInstance() retuens a BreakIterator that iterate the
+ * getLineInstance() returns a BreakIterator that iterate the
* line-breaks which can be used to wrap lines. This iterator can handle whitespaces,
* hyphens and punctuations.
* NamingException.
+ * @return the string representation of this NamingException.
*/
public String toString(boolean flag) {
return toStringImpl(flag);
@@ -345,7 +345,7 @@
*/
/**
- * Returns the string represenatation of this NamingException.
+ * Returns the string representation of this NamingException.
* The string contains the string representation of this exception together
* with details of the exception which caused this and any remaining
* portion of the Name.
Index: modules/luni/src/main/java/java/lang/CharSequence.java
===================================================================
--- modules/luni/src/main/java/java/lang/CharSequence.java.orig 2006-03-20 18:39:24.000000000 +0000
+++ modules/luni/src/main/java/java/lang/CharSequence.java 2006-03-25 07:53:36.000000000 +0000
@@ -17,7 +17,7 @@
/**
- * The CharSequence interface represets an ordered set of characters and the
+ * The CharSequence interface represents an ordered set of characters and the
* functions to probe them.
*/
public interface CharSequence {
Index: modules/luni/src/main/java/java/lang/Integer.java
===================================================================
--- modules/luni/src/main/java/java/lang/Integer.java.orig 2006-03-20 18:39:24.000000000 +0000
+++ modules/luni/src/main/java/java/lang/Integer.java 2006-03-25 07:53:27.000000000 +0000
@@ -226,7 +226,7 @@
/**
* Answers an Integer representing the integer value of the property named
* by the argument. If the property could not be found, or its value could
- * not be parsed as an integer, answer an Integer reperesenting the second
+ * not be parsed as an integer, answer an Integer representing the second
* argument.
*
* @param string
Index: modules/luni/src/main/java/java/lang/Long.java
===================================================================
--- modules/luni/src/main/java/java/lang/Long.java.orig 2006-03-20 18:39:24.000000000 +0000
+++ modules/luni/src/main/java/java/lang/Long.java 2006-03-25 07:53:57.000000000 +0000
@@ -191,7 +191,7 @@
/**
* Answers a Long representing the long value of the property named by the
* argument. If the property could not be found, or its value could not be
- * parsed as a long, answer a Long reperesenting the second argument.
+ * parsed as a long, answer a Long representing the second argument.
*
* @param string
* The name of the desired long property.
Index: modules/security/test/common/unit/java/security/IdentityTest.java
===================================================================
--- modules/security/test/common/unit/java/security/IdentityTest.java.orig 2006-03-20 18:37:40.000000000 +0000
+++ modules/security/test/common/unit/java/security/IdentityTest.java 2006-03-25 07:54:05.000000000 +0000
@@ -303,7 +303,7 @@
}
/**
- * verify Identity.toString(boolean) return string represenation of identity
+ * verify Identity.toString(boolean) return string represention of identity
*/
public void testToStringboolean() throws Exception {
new IdentityStub("aaa").toString(false);
Index: modules/luni/src/main/java/java/io/File.java
===================================================================
--- modules/luni/src/main/java/java/io/File.java.orig 2006-03-20 18:39:34.000000000 +0000
+++ modules/luni/src/main/java/java/io/File.java 2006-03-25 07:58:05.000000000 +0000
@@ -985,7 +985,7 @@
* directory already exists, answer false. If the directories were created
* successfully, answer true.
*
- * @return true if the neccessary directories were created,
+ * @return true if the necessary directories were created,
* false otherwise.
*
*/
Index: modules/luni/src/test/java/tests/api/java/io/FileTest.java
===================================================================
--- modules/luni/src/test/java/tests/api/java/io/FileTest.java.orig 2006-03-20 18:39:09.000000000 +0000
+++ modules/luni/src/test/java/tests/api/java/io/FileTest.java 2006-03-25 07:57:55.000000000 +0000
@@ -839,7 +839,7 @@
.equals(base + "temp.tst"));
// Finding a non-existent directory for tests 3 and 4
- // This is necessay because getCanonicalPath is case sensitive and
+ // This is necessary because getCanonicalPath is case sensitive and
// could
// cause a failure in the test if the directory exists but with
// different
Index: modules/security/src/windows/javasrc/org/apache/harmony/security/x/security/auth/module/NTSystem.java
===================================================================
--- modules/security/src/windows/javasrc/org/apache/harmony/security/x/security/auth/module/NTSystem.java.orig 2006-03-20 18:38:43.000000000 +0000
+++ modules/security/src/windows/javasrc/org/apache/harmony/security/x/security/auth/module/NTSystem.java 2006-03-25 07:57:29.000000000 +0000
@@ -54,7 +54,7 @@
private boolean debugNative;
/**
- * The default ctor. Loads jaaswin library if neccessary.
+ * The default ctor. Loads jaaswin library if necessary.
* @throws UnsatisfiedLinkError if library jaaswin not found
*/
public NTSystem() {
Index: modules/security/test/common/unit/java/security/CodeSourceTest.java
===================================================================
--- modules/security/test/common/unit/java/security/CodeSourceTest.java.orig 2006-03-20 18:37:40.000000000 +0000
+++ modules/security/test/common/unit/java/security/CodeSourceTest.java 2006-03-25 07:57:22.000000000 +0000
@@ -416,7 +416,7 @@
// remove all providers for x509
// 'for' loop here for the sake of avoding endless loop - well, just
// in case if something is wrong with add/remove machinery.
- // '100' seems reasonable big to remove all neccessary providers
+ // '100' seems reasonable big to remove all necessary providers
// ...
for (int i = 0; i < 100; i++) {
try {
Index: native-src/shared/zip/zipsup.c
===================================================================
--- native-src/shared/zip/zipsup.c.orig 2006-03-20 18:40:14.000000000 +0000
+++ native-src/shared/zip/zipsup.c 2006-03-25 07:57:20.000000000 +0000
@@ -678,7 +678,7 @@
current += sizeof (U_32); /* skip external attributes field */
ZIP_NEXT_U32 (localHeaderOffset, current);
- /* Increase filename buffer size if neccessary. */
+ /* Increase filename buffer size if necessary. */
if (filenameSize < entry.filenameLength + 1)
{
hymem_free_memory (filename);
Index: modules/security/src/common/javasrc/java/security/AlgorithmParameterGenerator.java
===================================================================
--- modules/security/src/common/javasrc/java/security/AlgorithmParameterGenerator.java.orig 2006-03-20 18:38:23.000000000 +0000
+++ modules/security/src/common/javasrc/java/security/AlgorithmParameterGenerator.java 2006-03-25 08:01:36.000000000 +0000
@@ -36,7 +36,7 @@
// Store spi service name
private static final String SERVICE = "AlgorithmParameterGenerator";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// Store SecureRandom
@@ -180,4 +180,4 @@
public final AlgorithmParameters generateParameters() {
return spiImpl.engineGenerateParameters();
}
-}
\ No newline at end of file
+}
Index: modules/security/src/common/javasrc/java/security/AlgorithmParameters.java
===================================================================
--- modules/security/src/common/javasrc/java/security/AlgorithmParameters.java.orig 2006-03-20 18:38:23.000000000 +0000
+++ modules/security/src/common/javasrc/java/security/AlgorithmParameters.java 2006-03-25 08:01:33.000000000 +0000
@@ -40,7 +40,7 @@
private static final String SEVICE = "AlgorithmParameters";
/**
- * Used to accesess common engine functionality
+ * Used to access common engine functionality
*/
private static Engine engine = new Engine(SEVICE);
@@ -228,4 +228,4 @@
}
return spiImpl.engineToString();
}
-}
\ No newline at end of file
+}
Index: modules/security/src/common/javasrc/java/security/KeyFactory.java
===================================================================
--- modules/security/src/common/javasrc/java/security/KeyFactory.java.orig 2006-03-20 18:38:23.000000000 +0000
+++ modules/security/src/common/javasrc/java/security/KeyFactory.java 2006-03-25 08:01:30.000000000 +0000
@@ -40,7 +40,7 @@
private Provider provider;
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
static private Engine engine = new Engine(SERVICE);
// The SPI implementation.
Index: modules/security/src/common/javasrc/java/security/KeyPairGenerator.java
===================================================================
--- modules/security/src/common/javasrc/java/security/KeyPairGenerator.java.orig 2006-03-20 18:38:23.000000000 +0000
+++ modules/security/src/common/javasrc/java/security/KeyPairGenerator.java 2006-03-25 08:01:26.000000000 +0000
@@ -36,7 +36,7 @@
// Store KeyPairGenerator SERVICE name
private static final String SERVICE = "KeyPairGenerator";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// Store SecureRandom
@@ -233,4 +233,4 @@
}
-}
\ No newline at end of file
+}
Index: modules/security/src/common/javasrc/java/security/MessageDigest.java
===================================================================
--- modules/security/src/common/javasrc/java/security/MessageDigest.java.orig 2006-03-20 18:38:23.000000000 +0000
+++ modules/security/src/common/javasrc/java/security/MessageDigest.java 2006-03-25 08:01:38.000000000 +0000
@@ -36,7 +36,7 @@
// The service name
private static final String SERVICE = "MessageDigest";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// The provider
@@ -327,4 +327,4 @@
}
}
}
-}
\ No newline at end of file
+}
Index: modules/security/src/common/javasrc/java/security/SecureRandom.java
===================================================================
--- modules/security/src/common/javasrc/java/security/SecureRandom.java.orig 2006-03-20 18:38:23.000000000 +0000
+++ modules/security/src/common/javasrc/java/security/SecureRandom.java 2006-03-25 08:01:40.000000000 +0000
@@ -45,7 +45,7 @@
// The service name.
private static final transient String SERVICE = "SecureRandom";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static transient Engine engine = new Engine(SERVICE);
/**
Index: modules/security/src/common/javasrc/java/security/Signature.java
===================================================================
--- modules/security/src/common/javasrc/java/security/Signature.java.orig 2006-03-20 18:38:23.000000000 +0000
+++ modules/security/src/common/javasrc/java/security/Signature.java 2006-03-25 08:01:32.000000000 +0000
@@ -41,7 +41,7 @@
// The service name.
private static final String SERVICE = "Signature";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// The provider
@@ -491,4 +491,4 @@
}
}
}
-}
\ No newline at end of file
+}
Index: modules/security/src/common/javasrc/java/security/cert/CertPathBuilder.java
===================================================================
--- modules/security/src/common/javasrc/java/security/cert/CertPathBuilder.java.orig 2006-03-20 18:38:20.000000000 +0000
+++ modules/security/src/common/javasrc/java/security/cert/CertPathBuilder.java 2006-03-25 08:01:24.000000000 +0000
@@ -41,7 +41,7 @@
// Store CertPathBuilder service name
private static final String SERVICE = "CertPathBuilder";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// Store default property name
@@ -166,4 +166,4 @@
);
return (defaultType != null ? defaultType : DEFAULTPROPERTY);
}
-}
\ No newline at end of file
+}
Index: modules/security/src/common/javasrc/java/security/cert/CertPathValidator.java
===================================================================
--- modules/security/src/common/javasrc/java/security/cert/CertPathValidator.java.orig 2006-03-20 18:38:20.000000000 +0000
+++ modules/security/src/common/javasrc/java/security/cert/CertPathValidator.java 2006-03-25 08:02:08.000000000 +0000
@@ -40,7 +40,7 @@
// Store CertPathValidator implementation service name
private static final String SERVICE = "CertPathValidator";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// Store default property name
@@ -165,4 +165,4 @@
);
return (defaultType != null ? defaultType : DEFAULTPROPERTY);
}
-}
\ No newline at end of file
+}
Index: modules/security/src/common/javasrc/java/security/cert/CertStore.java
===================================================================
--- modules/security/src/common/javasrc/java/security/cert/CertStore.java.orig 2006-03-20 18:38:20.000000000 +0000
+++ modules/security/src/common/javasrc/java/security/cert/CertStore.java 2006-03-25 08:02:09.000000000 +0000
@@ -42,7 +42,7 @@
// Store spi implementation service name
private static final String SERVICE = "CertStore";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// Store default property name
@@ -209,4 +209,4 @@
);
return (defaultType == null ? DEFAULTPROPERTY : defaultType);
}
-}
\ No newline at end of file
+}
Index: modules/security/src/common/javasrc/javax/crypto/Cipher.java
===================================================================
--- modules/security/src/common/javasrc/javax/crypto/Cipher.java.orig 2006-03-20 18:38:37.000000000 +0000
+++ modules/security/src/common/javasrc/javax/crypto/Cipher.java 2006-03-25 08:01:47.000000000 +0000
@@ -98,7 +98,7 @@
private static final String SERVICE = "Cipher";
/**
- * Used to accesess common engine functionality
+ * Used to access common engine functionality
*/
private static Engine engine = new Engine(SERVICE);
@@ -766,4 +766,4 @@
//FIXME jurisdiction policy files
return null;
}
-}
\ No newline at end of file
+}
Index: modules/security/src/common/javasrc/javax/crypto/ExemptionMechanism.java
===================================================================
--- modules/security/src/common/javasrc/javax/crypto/ExemptionMechanism.java.orig 2006-03-20 18:38:37.000000000 +0000
+++ modules/security/src/common/javasrc/javax/crypto/ExemptionMechanism.java 2006-03-25 08:01:43.000000000 +0000
@@ -43,7 +43,7 @@
// Store spi implementation service name
private static final String SERVICE = "ExemptionMechanism";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// Warning for reporting about not initializes ExemptionMechanism
@@ -292,4 +292,4 @@
new RuntimeException(e);
}
}
-}
\ No newline at end of file
+}
Index: modules/security/src/common/javasrc/javax/crypto/KeyAgreement.java
===================================================================
--- modules/security/src/common/javasrc/javax/crypto/KeyAgreement.java.orig 2006-03-20 18:38:37.000000000 +0000
+++ modules/security/src/common/javasrc/javax/crypto/KeyAgreement.java 2006-03-25 08:01:53.000000000 +0000
@@ -44,7 +44,7 @@
// Store spi implementation service name
private static final String SERVICE = "KeyAgreement";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// Store SecureRandom
@@ -210,4 +210,4 @@
return spiImpl.engineGenerateSecret(algorithm);
}
-}
\ No newline at end of file
+}
Index: modules/security/src/common/javasrc/javax/crypto/KeyGenerator.java
===================================================================
--- modules/security/src/common/javasrc/javax/crypto/KeyGenerator.java.orig 2006-03-20 18:38:37.000000000 +0000
+++ modules/security/src/common/javasrc/javax/crypto/KeyGenerator.java 2006-03-25 08:01:45.000000000 +0000
@@ -42,7 +42,7 @@
// Store spi implementation service name
private static final String SERVICE = "KeyGenerator";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// Store SecureRandom
@@ -185,4 +185,4 @@
public final void init(SecureRandom random) {
spiImpl.engineInit(random);
}
-}
\ No newline at end of file
+}
Index: modules/security/src/common/javasrc/javax/crypto/Mac.java
===================================================================
--- modules/security/src/common/javasrc/javax/crypto/Mac.java.orig 2006-03-20 18:38:37.000000000 +0000
+++ modules/security/src/common/javasrc/javax/crypto/Mac.java 2006-03-25 08:01:49.000000000 +0000
@@ -44,7 +44,7 @@
// Store spi implementation service name
private static final String SERVICE = "Mac";
- //Used to accesess common engine functionality
+ //Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// Warning for reporting about not initialized Mac
@@ -308,4 +308,4 @@
mac.isInitMac = this.isInitMac;
return mac;
}
-}
\ No newline at end of file
+}
Index: modules/security/src/common/javasrc/javax/crypto/SecretKeyFactory.java
===================================================================
--- modules/security/src/common/javasrc/javax/crypto/SecretKeyFactory.java.orig 2006-03-20 18:38:37.000000000 +0000
+++ modules/security/src/common/javasrc/javax/crypto/SecretKeyFactory.java 2006-03-25 08:01:41.000000000 +0000
@@ -41,7 +41,7 @@
// Store spi implementation service name
private static final String SERVICE = "SecretKeyFactory";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// Store used provider
@@ -159,4 +159,4 @@
return spiImpl.engineTranslateKey(key);
}
-}
\ No newline at end of file
+}
Index: modules/x-net/src/main/java/javax/net/ssl/KeyManagerFactory.java
===================================================================
--- modules/x-net/src/main/java/javax/net/ssl/KeyManagerFactory.java.orig 2006-03-20 18:36:57.000000000 +0000
+++ modules/x-net/src/main/java/javax/net/ssl/KeyManagerFactory.java 2006-03-25 08:02:03.000000000 +0000
@@ -43,7 +43,7 @@
// Store KeyManagerFactory service name
private static final String SERVICE = "KeyManagerFactory";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// Store default property name
@@ -183,4 +183,4 @@
}
);
}
-}
\ No newline at end of file
+}
Index: modules/x-net/src/main/java/javax/net/ssl/SSLContext.java
===================================================================
--- modules/x-net/src/main/java/javax/net/ssl/SSLContext.java.orig 2006-03-20 18:36:57.000000000 +0000
+++ modules/x-net/src/main/java/javax/net/ssl/SSLContext.java 2006-03-25 08:02:06.000000000 +0000
@@ -40,7 +40,7 @@
// StoreSSLContext service name
private static final String SERVICE = "SSLContext";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// Storeused provider
@@ -195,4 +195,4 @@
public final SSLSessionContext getClientSessionContext() {
return spiImpl.engineGetClientSessionContext();
}
-}
\ No newline at end of file
+}
Index: modules/x-net/src/main/java/javax/net/ssl/TrustManagerFactory.java
===================================================================
--- modules/x-net/src/main/java/javax/net/ssl/TrustManagerFactory.java.orig 2006-03-20 18:36:57.000000000 +0000
+++ modules/x-net/src/main/java/javax/net/ssl/TrustManagerFactory.java 2006-03-25 08:02:04.000000000 +0000
@@ -42,7 +42,7 @@
// Store TrustManager service name
private static final String SERVICE = "TrustManagerFactory";
- // Used to accesess common engine functionality
+ // Used to access common engine functionality
private static Engine engine = new Engine(SERVICE);
// Store default property name
@@ -180,4 +180,4 @@
}
);
}
-}
\ No newline at end of file
+}
Index: modules/beans/src/main/java/java/beans/beancontext/BeanContextSupport.java
===================================================================
--- modules/beans/src/main/java/java/beans/beancontext/BeanContextSupport.java.orig 2006-03-22 20:01:52.000000000 +0000
+++ modules/beans/src/main/java/java/beans/beancontext/BeanContextSupport.java 2006-03-25 08:13:44.000000000 +0000
@@ -479,8 +479,8 @@
Collection col = new ArrayList();
// Remove all children from BeanContext that are in the collection
- // one by one. This operation is successfull if all the
- // removals succeded
+ // one by one. This operation is successful if all the
+ // removals succeeded
for (Iterator i = iterator(); i.hasNext(); ) {
try {
Object next = i.next();
@@ -1066,8 +1066,8 @@
Collection col = new ArrayList();
// Remove all children from BeanContext that are in the collection
- // one by one. This operation is successfull if all the
- // removals succeded
+ // one by one. This operation is successful if all the
+ // removals succeeded
for (Iterator i = c.iterator(); i.hasNext(); ) {
try {
Object next = i.next();
@@ -1153,7 +1153,7 @@
// Remove all children from BeanContext that are not in the
// collection
- // This operation is successfull if all the removals succeded
+ // This operation is successful if all the removals succeeded
for (Iterator i = iterator(); i.hasNext(); ) {
Object nextKey = i.next();
Object nextValue = this.children.get(nextKey);
Index: modules/kernel/src/main/java/java/lang/Thread.java
===================================================================
--- modules/kernel/src/main/java/java/lang/Thread.java.orig 2006-03-20 18:34:49.000000000 +0000
+++ modules/kernel/src/main/java/java/lang/Thread.java 2006-03-25 08:05:29.000000000 +0000
@@ -645,7 +645,7 @@
* This is a no-op if the receiver is suspended. If the receiver
* isAlive() however, suspended it until
* resume() is sent to it. Suspend requests are not queued,
- * which means that N requests are equivalenet to just one - only one resume
+ * which means that N requests are equivalent to just one - only one resume
* request is needed in this case.
*
* @exception SecurityException
Index: modules/luni/src/main/java/java/io/PipedReader.java
===================================================================
--- modules/luni/src/main/java/java/io/PipedReader.java.orig 2006-03-20 18:39:34.000000000 +0000
+++ modules/luni/src/main/java/java/io/PipedReader.java 2006-03-25 08:12:54.000000000 +0000
@@ -223,7 +223,7 @@
}
/*
- * Did the read fully suceed in the previous copy or is the
+ * Did the read fully succeed in the previous copy or is the
* buffer empty?
*/
if (copyLength == count || in == -1)
Index: modules/luni/src/main/java/java/net/UnknownHostException.java
===================================================================
--- modules/luni/src/main/java/java/net/UnknownHostException.java.orig 2006-03-20 18:39:30.000000000 +0000
+++ modules/luni/src/main/java/java/net/UnknownHostException.java 2006-03-25 08:07:20.000000000 +0000
@@ -19,7 +19,7 @@
import java.io.IOException;
/**
- * This UnknownHostException is thrown when an IP address resolution is attemped
+ * This UnknownHostException is thrown when an IP address resolution is attempted
* and no host or resolver may be found.
*/
public class UnknownHostException extends IOException {
Index: modules/luni/src/test/java/tests/api/java/io/PipedOutputStreamTest.java
===================================================================
--- modules/luni/src/test/java/tests/api/java/io/PipedOutputStreamTest.java.orig 2006-03-20 18:39:09.000000000 +0000
+++ modules/luni/src/test/java/tests/api/java/io/PipedOutputStreamTest.java 2006-03-25 08:09:10.000000000 +0000
@@ -125,7 +125,7 @@
return;
}
fail(
- "Failed to throw exception attemting connect on already connected stream");
+ "Failed to throw exception attempting connect on already connected stream");
}
Index: modules/luni/src/test/java/tests/api/java/util/ArraysTest.java
===================================================================
--- modules/luni/src/test/java/tests/api/java/util/ArraysTest.java.orig 2006-03-20 18:39:13.000000000 +0000
+++ modules/luni/src/test/java/tests/api/java/util/ArraysTest.java 2006-03-25 08:13:16.000000000 +0000
@@ -103,10 +103,10 @@
for (byte counter = 0; counter < arraySize; counter++)
assertTrue("Binary search on byte[] answered incorrect position",
Arrays.binarySearch(byteArray, counter) == counter);
- assertTrue("Binary search suceeded for value not present in array 1",
+ assertTrue("Binary search succeeded for value not present in array 1",
Arrays.binarySearch(intArray, (byte) -1) == -1);
assertTrue(
- "Binary search suceeded for value not present in array 2",
+ "Binary search succeeded for value not present in array 2",
Arrays.binarySearch(intArray, (byte) arraySize) == -(arraySize + 1));
for (byte counter = 0; counter < arraySize; counter++)
byteArray[counter] -= 50;
@@ -125,10 +125,10 @@
assertTrue(
"Binary search on char[] answered incorrect position",
Arrays.binarySearch(charArray, (char) (counter + 1)) == counter);
- assertTrue("Binary search suceeded for value not present in array 1",
+ assertTrue("Binary search succeeded for value not present in array 1",
Arrays.binarySearch(charArray, '\u0000') == -1);
assertTrue(
- "Binary search suceeded for value not present in array 2",
+ "Binary search succeeded for value not present in array 2",
Arrays.binarySearch(charArray, (char) (arraySize + 1)) == -(arraySize + 1));
}
@@ -141,10 +141,10 @@
assertTrue(
"Binary search on double[] answered incorrect position",
Arrays.binarySearch(doubleArray, (double) counter) == (double) counter);
- assertTrue("Binary search suceeded for value not present in array 1",
+ assertTrue("Binary search succeeded for value not present in array 1",
Arrays.binarySearch(doubleArray, (double) -1) == -1);
assertTrue(
- "Binary search suceeded for value not present in array 2",
+ "Binary search succeeded for value not present in array 2",
Arrays.binarySearch(doubleArray, (double) arraySize) == -(arraySize + 1));
for (int counter = 0; counter < arraySize; counter++)
doubleArray[counter] -= (double) 50;
@@ -175,10 +175,10 @@
assertTrue(
"Binary search on float[] answered incorrect position",
Arrays.binarySearch(floatArray, (float) counter) == (float) counter);
- assertTrue("Binary search suceeded for value not present in array 1",
+ assertTrue("Binary search succeeded for value not present in array 1",
Arrays.binarySearch(floatArray, (float) -1) == -1);
assertTrue(
- "Binary search suceeded for value not present in array 2",
+ "Binary search succeeded for value not present in array 2",
Arrays.binarySearch(floatArray, (float) arraySize) == -(arraySize + 1));
for (int counter = 0; counter < arraySize; counter++)
floatArray[counter] -= (float) 50;
@@ -207,9 +207,9 @@
for (int counter = 0; counter < arraySize; counter++)
assertTrue("Binary search on int[] answered incorrect position",
Arrays.binarySearch(intArray, counter) == counter);
- assertTrue("Binary search suceeded for value not present in array 1",
+ assertTrue("Binary search succeeded for value not present in array 1",
Arrays.binarySearch(intArray, -1) == -1);
- assertTrue("Binary search suceeded for value not present in array 2",
+ assertTrue("Binary search succeeded for value not present in array 2",
Arrays.binarySearch(intArray, arraySize) == -(arraySize + 1));
for (int counter = 0; counter < arraySize; counter++)
intArray[counter] -= 50;
@@ -227,10 +227,10 @@
for (long counter = 0; counter < arraySize; counter++)
assertTrue("Binary search on long[] answered incorrect position",
Arrays.binarySearch(longArray, counter) == counter);
- assertTrue("Binary search suceeded for value not present in array 1",
+ assertTrue("Binary search succeeded for value not present in array 1",
Arrays.binarySearch(longArray, (long) -1) == -1);
assertTrue(
- "Binary search suceeded for value not present in array 2",
+ "Binary search succeeded for value not present in array 2",
Arrays.binarySearch(longArray, (long) arraySize) == -(arraySize + 1));
for (long counter = 0; counter < arraySize; counter++)
longArray[(int) counter] -= (long) 50;
@@ -251,10 +251,10 @@
assertTrue(
"Binary search on Object[] answered incorrect position",
Arrays.binarySearch(objectArray, objArray[counter]) == counter);
- assertTrue("Binary search suceeded for value not present in array 1",
+ assertTrue("Binary search succeeded for value not present in array 1",
Arrays.binarySearch(objectArray, new Integer(-1)) == -1);
assertTrue(
- "Binary search suceeded for value not present in array 2",
+ "Binary search succeeded for value not present in array 2",
Arrays.binarySearch(objectArray, new Integer(arraySize)) == -(arraySize + 1));
}
@@ -269,10 +269,10 @@
for (int counter = 0; counter < arraySize; counter++)
objectArray[counter] = objArray[arraySize - counter - 1];
assertTrue(
- "Binary search suceeded for value not present in array 1",
+ "Binary search succeeded for value not present in array 1",
Arrays.binarySearch(objectArray, new Integer(-1), comp) == -(arraySize + 1));
assertTrue(
- "Binary search suceeded for value not present in array 2",
+ "Binary search succeeded for value not present in array 2",
Arrays.binarySearch(objectArray, new Integer(arraySize), comp) == -1);
for (int counter = 0; counter < arraySize; counter++)
assertTrue(
@@ -289,10 +289,10 @@
for (short counter = 0; counter < arraySize; counter++)
assertTrue("Binary search on short[] answered incorrect position",
Arrays.binarySearch(shortArray, counter) == counter);
- assertTrue("Binary search suceeded for value not present in array 1",
+ assertTrue("Binary search succeeded for value not present in array 1",
Arrays.binarySearch(intArray, (short) -1) == -1);
assertTrue(
- "Binary search suceeded for value not present in array 2",
+ "Binary search succeeded for value not present in array 2",
Arrays.binarySearch(intArray, (short) arraySize) == -(arraySize + 1));
for (short counter = 0; counter < arraySize; counter++)
shortArray[counter] -= 50;
Index: modules/regex-beans-math/src/common/javasrc/java/util/regex/MatchResultImpl.java
===================================================================
--- modules/regex-beans-math/src/common/javasrc/java/util/regex/MatchResultImpl.java.orig 2006-03-20 18:36:49.000000000 +0000
+++ modules/regex-beans-math/src/common/javasrc/java/util/regex/MatchResultImpl.java 2006-03-25 08:11:09.000000000 +0000
@@ -151,7 +151,7 @@
}
/*
- * This method being called after any successfull match; For now it's being
+ * This method being called after any successful match; For now it's being
* used to check zero group for empty match;
*/
public void finalizeMatch() {
Index: modules/security/src/common/javasrc/javax/security/auth/login/LoginContext.java
===================================================================
--- modules/security/src/common/javasrc/javax/security/auth/login/LoginContext.java.orig 2006-03-20 18:38:40.000000000 +0000
+++ modules/security/src/common/javasrc/javax/security/auth/login/LoginContext.java 2006-03-25 08:07:57.000000000 +0000
@@ -292,7 +292,7 @@
for (int i = 0; i < modules.length; i++) {
try {
// if a module fails during Class.forName(), then it breaks overall
- // attemp - see catch() below
+ // attempt - see catch() below
modules[i].create(subject, callbackHandler, sharedState);
if (modules[i].module.login()) {
@@ -568,4 +568,4 @@
}
}
}
-}
\ No newline at end of file
+}
Index: native-src/win.IA32/luni/procimpl.c
===================================================================
--- native-src/win.IA32/luni/procimpl.c.orig 2006-03-20 18:40:30.000000000 +0000
+++ native-src/win.IA32/luni/procimpl.c 2006-03-25 08:11:12.000000000 +0000
@@ -218,7 +218,7 @@
retVal = CreateProcess (NULL, commandAsString, NULL, NULL, TRUE, GetVersion () & 0x80 ? 0 : CREATE_NO_WINDOW, /*use DEBUG_ONLY_THIS_PROCESS for smoother debugging, however */
envString, dir, &sinfo, &pinfo);
jclmem_free_memory (env, commandAsString);
- /* retVal is non-zero if successfull */
+ /* retVal is non-zero if successful */
if (!retVal)
goto failed;
Index: archive/modules/security/src/main/java/java/security/Security.java
===================================================================
--- archive/modules/security/src/main/java/java/security/Security.java.orig 2006-03-20 18:30:06.000000000 +0000
+++ archive/modules/security/src/main/java/java/security/Security.java 2006-03-25 08:17:12.000000000 +0000
@@ -573,7 +573,7 @@
*/
private static void loadSecurityProviders() {
synchronized (providersByPriority) {
- // needed for syncronization issues
+ // needed for synchronization issues
if (providersLoaded)
return;
// must be set before calling addProvider()
Index: modules/jndi/src/main/java/javax/naming/directory/InvalidAttributeValueException.java
===================================================================
--- modules/jndi/src/main/java/javax/naming/directory/InvalidAttributeValueException.java.orig 2006-03-20 18:36:13.000000000 +0000
+++ modules/jndi/src/main/java/javax/naming/directory/InvalidAttributeValueException.java 2006-03-25 08:16:50.000000000 +0000
@@ -29,7 +29,7 @@
* single value, attempting to clear a value on an attribute that must have a
* value, and so on.
*
- * The serialization and synchonization specification for NamingException
+ * The serialization and synchronization specification for NamingException
* applies equally to this class.
- * If the file position is curently greater than the given size, then it is + * If the file position is currently greater than the given size, then it is * set to be the given size. *
* Index: modules/nio_char/src/main/java/java/nio/charset/CharsetDecoder.java =================================================================== --- modules/nio_char/src/main/java/java/nio/charset/CharsetDecoder.java.orig 2006-03-20 18:35:15.000000000 +0000 +++ modules/nio_char/src/main/java/java/nio/charset/CharsetDecoder.java 2006-03-25 08:24:55.000000000 +0000 @@ -75,7 +75,7 @@ * decoding process for all charsets. Decoder for specific charset should extend * this class and need only implement * {@link #decodeLoop(ByteBuffer, CharBuffer) decodeLoop} method for basic - * decoding loop. If a subclass mantains internl state, it should override the + * decoding loop. If a subclass maintains internal state, it should override the * {@link #implFlush(CharBuffer) implFlush} method and * {@link #implReset() implReset} method in addition. * Index: modules/nio_char/src/main/java/java/nio/charset/CharsetEncoder.java =================================================================== --- modules/nio_char/src/main/java/java/nio/charset/CharsetEncoder.java.orig 2006-03-20 18:35:15.000000000 +0000 +++ modules/nio_char/src/main/java/java/nio/charset/CharsetEncoder.java 2006-03-25 08:25:58.000000000 +0000 @@ -73,7 +73,7 @@ * encoding process for all charsets. encoder for specific charset should extend * this class and need only implement * {@link #encodeLoop(CharBuffer, ByteBuffer) encodeLoop} method for basic - * encoding loop. If a subclass mantains internl state, it should override the + * encoding loop. If a subclass maintains internal state, it should override the * {@link #implFlush(ByteBuffer) implFlush} method and * {@link #implReset() implReset} method in addition. * @@ -742,7 +742,7 @@ } /** - * Reset this encoder. This method will reset internla status, and then call + * Reset this encoder. This method will reset internal status, and then call *implReset() to reset any status related to specific
* charset.
*
Index: modules/security/src/common/javasrc/org/apache/harmony/security/x509/PolicyQualifierInfo.java
===================================================================
--- modules/security/src/common/javasrc/org/apache/harmony/security/x509/PolicyQualifierInfo.java.orig 2006-03-20 18:38:31.000000000 +0000
+++ modules/security/src/common/javasrc/org/apache/harmony/security/x509/PolicyQualifierInfo.java 2006-03-25 08:20:22.000000000 +0000
@@ -48,7 +48,7 @@
*
*/
public class PolicyQualifierInfo {
- // Contains only ASN1 DER decoder qurrently
+ // Contains only ASN1 DER decoder currently
public static final ASN1Sequence ASN1 =
new ASN1Sequence(new ASN1Type[] {ASN1Oid.getInstance(), ASN1Any.getInstance()}) {
};
Index: modules/security/test/common/unit/java/security/cert/X509CertSelectorTest.java
===================================================================
--- modules/security/test/common/unit/java/security/cert/X509CertSelectorTest.java.orig 2006-03-20 18:37:34.000000000 +0000
+++ modules/security/test/common/unit/java/security/cert/X509CertSelectorTest.java 2006-03-25 08:20:36.000000000 +0000
@@ -1900,7 +1900,7 @@
NameConstraints constraints;
subtrees.addSubtree(subtree);
// start the checking for each alt. name corresponding
- // to curent name_constraints[i]
+ // to current name_constraints[i]
boolean check_matching = true;
for (int j=0; j