opensubscriber
   Find in this group all groups
 
Unknown more information…

c : classpathx-javamail@gnu.org 29 November 2007 • 9:21AM -0500

[Classpathx-javamail] Patch Review: import changes
by Conrad T. Pino

REPLY TO AUTHOR
 
REPLY TO GROUP



Patch goals:

1. Remove import is never used warnings, 436 in total.

2. Replace package imports with class imports:
   import java.io.*; -> import java.io.IOException;

Index: source/gnu/mail/handler/Application.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/handler/Application.java,v
retrieving revision 1.7
diff -u -r1.7 Application.java
--- source/gnu/mail/handler/Application.java 27 Nov 2007 22:03:54 -0000 1.7
+++ source/gnu/mail/handler/Application.java 28 Nov 2007 23:33:42 -0000
@@ -29,11 +29,13 @@

import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.UnsupportedFlavorException;
-import java.io.*;
-import javax.activation.*;
-import javax.mail.internet.ContentType;
-import javax.mail.internet.MimeUtility;
-import javax.mail.internet.ParseException;
+import java.io.ByteArrayOutputStream;
+import java.io.InputStream;
+import java.io.IOException;
+import java.io.OutputStream;
+import javax.activation.ActivationDataFlavor;
+import javax.activation.DataContentHandler;
+import javax.activation.DataSource;

/**
  * A JAF data content handler for the application/* family of MIME content
Index: source/gnu/mail/handler/Message.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/handler/Message.java,v
retrieving revision 1.5
diff -u -r1.5 Message.java
--- source/gnu/mail/handler/Message.java 27 Nov 2007 22:03:54 -0000 1.5
+++ source/gnu/mail/handler/Message.java 28 Nov 2007 23:33:42 -0000
@@ -29,9 +29,14 @@

import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.UnsupportedFlavorException;
-import java.io.*;
+import java.io.InputStream;
+import java.io.IOException;
+import java.io.OutputStream;
import java.util.Properties;
-import javax.activation.*;
+import javax.activation.ActivationDataFlavor;
+import javax.activation.DataContentHandler;
+import javax.activation.DataSource;
+import javax.activation.UnsupportedDataTypeException;
import javax.mail.MessageAware;
import javax.mail.MessageContext;
import javax.mail.MessagingException;
Index: source/gnu/mail/handler/Multipart.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/handler/Multipart.java,v
retrieving revision 1.6
diff -u -r1.6 Multipart.java
--- source/gnu/mail/handler/Multipart.java 27 Nov 2007 22:03:54 -0000 1.6
+++ source/gnu/mail/handler/Multipart.java 28 Nov 2007 23:33:42 -0000
@@ -29,8 +29,12 @@

import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.UnsupportedFlavorException;
-import java.io.*;
-import javax.activation.*;
+import java.io.IOException;
+import java.io.OutputStream;
+import javax.activation.ActivationDataFlavor;
+import javax.activation.DataContentHandler;
+import javax.activation.DataSource;
+import javax.activation.UnsupportedDataTypeException;
import javax.mail.MessagingException;
import javax.mail.internet.MimeMultipart;

Index: source/gnu/mail/handler/Text.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/handler/Text.java,v
retrieving revision 1.5
diff -u -r1.5 Text.java
--- source/gnu/mail/handler/Text.java 27 Nov 2007 22:03:54 -0000 1.5
+++ source/gnu/mail/handler/Text.java 28 Nov 2007 23:33:42 -0000
@@ -29,8 +29,14 @@

import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.UnsupportedFlavorException;
-import java.io.*;
-import javax.activation.*;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.io.OutputStreamWriter;
+import javax.activation.ActivationDataFlavor;
+import javax.activation.DataContentHandler;
+import javax.activation.DataSource;
import javax.mail.internet.ContentType;
import javax.mail.internet.MimeUtility;
import javax.mail.internet.ParseException;
Index: source/gnu/mail/providers/ReadOnlyMessage.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/providers/ReadOnlyMessage.java,v
retrieving revision 1.6
diff -u -r1.6 ReadOnlyMessage.java
--- source/gnu/mail/providers/ReadOnlyMessage.java 27 Nov 2007 22:03:54 -0000 1.6
+++ source/gnu/mail/providers/ReadOnlyMessage.java 28 Nov 2007 23:33:42 -0000
@@ -31,7 +31,6 @@
import javax.mail.Flags;
import javax.mail.Folder;
import javax.mail.IllegalWriteException;
-import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Multipart;
import javax.mail.internet.InternetHeaders;
Index: source/gnu/mail/providers/imap/IMAPFolder.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/providers/imap/IMAPFolder.java,v
retrieving revision 1.21
diff -u -r1.21 IMAPFolder.java
--- source/gnu/mail/providers/imap/IMAPFolder.java 27 Nov 2007 22:03:54 -0000 1.21
+++ source/gnu/mail/providers/imap/IMAPFolder.java 28 Nov 2007 23:33:42 -0000
@@ -52,23 +52,18 @@
import javax.mail.event.FolderEvent;
import javax.mail.internet.MimeMessage;

-import javax.mail.search.AddressStringTerm;
import javax.mail.search.AddressTerm;
import javax.mail.search.AndTerm;
import javax.mail.search.BodyTerm;
import javax.mail.search.ComparisonTerm;
import javax.mail.search.DateTerm;
import javax.mail.search.FlagTerm;
-import javax.mail.search.FromStringTerm;
import javax.mail.search.FromTerm;
import javax.mail.search.HeaderTerm;
import javax.mail.search.IntegerComparisonTerm;
import javax.mail.search.MessageIDTerm;
-import javax.mail.search.MessageNumberTerm;
import javax.mail.search.NotTerm;
import javax.mail.search.OrTerm;
-import javax.mail.search.ReceivedDateTerm;
-import javax.mail.search.RecipientStringTerm;
import javax.mail.search.RecipientTerm;
import javax.mail.search.SearchTerm;
import javax.mail.search.SentDateTerm;
Index: source/gnu/mail/providers/imap/IMAPMessage.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/providers/imap/IMAPMessage.java,v
retrieving revision 1.12
diff -u -r1.12 IMAPMessage.java
--- source/gnu/mail/providers/imap/IMAPMessage.java 27 Nov 2007 22:03:54 -0000 1.12
+++ source/gnu/mail/providers/imap/IMAPMessage.java 28 Nov 2007 23:33:42 -0000
@@ -35,7 +35,6 @@
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
-import java.util.Arrays;
import java.util.Collections;
import java.util.Date;
import java.util.Enumeration;
@@ -44,13 +43,11 @@
import javax.activation.DataHandler;
import javax.mail.Flags;
import javax.mail.Folder;
-import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Part;
import javax.mail.internet.ContentType;
import javax.mail.internet.InternetHeaders;
import javax.mail.internet.ParameterList;
-import javax.mail.internet.MimeMessage;

import gnu.inet.imap.IMAPConnection;
import gnu.inet.imap.IMAPConstants;
Index: source/gnu/mail/providers/imap/IMAPMultipart.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/providers/imap/IMAPMultipart.java,v
retrieving revision 1.5
diff -u -r1.5 IMAPMultipart.java
--- source/gnu/mail/providers/imap/IMAPMultipart.java 27 Nov 2007 22:03:55 -0000 1.5
+++ source/gnu/mail/providers/imap/IMAPMultipart.java 28 Nov 2007 23:33:42 -0000
@@ -27,11 +27,6 @@

package gnu.mail.providers.imap;

-import java.io.InputStream;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.net.ProtocolException;
-import javax.mail.MultipartDataSource;
import javax.mail.Part;
import javax.mail.internet.MimeMultipart;

Index: source/gnu/mail/providers/maildir/MaildirFolder.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/providers/maildir/MaildirFolder.java,v
retrieving revision 1.8
diff -u -r1.8 MaildirFolder.java
--- source/gnu/mail/providers/maildir/MaildirFolder.java 27 Nov 2007 22:03:55 -0000 1.8
+++ source/gnu/mail/providers/maildir/MaildirFolder.java 28 Nov 2007 23:33:42 -0000
@@ -37,10 +37,7 @@
import java.io.OutputStream;
import java.net.InetAddress;
import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Date;
import java.util.List;
-import javax.mail.Address;
import javax.mail.Flags;
import javax.mail.Folder;
import javax.mail.FolderNotFoundException;
@@ -53,8 +50,6 @@
import javax.mail.event.FolderEvent;
import javax.mail.internet.MimeMessage;

-import gnu.inet.util.LineInputStream;
-
/**
  * The folder class implementing a Maildir-format mailbox.
  *
Index: source/gnu/mail/providers/mbox/MboxMessage.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/providers/mbox/MboxMessage.java,v
retrieving revision 1.12
diff -u -r1.12 MboxMessage.java
--- source/gnu/mail/providers/mbox/MboxMessage.java 27 Nov 2007 22:03:55 -0000 1.12
+++ source/gnu/mail/providers/mbox/MboxMessage.java 28 Nov 2007 23:33:43 -0000
@@ -28,7 +28,6 @@
package gnu.mail.providers.mbox;

import java.io.InputStream;
-import javax.activation.DataHandler;
import javax.mail.Flags;
import javax.mail.MessagingException;
import javax.mail.internet.MimeMessage;
Index: source/gnu/mail/providers/nntp/NNTPStore.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/providers/nntp/NNTPStore.java,v
retrieving revision 1.17
diff -u -r1.17 NNTPStore.java
--- source/gnu/mail/providers/nntp/NNTPStore.java 27 Nov 2007 22:03:55 -0000 1.17
+++ source/gnu/mail/providers/nntp/NNTPStore.java 28 Nov 2007 23:33:43 -0000
@@ -29,14 +29,12 @@

import java.io.File;
import java.io.IOException;
-import java.lang.reflect.Constructor;
import java.util.logging.Formatter;
import java.util.logging.Handler;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.logging.StreamHandler;

-import javax.mail.AuthenticationFailedException;
import javax.mail.Flags;
import javax.mail.Folder;
import javax.mail.MessagingException;
Index: source/gnu/mail/providers/nntp/NNTPTransport.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/providers/nntp/NNTPTransport.java,v
retrieving revision 1.13
diff -u -r1.13 NNTPTransport.java
--- source/gnu/mail/providers/nntp/NNTPTransport.java 27 Nov 2007 22:03:55 -0000 1.13
+++ source/gnu/mail/providers/nntp/NNTPTransport.java 28 Nov 2007 23:33:43 -0000
@@ -33,7 +33,6 @@
import java.util.logging.Formatter;
import java.util.logging.Handler;
import java.util.logging.Level;
-import java.util.logging.Logger;
import java.util.logging.StreamHandler;
import javax.mail.Address;
import javax.mail.AuthenticationFailedException;
Index: source/gnu/mail/providers/pop3/POP3Message.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/providers/pop3/POP3Message.java,v
retrieving revision 1.13
diff -u -r1.13 POP3Message.java
--- source/gnu/mail/providers/pop3/POP3Message.java 27 Nov 2007 22:03:55 -0000 1.13
+++ source/gnu/mail/providers/pop3/POP3Message.java 28 Nov 2007 23:33:43 -0000
@@ -36,7 +36,6 @@
import javax.mail.Folder;
import javax.mail.IllegalWriteException;
import javax.mail.MessagingException;
-import javax.mail.internet.InternetHeaders;

import gnu.inet.pop3.POP3Connection;
import gnu.mail.providers.ReadOnlyMessage;
Index: source/gnu/mail/providers/pop3/POP3Store.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/providers/pop3/POP3Store.java,v
retrieving revision 1.24
diff -u -r1.24 POP3Store.java
--- source/gnu/mail/providers/pop3/POP3Store.java 27 Nov 2007 22:03:55 -0000 1.24
+++ source/gnu/mail/providers/pop3/POP3Store.java 28 Nov 2007 23:33:43 -0000
@@ -27,7 +27,6 @@

package gnu.mail.providers.pop3;

-import java.io.InputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.lang.reflect.Method;
@@ -45,7 +44,6 @@
import java.util.logging.Logger;
import java.util.logging.StreamHandler;
import javax.mail.Folder;
-import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.PasswordAuthentication;
import javax.mail.Session;
Index: source/gnu/mail/treeutil/StatusEvent.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/treeutil/StatusEvent.java,v
retrieving revision 1.6
diff -u -r1.6 StatusEvent.java
--- source/gnu/mail/treeutil/StatusEvent.java 27 Nov 2007 22:03:56 -0000 1.6
+++ source/gnu/mail/treeutil/StatusEvent.java 28 Nov 2007 23:33:43 -0000
@@ -27,7 +27,7 @@

package gnu.mail.treeutil;

-import java.util.*;
+import java.util.EventObject;

/**
  * A status message.
Index: source/gnu/mail/treeutil/StatusListener.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/treeutil/StatusListener.java,v
retrieving revision 1.7
diff -u -r1.7 StatusListener.java
--- source/gnu/mail/treeutil/StatusListener.java 27 Nov 2007 22:03:56 -0000 1.7
+++ source/gnu/mail/treeutil/StatusListener.java 28 Nov 2007 23:33:43 -0000
@@ -27,7 +27,7 @@

package gnu.mail.treeutil;

-import java.util.*;
+import java.util.EventListener;

/**
  * A callback interface for passing status messages.
Index: source/gnu/mail/util/Base64InputStream.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/util/Base64InputStream.java,v
retrieving revision 1.7
diff -u -r1.7 Base64InputStream.java
--- source/gnu/mail/util/Base64InputStream.java 27 Nov 2007 22:03:56 -0000 1.7
+++ source/gnu/mail/util/Base64InputStream.java 28 Nov 2007 23:33:43 -0000
@@ -27,7 +27,9 @@

package gnu.mail.util;

-import java.io.*;
+import java.io.FilterInputStream;
+import java.io.InputStream;
+import java.io.IOException;

/**
  * A Base64 content transfer encoding filter stream.
Index: source/gnu/mail/util/Base64OutputStream.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/util/Base64OutputStream.java,v
retrieving revision 1.6
diff -u -r1.6 Base64OutputStream.java
--- source/gnu/mail/util/Base64OutputStream.java 27 Nov 2007 22:03:56 -0000 1.6
+++ source/gnu/mail/util/Base64OutputStream.java 28 Nov 2007 23:33:43 -0000
@@ -27,7 +27,9 @@

package gnu.mail.util;

-import java.io.*;
+import java.io.FilterOutputStream;
+import java.io.IOException;
+import java.io.OutputStream;

/**
  * A Base64 content transfer encoding filter stream.
Index: source/gnu/mail/util/QInputStream.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/util/QInputStream.java,v
retrieving revision 1.6
diff -u -r1.6 QInputStream.java
--- source/gnu/mail/util/QInputStream.java 27 Nov 2007 22:03:56 -0000 1.6
+++ source/gnu/mail/util/QInputStream.java 28 Nov 2007 23:33:43 -0000
@@ -27,7 +27,8 @@

package gnu.mail.util;

-import java.io.*;
+import java.io.InputStream;
+import java.io.IOException;

/**
  * Provides RFC 2047 "B" transfer encoding.
Index: source/gnu/mail/util/QPInputStream.java
===================================================================
RCS file: /sources/classpathx/mail/source/gnu/mail/util/QPInputStream.java,v
retrieving revision 1.7
diff -u -r1.7 QPInputStream.java
--- source/gnu/mail/util/QPInputStream.java 27 Nov 2007 22:03:56 -0000 1.7
+++ source/gnu/mail/util/QPInputStream.java 28 Nov 2007 23:33:43 -0000
@@ -27,7 +27,10 @@

package gnu.mail.util;

-import java.io.*;
+import java.io.FilterInputStream;
+import java.io.InputStream;
+import java.io.IOException;
+import java.io.PushbackInputStream;

/**
  * A Quoted-Printable decoder stream.
Index: source/javax/mail/Folder.java
===================================================================
RCS file: /sources/classpathx/mail/source/javax/mail/Folder.java,v
retrieving revision 1.14
diff -u -r1.14 Folder.java
--- source/javax/mail/Folder.java 27 Nov 2007 22:03:56 -0000 1.14
+++ source/javax/mail/Folder.java 28 Nov 2007 23:33:43 -0000
@@ -32,7 +32,6 @@
import javax.mail.event.ConnectionListener;
import javax.mail.event.FolderEvent;
import javax.mail.event.FolderListener;
-import javax.mail.event.MailEvent;
import javax.mail.event.MessageChangedEvent;
import javax.mail.event.MessageChangedListener;
import javax.mail.event.MessageCountEvent;
Index: source/javax/mail/Message.java
===================================================================
RCS file: /sources/classpathx/mail/source/javax/mail/Message.java,v
retrieving revision 1.14
diff -u -r1.14 Message.java
--- source/javax/mail/Message.java 27 Nov 2007 22:03:57 -0000 1.14
+++ source/javax/mail/Message.java 28 Nov 2007 23:33:43 -0000
@@ -31,7 +31,6 @@
import java.io.ObjectStreamException;
import java.io.Serializable;
import java.util.Date;
-import java.util.Enumeration;
import javax.mail.search.SearchTerm;

/**
Index: source/javax/mail/Multipart.java
===================================================================
RCS file: /sources/classpathx/mail/source/javax/mail/Multipart.java,v
retrieving revision 1.12
diff -u -r1.12 Multipart.java
--- source/javax/mail/Multipart.java 27 Nov 2007 22:03:57 -0000 1.12
+++ source/javax/mail/Multipart.java 28 Nov 2007 23:33:43 -0000
@@ -30,7 +30,6 @@
import java.io.IOException;
import java.io.OutputStream;
import java.util.Vector;
-import javax.activation.DataSource;

/**
  * A multipart is a container for multiple body parts.
Index: source/javax/mail/Session.java
===================================================================
RCS file: /sources/classpathx/mail/source/javax/mail/Session.java,v
retrieving revision 1.21
diff -u -r1.21 Session.java
--- source/javax/mail/Session.java 27 Nov 2007 22:03:57 -0000 1.21
+++ source/javax/mail/Session.java 28 Nov 2007 23:33:44 -0000
@@ -27,10 +27,17 @@

package javax.mail;

-import java.io.*;
+import java.io.BufferedInputStream;
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.IOException;
+import java.io.PrintStream;
import java.lang.reflect.Constructor;
import java.net.InetAddress;
-import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Properties;
Index: source/javax/mail/UIDFolder.java
===================================================================
RCS file: /sources/classpathx/mail/source/javax/mail/UIDFolder.java,v
retrieving revision 1.12
diff -u -r1.12 UIDFolder.java
--- source/javax/mail/UIDFolder.java 27 Nov 2007 22:03:58 -0000 1.12
+++ source/javax/mail/UIDFolder.java 28 Nov 2007 23:33:44 -0000
@@ -27,8 +27,6 @@

package javax.mail;

-import java.util.NoSuchElementException;
-
/**
  * A folder that supports permanent references to messages in the form of a
  * long integer (i.e. an IMAP folder). These UIDs survive the closure and
Index: source/javax/mail/URLName.java
===================================================================
RCS file: /sources/classpathx/mail/source/javax/mail/URLName.java,v
retrieving revision 1.12
diff -u -r1.12 URLName.java
--- source/javax/mail/URLName.java 27 Nov 2007 22:03:58 -0000 1.12
+++ source/javax/mail/URLName.java 28 Nov 2007 23:33:44 -0000
@@ -27,8 +27,10 @@

package javax.mail;

-import java.io.*;
-import java.net.*;
+import java.net.InetAddress;
+import java.net.MalformedURLException;
+import java.net.UnknownHostException;
+import java.net.URL;

/**
  * The name of a URL.
Index: source/javax/mail/internet/InternetHeaders.java
===================================================================
RCS file: /sources/classpathx/mail/source/javax/mail/internet/InternetHeaders.java,v
retrieving revision 1.23
diff -u -r1.23 InternetHeaders.java
--- source/javax/mail/internet/InternetHeaders.java 27 Nov 2007 22:03:59 -0000 1.23
+++ source/javax/mail/internet/InternetHeaders.java 28 Nov 2007 23:33:44 -0000
@@ -37,7 +37,6 @@
import javax.mail.Header;
import javax.mail.MessagingException;

-import gnu.inet.util.CRLFInputStream;
import gnu.inet.util.LineInputStream;

/**
Index: source/javax/mail/internet/MailDateFormat.java
===================================================================
RCS file: /sources/classpathx/mail/source/javax/mail/internet/MailDateFormat.java,v
retrieving revision 1.12
diff -u -r1.12 MailDateFormat.java
--- source/javax/mail/internet/MailDateFormat.java 27 Nov 2007 22:03:59 -0000 1.12
+++ source/javax/mail/internet/MailDateFormat.java 28 Nov 2007 23:33:44 -0000
@@ -27,7 +27,6 @@

package javax.mail.internet;

-import java.io.PrintStream;
import java.text.DecimalFormat;
import java.text.FieldPosition;
import java.text.NumberFormat;
Index: source/javax/mail/internet/MimeBodyPart.java
===================================================================
RCS file: /sources/classpathx/mail/source/javax/mail/internet/MimeBodyPart.java,v
retrieving revision 1.19
diff -u -r1.19 MimeBodyPart.java
--- source/javax/mail/internet/MimeBodyPart.java 27 Nov 2007 22:03:59 -0000 1.19
+++ source/javax/mail/internet/MimeBodyPart.java 28 Nov 2007 23:33:44 -0000
@@ -49,7 +49,6 @@
import javax.mail.Multipart;

import gnu.inet.util.GetSystemPropertyAction;
-import gnu.mail.util.RFC2822OutputStream;

/**
  * A MIME body part.
Index: source/javax/mail/internet/MimeMessage.java
===================================================================
RCS file: /sources/classpathx/mail/source/javax/mail/internet/MimeMessage.java,v
retrieving revision 1.28
diff -u -r1.28 MimeMessage.java
--- source/javax/mail/internet/MimeMessage.java 27 Nov 2007 22:03:59 -0000 1.28
+++ source/javax/mail/internet/MimeMessage.java 28 Nov 2007 23:33:44 -0000
@@ -37,7 +37,6 @@
import java.io.UnsupportedEncodingException;
import java.security.AccessController;
import java.security.PrivilegedAction;
-import java.text.DateFormat;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -55,7 +54,6 @@
import javax.mail.Session;

import gnu.inet.util.GetSystemPropertyAction;
-import gnu.mail.util.RFC2822OutputStream;

/**
  * A MIME mail message.
Index: source/javax/mail/internet/MimeMultipart.java
===================================================================
RCS file: /sources/classpathx/mail/source/javax/mail/internet/MimeMultipart.java,v
retrieving revision 1.21
diff -u -r1.21 MimeMultipart.java
--- source/javax/mail/internet/MimeMultipart.java 27 Nov 2007 22:03:59 -0000 1.21
+++ source/javax/mail/internet/MimeMultipart.java 28 Nov 2007 23:33:45 -0000
@@ -43,7 +43,6 @@
import javax.mail.Multipart;
import javax.mail.MultipartDataSource;

-import gnu.inet.util.CRLFOutputStream;
import gnu.inet.util.GetSystemPropertyAction;
import gnu.inet.util.LineInputStream;

Index: source/javax/mail/util/SharedByteArrayInputStream.java
===================================================================
RCS file: /sources/classpathx/mail/source/javax/mail/util/SharedByteArrayInputStream.java,v
retrieving revision 1.2
diff -u -r1.2 SharedByteArrayInputStream.java
--- source/javax/mail/util/SharedByteArrayInputStream.java 27 Nov 2007 22:04:00 -0000 1.2
+++ source/javax/mail/util/SharedByteArrayInputStream.java 28 Nov 2007 23:33:45 -0000
@@ -29,7 +29,6 @@

import java.io.ByteArrayInputStream;
import java.io.InputStream;
-import java.io.IOException;
import javax.mail.internet.SharedInputStream;

/**


_______________________________________________
Classpathx-javamail mailing list
Classpathx-javamail@gnu....
http://lists.gnu.org/mailman/listinfo/classpathx-javamail

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.