james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hb...@apache.org
Subject cvs commit: jakarta-james/src/java/org/apache/james/core AvalonMailStore.java
Date Sun, 05 Aug 2001 20:53:40 GMT
hbedi       01/08/05 13:53:40

  Modified:    src/java/org/apache/james/core AvalonMailStore.java
  Log:
  Compilation problem with latest Avalon. ComponentSelector wants
  <hasComponent> method.
  
  Revision  Changes    Path
  1.4       +9 -0      jakarta-james/src/java/org/apache/james/core/AvalonMailStore.java
  
  Index: AvalonMailStore.java
  ===================================================================
  RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/core/AvalonMailStore.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AvalonMailStore.java	2001/06/21 17:20:25	1.3
  +++ AvalonMailStore.java	2001/08/05 20:53:40	1.4
  @@ -200,4 +200,13 @@
           }
       }
   
  +    public boolean hasComponent( Object hint ) {
  +        Component comp = null;
  +        try {
  +            comp = select(hint);
  +        } catch(ComponentException ex) {
  +            getLogger().error("Exception AvalonMailStore.hasComponent-"+ex.toString());
  +        }
  +        return (comp != null);
  +    }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


Mime
View raw message