[jboss-cvs] JBossCache/src-50/org/jboss/cache/pojo/interceptors/dynamic ...
Ben Wang
bwang at jboss.com
Wed Jul 19 22:43:38 EDT 2006
User: bwang
Date: 06/07/19 22:43:38
Modified: src-50/org/jboss/cache/pojo/interceptors/dynamic
CacheFieldInterceptor.java
Log:
Don't check for detached state with 2.0.
Revision Changes Path
1.7 +4 -4 JBossCache/src-50/org/jboss/cache/pojo/interceptors/dynamic/CacheFieldInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheFieldInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/interceptors/dynamic/CacheFieldInterceptor.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- CacheFieldInterceptor.java 17 Jul 2006 09:07:08 -0000 1.6
+++ CacheFieldInterceptor.java 20 Jul 2006 02:43:38 -0000 1.7
@@ -99,10 +99,10 @@
// Check if CLASS_INTERNAL exists. If not, that means we are done. We need to remove ourself.
// Note that if speed is important, we will need to perform the detach step pro-actively,
// that is, use a listener to listen for the removeObject event.
- if (isPojoDetached(invocation))
- {
- return invocation.invokeNext(); // invoke the in-memory pojo directly
- }
+// if (isPojoDetached(invocation))
+// {
+// return invocation.invokeNext(); // invoke the in-memory pojo directly
+// }
if (invocation instanceof FieldWriteInvocation)
{
More information about the jboss-cvs-commits
mailing list