This removes the not implemented tag from DataFlavor.writeExternal() as
this is now implemented. I forgot that in the last patch.

2006-10-30  Roman Kennke  <[EMAIL PROTECTED]>

        * java/awt/datatransfer/DataFlavor.java
        (writeExternal): Remove not implemented tag.

/Roman
Index: java/awt/datatransfer/DataFlavor.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/awt/datatransfer/DataFlavor.java,v
retrieving revision 1.33
diff -u -1 -5 -r1.33 DataFlavor.java
--- java/awt/datatransfer/DataFlavor.java	30 Oct 2006 13:19:49 -0000	1.33
+++ java/awt/datatransfer/DataFlavor.java	30 Oct 2006 14:32:56 -0000
@@ -26,32 +26,30 @@
 As a special exception, the copyright holders of this library give you
 permission to link this library with independent modules to produce an
 executable, regardless of the license terms of these independent
 modules, and to copy and distribute the resulting executable under
 terms of your choice, provided that you also meet, for each linked
 independent module, the terms and conditions of the license of that
 module.  An independent module is a module which is not derived from
 or based on this library.  If you modify this library, you may extend
 this exception to your version of the library, but you are not
 obligated to do so.  If you do not wish to do so, delete this
 exception statement from your version. */
 
 
 package java.awt.datatransfer;
 
-import gnu.classpath.NotImplementedException;
-
 import java.io.ByteArrayInputStream;
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.InputStreamReader;
 import java.io.ObjectInput;
 import java.io.ObjectOutput;
 import java.io.OptionalDataException;
 import java.io.Reader;
 import java.io.Serializable;
 import java.io.StringReader;
 import java.io.UnsupportedEncodingException;
 import java.nio.ByteBuffer;
 import java.nio.CharBuffer;
 import java.nio.charset.Charset;
 import java.rmi.Remote;
@@ -788,31 +786,31 @@
    * @deprecated
    */
   protected String normalizeMimeType(String type)
   {
     return type;
   }
 
   /**
    * Serialize this class.
    *
    * @param stream The <code>ObjectOutput</code> stream to serialize to.
    *
    * @exception IOException If an error occurs.
    */
   public void writeExternal(ObjectOutput stream) 
-    throws IOException, NotImplementedException
+    throws IOException
   {
     if (mimeType != null)
       {
         mimeType.addParameter("humanPresentableName", humanPresentableName);
         stream.writeObject(mimeType);
         mimeType.removeParameter("humanPresentableName");
       }
     else
       stream.writeObject(null);
     stream.writeObject(representationClass);
   }
 
 
   /**
    * De-serialize this class.

Reply via email to