You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by da...@apache.org on 2003/01/07 12:29:55 UTC
cvs commit: jakarta-james/tests/src/java/org/apache/james/testing Main.java POP3Hammering.java
danny 2003/01/07 03:29:54
Modified: src/java/org/apache/james/transport/mailets Forward.java
PostmasterAlias.java ServerTime.java
UseHeaderRecipients.java
tests/src/java/org/apache/james/testing Main.java
POP3Hammering.java
Log:
organise imports
Revision Changes Path
1.7 +6 -5 jakarta-james/src/java/org/apache/james/transport/mailets/Forward.java
Index: Forward.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/transport/mailets/Forward.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Forward.java 23 Aug 2002 08:00:29 -0000 1.6
+++ Forward.java 7 Jan 2003 11:29:53 -0000 1.7
@@ -7,14 +7,15 @@
*/
package org.apache.james.transport.mailets;
-import org.apache.mailet.GenericMailet;
-import org.apache.mailet.Mail;
-import org.apache.mailet.MailAddress;
-
-import javax.mail.MessagingException;
import java.util.Collection;
import java.util.HashSet;
import java.util.StringTokenizer;
+
+import javax.mail.MessagingException;
+
+import org.apache.mailet.GenericMailet;
+import org.apache.mailet.Mail;
+import org.apache.mailet.MailAddress;
/**
* Replaces incoming recipients with those specified.
1.5 +6 -6 jakarta-james/src/java/org/apache/james/transport/mailets/PostmasterAlias.java
Index: PostmasterAlias.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/transport/mailets/PostmasterAlias.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- PostmasterAlias.java 19 Aug 2002 18:57:07 -0000 1.4
+++ PostmasterAlias.java 7 Jan 2003 11:29:53 -0000 1.5
@@ -7,16 +7,16 @@
*/
package org.apache.james.transport.mailets;
+import java.util.Collection;
+import java.util.Iterator;
+import java.util.Vector;
+
+import javax.mail.MessagingException;
+
import org.apache.mailet.GenericMailet;
import org.apache.mailet.Mail;
import org.apache.mailet.MailAddress;
import org.apache.mailet.MailetContext;
-
-import javax.mail.MessagingException;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.Vector;
-//import com.workingdogs.town.*;
/**
* Rewrites recipient addresses to make sure email for the postmaster is
1.6 +6 -5 jakarta-james/src/java/org/apache/james/transport/mailets/ServerTime.java
Index: ServerTime.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/transport/mailets/ServerTime.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ServerTime.java 2 Oct 2002 07:27:44 -0000 1.5
+++ ServerTime.java 7 Jan 2003 11:29:53 -0000 1.6
@@ -7,15 +7,16 @@
*/
package org.apache.james.transport.mailets;
-import org.apache.mailet.GenericMailet;
-import org.apache.mailet.Mail;
-import org.apache.mailet.MailAddress;
+import java.util.HashSet;
+import java.util.Set;
import javax.mail.Address;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
-import java.util.HashSet;
-import java.util.Set;
+
+import org.apache.mailet.GenericMailet;
+import org.apache.mailet.Mail;
+import org.apache.mailet.MailAddress;
/**
* Returns the current time for the mail server. Sample configuration:
1.7 +7 -6 jakarta-james/src/java/org/apache/james/transport/mailets/UseHeaderRecipients.java
Index: UseHeaderRecipients.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/transport/mailets/UseHeaderRecipients.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- UseHeaderRecipients.java 4 Oct 2002 05:03:29 -0000 1.6
+++ UseHeaderRecipients.java 7 Jan 2003 11:29:53 -0000 1.7
@@ -7,16 +7,17 @@
*/
package org.apache.james.transport.mailets;
-import org.apache.mailet.GenericMailet;
-import org.apache.mailet.Mail;
-import org.apache.mailet.MailAddress;
+import java.util.Collection;
+import java.util.StringTokenizer;
+import java.util.Vector;
import javax.mail.MessagingException;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
-import java.util.Collection;
-import java.util.StringTokenizer;
-import java.util.Vector;
+
+import org.apache.mailet.GenericMailet;
+import org.apache.mailet.Mail;
+import org.apache.mailet.MailAddress;
/**
* <p>Mailet designed to process the recipients from the mail headers rather
1.3 +12 -6 jakarta-james/tests/src/java/org/apache/james/testing/Main.java
Index: Main.java
===================================================================
RCS file: /home/cvs/jakarta-james/tests/src/java/org/apache/james/testing/Main.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Main.java 14 Oct 2002 06:44:22 -0000 1.2
+++ Main.java 7 Jan 2003 11:29:54 -0000 1.3
@@ -7,12 +7,18 @@
*/
package org.apache.james.testing;
-import junit.framework.*;
-import junit.extensions.*;
-import junit.textui.*;
-import java.io.*;
-import org.apache.avalon.framework.configuration.*;
-import java.lang.reflect.*;
+import java.io.File;
+import java.lang.reflect.Constructor;
+
+import junit.extensions.ActiveTestSuite;
+import junit.extensions.RepeatedTest;
+import junit.framework.Test;
+import junit.framework.TestSuite;
+import junit.textui.TestRunner;
+
+import org.apache.avalon.framework.configuration.Configurable;
+import org.apache.avalon.framework.configuration.Configuration;
+import org.apache.avalon.framework.configuration.DefaultConfigurationBuilder;
/**
* Run tests.
1.5 +9 -2 jakarta-james/tests/src/java/org/apache/james/testing/POP3Hammering.java
Index: POP3Hammering.java
===================================================================
RCS file: /home/cvs/jakarta-james/tests/src/java/org/apache/james/testing/POP3Hammering.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- POP3Hammering.java 14 Oct 2002 06:44:22 -0000 1.4
+++ POP3Hammering.java 7 Jan 2003 11:29:54 -0000 1.5
@@ -7,10 +7,17 @@
*/
package org.apache.james.testing;
-import javax.mail.*;
+import java.util.Properties;
+
+import javax.mail.Flags;
+import javax.mail.Folder;
+import javax.mail.Message;
+import javax.mail.MessagingException;
+import javax.mail.Session;
+import javax.mail.Store;
+import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
-import java.util.Properties;
/**
* Program that can be run multiple times to recreate the
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>