vincenzo 2003/07/17 06:47:56
Modified: src/java/org/apache/james/transport/matchers Tag:
branch_2_1_fcs HasMailAttribute.java
Log:
Little cleanup.
Revision Changes Path
No revision
No revision
1.1.2.2 +7 -9
james-server/src/java/org/apache/james/transport/matchers/HasMailAttribute.java
Index: HasMailAttribute.java
===================================================================
RCS file:
/home/cvs/james-server/src/java/org/apache/james/transport/matchers/HasMailAttribute.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- HasMailAttribute.java 15 Jul 2003 10:50:24 -0000 1.1.2.1
+++ HasMailAttribute.java 17 Jul 2003 13:47:56 -0000 1.1.2.2
@@ -63,16 +63,15 @@
import org.apache.mailet.Mail;
import org.apache.mailet.MatcherConfig;
import java.util.Collection;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
import javax.mail.MessagingException;
-
/**
- * This Matcher determines if the mail contains the attribute specified in the
- * condition, and returns all recipients if it is the case.
- * Sample configuration:
- * <mailet match="HasMailAttribute=whatever" class="Null"/>
+ * <P>This Matcher determines if the mail contains the attribute specified in the
+ * condition, and returns all recipients if it is the case.</P>
+ * <P>Sample configuration:</P>
+ * <PRE><CODE>
+ * <mailet match="HasMailAttribute=whatever"
class="<any-class>">
+ * </CODE></PRE>
*
* @version CVS $Revision$ $Date$
* @since 2.2.0
@@ -93,7 +92,6 @@
public void init (MatcherConfig conf) throws MessagingException
{
- super.init(conf);
attributeName = conf.getCondition();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]