Author: chris.laprun(a)jboss.com
Date: 2010-01-05 17:24:55 -0500 (Tue, 05 Jan 2010)
New Revision: 1168
Modified:
components/wsrp/trunk/producer/src/main/java/org/gatein/registration/impl/ConsumerImpl.java
Log:
- Wasn't properly checking for proper identity value.
Modified:
components/wsrp/trunk/producer/src/main/java/org/gatein/registration/impl/ConsumerImpl.java
===================================================================
---
components/wsrp/trunk/producer/src/main/java/org/gatein/registration/impl/ConsumerImpl.java 2010-01-05
22:23:20 UTC (rev 1167)
+++
components/wsrp/trunk/producer/src/main/java/org/gatein/registration/impl/ConsumerImpl.java 2010-01-05
22:24:55 UTC (rev 1168)
@@ -64,7 +64,7 @@
ConsumerImpl(String identity, String name)
{
ParameterValidation.throwIllegalArgExceptionIfNullOrEmpty(name, "name",
"Consumer");
- ParameterValidation.throwIllegalArgExceptionIfNullOrEmpty(name,
"identity", "Consumer");
+ ParameterValidation.throwIllegalArgExceptionIfNullOrEmpty(identity,
"identity", "Consumer");
this.name = name;
this.identity = identity;
Show replies by date