Now I can sync my local repository.
Thanks.
Steve.
[EMAIL PROTECTED] wrote:
> Index: JamesSpoolManager.java
> ===================================================================
> RCS file:
>/home/cvs/jakarta-james/src/java/org/apache/james/transport/JamesSpoolManager.java,v
> retrieving revision 1.12
> retrieving revision 1.13
> diff -u -r1.12 -r1.13
> --- JamesSpoolManager.java 16 Aug 2002 17:08:53 -0000 1.12
> +++ JamesSpoolManager.java 18 Aug 2002 07:27:51 -0000 1.13
> @@ -301,6 +301,9 @@
> try {
> String key = spool.accept();
> MailImpl mail = spool.retrieve(key);
> + // Retrieve can return null if the mail is no longer on the spool
> + // (i.e. another thread has gotten to it first).
> + // In this case we simply continue to the next key
> if (mail == null) {
> continue;
> }
>
>
>
--
Stephen J. McConnell
OSM SARL
digital products for a global economy
mailto:[EMAIL PROTECTED]
http://www.osm.net
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>