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 2006/12/22 15:27:23 UTC

svn commit: r489661 - in /harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc: ./ accessors/ internal/nls/

Author: tellison
Date: Fri Dec 22 06:27:22 2006
New Revision: 489661

URL: http://svn.apache.org/viewvc?view=rev&rev=489661
Log:
Apply patch HARMONY-2673 ([Classlib][misc] Wrong words in misc module)

Modified:
    harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/HashCode.java
    harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/AccessorFactory.java
    harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/ArrayAccessor.java
    harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/LockedArray.java
    harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/MemoryAccessor.java
    harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/ObjectAccessor.java
    harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/StringAccessor.java
    harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/ThreadStackAccessor.java
    harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/internal/nls/Messages.java

Modified: harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/HashCode.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/HashCode.java?view=diff&rev=489661&r1=489660&r2=489661
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/HashCode.java (original)
+++ harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/HashCode.java Fri Dec 22 06:27:22 2006
@@ -18,7 +18,7 @@
 package org.apache.harmony.misc;
 
 /**
- * This class is a convenience method to sequentaly calculate hash code of the
+ * This class is a convenience method to sequentially calculate hash code of the
  * object based on the field values. The result depends on the order of elements
  * appended. The exact formula is the same as for
  * <code>java.util.List.hashCode</code>.
@@ -37,7 +37,7 @@
  * }
  * </code></pre>
  * 
- * The hash code calulation can be expressed in 2 forms.
+ * The hash code calculation can be expressed in 2 forms.
  * 
  * <p>
  * For maximum performance:

Modified: harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/AccessorFactory.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/AccessorFactory.java?view=diff&rev=489661&r1=489660&r2=489661
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/AccessorFactory.java (original)
+++ harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/AccessorFactory.java Fri Dec 22 06:27:22 2006
@@ -23,7 +23,7 @@
  * Factory for all accessors. This class is used to get the instances of various
  * accessor classes methods. 
  * Each factory method checks security permission before it returns 
- * an appropriate accessor singelton.
+ * an appropriate accessor singleton.
  */
 public class AccessorFactory {
 
@@ -48,7 +48,7 @@
     /**
      * Returns the {@link MemoryAccessor}.
      *
-     * @throws SecurityException if a requester class is loaded by diffrent
+     * @throws SecurityException if a requester class is loaded by different
      * class loader from the one used for loading the accessors (i.e. boot class loader).
      */
     public static MemoryAccessor getMemoryAccessor() {
@@ -59,7 +59,7 @@
     /**
      * Returns the {@link ObjectAccessor}.
      *
-     * @throws SecurityException if a requester class is loaded by diffrent
+     * @throws SecurityException if a requester class is loaded by different
      * class loader from the one used for loading the accessors (i.e. boot class loader).
      */
     public static ObjectAccessor getObjectAccessor() {
@@ -70,7 +70,7 @@
     /**
      * Returns the {@link ArrayAccessor}.
      *
-     * @throws SecurityException if a requester class is loaded by diffrent
+     * @throws SecurityException if a requester class is loaded by different
      * class loader from the one used for loading the accessors (i.e. boot class loader).
      */
     public static ArrayAccessor getArrayAccessor() {
@@ -81,7 +81,7 @@
     /**
      * Returns the {@link StringAccessor}.
      *
-     * @throws SecurityException if a requester class is loaded by diffrent
+     * @throws SecurityException if a requester class is loaded by different
      * class loader from the one used for loading the accessors (i.e. boot class loader).
      */
     public static StringAccessor getStringAccessor() {
@@ -92,7 +92,7 @@
     /**
      * Returns the {@link ThreadStackAccessor}.
      *
-     * @throws SecurityException if a requester class is loaded by diffrent
+     * @throws SecurityException if a requester class is loaded by different
      * class loader from the one used for loading the accessors (i.e. boot class loader).
      */
     public static ThreadStackAccessor getThreadStackAccessor() {

Modified: harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/ArrayAccessor.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/ArrayAccessor.java?view=diff&rev=489661&r1=489660&r2=489661
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/ArrayAccessor.java (original)
+++ harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/ArrayAccessor.java Fri Dec 22 06:27:22 2006
@@ -123,7 +123,7 @@
     static final HashMap objectLockMap = new HashMap();
 
     /**
-     * Allocates and immediately locks a primitive type array for supposingly a
+     * Allocates and immediately locks a primitive type array for supposedly a
      * long period of time. The purpose of this method is to give a hint to
      * object allocator that an array needs to be locked initially. This may
      * help to increase the performance on certain virtual machine
@@ -144,7 +144,7 @@
     }
 
     /**
-     * Allocates and immediately locks a primitive type array for supposingly a
+     * Allocates and immediately locks a primitive type array for supposedly a
      * short period of time. The purpose of this method is to give a hint to
      * object allocator that an array needs to be locked initially. This may
      * help to increase the performance on certain virtual machine
@@ -166,7 +166,7 @@
     }
 
     /**
-     * Locks an existing array for supposingly a short period of time.
+     * Locks an existing array for supposedly a short period of time.
      * Typically, this method would instruct a virtual machine that the given
      * array should stay unmovable for a short period of time, such as one
      * native library call. This method returns an instance of
@@ -199,7 +199,7 @@
     }
 
     /**
-     * Locks an existing array for supposingly a long period of time and returns
+     * Locks an existing array for  supposedly a long period of time and returns
      * its location in memory. Typically, this method would instruct a virtual
      * machine that the given array should stay unmovable for a long period of
      * time. As a consequence, this method call may be expensive potentially may

Modified: harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/LockedArray.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/LockedArray.java?view=diff&rev=489661&r1=489660&r2=489661
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/LockedArray.java (original)
+++ harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/LockedArray.java Fri Dec 22 06:27:22 2006
@@ -80,7 +80,7 @@
     /**
      * Unlocks the array. This method gives a hint to virtual
      * machine that this array no longer needs to be locked in memory. The
-     * array address becomes invalid after this call and shoud no longer be
+     * array address becomes invalid after this call and should no longer be
      * used. This method does nothing if the array was already released
      * once.
      * <p>
@@ -99,7 +99,7 @@
      * Unlocks the array. This method gives a hint to virtual
      * machine that this array no longer needs to be locked in memory and virtual
      * machine should not copy values back to Java array.
-     * The array address becomes invalid after this call and shoud no longer be
+     * The array address becomes invalid after this call and should no longer be
      * used. This method does nothing if the array was already released
      * once.
      * <p>

Modified: harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/MemoryAccessor.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/MemoryAccessor.java?view=diff&rev=489661&r1=489660&r2=489661
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/MemoryAccessor.java (original)
+++ harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/MemoryAccessor.java Fri Dec 22 06:27:22 2006
@@ -68,8 +68,8 @@
 
     /**
      * Finds the offset of the first different element in two
-     * memory blocks. If no difference the size is returned. If reoreder is set
-     * changes the byte order of first block elements before comparsion.
+     * memory blocks. If no difference the size is returned. If reorder is set
+     * changes the byte order of first block elements before comparison.
      * @param addr1 start address of the first block
      * @param addr2 start address of the second block
      * @param elemSize size of the element can be 1, 2, 4, 8
@@ -126,7 +126,7 @@
     public final native boolean getBoolean(long addr);
 
     /**
-     * Reads data from memory address in plaform byte order into boolean array.
+     * Reads data from memory address in platform byte order into boolean array.
      * @param addr data start address in memory
      * @param value array to save data
      * @param offset initial offset in java array
@@ -144,7 +144,7 @@
     public final native byte getByte(long addr);
 
     /**
-     * Reads data from memory address in plaform byte order into byte array.
+     * Reads data from memory address in platform byte order into byte array.
      * @param addr data start address in memory
      * @param value array to save data
      * @param offset initial offset in java array
@@ -155,7 +155,7 @@
     }
 
     /**
-     * Reads a char value from memory address in a plaform byte order.
+     * Reads a char value from memory address in a platform byte order.
      * @param addr memory address
      * @return memory value
      */
@@ -164,7 +164,7 @@
     }
 
     /**
-     * Reads data from memory address in a plaform byte order into char array.
+     * Reads data from memory address in a platform byte order into char array.
      * @param addr data start address in memory
      * @param value array to save data
      * @param offset initial offset in java array
@@ -208,14 +208,14 @@
     }
 
     /**
-     * Reads a double value from memory address in a plaform byte order.
+     * Reads a double value from memory address in a platform byte order.
      * @param addr memory address
      * @return memory value
      */
     public final native double getDouble(long addr);
 
     /**
-     * Reads data from memory address in plaform byte order into array of doubles.
+     * Reads data from memory address in platform byte order into array of doubles.
      * @param addr data start address in memory
      * @param value array to save data
      * @param offset initial offset in java array
@@ -264,7 +264,7 @@
     public final native float getFloat(long addr);
 
     /**
-     * Reads data from memory address in plaform byte order into float array.
+     * Reads data from memory address in platform byte order into float array.
      * @param addr data start address in memory
      * @param value array to save data
      * @param offset initial offset in java array
@@ -315,7 +315,7 @@
     public final native int getHashCode(long addr, long size);
 
     /**
-     * Reads an integer value from memory address in plaform byte order.
+     * Reads an integer value from memory address in platform byte order.
      * @param addr memory address
      * @return memory value
      */
@@ -335,7 +335,7 @@
     }
 
     /**
-     * Reads data from memory address in plaform byte order into array of integers.
+     * Reads data from memory address in platform byte order into array of integers.
      * @param addr data start address in memory
      * @param value array to save data
      * @param offset initial offset in java array
@@ -384,7 +384,7 @@
     }
 
     /**
-     * Reads data from memory address in plaform byte order into array of longs.
+     * Reads data from memory address in platform byte order into array of longs.
      * @param addr data start address in memory
      * @param value array to save data
      * @param offset initial offset in java array
@@ -415,7 +415,7 @@
     private native final int getNativeByteOrder0();
 
     /**
-     * Reads a short value from memory address in plaform byte order.
+     * Reads a short value from memory address in platform byte order.
      * @param addr memory address
      * @return memory value
      */
@@ -435,7 +435,7 @@
     }
 
     /**
-     * Reads data from memory address in plaform byte order into short array.
+     * Reads data from memory address in platform byte order into short array.
      * @param addr data start address in memory
      * @param value array to save data
      * @param offset initial offset in java array
@@ -545,7 +545,7 @@
     public final native void setBoolean(long addr, boolean value);
 
     /**
-     * Writes data from boolean array to memory address in plaform byte order.
+     * Writes data from boolean array to memory address in platform byte order.
      * @param addr data start address in memory
      * @param value data array
      * @param offset initial offset in java array
@@ -563,7 +563,7 @@
     public final native void setByte(long addr, byte value);
 
     /**
-     * Writes data from byte array to memory address in plaform byte order.
+     * Writes data from byte array to memory address in platform byte order.
      * @param addr data start address in memory
      * @param value data array
      * @param offset initial offset in java array
@@ -574,7 +574,7 @@
     }
 
     /**
-     * Writes char value to memory address in plaform byte order.
+     * Writes char value to memory address in platform byte order.
      * @param addr memory address
      * @param value new memory value
      */
@@ -597,7 +597,7 @@
     }
 
     /**
-     * Writes data from char array to memory address in plaform byte order.
+     * Writes data from char array to memory address in platform byte order.
      * @param addr data start address in memory
      * @param value data array
      * @param offset initial offset in java array
@@ -628,7 +628,7 @@
     }
 
     /**
-     * Writes a double value to memory address in plaform byte order,
+     * Writes a double value to memory address in platform byte order,
      * @param addr memory address
      * @param value new memory value
      */
@@ -649,7 +649,7 @@
     }
 
     /**
-     * Writes data from double array to memory address in plaform byte order.
+     * Writes data from double array to memory address in platform byte order.
      * @param addr data start address in memory
      * @param value data array
      * @param offset initial offset in java array
@@ -678,7 +678,7 @@
     private final native void setDoubleReorder(long addr, double value);
 
     /**
-     * Writes a float value to memory address in plaform byte order.
+     * Writes a float value to memory address in platform byte order.
      * @param addr memory address
      * @param value new memory value
      */
@@ -699,7 +699,7 @@
     }
 
     /**
-     * Writes data from float array to memory address in plaform byte order.
+     * Writes data from float array to memory address in platform byte order.
      * @param addr data start address in memory
      * @param value data array
      * @param offset initial offset in java array
@@ -728,7 +728,7 @@
     private final native void setFloatReorder(long addr, float value);
 
     /**
-     * Writes an integer value to memory address in plaform byte order.
+     * Writes an integer value to memory address in  platform byte order.
      * @param addr memory address
      * @param value new memory value
      */
@@ -749,7 +749,7 @@
     }
 
     /**
-     * Writes data from integer array to memory address in plaform byte order.
+     * Writes data from integer array to memory address in platform byte order.
      * @param addr data start address in memory
      * @param value data array
      * @param offset initial offset in java array
@@ -778,7 +778,7 @@
     private final native void setIntReorder(long addr, int value);
 
     /**
-     * Writes a long value to memory address in plaform byte order.
+     * Writes a long value to memory address in platform byte order.
      * @param addr memory address
      * @param value new memory value
      */
@@ -799,7 +799,7 @@
     }
 
     /**
-     * Writes data from long array to memory address in plaform byte order.
+     * Writes data from long array to memory address in platform byte order.
      * @param addr data start address in memory
      * @param value data array
      * @param offset initial offset in java array
@@ -829,7 +829,7 @@
 
 
     /**
-     * Writes a short value to memory address in plaform byte order.
+     * Writes a short value to memory address in platform byte order.
      * @param addr memory address
      * @param value new memory value
      */
@@ -850,7 +850,7 @@
     }
 
     /**
-     * Writes data from short array to memory address in plaform byte order.
+     * Writes data from short array to memory address in platform byte order.
      * @param addr data start address in memory
      * @param value data array
      * @param offset initial offset in java array

Modified: harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/ObjectAccessor.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/ObjectAccessor.java?view=diff&rev=489661&r1=489660&r2=489661
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/ObjectAccessor.java (original)
+++ harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/ObjectAccessor.java Fri Dec 22 06:27:22 2006
@@ -46,7 +46,7 @@
  * Fields and methods are identified in the class with help of ID's those actual meaning
  * is implementation dependent.
  * Depending on a platform, ID's may represent the real offets in the physical memory,
- * though it is not always guranteed. Unlike the {@link ArrayAccessor} class, users should not rely on
+ * though it is not always guaranteed. Unlike the {@link ArrayAccessor} class, users should not rely on
  * any correspondence between ID's and memory address space. However, it is guaranteed that ID's, once
  * obtained, are valid during the whole lifetime of the given class and can equally be
  * applied for all its instances.
@@ -558,7 +558,7 @@
 
     /**
      * Returns the ID for the reflected static field.
-     * Deafult iumplementation delegates to the
+     * Default implementation delegates to the
      * {@link #getFieldID(Field)} call.
      *
      * @param f reflected field
@@ -571,7 +571,7 @@
 
     /**
      * Returns the ID for the specified method or constructor.
-     * Use class constants for primritive parameter types. For example,
+     * Use class constants for primitive parameter types. For example,
      * for <code>byte</code> type use the {@link java.lang.Byte#TYPE} class.
      * @param c a class the method belongs to
      * @param name method name or <code>null</code> in case of constructor
@@ -611,7 +611,7 @@
 
     /**
      * Returns the ID for the specified static method.
-     * Use class constants for primritive parameter types. For example,
+     * Use class constants for primitive parameter types. For example,
      * for <code>byte</code> type use the {@link java.lang.Byte#TYPE} class.
      * @param c a class the method belongs to
      * @param name method name or <code>null</code> in case of constructor
@@ -682,7 +682,7 @@
      * For example, byte value should be wrapped with {@link java.lang.Byte#TYPE}.
      * Use the {@link #getMethodID(Class, String, Class[])} call to obtain the method ID.
      * @param methodID method ID
-     * @param obj an object those method or constutor needs to be called
+     * @param obj an object those method or constructor needs to be called
      * @param args array of arguments
      * @see #getMethodID(Class, String, Class[])
      */
@@ -695,7 +695,7 @@
      * For example, byte value should be wrapped with {@link java.lang.Byte#TYPE}.
      * Use the {@link #getMethodID(Class, String, Class[])} call to obtain the method ID.
      * @param c a class where method or constructor is defined
-     * @param obj an object those method or construtor needs to be called
+     * @param obj an object those method or constructor needs to be called
      * @param methodID method ID
      * @param args array of arguments
      * @see #getMethodID(Class, String, Class[])
@@ -721,7 +721,7 @@
      * For example, byte value should be wrapped with {@link java.lang.Byte#TYPE}.
      * Use the {@link #getMethodID(Class, String, Class[])} call to obtain the method ID.
      * @param methodID method ID
-     * @param obj an object those method or constutor needs to be called
+     * @param obj an object those method or constructor needs to be called
      * @param args array of arguments
      * @see #getMethodID(Class, String, Class[])
      */
@@ -734,7 +734,7 @@
      * For example, byte value should be wrapped with {@link java.lang.Byte#TYPE}.
      * Use the {@link #getMethodID(Class, String, Class[])} call to obtain the method ID.
      * @param c a class where method or constructor is defined
-     * @param obj an object those method or construtor needs to be called
+     * @param obj an object those method or constructor needs to be called
      * @param methodID method ID
      * @param args array of arguments
      * @see #getMethodID(Class, String, Class[])
@@ -760,7 +760,7 @@
      * For example, byte value should be wrapped with {@link java.lang.Byte#TYPE}.
      * Use the {@link #getMethodID(Class, String, Class[])} call to obtain the method ID.
      * @param methodID method ID
-     * @param obj an object those method or constutor needs to be called
+     * @param obj an object those method or constructor needs to be called
      * @param args array of arguments
      * @see #getMethodID(Class, String, Class[])
      */
@@ -773,7 +773,7 @@
      * For example, byte value should be wrapped with {@link java.lang.Byte#TYPE}.
      * Use the {@link #getMethodID(Class, String, Class[])} call to obtain the method ID.
      * @param c a class where method or constructor is defined
-     * @param obj an object those method or construtor needs to be called
+     * @param obj an object those method or constructor needs to be called
      * @param methodID method ID
      * @param args array of arguments
      * @see #getMethodID(Class, String, Class[])

Modified: harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/StringAccessor.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/StringAccessor.java?view=diff&rev=489661&r1=489660&r2=489661
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/StringAccessor.java (original)
+++ harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/StringAccessor.java Fri Dec 22 06:27:22 2006
@@ -65,7 +65,7 @@
      * last copied string char, 2 trailing 0 are added. For ANSI chars buffer
      * should be at least len bytes, for international chars buffer should be at
      * least 3 * len bytes (see JNI 5.0 spec on Modified UTF-8 Strings) to
-     * guarantie String chars will fully fit.
+     * guaranty String chars will fully fit.
      * <p>
      * This method has an effect of GetStringUTFRegion JNI call.
      *
@@ -107,7 +107,7 @@
      * Copies len UTF16 (Unicode) encoded chars or buflen bytes whichever is
      * smaller from String to native buffer. If there is a room in buffer after
      * last copied string char, 2 trailing 0 are added. Buffer should be at
-     * least 2 * len bytes to guarantie String chars will fully fit.
+     * least 2 * len bytes to guaranty String chars will fully fit.
      * <p>
      * This method has an effect of GetStringRegion JNI call.
      *
@@ -219,7 +219,7 @@
      * in byteOrder order.
      * @param strObj Java string
      * @param str native string memory address
-     * @param len lenght of native string
+     * @param len length of native string
      * @param byteOrder either ByteOrder.BIG_ENDIAN or ByteOrder.LITTLE_ENDIAN
      * @return 0 if strings are equal,
      * &lt;0 if Java string is lexicographically less than the native string,
@@ -251,7 +251,7 @@
      * in platform default order.
      * @param strObj Java string
      * @param str native string memory address
-     * @param len lenght of native string
+     * @param len length of native string
      * @return 0 if strings are equal,
      * &lt;0 if Java string is lexicographically less than the native string,
      * &gt;0 if Java string is lexicographically greater than the native string.

Modified: harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/ThreadStackAccessor.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/ThreadStackAccessor.java?view=diff&rev=489661&r1=489660&r2=489661
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/ThreadStackAccessor.java (original)
+++ harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/accessors/ThreadStackAccessor.java Fri Dec 22 06:27:22 2006
@@ -42,7 +42,7 @@
      private ThreadStackAccessor() {}
     
     /**
-     * Returnes the class from the specified depth in the stack. If the
+     * Returns the class from the specified depth in the stack. If the
      * specified depth is equal to zero then the caller of the caller of this
      * method should be returned. Reflection stack frames should not be taken
      * into account. 

Modified: harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/internal/nls/Messages.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/internal/nls/Messages.java?view=diff&rev=489661&r1=489660&r2=489661
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/internal/nls/Messages.java (original)
+++ harmony/enhanced/classlib/trunk/modules/misc/src/main/java/org/apache/harmony/misc/internal/nls/Messages.java Fri Dec 22 06:27:22 2006
@@ -44,7 +44,7 @@
  * resource bundle. Note that if this file is not available, or an invalid key
  * is looked up, or resource bundle support is not available, the key itself
  * will be returned as the associated message. This means that the <em>KEY</em>
- * should a reasonable human-readable (english) string.
+ * should a reasonable human-readable (English) string.
  * 
  */
 public class Messages {