james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject svn commit: r1720541 - /james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/SieveMailAdapter.java
Date Thu, 17 Dec 2015 13:05:03 GMT
Author: btellier
Date: Thu Dec 17 13:05:03 2015
New Revision: 1720541

URL: http://svn.apache.org/viewvc?rev=1720541&view=rev
Log:
JAMES-1620 Mail size should be used rather than message size

Modified:
    james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/SieveMailAdapter.java

Modified: james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/SieveMailAdapter.java
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/SieveMailAdapter.java?rev=1720541&r1=1720540&r2=1720541&view=diff
==============================================================================
--- james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/SieveMailAdapter.java
(original)
+++ james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/SieveMailAdapter.java
Thu Dec 17 13:05:03 2015
@@ -241,7 +241,7 @@ public class SieveMailAdapter implements
     {
         try
         {
-            return getMessage().getSize();
+            return (int) getMail().getMessageSize();
         }
         catch (MessagingException ex)
         {



---------------------------------------------------------------------
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