svn commit: r1177931 - /james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/AbstractDelegatingMailboxListener.java

2011-10-01 Thread felixk
Author: felixk Date: Sat Oct 1 06:32:48 2011 New Revision: 1177931 URL: http://svn.apache.org/viewvc?rev=1177931view=rev Log: Fix possible NPE in some cases. Modified: james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/AbstractDelegatingMailboxListener.java Modified:

svn commit: r1177962 - /james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/StoreMessageManager.java

2011-10-01 Thread norman
Author: norman Date: Sat Oct 1 11:03:04 2011 New Revision: 1177962 URL: http://svn.apache.org/viewvc?rev=1177962view=rev Log: replace tabs with spaces Modified: james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/StoreMessageManager.java Modified:

svn commit: r1177963 - /james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/StoreMessageManager.java

2011-10-01 Thread norman
Author: norman Date: Sat Oct 1 11:07:48 2011 New Revision: 1177963 URL: http://svn.apache.org/viewvc?rev=1177963view=rev Log: Lock the right mailbox when copy messages. See MAILBOX-145 Modified: james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/StoreMessageManager.java

[jira] [Created] (MAILBOX-145) StoreMessageManager.copyTo(..) does lock the src mailbox but should lock the target mailbox

2011-10-01 Thread Norman Maurer (Created) (JIRA)
StoreMessageManager.copyTo(..) does lock the src mailbox but should lock the target mailbox --- Key: MAILBOX-145 URL: https://issues.apache.org/jira/browse/MAILBOX-145

[jira] [Created] (MAILBOX-146) StoreMessageManager/StoreMailboxManager should allow to optimize MessageRange handling

2011-10-01 Thread Norman Maurer (Created) (JIRA)
StoreMessageManager/StoreMailboxManager should allow to optimize MessageRange handling -- Key: MAILBOX-146 URL: https://issues.apache.org/jira/browse/MAILBOX-146

svn commit: r1178048 - in /james/mailbox/trunk/api/src: main/java/org/apache/james/mailbox/MessageRange.java test/java/org/apache/james/mailbox/MessageRangeTest.java

2011-10-01 Thread norman
Author: norman Date: Sat Oct 1 17:40:40 2011 New Revision: 1178048 URL: http://svn.apache.org/viewvc?rev=1178048view=rev Log: Add MessageRange.split(...) method which allows to split a MessageRange in a List of MessageRanges with a max amount of items. See MAILBOX-146 Modified:

svn commit: r1178050 - /james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/StoreMailboxManager.java

2011-10-01 Thread norman
Author: norman Date: Sat Oct 1 17:48:40 2011 New Revision: 1178050 URL: http://svn.apache.org/viewvc?rev=1178050view=rev Log: Allow to set a max batch size while do the copy. This allows to not keep the lock for the whole time and so other waiting threads also have a chance to get it. By

[jira] [Created] (PROTOCOLS-39) MailEnvelope.getOutputStream() and MailEnvelope.getInputStream() should throw IOException

2011-10-01 Thread Norman Maurer (Created) (JIRA)
MailEnvelope.getOutputStream() and MailEnvelope.getInputStream() should throw IOException - Key: PROTOCOLS-39 URL: https://issues.apache.org/jira/browse/PROTOCOLS-39

svn commit: r1178064 - /james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java

2011-10-01 Thread norman
Author: norman Date: Sat Oct 1 18:22:50 2011 New Revision: 1178064 URL: http://svn.apache.org/viewvc?rev=1178064view=rev Log: MailEnvelope.getOutputStream() and MailEnvelope.getInputStream() should throw IOException. See PROTOCOLS-39 Modified:

[jira] [Resolved] (PROTOCOLS-39) MailEnvelope.getOutputStream() and MailEnvelope.getInputStream() should throw IOException

2011-10-01 Thread Norman Maurer (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/PROTOCOLS-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Norman Maurer resolved PROTOCOLS-39. Resolution: Fixed done MailEnvelope.getOutputStream() and

svn commit: r1178069 - in /james/server/trunk: lmtpserver/src/main/java/org/apache/james/lmtpserver/ lmtpserver/src/main/java/org/apache/james/lmtpserver/hook/ smtpserver/src/main/java/org/apache/jame

2011-10-01 Thread norman
Author: norman Date: Sat Oct 1 18:54:42 2011 New Revision: 1178069 URL: http://svn.apache.org/viewvc?rev=1178069view=rev Log: MailEnvelope.getOutputStream() and MailEnvelope.getInputStream() should throw IOException. See PROTOCOLS-39 Modified:

[jira] [Resolved] (MAILBOX-145) StoreMessageManager.copyTo(..) does lock the src mailbox but should lock the target mailbox

2011-10-01 Thread Norman Maurer (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/MAILBOX-145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Norman Maurer resolved MAILBOX-145. --- Resolution: Fixed StoreMessageManager.copyTo(..) does lock the src mailbox but should

[jira] [Resolved] (MAILBOX-117) Review synchronization / locking

2011-10-01 Thread Norman Maurer (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/MAILBOX-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Norman Maurer resolved MAILBOX-117. --- Resolution: Fixed Review synchronization / locking