Index: src/test/java/org/apache/harmony/logging/tests/java/util/logging/LevelTest.java =================================================================== --- src/test/java/org/apache/harmony/logging/tests/java/util/logging/LevelTest.java (revision 485228) +++ src/test/java/org/apache/harmony/logging/tests/java/util/logging/LevelTest.java (working copy) @@ -290,7 +290,7 @@ /** * @tests serialization/deserialization compatibility. * - * Test serilaziation of pre-defined const levels. It is expected that the + * Test serialization of pre-defined const levels. It is expected that the * deserialized cost level should be the same instance as the existing one. */ public void testSerialization_ConstLevel() throws Exception { @@ -302,7 +302,7 @@ /** * @tests serialization/deserialization compatibility. * - * Test serilaziation of normal instance of Level. It is expected that the + * Test serialization of normal instance of Level. It is expected that the * deserialized level object should be equal to the original one. */ public void testSerialization_InstanceLevel() throws Exception { Index: src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java =================================================================== --- src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java (revision 485228) +++ src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java (working copy) @@ -172,7 +172,7 @@ assertNull(grandson.getParent()); assertNull(otherChild.getParent()); - // whenever a logger is added to a LogManager, hierachy will be updated + // whenever a logger is added to a LogManager, hierarchy will be updated // accordingly assertTrue(mockManager.addLogger(child)); assertNull(child.getParent()); @@ -504,7 +504,7 @@ // mockManager.readConfiguration(); // // level DO has effect // assertEquals(Level.WARNING, foo.getLevel()); -// // for non specifed logger, level is reset to null +// // for non specified logger, level is reset to null // assertNull(fo.getLevel()); // // // read properties don't affect handler @@ -539,7 +539,7 @@ // level DO has effect assertEquals(Level.WARNING, foo.getLevel()); - // for non specifed logger, level is reset to null + // for non specified logger, level is reset to null assertNull(fo.getLevel()); // read properties don't affect handler @@ -707,7 +707,7 @@ .PropertiesToInputStream(props)); assertEquals(3, manager.getLogger("").getHandlers().length); - // invalid config class which throw exception, just pring exception + // invalid config class which throw exception, just print exception // and // message props.setProperty("config", className @@ -715,7 +715,7 @@ manager.readConfiguration(EnvironmentHelper .PropertiesToInputStream(props)); - // invalid config class without default constructor, just pring + // invalid config class without default constructor, just print // exception and message props.setProperty("config", className + "$MockInvalidConfigNoDefaultConstructor"); Index: src/test/java/org/apache/harmony/logging/tests/java/util/logging/LoggerTest.java =================================================================== --- src/test/java/org/apache/harmony/logging/tests/java/util/logging/LoggerTest.java (revision 485228) +++ src/test/java/org/apache/harmony/logging/tests/java/util/logging/LoggerTest.java (working copy) @@ -283,7 +283,7 @@ } /* - * Test getLogger(String), getting a logger with invalid level configed. + * Test getLogger(String), getting a logger with invalid level configured. */ public void testGetLogger_InvalidLevel() throws Exception { // config the level @@ -1148,7 +1148,7 @@ /* * Test setParent(Logger) for the mock logger since it is advised not to - * call this method on named loggers. Test normal condistions. + * call this method on named loggers. Test normal conditions. */ public void testSetParent_Normal() { Logger log = new MockLogger(null, null); @@ -1230,7 +1230,7 @@ } /* - * Test getName() for emtpy name. + * Test getName() for empty name. */ public void testGetName_Empty() { Logger log = Logger.getLogger(""); @@ -3408,7 +3408,7 @@ public void testLoadResourceBundleNonExistent() { try { - // Try a load a non-existant resource bundle. + // Try a load a non-existent resource bundle. LoggerExtension.loadResourceBundle("missinglogger.properties"); fail("Expected an exception."); } catch (MissingResourceException ex) { Index: src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogRecordTest.java =================================================================== --- src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogRecordTest.java (revision 485228) +++ src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogRecordTest.java (working copy) @@ -389,7 +389,7 @@ } // mock class, try to test when the sourceclass and sourcemethod of - // LogRecord is inited + // LogRecord is initiated public static class RecordFactory { public static LogRecord getDefaultRecord() { @@ -422,7 +422,7 @@ public void log(LogRecord record) { if (isLoggable(record.getLevel())) { // call the handlers of this logger - // TODO: What if an exception occured in handler? + // TODO: What if an exception occurred in handler? Handler[] ha = this.getHandlers(); for (int i = 0; i < ha.length; i++) { ha[i].publish(record); Index: src/test/java/org/apache/harmony/logging/tests/java/util/logging/StreamHandlerTest.java =================================================================== --- src/test/java/org/apache/harmony/logging/tests/java/util/logging/StreamHandlerTest.java (revision 485228) +++ src/test/java/org/apache/harmony/logging/tests/java/util/logging/StreamHandlerTest.java (working copy) @@ -292,7 +292,7 @@ } /* - * Test the constructor with null fomatter, and invalid relevant log manager + * Test the constructor with null formatter, and invalid relevant log manager * properties are set. */ public void testConstructor_HasParameters_ValidPropertiesNullStream()