/[gzz]/gzz/lava/gzz/modules/email/SubjectFilter.java
ViewVC logotype

Diff of /gzz/lava/gzz/modules/email/SubjectFilter.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by benja, Mon Jan 6 11:42:54 2003 UTC revision 1.2 by benja, Tue Jan 7 21:49:08 2003 UTC
# Line 23  public class SubjectFilter implements Fi Line 23  public class SubjectFilter implements Fi
23          if(!c.t().substring(0,9).equals("Subject: ")){          if(!c.t().substring(0,9).equals("Subject: ")){
24              throw new Error();              throw new Error();
25          }          }
26          if(c.t().indexOf(s.substring(9))==-1)          return c.t().substring(9).indexOf(s.substring(9)) > 0;
             return false;  
         else  
             return true;  
27      }      }
28    
29  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26