[jboss-cvs] JBossAS SVN: r59175 - branches/Branch_4_2/testsuite/src/main/org/jboss/test/cluster/apache_tomcat
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Dec 20 00:03:09 EST 2006
Author: bstansberry at jboss.com
Date: 2006-12-20 00:03:08 -0500 (Wed, 20 Dec 2006)
New Revision: 59175
Modified:
branches/Branch_4_2/testsuite/src/main/org/jboss/test/cluster/apache_tomcat/HttpSessionReplicationTestCase.java
Log:
Fix the build
Modified: branches/Branch_4_2/testsuite/src/main/org/jboss/test/cluster/apache_tomcat/HttpSessionReplicationTestCase.java
===================================================================
--- branches/Branch_4_2/testsuite/src/main/org/jboss/test/cluster/apache_tomcat/HttpSessionReplicationTestCase.java 2006-12-20 04:40:58 UTC (rev 59174)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/cluster/apache_tomcat/HttpSessionReplicationTestCase.java 2006-12-20 05:03:08 UTC (rev 59175)
@@ -251,6 +251,16 @@
try
{
client.executeMethod(method);
+
+ // Read the response body.
+ byte[] responseBody = method.getResponseBody();
+
+ // Release the connection.
+ method.releaseConnection();
+
+ // Deal with the response.
+ // Use caution: ensure correct character encoding and is not binary data
+ return new String(responseBody);
}
catch (HttpRecoverableException e)
{
@@ -263,16 +273,8 @@
e.printStackTrace();
System.exit(-1);
}
-
- // Read the response body.
- byte[] responseBody = method.getResponseBody();
-
- // Release the connection.
- method.releaseConnection();
-
- // Deal with the response.
- // Use caution: ensure correct character encoding and is not binary data
- return new String(responseBody);
+
+ return null;
}
/**
More information about the jboss-cvs-commits
mailing list