james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1221279 - in /james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp: MailEnvelope.java MailEnvelopeImpl.java
Date Tue, 20 Dec 2011 14:27:57 GMT
Author: norman
Date: Tue Dec 20 14:27:57 2011
New Revision: 1221279

URL: http://svn.apache.org/viewvc?rev=1221279&view=rev
Log:
use a long for the message size

Modified:
    james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java
    james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelopeImpl.java

Modified: james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java
URL: http://svn.apache.org/viewvc/james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java?rev=1221279&r1=1221278&r2=1221279&view=diff
==============================================================================
--- james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java
(original)
+++ james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java
Tue Dec 20 14:27:57 2011
@@ -37,7 +37,7 @@ public interface MailEnvelope {
      * 
      * @return size
      */
-    int getSize();
+    long getSize();
 
     /**
      * Return the recipients which where supplied in the RCPT TO: command

Modified: james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelopeImpl.java
URL: http://svn.apache.org/viewvc/james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelopeImpl.java?rev=1221279&r1=1221278&r2=1221279&view=diff
==============================================================================
--- james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelopeImpl.java
(original)
+++ james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelopeImpl.java
Tue Dec 20 14:27:57 2011
@@ -42,7 +42,7 @@ public class MailEnvelopeImpl implements
     /**
      * @see org.apache.james.protocols.smtp.MailEnvelope#getSize()
      */
-    public int getSize() {
+    public long getSize() {
         if (outputStream == null)
             return -1;
         return outputStream.size();



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


Mime
View raw message