Index: modules/beans/src/test/java/org/apache/harmony/tests/java/beans/ExpressionTest.java
===================================================================
--- modules/beans/src/test/java/org/apache/harmony/tests/java/beans/ExpressionTest.java.orig 2006-03-31 07:40:50.000000000 +0100
+++ modules/beans/src/test/java/org/apache/harmony/tests/java/beans/ExpressionTest.java 2006-03-31 07:41:30.000000000 +0100
@@ -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/regex-beans-math/doc/Regexp.htm
===================================================================
--- modules/regex-beans-math/doc/Regexp.htm.orig 2006-03-31 07:40:50.000000000 +0100
+++ modules/regex-beans-math/doc/Regexp.htm 2006-03-31 07:41:30.000000000 +0100
@@ -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/crypto/src/test/java/javax/crypto/EncryptedPrivateKeyInfoTest.java
===================================================================
--- modules/crypto/src/test/java/javax/crypto/EncryptedPrivateKeyInfoTest.java.orig 2006-03-31 07:40:50.000000000 +0100
+++ modules/crypto/src/test/java/javax/crypto/EncryptedPrivateKeyInfoTest.java 2006-03-31 07:41:30.000000000 +0100
@@ -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-31 07:40:50.000000000 +0100
+++ modules/security/test/common/unit/javax/security/auth/login/LoginContextTest_1.java 2006-03-31 07:42:53.000000000 +0100
@@ -1798,7 +1798,7 @@
/**
* Tests LoginContext.getSubject()
- * Must return subject created after succesful login.
+ * Must return subject created after successful login.
*/
public void testGetSubject_01() throws Exception {
TestConfig.addInstalledRequired("TestLoginModule_Success");
@@ -1811,7 +1811,7 @@
/**
* Tests LoginContext.getSubject()
- * Must return null until succesful login().
+ * Must return null until successful login().
*/
public void testGetSubject_02() throws Exception {
TestConfig.addInstalledRequired("TestLoginModule");
Index: modules/security/test/common/unit/java/security/IdentityTest.java
===================================================================
--- modules/security/test/common/unit/java/security/IdentityTest.java.orig 2006-03-31 07:40:50.000000000 +0100
+++ modules/security/test/common/unit/java/security/IdentityTest.java 2006-03-31 07:42:07.000000000 +0100
@@ -303,7 +303,7 @@
}
/**
- * verify Identity.toString(boolean) return string represention of identity
+ * verify Identity.toString(boolean) return string representation of identity
*/
public void testToStringboolean() throws Exception {
new IdentityStub("aaa").toString(false);
Index: modules/crypto/src/main/java/javax/crypto/Cipher.java
===================================================================
--- modules/crypto/src/main/java/javax/crypto/Cipher.java.orig 2006-03-31 07:40:50.000000000 +0100
+++ modules/crypto/src/main/java/javax/crypto/Cipher.java 2006-03-31 07:41:30.000000000 +0100
@@ -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/crypto/src/main/java/javax/crypto/ExemptionMechanism.java
===================================================================
--- modules/crypto/src/main/java/javax/crypto/ExemptionMechanism.java.orig 2006-03-31 07:40:50.000000000 +0100
+++ modules/crypto/src/main/java/javax/crypto/ExemptionMechanism.java 2006-03-31 07:41:30.000000000 +0100
@@ -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/crypto/src/main/java/javax/crypto/KeyAgreement.java
===================================================================
--- modules/crypto/src/main/java/javax/crypto/KeyAgreement.java.orig 2006-03-31 07:40:50.000000000 +0100
+++ modules/crypto/src/main/java/javax/crypto/KeyAgreement.java 2006-03-31 07:41:30.000000000 +0100
@@ -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/crypto/src/main/java/javax/crypto/KeyGenerator.java
===================================================================
--- modules/crypto/src/main/java/javax/crypto/KeyGenerator.java.orig 2006-03-31 07:40:50.000000000 +0100
+++ modules/crypto/src/main/java/javax/crypto/KeyGenerator.java 2006-03-31 07:41:30.000000000 +0100
@@ -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/crypto/src/main/java/javax/crypto/Mac.java
===================================================================
--- modules/crypto/src/main/java/javax/crypto/Mac.java.orig 2006-03-31 07:40:50.000000000 +0100
+++ modules/crypto/src/main/java/javax/crypto/Mac.java 2006-03-31 07:41:30.000000000 +0100
@@ -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/crypto/src/main/java/javax/crypto/SecretKeyFactory.java
===================================================================
--- modules/crypto/src/main/java/javax/crypto/SecretKeyFactory.java.orig 2006-03-31 07:40:50.000000000 +0100
+++ modules/crypto/src/main/java/javax/crypto/SecretKeyFactory.java 2006-03-31 07:41:30.000000000 +0100
@@ -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
Index: doc/vm_doc/html/installdox
===================================================================
--- doc/vm_doc/html/installdox.orig 2006-03-31 07:40:50.000000000 +0100
+++ doc/vm_doc/html/installdox 2006-03-31 07:41:30.000000000 +0100
@@ -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";
}
}