commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r511666 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java
Date Mon, 26 Feb 2007 00:01:56 GMT
Author: dion
Date: Sun Feb 25 16:01:56 2007
New Revision: 511666

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

Modified:
    jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java

Modified: jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java?view=diff&rev=511666&r1=511665&r2=511666
==============================================================================
--- jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java
(original)
+++ jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java
Sun Feb 25 16:01:56 2007
@@ -44,10 +44,16 @@
 
 public class BaseEmailTestCase extends TestCase
 {
+    /** Padding at end of body added by dumbser/send */
+    public static final int BODY_END_PAD = 3;
+    /** Padding at start of body added by dumbser/send */
+    public static final int BODY_START_PAD = 2;
+
+    /** default port */
     private static int mailServerPort = EmailConfiguration.MAIL_SERVER_PORT;
 
     /** The fake Dumbster email server */
-    protected SimpleSmtpServer fakeMailServer = null;
+    protected SimpleSmtpServer fakeMailServer;
 
     /** Mail server used for testing */
     protected String strTestMailServer = EmailConfiguration.MAIL_SERVER;
@@ -62,14 +68,6 @@
     /** URL to used to test URL attachmetns (Must be valid) */
     protected String strTestURL = EmailConfiguration.TEST_URL;
 
-    /** Padding at end of body added by dumbser/send */
-    public static final int BODY_END_PAD = 3;
-    /** Padding at start of body added by dumbser/send */
-    public static final int BODY_START_PAD = 2;
-
-    /** Where to save email output **/
-    private File emailOutputDir;
-
     protected int getMailServerPort()
     {
         return mailServerPort;
@@ -89,6 +87,9 @@
 
     /** Array of test strings */
     protected String[] testCharsNotValid = { "", null };
+
+    /** Where to save email output **/
+    private File emailOutputDir;
 
     /**
      * @param name name



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message