james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vince...@apache.org
Subject cvs commit: james-server/src/java/org/apache/james/transport/matchers HasMailAttribute.java
Date Thu, 17 Jul 2003 13:47:06 GMT
vincenzo    2003/07/17 06:47:06

  Modified:    src/java/org/apache/james/transport/matchers
                        HasMailAttribute.java
  Log:
  Little cleanup.
  
  Revision  Changes    Path
  1.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
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HasMailAttribute.java	15 Jul 2003 10:44:49 -0000	1.1
  +++ HasMailAttribute.java	17 Jul 2003 13:47:06 -0000	1.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>
  + * &lt;mailet match="HasMailAttribute=whatever" class=&quot;&lt;any-class&gt;&quot;&gt;
  + * </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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message