axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r637359 - /webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/src/main/java/org/apache/axis2/maven2/aar/DeployAarMojo.java
Date Sat, 15 Mar 2008 05:47:07 GMT
Author: dims
Date: Fri Mar 14 22:47:06 2008
New Revision: 637359

URL: http://svn.apache.org/viewvc?rev=637359&view=rev
Log:
use jdk 1.4 compliant method

Modified:
    webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/src/main/java/org/apache/axis2/maven2/aar/DeployAarMojo.java

Modified: webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/src/main/java/org/apache/axis2/maven2/aar/DeployAarMojo.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/src/main/java/org/apache/axis2/maven2/aar/DeployAarMojo.java?rev=637359&r1=637358&r2=637359&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/src/main/java/org/apache/axis2/maven2/aar/DeployAarMojo.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/src/main/java/org/apache/axis2/maven2/aar/DeployAarMojo.java
Fri Mar 14 22:47:06 2008
@@ -113,7 +113,7 @@
         if(status != 200) {
             throw new MojoExecutionException("Failed to log in");
         }
-        if(post.getResponseBodyAsString().contains(LOGIN_FAILED_ERROR_MESSAGE)) {
+        if(post.getResponseBodyAsString().indexOf(LOGIN_FAILED_ERROR_MESSAGE)!=-1) {
             throw new MojoExecutionException("Failed to log into Axis2 administration web
console using credentials");
         }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message