Author: scheu
Date: Fri Apr 25 09:43:26 2008
New Revision: 651643

URL: http://svn.apache.org/viewvc?rev=651643&view=rev
Log:
Changed String.contains to String.indexOf because String.contains is not 
available in Java 1.4

Modified:
    
webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/soap/SOAPEnvelopeBuildTest.java

Modified: 
webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/soap/SOAPEnvelopeBuildTest.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/soap/SOAPEnvelopeBuildTest.java?rev=651643&r1=651642&r2=651643&view=diff
==============================================================================
--- 
webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/soap/SOAPEnvelopeBuildTest.java
 (original)
+++ 
webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/soap/SOAPEnvelopeBuildTest.java
 Fri Apr 25 09:43:26 2008
@@ -148,7 +148,7 @@
                 MyDebugLogger log = new MyDebugLogger();
                 long length = CommonUtils.logDebug(se, log);
                 assertTrue(length > 100);
-                assertTrue(log.outputText.contains("x:Content"));
+                assertTrue(log.outputText.indexOf("x:Content") > 0);
                            
         }
         


Reply via email to