Author: norman.richards(a)jboss.com
Date: 2009-02-25 12:38:16 -0500 (Wed, 25 Feb 2009)
New Revision: 10090
Modified:
trunk/src/main/org/jboss/seam/security/permission/ClassIdentifierStrategy.java
Log:
JBSEAM-3793
Modified: trunk/src/main/org/jboss/seam/security/permission/ClassIdentifierStrategy.java
===================================================================
---
trunk/src/main/org/jboss/seam/security/permission/ClassIdentifierStrategy.java 2009-02-25
17:27:17 UTC (rev 10089)
+++
trunk/src/main/org/jboss/seam/security/permission/ClassIdentifierStrategy.java 2009-02-25
17:38:16 UTC (rev 10090)
@@ -39,7 +39,7 @@
if (cls.isAnnotationPresent(Identifier.class))
{
Identifier identifier = (Identifier) cls.getAnnotation(Identifier.class);
- if (identifier.name() != null && !"".equals(name.trim()))
+ if (identifier.name() != null &&
!"".equals(identifier.name().trim()))
{
name = identifier.name();
}