[jboss-cvs] jboss-seam/src/main/org/jboss/seam/security ...
Shane Bryzak
Shane_Bryzak at symantec.com
Thu Dec 21 21:03:08 EST 2006
User: sbryzak2
Date: 06/12/21 21:03:08
Modified: src/main/org/jboss/seam/security SeamSecurityManager.java
Log:
fixed Identity working memory test
Revision Changes Path
1.31 +1 -6 jboss-seam/src/main/org/jboss/seam/security/SeamSecurityManager.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SeamSecurityManager.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/SeamSecurityManager.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- SeamSecurityManager.java 21 Dec 2006 05:32:54 -0000 1.30
+++ SeamSecurityManager.java 22 Dec 2006 02:03:08 -0000 1.31
@@ -5,12 +5,8 @@
import java.io.InputStream;
import java.io.InputStreamReader;
-import java.security.acl.Permission;
import java.util.ArrayList;
-import java.util.HashMap;
import java.util.List;
-import java.util.Map;
-import java.util.Set;
import org.drools.FactHandle;
import org.drools.RuleBase;
@@ -28,7 +24,6 @@
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.Startup;
-import org.jboss.seam.contexts.Context;
import org.jboss.seam.contexts.Contexts;
import org.jboss.seam.core.Expressions;
import org.jboss.seam.log.LogProvider;
@@ -198,7 +193,7 @@
// Assert the identity into the working memory if one exists and it hasn't
// been asserted before
- if (ident != null && wm.getObjects(ident.getClass()).size() > 0)
+ if (ident != null && wm.getObjects(ident.getClass()).isEmpty())
{
wm.assertObject(ident);
More information about the jboss-cvs-commits
mailing list