[jboss-remoting-commits] JBoss Remoting SVN: r3562 - remoting2/branches/2.x/src/tests/org/jboss/test/remoting/performance/spring/hessian/client.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Mon Mar 3 14:33:01 EST 2008
Author: david.lloyd at jboss.com
Date: 2008-03-03 14:33:01 -0500 (Mon, 03 Mar 2008)
New Revision: 3562
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/performance/spring/hessian/client/SpringHessianPerformanceClient.java
Log:
Fix a problem where apparently some versions of the Hession thing do not actually throw the MalformedURLException. So make an always-false if statement, so that it will compile with either type
Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/performance/spring/hessian/client/SpringHessianPerformanceClient.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/performance/spring/hessian/client/SpringHessianPerformanceClient.java 2008-03-03 19:32:11 UTC (rev 3561)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/performance/spring/hessian/client/SpringHessianPerformanceClient.java 2008-03-03 19:33:01 UTC (rev 3562)
@@ -65,6 +65,7 @@
factory.setServiceUrl("http://localhost:8080/remoting/springHessianServerService");
factory.afterPropertiesSet();
springHessianServerService = (SpringHessianServer) factory.getObject();
+ if (false) throw new MalformedURLException("xxx");
}
catch (MalformedURLException e)
{
More information about the jboss-remoting-commits
mailing list