harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r954519 - in /harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi: IIOServiceProvider.java ImageInputStreamSpi.java ImageOutputStreamSpi.java ImageReaderSpi.java ImageWriterSpi.java
Date Mon, 14 Jun 2010 15:37:38 GMT
Author: tellison
Date: Mon Jun 14 15:37:38 2010
New Revision: 954519

URL: http://svn.apache.org/viewvc?rev=954519&view=rev
Log:
Apply patch for HARMONY-6550 (remove NotImplementedException marker for few methods that have
been implemented)

Modified:
    harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/IIOServiceProvider.java
    harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageInputStreamSpi.java
    harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageOutputStreamSpi.java
    harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageReaderSpi.java
    harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageWriterSpi.java

Modified: harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/IIOServiceProvider.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/IIOServiceProvider.java?rev=954519&r1=954518&r2=954519&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/IIOServiceProvider.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/IIOServiceProvider.java
Mon Jun 14 15:37:38 2010
@@ -21,7 +21,6 @@ package javax.imageio.spi;
 
 import java.util.Locale;
 
-import org.apache.harmony.luni.util.NotImplementedException;
 import org.apache.harmony.x.imageio.internal.nls.Messages;
 
 public abstract class IIOServiceProvider implements RegisterableService {
@@ -40,9 +39,8 @@ public abstract class IIOServiceProvider
         this.version = version;
     }
 
-    public IIOServiceProvider() throws NotImplementedException {
-        // TODO: implement
-        throw new NotImplementedException();
+    public IIOServiceProvider() {
+        // the default impl. does nothing
     }
 
     public void onRegistration(ServiceRegistry registry, Class<?> category) {

Modified: harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageInputStreamSpi.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageInputStreamSpi.java?rev=954519&r1=954518&r2=954519&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageInputStreamSpi.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageInputStreamSpi.java
Mon Jun 14 15:37:38 2010
@@ -23,15 +23,12 @@ import java.io.File;
 import java.io.IOException;
 import javax.imageio.stream.ImageInputStream;
 
-import org.apache.harmony.luni.util.NotImplementedException;
-
 public abstract class ImageInputStreamSpi extends IIOServiceProvider implements
         RegisterableService {
     protected Class<?> inputClass;
 
-    protected ImageInputStreamSpi() throws NotImplementedException {
-        // TODO: implement
-        throw new NotImplementedException();
+    protected ImageInputStreamSpi() {
+        // the default impl. does nothing
     }
 
     public ImageInputStreamSpi(String vendorName, String version, Class<?> inputClass)
{

Modified: harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageOutputStreamSpi.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageOutputStreamSpi.java?rev=954519&r1=954518&r2=954519&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageOutputStreamSpi.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageOutputStreamSpi.java
Mon Jun 14 15:37:38 2010
@@ -21,8 +21,6 @@ package javax.imageio.spi;
 
 import javax.imageio.stream.ImageOutputStream;
 
-import org.apache.harmony.luni.util.NotImplementedException;
-
 import java.io.IOException;
 import java.io.File;
 
@@ -30,9 +28,8 @@ public abstract class ImageOutputStreamS
         RegisterableService {
     protected Class<?> outputClass;
 
-    protected ImageOutputStreamSpi() throws NotImplementedException {
-        // TODO: implement
-        throw new NotImplementedException();
+    protected ImageOutputStreamSpi() {
+        // the default impl. does nothing
     }
 
     public ImageOutputStreamSpi(String vendorName, String version, Class<?> outputClass)
{

Modified: harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageReaderSpi.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageReaderSpi.java?rev=954519&r1=954518&r2=954519&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageReaderSpi.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageReaderSpi.java
Mon Jun 14 15:37:38 2010
@@ -22,8 +22,6 @@ package javax.imageio.spi;
 import javax.imageio.stream.ImageInputStream;
 import javax.imageio.ImageReader;
 
-import org.apache.harmony.luni.util.NotImplementedException;
-
 import java.io.IOException;
 import org.apache.harmony.x.imageio.internal.nls.Messages;
 
@@ -34,9 +32,8 @@ public abstract class ImageReaderSpi ext
     protected Class[] inputTypes;
     protected String[] writerSpiNames;
 
-    protected ImageReaderSpi() throws NotImplementedException {
-        // TODO: implement
-        throw new NotImplementedException();
+    protected ImageReaderSpi() {
+        // the default impl. does nothing 
     }
 
     public ImageReaderSpi(String vendorName, String version, String[] names, String[] suffixes,

Modified: harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageWriterSpi.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageWriterSpi.java?rev=954519&r1=954518&r2=954519&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageWriterSpi.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/imageio/src/main/java/javax/imageio/spi/ImageWriterSpi.java
Mon Jun 14 15:37:38 2010
@@ -23,8 +23,6 @@ import javax.imageio.stream.ImageInputSt
 import javax.imageio.ImageTypeSpecifier;
 import javax.imageio.ImageWriter;
 
-import org.apache.harmony.luni.util.NotImplementedException;
-
 import java.awt.image.RenderedImage;
 import java.io.IOException;
 import org.apache.harmony.x.imageio.internal.nls.Messages;
@@ -36,9 +34,8 @@ public abstract class ImageWriterSpi ext
     protected Class[] outputTypes;
     protected String[] readerSpiNames;
 
-    protected ImageWriterSpi() throws NotImplementedException {
-        // TODO: implement
-        throw new NotImplementedException();
+    protected ImageWriterSpi() {
+        // the default impl. does nothing
     }
 
     public ImageWriterSpi(String vendorName, String version, String[] names,



Mime
View raw message