Please note that String.contains is Java 1.5+
I don't care that tests are java 1.5, but maybe someone cares..

[EMAIL PROTECTED] wrote:
Author: norman
Date: Tue May 30 02:26:45 2006
New Revision: 410228

URL: http://svn.apache.org/viewvc?rev=410228&view=rev
Log:
Correct a bug in MockMatcherConfig and add junit test for All matcher

Modified: 
james/server/trunk/src/test/org/apache/james/test/mock/mailet/MockMatcherConfig.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/src/test/org/apache/james/test/mock/mailet/MockMatcherConfig.java?rev=410228&r1=410227&r2=410228&view=diff
==============================================================================
--- 
james/server/trunk/src/test/org/apache/james/test/mock/mailet/MockMatcherConfig.java
 (original)
+++ 
james/server/trunk/src/test/org/apache/james/test/mock/mailet/MockMatcherConfig.java
 Tue May 30 02:26:45 2006
@@ -35,7 +35,12 @@
     }
public String getCondition() {
-        return matcherName.substring(getMatcherName().length() + 1);
+        if (matcherName.contains("=")) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to