Author: chris.laprun(a)jboss.com
Date: 2009-10-01 13:31:40 -0400 (Thu, 01 Oct 2009)
New Revision: 231
Modified:
components/wsrp/trunk/common/src/main/java/org/gatein/wsrp/WSRPTypeFactory.java
Log:
- Fixed infinite loop in createRegistrationData.
Modified: components/wsrp/trunk/common/src/main/java/org/gatein/wsrp/WSRPTypeFactory.java
===================================================================
---
components/wsrp/trunk/common/src/main/java/org/gatein/wsrp/WSRPTypeFactory.java 2009-10-01
17:30:40 UTC (rev 230)
+++
components/wsrp/trunk/common/src/main/java/org/gatein/wsrp/WSRPTypeFactory.java 2009-10-01
17:31:40 UTC (rev 231)
@@ -618,8 +618,10 @@
*/
public static RegistrationData createDefaultRegistrationData()
{
- RegistrationData registrationData =
createRegistrationData(WSRPConstants.DEFAULT_CONSUMER_NAME, false);
+ RegistrationData registrationData = new RegistrationData();
+ registrationData.setConsumerName(WSRPConstants.DEFAULT_CONSUMER_NAME);
registrationData.setConsumerAgent(WSRPConstants.CONSUMER_AGENT);
+ registrationData.setMethodGetSupported(false);
return registrationData;
}
Show replies by date