[EMAIL PROTECTED] wrote:
Fix class CastException, fix comment and replace a Vector with ArrayList. See 
JAMES-721
[..]
         ArrayList keys = new ArrayList();
-        keys.add(key);
+        keys.add(retrieve(key));

Retrieving messages will slow down things.

Maybe the best thing is to create a loop and call remove for each single String key instead of creating an ArrayList and calling the single remove method.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to