You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by do...@apache.org on 2001/03/05 02:39:20 UTC

cvs commit: jakarta-james/src/org/apache/james/mailrepository AvalonSpoolRepository.java

donaldp     01/03/04 17:39:20

  Modified:    src/org/apache/james/mailrepository
                        AvalonSpoolRepository.java
  Log:
  Unglobbed imports.
  
  Revision  Changes    Path
  1.4       +14 -28    jakarta-james/src/org/apache/james/mailrepository/AvalonSpoolRepository.java
  
  Index: AvalonSpoolRepository.java
  ===================================================================
  RCS file: /home/cvs/jakarta-james/src/org/apache/james/mailrepository/AvalonSpoolRepository.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AvalonSpoolRepository.java	2001/02/18 05:39:32	1.3
  +++ AvalonSpoolRepository.java	2001/03/05 01:39:19	1.4
  @@ -1,30 +1,19 @@
  -/*****************************************************************************
  - * Copyright (C) The Apache Software Foundation. All rights reserved.        *
  - * ------------------------------------------------------------------------- *
  - * This software is published under the terms of the Apache Software License *
  - * version 1.1, a copy of which has been included  with this distribution in *
  - * the LICENSE file.                                                         *
  - *****************************************************************************/
  -
  +/*
  + * Copyright (C) The Apache Software Foundation. All rights reserved.
  + *
  + * This software is published under the terms of the Apache Software License
  + * version 1.1, a copy of which has been included with this distribution in
  + * the LICENSE file.
  + */
   package org.apache.james.mailrepository;
  -
  -
   
  -
  -//import org.apache.avalon.services.*;
  -import java.io.*;
  -import java.util.*;
  +import java.util.Iterator;
   import javax.mail.MessagingException;
  -import javax.mail.internet.*;
  -import org.apache.avalon.*;
  -import org.apache.avalon.util.*;
  -import org.apache.james.core.*;
  +import org.apache.avalon.util.Lock;
  +import org.apache.james.core.MailImpl;
   import org.apache.james.services.MailStore;
   import org.apache.james.services.SpoolRepository;
  -import org.apache.log.LogKit;
  -import org.apache.log.Logger;
  -import org.apache.mailet.*;
  -
  +import org.apache.mailet.Mail;
   
   /**
    * Implementation of a MailRepository on a FileSystem.
  @@ -39,12 +28,10 @@
    * @author  Federico Barbieri <sc...@pop.systemy.it>
    * @author Charles Benett <ch...@benett1.demon.co.uk>
    */
  -public class AvalonSpoolRepository extends AvalonMailRepository implements SpoolRepository {
  +public class AvalonSpoolRepository 
  +    extends AvalonMailRepository 
  +    implements SpoolRepository {
   
  -    public AvalonSpoolRepository() {
  -        super();
  -    }
  -
       public synchronized String accept() {
   
           while (true) {
  @@ -105,5 +92,4 @@
               }
           }
       }
  -
   }