You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2007/10/24 23:08:24 UTC

svn commit: r588023 - in /harmony/enhanced/classlib/trunk/modules/awt/src: main/java/common/java/awt/ main/java/common/java/awt/image/ main/java/common/org/apache/harmony/awt/datatransfer/ main/java/common/org/apache/harmony/awt/gl/ main/java/common/or...

Author: hindessm
Date: Wed Oct 24 14:08:22 2007
New Revision: 588023

URL: http://svn.apache.org/viewvc?rev=588023&view=rev
Log:
Spelling fixes.

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/FontMetrics.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/image/IndexColorModel.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataProvider.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataProxy.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataSnapshot.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataSource.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/MultiRectArea.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/CompositeFont.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/FontPeerImpl.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/TextRunSegmentImpl.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/fontlib/FLGlyph.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/opengl/OGLTextRenderer.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/internal/nls/messages.properties
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/nativebridge/ByteBase.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/nativebridge/Int16Pointer.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/nativebridge/Int8Pointer.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/unix/org/apache/harmony/awt/gl/font/LinuxGlyph.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/unix/org/apache/harmony/awt/gl/font/LinuxNativeFont.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/unix/org/apache/harmony/awt/gl/linux/DrawableTextRenderer.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGDIPGraphics2D.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/nativebridge/windows/WinDataTransfer.java
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/AGL.h
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/Outline.cpp
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/Outline.h
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/T1Font.cpp
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/T1Glyph.cpp
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/Type1Structs.h
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/winfont/windows/winFont.cpp
    harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/GradientPaintTest.java
    harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/TexturePaintTest.java
    harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/geom/ShapeTestCase.java
    harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/org/apache/harmony/awt/tests/java/awt/image/LookupOpTest.java

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/FontMetrics.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/FontMetrics.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/FontMetrics.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/FontMetrics.java Wed Oct 24 14:08:22 2007
@@ -127,7 +127,7 @@
         }
 
         if ((off+len > data.length)){
-            // awt.13C=number of elemets len is out of range
+            // awt.13C=number of elements len is out of range
             throw new IllegalArgumentException(Messages.getString("awt.13C")); //$NON-NLS-1$
         }
 
@@ -146,7 +146,7 @@
         }
 
         if ((off+len > data.length)){
-            // awt.13C=number of elemets len is out of range
+            // awt.13C=number of elements len is out of range
             throw new IllegalArgumentException(Messages.getString("awt.13C")); //$NON-NLS-1$
         }
 
@@ -194,7 +194,7 @@
     }
     
     /**
-     * Returns FontRenderContext instanse of the Graphics context specified.
+     * Returns FontRenderContext instance of the Graphics context specified.
      * @param context the specified Graphics context
      * 
      * @return a FontRenderContext of the specified Graphics context.

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/image/IndexColorModel.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/image/IndexColorModel.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/image/IndexColorModel.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/image/IndexColorModel.java Wed Oct 24 14:08:22 2007
@@ -39,7 +39,7 @@
     private BigInteger validBits;  // Specify valid Color Map values
 
     private static final int CACHESIZE = 20; // Cache size. Cache used for 
-                                             // improving performace of selection
+                                             // improving performance of selection
                                              // nearest color in Color Map
 
     private final int cachetable[] = new int[CACHESIZE * 2]; // Cache table - used for 

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataProvider.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataProvider.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataProvider.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataProvider.java Wed Oct 24 14:08:22 2007
@@ -60,7 +60,7 @@
     
     public String[] getNativeFormats();
     
-    public boolean isNativeFormatAtailable(String nativeFormat);
+    public boolean isNativeFormatAvailable(String nativeFormat);
     
     public String getText();
     

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataProxy.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataProxy.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataProxy.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataProxy.java Wed Oct 24 14:08:22 2007
@@ -133,7 +133,7 @@
     
     private Object getPlainText(DataFlavor f)
             throws IOException, UnsupportedFlavorException {
-        if (!data.isNativeFormatAtailable(DataProvider.FORMAT_TEXT)) {
+        if (!data.isNativeFormatAvailable(DataProvider.FORMAT_TEXT)) {
             throw new UnsupportedFlavorException(f);
         }
         String str = data.getText();
@@ -146,7 +146,7 @@
 
     private Object getFileList(DataFlavor f) 
             throws IOException, UnsupportedFlavorException {
-        if (!data.isNativeFormatAtailable(DataProvider.FORMAT_FILE_LIST)) {
+        if (!data.isNativeFormatAvailable(DataProvider.FORMAT_FILE_LIST)) {
             throw new UnsupportedFlavorException(f);
         }
         String[] files = data.getFileList();
@@ -159,7 +159,7 @@
 
     private Object getHTML(DataFlavor f)
             throws IOException, UnsupportedFlavorException {
-        if (!data.isNativeFormatAtailable(DataProvider.FORMAT_HTML)) {
+        if (!data.isNativeFormatAvailable(DataProvider.FORMAT_HTML)) {
             throw new UnsupportedFlavorException(f);
         }
         String str = data.getHTML();
@@ -172,7 +172,7 @@
 
     private Object getURL(DataFlavor f)
             throws IOException, UnsupportedFlavorException {
-        if (!data.isNativeFormatAtailable(DataProvider.FORMAT_URL)) {
+        if (!data.isNativeFormatAvailable(DataProvider.FORMAT_URL)) {
             throw new UnsupportedFlavorException(f);
         }
         String str = data.getURL();
@@ -194,7 +194,7 @@
             throws IOException, UnsupportedFlavorException {
         String nativeFormat = SystemFlavorMap.encodeDataFlavor(f);
         if ((nativeFormat == null) || 
-                !data.isNativeFormatAtailable(nativeFormat)) {
+                !data.isNativeFormatAvailable(nativeFormat)) {
             throw new UnsupportedFlavorException(f);
         }
         byte bytes[] = data.getSerializedObject(f.getRepresentationClass());
@@ -248,7 +248,7 @@
 
     private Image getImage(DataFlavor f) 
             throws IOException, UnsupportedFlavorException {
-        if (!data.isNativeFormatAtailable(DataProvider.FORMAT_IMAGE)) {
+        if (!data.isNativeFormatAvailable(DataProvider.FORMAT_IMAGE)) {
             throw new UnsupportedFlavorException(f);
         }
         RawBitmap bitmap = data.getRawBitmap();

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataSnapshot.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataSnapshot.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataSnapshot.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataSnapshot.java Wed Oct 24 14:08:22 2007
@@ -71,7 +71,7 @@
         // TODO: refine the list of native formats
     }
 
-    public boolean isNativeFormatAtailable(String nativeFormat) {
+    public boolean isNativeFormatAvailable(String nativeFormat) {
         if (nativeFormat == null) {
             return false;
         }

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataSource.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataSource.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataSource.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataSource.java Wed Oct 24 14:08:22 2007
@@ -228,7 +228,7 @@
         }
     }
 
-    public boolean isNativeFormatAtailable(String nativeFormat) {
+    public boolean isNativeFormatAvailable(String nativeFormat) {
         return getNativeFormatsList().contains(nativeFormat);
     }
 }

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/MultiRectArea.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/MultiRectArea.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/MultiRectArea.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/MultiRectArea.java Wed Oct 24 14:08:22 2007
@@ -712,7 +712,7 @@
     }
 
     /**
-     * Recturn rectangle count in the buffer
+     * Return rectangle count in the buffer
      */
     public int getRectCount() {
         return (rect[0] - 1) / 4;

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/CompositeFont.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/CompositeFont.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/CompositeFont.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/CompositeFont.java Wed Oct 24 14:08:22 2007
@@ -471,7 +471,7 @@
      */
     @Override
     public FontExtraMetrics getExtraMetrics(){
-        // Returns FontExtraMetrics instanse of the first physical 
+        // Returns FontExtraMetrics instance of the first physical 
         // Font from the array of fonts.
         return fPhysicalFonts[0].getExtraMetrics();
     }

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/FontPeerImpl.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/FontPeerImpl.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/FontPeerImpl.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/FontPeerImpl.java Wed Oct 24 14:08:22 2007
@@ -157,7 +157,7 @@
     public abstract void dispose();
 
     /**
-     * Returns Glyph represeting missing char. 
+     * Returns Glyph representing missing char. 
      */
     public abstract Glyph getDefaultGlyph();
 

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/TextRunSegmentImpl.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/TextRunSegmentImpl.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/TextRunSegmentImpl.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/TextRunSegmentImpl.java Wed Oct 24 14:08:22 2007
@@ -206,7 +206,7 @@
         }
 
         /**
-         * Attemts to map each character to the corresponding advance increment
+         * Attempts to map each character to the corresponding advance increment
          */
         void initAdvanceMapping() {
             GlyphVector gv = getGlyphVector();
@@ -300,7 +300,7 @@
         }
 
         /**
-         * Attemts to create mapping of the characters to glyphs in the glyph vector.
+         * Attempts to create mapping of the characters to glyphs in the glyph vector.
          * @return array where for each character index stored corresponding glyph index
          */
         private int[] getChar2Glyph() {

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/fontlib/FLGlyph.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/fontlib/FLGlyph.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/fontlib/FLGlyph.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/fontlib/FLGlyph.java Wed Oct 24 14:08:22 2007
@@ -64,15 +64,15 @@
 //        bim.getRaster().
         
         
-        int dbufferLenght = w * h;
+        int dbufferLength = w * h;
 
-        DataBufferByte dbuffer = new DataBufferByte(dbufferLenght);
+        DataBufferByte dbuffer = new DataBufferByte(dbufferLength);
 
         WritableRaster scanRaster = Raster.createInterleavedRaster(dbuffer, w, h, w, 1,new int[]{0}, null);
 
         /*WritableRaster scanRaster = Raster.createPackedRaster(
                 dbuffer, 
-                (dbufferLenght / h) << 3, 
+                (dbufferLength / h) << 3, 
                 h, 
                 1, 
                 null

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/opengl/OGLTextRenderer.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/opengl/OGLTextRenderer.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/opengl/OGLTextRenderer.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/opengl/OGLTextRenderer.java Wed Oct 24 14:08:22 2007
@@ -108,7 +108,7 @@
         GlyphMetrics glMetrics;
         Color col = g.getColor();
         Font font = g.getFont();        
-        int lenght = str.length();
+        int length = str.length();
         FontPeerImpl peer = ((FontPeerImpl)font.getPeer());
         AffineTransform fontAT = (AffineTransform)font.getTransform().clone();
         Point.Float pos = new Point.Float();
@@ -143,7 +143,7 @@
         
         activateVars();        
         
-        for (int i = 0; i - lenght < 0; i ++) {
+        for (int i = 0; i - length < 0; i ++) {
             ch = new Character(input[i]);
             if (ESCAPE.contains(ch)) continue;
             glyph = peer.getGlyph(input[i]);
@@ -193,7 +193,7 @@
         Color col = g.getColor();
         Glyph[] input = ((CommonGlyphVector)gv).vector;        
         Font font = gv.getFont();
-        int lenght = gv.getNumGlyphs();
+        int length = gv.getNumGlyphs();
         FontPeerImpl peer = ((FontPeerImpl)font.getPeer());
         AffineTransform fontAT = (AffineTransform)font.getTransform().clone();
         Point.Float pos = new Point.Float();
@@ -227,7 +227,7 @@
         
         fontAT = (AffineTransform) font.getTransform().clone();
         activateVars();
-        for (int i = 0; i - lenght < 0; i ++) {
+        for (int i = 0; i - length < 0; i ++) {
             ch = new Character(input[i].getChar());
             
             if (ch == ' ') continue;

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/internal/nls/messages.properties
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/internal/nls/messages.properties?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/internal/nls/messages.properties (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/internal/nls/messages.properties Wed Oct 24 14:08:22 2007
@@ -235,7 +235,7 @@
 awt.139=Negative dash[{0}]
 awt.13A=All dash lengths zero
 awt.13B=offset off is out of range
-awt.13C=number of elemets len is out of range
+awt.13C=number of elements len is out of range
 awt.13D=Rectangle width and height must be > 0
 awt.13E=Cannot call method from the event dispatcher thread
 awt.13F=Delay must be to 0 to 60,000ms

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/nativebridge/ByteBase.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/nativebridge/ByteBase.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/nativebridge/ByteBase.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/nativebridge/ByteBase.java Wed Oct 24 14:08:22 2007
@@ -165,8 +165,8 @@
      * must be non-negative and no larger than dst.length - from
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > dst.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > dst.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > dst.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void get(byte[] dst, int from, int length) {
         checkArraysBounds(from, dst.length, length, 1);
@@ -187,8 +187,8 @@
      * must be non-negative and no larger than array.length - offset
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > src.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > src.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > src.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void set(byte[] src, int offset, int length) {
         checkArraysBounds(offset, src.length, length, 1);
@@ -285,8 +285,8 @@
      * must be non-negative and no larger than dst.length - offset
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > src.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > src.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > src.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void getChar(char[] dst, int offset, int length) {
         checkArraysBounds(offset, dst.length, length, 2);
@@ -309,8 +309,8 @@
      * must be non-negative and no larger than dst.length - offset
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > src.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > src.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > src.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void setChar(char[] src, int offset, int length) {
         checkArraysBounds(offset, src.length, length, 2);
@@ -366,8 +366,8 @@
      * must be non-negative and no larger than dst.length - offset
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > src.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > src.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > src.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void getInt16(short[] dst, int offset, int length) {
         checkArraysBounds(offset, dst.length, length, 2);
@@ -390,8 +390,8 @@
      * must be non-negative and no larger than dst.length - offset
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > src.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > src.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > src.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void setInt16(short[] src, int offset, int length) {
         checkArraysBounds(offset, src.length, length, 2);
@@ -483,8 +483,8 @@
      * must be non-negative and no larger than dst.length - offset
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > src.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > src.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > src.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void getFloat(float[] dst, int offset, int length) {
         checkArraysBounds(offset, dst.length, length, 4);
@@ -507,8 +507,8 @@
      * must be non-negative and no larger than dst.length - offset
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > src.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > src.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > src.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void setFloat(float[] src, int offset, int length) {
         checkArraysBounds(offset, src.length, length, 4);
@@ -531,8 +531,8 @@
      * must be non-negative and no larger than dst.length - offset
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > src.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > src.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > src.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void getDouble(double[] dst, int offset, int length) {
         checkArraysBounds(offset, dst.length, length, 8);
@@ -555,8 +555,8 @@
      * must be non-negative and no larger than dst.length - offset
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > src.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > src.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > src.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void setDouble(double[] src, int offset, int length) {
         checkArraysBounds(offset, src.length, length, 8);
@@ -612,8 +612,8 @@
      * must be non-negative and no larger than dst.length - offset
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > src.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > src.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > src.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void getInt32(int[] dst, int offset, int length) {
         checkArraysBounds(offset, dst.length, length, 4);
@@ -636,8 +636,8 @@
      * must be non-negative and no larger than dst.length - offset
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > src.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > src.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > src.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void setInt32(int[] src, int offset, int length) {
         checkArraysBounds(offset, src.length, length, 4);
@@ -693,8 +693,8 @@
      * must be non-negative and no larger than dst.length - offset
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > src.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > src.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > src.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void getInt64(long[] dst, int offset, int length) {
         checkArraysBounds(offset, dst.length, length, 8);
@@ -717,8 +717,8 @@
      * must be non-negative and no larger than dst.length - offset
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > src.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > src.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > src.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void setInt64(long[] src, int offset, int length) {
         checkArraysBounds(offset, src.length, length, 8);
@@ -787,8 +787,8 @@
      * must be non-negative and no larger than dst.length - offset
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > src.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > src.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > src.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void getCLong(long[] dst, int offset, int length) {
         checkArraysBounds(offset, dst.length, length, CLONG_SIZE == 8 ? 8 : 4);
@@ -807,8 +807,8 @@
      * must be non-negative and no larger than dst.length - offset
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > src.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > src.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > src.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void setCLong(long[] src, int offset, int length) {
         checkArraysBounds(offset, src.length, length, CLONG_SIZE == 8 ? 8 : 4);
@@ -1110,15 +1110,15 @@
         }
     }
 
-    final void checkArraysBounds(int toIdx, int srcDstLengh, int copyLength, int bytesInData) {
+    final void checkArraysBounds(int toIdx, int srcDstLength, int copyLength, int bytesInData) {
         if (size == -1) {
             return;
         }
-        if (toIdx < 0 || toIdx > srcDstLengh) {
+        if (toIdx < 0 || toIdx > srcDstLength) {
             // awt.34=Initial offset in the destination array is wrong: {0}
             throw new IndexOutOfBoundsException(Messages.getString("awt.34", toIdx)); //$NON-NLS-1$
         }
-        if (copyLength < 0 || copyLength > srcDstLengh - toIdx || copyLength * bytesInData > size) {
+        if (copyLength < 0 || copyLength > srcDstLength - toIdx || copyLength * bytesInData > size) {
             // awt.35=Wrong number of elements to copy: {0}
             throw new IndexOutOfBoundsException(Messages.getString("awt.35", copyLength)); //$NON-NLS-1$
         }

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/nativebridge/Int16Pointer.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/nativebridge/Int16Pointer.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/nativebridge/Int16Pointer.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/nativebridge/Int16Pointer.java Wed Oct 24 14:08:22 2007
@@ -109,7 +109,7 @@
         if (byteBase != null) {
             byteBase.getChar(dst, offset, length);
         } else {
-            throw new UnsupportedOperationException("not inmplemented"); //$NON-NLS-1$
+            throw new UnsupportedOperationException("not implemented"); //$NON-NLS-1$
         }
     }
 
@@ -126,7 +126,7 @@
         if (byteBase != null) {
             byteBase.setChar(src, offset, length);
         } else {
-            throw new UnsupportedOperationException("not inmplemented"); //$NON-NLS-1$
+            throw new UnsupportedOperationException("not implemented"); //$NON-NLS-1$
         }
     }
 
@@ -143,7 +143,7 @@
         if (byteBase != null) {
             byteBase.getInt16(dst, offset, length);
         } else {
-            throw new UnsupportedOperationException("not inmplemented"); //$NON-NLS-1$
+            throw new UnsupportedOperationException("not implemented"); //$NON-NLS-1$
         }
     }
 
@@ -160,7 +160,7 @@
         if (byteBase != null) {
             byteBase.setInt16(src, offset, length);
         } else {
-            throw new UnsupportedOperationException("not inmplemented"); //$NON-NLS-1$
+            throw new UnsupportedOperationException("not implemented"); //$NON-NLS-1$
         }
     }
 
@@ -171,7 +171,7 @@
         if (byteBase != null) {
             return new Int16Pointer(byteBase.getBytesBaseElementPointer(index * INT16_SIZE_FACTOR, INT16_SIZE_FACTOR));
         }
-        throw new UnsupportedOperationException("not inmplemented"); //$NON-NLS-1$
+        throw new UnsupportedOperationException("not implemented"); //$NON-NLS-1$
     }
 
     /**
@@ -206,7 +206,7 @@
         if (byteBase != null) {
             byteBase.setString(str);
         } else {
-            throw new UnsupportedOperationException("not inmplemented"); //$NON-NLS-1$
+            throw new UnsupportedOperationException("not implemented"); //$NON-NLS-1$
         }
     }
 
@@ -217,7 +217,7 @@
                 byteBase.setInt16(i * INT16_SIZE_FACTOR, value);
             }
         } else {
-            throw new UnsupportedOperationException("not inmplemented"); //$NON-NLS-1$
+            throw new UnsupportedOperationException("not implemented"); //$NON-NLS-1$
         }
     }
 }

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/nativebridge/Int8Pointer.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/nativebridge/Int8Pointer.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/nativebridge/Int8Pointer.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/nativebridge/Int8Pointer.java Wed Oct 24 14:08:22 2007
@@ -83,8 +83,8 @@
      * must be non-negative and no larger than dst.length - from
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > dst.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > dst.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > dst.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void get(byte[] dst, int from, int length) {
         byteBase.get(dst, from, length);
@@ -100,8 +100,8 @@
      * must be non-negative and no larger than array.length - offset
      *
      * @throws IndexOutOfBoundsException if from < 0 || from > src.length
-     * @throws IndexOutOfBoundsException if lenght < 0 || lenght > src.length - from
-     * @throws IndexOutOfBoundsException if lenght > this.size()
+     * @throws IndexOutOfBoundsException if length < 0 || length > src.length - from
+     * @throws IndexOutOfBoundsException if length > this.size()
      */
     public void set(byte[] src, int offset, int length) {
         byteBase.set(src, offset, length);

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/unix/org/apache/harmony/awt/gl/font/LinuxGlyph.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/unix/org/apache/harmony/awt/gl/font/LinuxGlyph.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/unix/org/apache/harmony/awt/gl/font/LinuxGlyph.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/unix/org/apache/harmony/awt/gl/font/LinuxGlyph.java Wed Oct 24 14:08:22 2007
@@ -48,10 +48,10 @@
  */
 public class LinuxGlyph extends Glyph{
 
-    // Xft instanse
+    // Xft instance
     private final Xft xft = Xft.getInstance();
     
-    // LinuxNativeFontWrapper instanse
+    // LinuxNativeFontWrapper instance
     private final LinuxNativeFontWrapper lnfw = LinuxNativeFontWrapper.getInstance();
 
     // GlyphBitmap structure that stores bitmap of the glyph. 

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/unix/org/apache/harmony/awt/gl/font/LinuxNativeFont.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/unix/org/apache/harmony/awt/gl/font/LinuxNativeFont.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/unix/org/apache/harmony/awt/gl/font/LinuxNativeFont.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/unix/org/apache/harmony/awt/gl/font/LinuxNativeFont.java Wed Oct 24 14:08:22 2007
@@ -46,9 +46,9 @@
     public synchronized static native String[] getFontFamiliesNames();
 
     /**
-     * Returns true if the new font was added to the system, false otherwise.
-     * Methods checks if the number of system fonts changed after font configutation
-     * was rebuilded.
+     * Returns true if the new font was added to the system, false
+     * otherwise.  Methods checks if the number of system fonts
+     * changed after font configuration was rebuilt.
      *   
      * @param absolutePath absolute path to the font.
      */
@@ -59,7 +59,7 @@
      * font handle, also sets font type to the font peer parameter. 
      * NullPointerException is thrown if there are errors in native code. 
      * 
-     * @param linFont LinuxFont instanse
+     * @param linFont LinuxFont instance
      * @param family font family name
      * @param style style of the font
      * @param size size of the font
@@ -198,7 +198,7 @@
      * directory, after temporary font file is deleted.
      *   
      * @param tempFontFileName directory that is being re-cached name.
-     * @return not null value if succcess, 0 otherwise
+     * @return not null value if success, 0 otherwise
      */
     public synchronized static native int RemoveFontResource(String tempFontFileName);
 
@@ -677,7 +677,7 @@
     }
 
     /**
-     * Returns an array of instanses of 1 pt. sized plain Font objects
+     * Returns an array of instances of 1 pt. sized plain Font objects
      * corresponding to fonts supported by a system. 
      */
     public static Font[] getAllFonts() {

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/unix/org/apache/harmony/awt/gl/linux/DrawableTextRenderer.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/unix/org/apache/harmony/awt/gl/linux/DrawableTextRenderer.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/unix/org/apache/harmony/awt/gl/linux/DrawableTextRenderer.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/unix/org/apache/harmony/awt/gl/linux/DrawableTextRenderer.java Wed Oct 24 14:08:22 2007
@@ -45,10 +45,10 @@
  */
 public class DrawableTextRenderer extends TextRenderer {
     
-    /** Singleton DrawableTextRenderer instanse */
+    /** Singleton DrawableTextRenderer instance */
     public static final DrawableTextRenderer inst = new DrawableTextRenderer();
 
-    // X11 instanse
+    // X11 instance
     static final X11 x11 = X11.getInstance();
 
     boolean isAntialiasingHintSet(Graphics2D g){

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGDIPGraphics2D.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGDIPGraphics2D.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGDIPGraphics2D.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGDIPGraphics2D.java Wed Oct 24 14:08:22 2007
@@ -229,7 +229,7 @@
     }
 
 
-    //REMARK: It seems that transfrom affects paints too
+    //REMARK: It seems that transform affects paints too
     //REMARK: Think how to implement this
     @Override
     public void setPaint(Paint paint) {

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/nativebridge/windows/WinDataTransfer.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/nativebridge/windows/WinDataTransfer.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/nativebridge/windows/WinDataTransfer.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/nativebridge/windows/WinDataTransfer.java Wed Oct 24 14:08:22 2007
@@ -86,7 +86,7 @@
             return getDataObjectFormats(pointer);
         }
 
-        public boolean isNativeFormatAtailable(String nativeFormat) {
+        public boolean isNativeFormatAvailable(String nativeFormat) {
             return isDataObjectFormatAvailable(pointer, nativeFormat);
         }
         

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/AGL.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/AGL.h?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/AGL.h (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/AGL.h Wed Oct 24 14:08:22 2007
@@ -4044,7 +4044,7 @@
 111,238,  1,226,251, 56,  0,  0,115,109, 97,108,236,247,230,  0,
   0,  0,  0}; 
 
-static const ufshort STANDART_ENCODING[256] = {
+static const ufshort STANDARD_ENCODING[256] = {
     0,    0,    0,    0,    0,    0,    0,    0,
     0,    0,    0,    0,    0,    0,    0,    0,
     0,    0,    0,    0,    0,    0,    0,    0,

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/Outline.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/Outline.cpp?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/Outline.cpp (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/Outline.cpp Wed Oct 24 14:08:22 2007
@@ -25,7 +25,7 @@
 	commandsCount = 0;
 
 	_points = new ffloat[_pointsLength = pointsNumber];
-	_commands = new ufchar[_commandLenght = commandNumber];    
+	_commands = new ufchar[_commandLength = commandNumber];    
 
 	/*for (commandsCount = 0 ; commandsCount < commandNumber; commandsCount ++) {
 		this->_commands[commandsCount] = SEG_CLOSE;
@@ -40,11 +40,11 @@
 }
 
 void Outline::trim() {
-    if (_commandLenght == commandsCount) {
+    if (_commandLength == commandsCount) {
 		return;
 	}
 
-	//printf("_length = %u, commandsCount = %u\n", _commandLenght, commandsCount);
+	//printf("_length = %u, commandsCount = %u\n", _commandLength, commandsCount);
 
 	ufchar *commandMas = new ufchar[commandsCount];
 	ffloat *pointsMas = new ffloat[pointsCount];
@@ -58,7 +58,7 @@
 	_points = pointsMas;
 	_commands = commandMas;
 
-    _commandLenght = commandsCount;
+    _commandLength = commandsCount;
     _pointsLength = pointsCount;
 }
 
@@ -111,5 +111,5 @@
 }
 
 ufshort Outline::getCommandLength(void) {
-    return _commandLenght;
+    return _commandLength;
 }

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/Outline.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/Outline.h?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/Outline.h (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/Outline.h Wed Oct 24 14:08:22 2007
@@ -73,7 +73,7 @@
 	
 private:
 	ufshort _pointsLength;	
-    ufshort _commandLenght;	
+    ufshort _commandLength;	
 
 	ufshort pointsCount;
 	ufshort commandsCount;

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/T1Font.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/T1Font.cpp?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/T1Font.cpp (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/T1Font.cpp Wed Oct 24 14:08:22 2007
@@ -49,7 +49,7 @@
         _descent = 195;
 
 
-        fchar path[MAX_STR_LENGHT];
+        fchar path[MAX_STR_LENGTH];
         size_t length = strlen(pathToFile) - 3;
 
         strncpy(path, pathToFile, length);
@@ -402,7 +402,7 @@
 }
 
 void T1Font::parseAFM(FILE *font) {
-    fchar curStr[MAX_STR_LENGHT];
+    fchar curStr[MAX_STR_LENGTH];
 
     while (!feof(font)) {
         getNextLexeme(curStr, font);
@@ -424,7 +424,7 @@
         } /*else if (!strcmp(curStr, "StartCharMetrics")) {
             getNextLexeme(curStr, font);            
             fchar* curValue;
-            fchar psName[MAX_STR_LENGHT];
+            fchar psName[MAX_STR_LENGTH];
             ufshort count = (ufshort) atoi(curStr);
             for (ufshort i = 0; i < count; i ++) {
                 getNextLine(curStr, font);
@@ -461,7 +461,7 @@
 
 
 void T1Font::initFont(FILE *font) {
-	fchar curStr[MAX_STR_LENGHT];
+	fchar curStr[MAX_STR_LENGTH];
 
 	DecodeState state = HEADER;
 

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/T1Glyph.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/T1Glyph.cpp?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/T1Glyph.cpp (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/T1Glyph.cpp Wed Oct 24 14:08:22 2007
@@ -284,13 +284,13 @@
 
                         memcpy(tempGlyphBB, _glyphBB, 4 * sizeof(ffloat));
 
-						parseValueToOutline((*_charStringMap)[STANDART_ENCODING[(ufshort)y2]], stack, out, curX, curY, relativeSize);
+						parseValueToOutline((*_charStringMap)[STANDARD_ENCODING[(ufshort)y2]], stack, out, curX, curY, relativeSize);
 
 						*curY = x2;
 						*curX = y1;
 						out->moveTo(*curX, *curY);
 
-						parseValueToOutline((*_charStringMap)[STANDART_ENCODING[(ufshort)x3]], stack, out, curX, curY, relativeSize);
+						parseValueToOutline((*_charStringMap)[STANDARD_ENCODING[(ufshort)x3]], stack, out, curX, curY, relativeSize);
 
 						_advanceX = aX;
 						_advanceY = aY;
@@ -409,8 +409,8 @@
 						*point += 2;
 						*command += 1;
 
-						countPoints(stack, (*_charStringMap)[STANDART_ENCODING[bchar]], point, command);
-						countPoints(stack, (*_charStringMap)[STANDART_ENCODING[achar]], point, command);
+						countPoints(stack, (*_charStringMap)[STANDARD_ENCODING[bchar]], point, command);
+						countPoints(stack, (*_charStringMap)[STANDARD_ENCODING[achar]], point, command);
 
 						break;
 					} else if (curChar == CH_STR_ESCAPE_SBW) { //sbw

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/Type1Structs.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/Type1Structs.h?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/Type1Structs.h (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/fontlib/shared/Type1Structs.h Wed Oct 24 14:08:22 2007
@@ -37,7 +37,7 @@
 
 typedef std::map<const fchar*, const ufshort> Type1CharMap;//inner glyph number -- unicode
 
-static const ufshort MAX_STR_LENGHT = 1024;
+static const ufshort MAX_STR_LENGTH = 1024;
 static const ufshort C1 = 52845;
 static const ufshort C2 = 22719;
 static const ufshort DEF_R_EXEC = 55665;

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c Wed Oct 24 14:08:22 2007
@@ -174,8 +174,8 @@
  * Signature: (Ljava/lang/String;)Z
  *
  * Returns true if the new font was added to the system, false otherwise.
- * Methods checks if the number of system fonts changed after font configutation
- * was rebuilded.
+ * Methods checks if the number of system fonts changed after font configuration
+ * was rebuilt.
  */
 JNIEXPORT jstring JNICALL 
     Java_org_apache_harmony_awt_gl_font_LinuxNativeFont_embedFontNative(JNIEnv *env, jclass obj, jstring fName){

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/winfont/windows/winFont.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/winfont/windows/winFont.cpp?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/winfont/windows/winFont.cpp (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/winfont/windows/winFont.cpp Wed Oct 24 14:08:22 2007
@@ -389,7 +389,7 @@
 * Class:     org_apache_harmony_awt_gl_font_NativeFont
 * Method:    enumSystemFonts
 * Signature: ()V;
-* Description: Sets arrays of avaliable Font data in Java.
+* Description: Sets arrays of available Font data in Java.
 */
 JNIEXPORT void JNICALL Java_org_apache_harmony_awt_gl_font_NativeFont_enumSystemFonts(JNIEnv *env, jclass obj) {
     int i = 0;
@@ -816,7 +816,7 @@
 * Class:     org_apache_harmony_awt_gl_font_NativeFont
 * Method:    getFonts
 * Signature: ()[Ljava/lang/String;
-* Description: Returns array of avaliable Font Names.
+* Description: Returns array of available Font Names.
 *       !! Doesn't enumerate Type1 fonts !!
 */
 JNIEXPORT jobjectArray JNICALL Java_org_apache_harmony_awt_gl_font_NativeFont_getFonts(JNIEnv *env, jclass obj) {

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/GradientPaintTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/GradientPaintTest.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/GradientPaintTest.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/GradientPaintTest.java Wed Oct 24 14:08:22 2007
@@ -30,7 +30,7 @@
 
     GradientPaint gp;
 
-    public void testContructorBad() {
+    public void testConstructorBad() {
         // Regression for HARMONY-1470
         try {
             new GradientPaint(1, 2, null, 3, 4, new Color(255), false);

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/TexturePaintTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/TexturePaintTest.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/TexturePaintTest.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/TexturePaintTest.java Wed Oct 24 14:08:22 2007
@@ -22,7 +22,7 @@
 
 public class TexturePaintTest extends TestCase {
 
-    public void testContructorBad() {
+    public void testConstructorBad() {
         // Regression HARMONY-1471
         try {
             new TexturePaint(null, new Rectangle());

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/geom/ShapeTestCase.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/geom/ShapeTestCase.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/geom/ShapeTestCase.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/geom/ShapeTestCase.java Wed Oct 24 14:08:22 2007
@@ -524,7 +524,7 @@
           return list;
     }
 
-    void interator(String name, FilenameFilter filter, Runner runner) {
+    void iterator(String name, FilenameFilter filter, Runner runner) {
         if (filter == null) {
             return; // skip test
         }
@@ -540,28 +540,28 @@
     }
 
     public void testGetPathIterator() {
-        interator(
+        iterator(
                 "getPathIterator()",
                 filterShape,
                 new Runner.PathIterator());
     }
 
     public void testContainsPoint() {
-        interator(
+        iterator(
                 "contains(double,double)",
                 filterImage,
                 new Runner.Point());
     }
 
     public void testContainsRect() {
-        interator(
+        iterator(
                 "contains(double,double,double,double)",
                 filterImage,
                 new Runner.Rectangle.Contains());
     }
 
     public void testIntersectsRect() {
-        interator(
+        iterator(
                 "intersects(double,double,double,double)",
                 filterImage,
                 new Runner.Rectangle.Intersects());

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/org/apache/harmony/awt/tests/java/awt/image/LookupOpTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/org/apache/harmony/awt/tests/java/awt/image/LookupOpTest.java?rev=588023&r1=588022&r2=588023&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/org/apache/harmony/awt/tests/java/awt/image/LookupOpTest.java (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/org/apache/harmony/awt/tests/java/awt/image/LookupOpTest.java Wed Oct 24 14:08:22 2007
@@ -47,7 +47,7 @@
      * Test method for 'java.awt.image.LookupOp.filter()' when src and dst have
      * different heights or widths.
      */
-    public final void test_LookupOp_filter_DifferentDimentionsTest() {
+    public final void test_LookupOp_filter_DifferentDimensionsTest() {
         // regression test for Harmony-1632
         byte[] array0 = new byte[96];
         ByteLookupTable localByteLookupTable = new ByteLookupTable(1, array0);