commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sgoes...@apache.org
Subject svn commit: r1023091 - /commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailConstants.java
Date Fri, 15 Oct 2010 20:00:47 GMT
Author: sgoeschl
Date: Fri Oct 15 20:00:47 2010
New Revision: 1023091

URL: http://svn.apache.org/viewvc?rev=1023091&view=rev
Log:
Moving the various constants of Email.java into EmailConstants.java

Modified:
    commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailConstants.java

Modified: commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailConstants.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailConstants.java?rev=1023091&r1=1023090&r2=1023091&view=diff
==============================================================================
--- commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailConstants.java (original)
+++ commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailConstants.java Fri Oct
15 20:00:47 2010
@@ -22,12 +22,6 @@ package org.apache.commons.mail;
 public interface EmailConstants
 {
     // Constants used by Email classes
-
-    /** the default socket timeout in milliseconds */
-    long DEFAULT_SOCKET_TIMEOUT  = 60000;
-
-    /** the default socket connection timeout value in milliseconds */
-    long DEFAULT_SOCKET_CONNECTION_TIMEOUT = 60000;
    
     String SENDER_EMAIL = "sender.email";
     String SENDER_NAME = "sender.name";
@@ -37,6 +31,12 @@ public interface EmailConstants
     String EMAIL_BODY = "email.body";
     String CONTENT_TYPE = "content.type";
 
+    // Charset constants
+    String KOI8_R = "koi8-r";
+    String ISO_8859_1 = "iso-8859-1";
+    String US_ASCII = "us-ascii";
+    String UTF_8 = "utf-8";
+
     String SMTP = "smtp";
     String TEXT_HTML = "text/html";
     String TEXT_PLAIN = "text/plain";
@@ -44,7 +44,6 @@ public interface EmailConstants
     String FILE_SERVER = "file.server";
     String MAIL_DEBUG = "mail.debug";
 
-
     String MAIL_HOST = "mail.smtp.host";
     String MAIL_PORT = "mail.smtp.port";
     String MAIL_SMTP_FROM = "mail.smtp.from";
@@ -72,13 +71,4 @@ public interface EmailConstants
      * @since 1.2
      */
      String MAIL_SMTP_TIMEOUT = "mail.smtp.timeout";
-
-
-    // Charset constants
-    
-    String KOI8_R = "koi8-r";
-    String ISO_8859_1 = "iso-8859-1";
-    String US_ASCII = "us-ascii";
-    String UTF_8 = "utf-8";
-    
 }



Mime
View raw message