Author: chris.laprun(a)jboss.com
Date: 2011-12-13 06:31:04 -0500 (Tue, 13 Dec 2011)
New Revision: 8244
Modified:
components/wsrp/trunk/admin-gui/src/main/java/org/gatein/wsrp/admin/ui/ConsumerBean.java
Log:
- Optimization.
Modified:
components/wsrp/trunk/admin-gui/src/main/java/org/gatein/wsrp/admin/ui/ConsumerBean.java
===================================================================
---
components/wsrp/trunk/admin-gui/src/main/java/org/gatein/wsrp/admin/ui/ConsumerBean.java 2011-12-13
07:25:12 UTC (rev 8243)
+++
components/wsrp/trunk/admin-gui/src/main/java/org/gatein/wsrp/admin/ui/ConsumerBean.java 2011-12-13
11:31:04 UTC (rev 8244)
@@ -531,7 +531,7 @@
public boolean isAlreadyExisting(String objectName)
{
- return getRegistry().getConsumer(objectName) != null;
+ return getRegistry().containsConsumer(objectName);
}
public ConsumerRegistry getRegistry()
Show replies by date