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 hb...@apache.org on 2001/08/05 22:53:40 UTC
cvs commit: jakarta-james/src/java/org/apache/james/core AvalonMailStore.java
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