Author: david.lloyd(a)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)
{
Show replies by date