harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r587969 - in /harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins: jpeg/JPEGImageReader.java png/PNGImageReader.java png/PNGImageWriter.java
Date Wed, 24 Oct 2007 19:01:41 GMT
Author: hindessm
Date: Wed Oct 24 12:01:40 2007
New Revision: 587969

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

Modified:
    harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/jpeg/JPEGImageReader.java
    harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/png/PNGImageReader.java
    harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/png/PNGImageWriter.java

Modified: harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/jpeg/JPEGImageReader.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/jpeg/JPEGImageReader.java?rev=587969&r1=587968&r2=587969&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/jpeg/JPEGImageReader.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/jpeg/JPEGImageReader.java
Wed Oct 24 12:01:40 2007
@@ -55,37 +55,37 @@
 
     @Override
     public int getHeight(int i) throws IOException {
-        //-- TODO imlement
+        //-- TODO implement
         throw new UnsupportedOperationException("not implemented yet");
     }
 
     @Override
     public int getWidth(int i) throws IOException {
-        //-- TODO imlement
+        //-- TODO implement
         throw new UnsupportedOperationException("not implemented yet");
     }
 
     @Override
     public int getNumImages(boolean b) throws IOException {
-        //-- TODO imlement
+        //-- TODO implement
         throw new UnsupportedOperationException("not implemented yet");
     }
 
     @Override
     public Iterator<ImageTypeSpecifier> getImageTypes(int i) throws IOException {
-        //-- TODO imlement
+        //-- TODO implement
         throw new UnsupportedOperationException("not implemented yet");
     }
 
     @Override
     public IIOMetadata getStreamMetadata() throws IOException {
-        //-- TODO imlement
+        //-- TODO implement
         throw new UnsupportedOperationException("not implemented yet");
     }
 
     @Override
     public IIOMetadata getImageMetadata(int i) throws IOException {
-        //-- TODO imlement
+        //-- TODO implement
         throw new UnsupportedOperationException("not implemented yet");
     }
 

Modified: harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/png/PNGImageReader.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/png/PNGImageReader.java?rev=587969&r1=587968&r2=587969&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/png/PNGImageReader.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/png/PNGImageReader.java
Wed Oct 24 12:01:40 2007
@@ -41,34 +41,34 @@
     }
 
     public int getNumImages(boolean allowSearch) throws IOException {
-        //-- TODO imlement
+        //-- TODO implement
         throw new UnsupportedOperationException("not implemented yet");
     }
 
     public int getWidth(int imageIndex) throws IOException {
-        //-- TODO imlement
+        //-- TODO implement
         throw new UnsupportedOperationException("not implemented yet");
     }
 
     public int getHeight(int imageIndex) throws IOException {
-        //-- TODO imlement
+        //-- TODO implement
         throw new UnsupportedOperationException("not implemented yet");
     }
 
     public Iterator<ImageTypeSpecifier> getImageTypes(int imageIndex) throws IOException
{
-        //-- TODO imlement
+        //-- TODO implement
         throw new UnsupportedOperationException("not implemented yet");
     }
 
     @Override
     public IIOMetadata getStreamMetadata() throws IOException {
-        //-- TODO imlement
+        //-- TODO implement
         throw new UnsupportedOperationException("not implemented yet");
     }
 
     @Override
     public IIOMetadata getImageMetadata(int imageIndex) throws IOException {
-        //-- TODO imlement
+        //-- TODO implement
         throw new UnsupportedOperationException("not implemented yet");
     }
 

Modified: harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/png/PNGImageWriter.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/png/PNGImageWriter.java?rev=587969&r1=587968&r2=587969&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/png/PNGImageWriter.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/png/PNGImageWriter.java
Wed Oct 24 12:01:40 2007
@@ -183,9 +183,9 @@
             colorType = PNG_COLOR_TYPE_RGBA;
         }
 
-        int dbufferLenght = bytePixelSize * imageHeight * imageWidth;
+        int dbufferLength = bytePixelSize * imageHeight * imageWidth;
 
-        dbuffer = new DataBufferByte(dbufferLenght);
+        dbuffer = new DataBufferByte(dbufferLength);
 
         WritableRaster scanRaster = Raster.createInterleavedRaster(dbuffer, imageWidth, imageHeight,
bpb * numBands
                 * imageWidth, bpb * numBands, BAND_OFFSETS[numBands], null);
@@ -198,7 +198,7 @@
         }
 
         try {
-            encode(dbuffer.getData(), dbufferLenght, bytePixelSize, (ImageOutputStream) getOutput(),
imageWidth,
+            encode(dbuffer.getData(), dbufferLength, bytePixelSize, (ImageOutputStream) getOutput(),
imageWidth,
                     imageHeight, bitDepth, colorType, palette, palette == null ? 0 : palette.length,
isInterlace);
 
         }



Mime
View raw message