[jboss-cvs] jboss-seam/src/main/org/jboss/seam/interceptors ...
Gavin King
gavin.king at jboss.com
Sat Dec 2 02:51:33 EST 2006
User: gavin
Date: 06/12/02 02:51:33
Modified: src/main/org/jboss/seam/interceptors
ManagedEntityIdentityInterceptor.java
Log:
fix JBSEAM-551
Revision Changes Path
1.14 +23 -20 jboss-seam/src/main/org/jboss/seam/interceptors/ManagedEntityIdentityInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ManagedEntityIdentityInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/interceptors/ManagedEntityIdentityInterceptor.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- ManagedEntityIdentityInterceptor.java 28 Nov 2006 21:29:21 -0000 1.13
+++ ManagedEntityIdentityInterceptor.java 2 Dec 2006 07:51:33 -0000 1.14
@@ -170,6 +170,8 @@
for (PassivatedEntity pe: list)
{
Object persistenceContext = Component.getInstance( pe.getPersistenceContext() );
+ if ( persistenceContext!=null )
+ {
Object reference;
if (persistenceContext instanceof EntityManager)
{
@@ -195,6 +197,7 @@
catch (NoSuchFieldException nsfe) {}
}
}
+ }
list.clear();
}
}
More information about the jboss-cvs-commits
mailing list