james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Tellier <btell...@linagora.com>
Subject [PATCH] MAILBOX-205
Date Thu, 18 Dec 2014 15:20:32 GMT
Hi,

I was working on MAILBOX-146
<https://issues.apache.org/jira/browse/MAILBOX-146> to add a batch size
where needed in the StoreMessageManager ( setFlags,
deleteMarkedInMailbox, recent, copy, move ) and I add a look at the code
of the StoreMailboxManager.

I found a call to a method named *copyTo* in an other method named
*moveMessages*...

I might have missed something, but I think this might create a bug when
moveBatchSize is not null....

You will find as an attachment a patch solving this problem by replacing
the call to copyTo by moveTo in moveMessages.

Sincerly yours,

Benoit Tellier



Mime
View raw message