Author: bdaw
Date: 2007-07-09 14:13:38 -0400 (Mon, 09 Jul 2007)
New Revision: 7695
Modified:
branches/JBoss_Portal_Branch_2_6/identity/src/main/org/jboss/portal/identity/db/HibernateMembershipModuleImpl.java
Log:
JBPORTAL-1559 - HibernateMembershipModuleImpl assignUsers method : wrong error message
Modified:
branches/JBoss_Portal_Branch_2_6/identity/src/main/org/jboss/portal/identity/db/HibernateMembershipModuleImpl.java
===================================================================
---
branches/JBoss_Portal_Branch_2_6/identity/src/main/org/jboss/portal/identity/db/HibernateMembershipModuleImpl.java 2007-07-09
17:58:47 UTC (rev 7694)
+++
branches/JBoss_Portal_Branch_2_6/identity/src/main/org/jboss/portal/identity/db/HibernateMembershipModuleImpl.java 2007-07-09
18:13:38 UTC (rev 7695)
@@ -110,7 +110,7 @@
{
if (!(role instanceof HibernateRoleImpl))
{
- throw new IllegalArgumentException("Role is not a HibernateRoleImpl
user");
+ throw new IllegalArgumentException("Role is not a HibernateRoleImpl
role");
}
// We return an immutable set to avoid modifications
@@ -131,7 +131,7 @@
//throw new UnsupportedOperationException("Not yet implemented");
if (!(role instanceof HibernateRoleImpl))
{
- throw new IllegalArgumentException("Role is not a HibernateRoleImpl
user");
+ throw new IllegalArgumentException("Role is not a HibernateRoleImpl
role");
}
for (Iterator i = users.iterator(); i.hasNext();)
Show replies by date