Author: chris.laprun(a)jboss.com
Date: 2009-12-04 12:17:43 -0500 (Fri, 04 Dec 2009)
New Revision: 928
Modified:
components/wsrp/trunk/producer/src/main/java/org/gatein/registration/Registration.java
components/wsrp/trunk/producer/src/main/java/org/gatein/registration/impl/RegistrationImpl.java
Log:
- Use generics.
Modified:
components/wsrp/trunk/producer/src/main/java/org/gatein/registration/Registration.java
===================================================================
---
components/wsrp/trunk/producer/src/main/java/org/gatein/registration/Registration.java 2009-12-04
10:30:19 UTC (rev 927)
+++
components/wsrp/trunk/producer/src/main/java/org/gatein/registration/Registration.java 2009-12-04
17:17:43 UTC (rev 928)
@@ -70,7 +70,7 @@
*
* @return a Map containing the associated properties
*/
- Map getProperties();
+ Map<QName, Object> getProperties();
void setPropertyValueFor(QName propertyName, Object value) throws
IllegalArgumentException;
Modified:
components/wsrp/trunk/producer/src/main/java/org/gatein/registration/impl/RegistrationImpl.java
===================================================================
---
components/wsrp/trunk/producer/src/main/java/org/gatein/registration/impl/RegistrationImpl.java 2009-12-04
10:30:19 UTC (rev 927)
+++
components/wsrp/trunk/producer/src/main/java/org/gatein/registration/impl/RegistrationImpl.java 2009-12-04
17:17:43 UTC (rev 928)
@@ -77,7 +77,7 @@
return consumer;
}
- public Map getProperties()
+ public Map<QName, Object> getProperties()
{
return Collections.unmodifiableMap(properties);
}
Show replies by date