[jboss-cvs] JBossCache/src/org/jboss/cache ...
Brian Stansberry
brian.stansberry at jboss.com
Wed Feb 21 12:02:20 EST 2007
User: bstansberry
Date: 07/02/21 12:02:20
Modified: src/org/jboss/cache CacheImpl.java
Log:
[JBCACHE-982] Don't complain if a tx is Status.COMMITTED
Revision Changes Path
1.48 +11 -1 JBossCache/src/org/jboss/cache/CacheImpl.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheImpl.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/CacheImpl.java,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -b -r1.47 -r1.48
--- CacheImpl.java 16 Feb 2007 02:13:35 -0000 1.47
+++ CacheImpl.java 21 Feb 2007 17:02:20 -0000 1.48
@@ -3587,7 +3587,17 @@
catch (SystemException e)
{
}
+
+ // JBCACHE-982 -- don't complain if COMMITTED
+ if (status != Status.STATUS_COMMITTED)
+ {
log.warn("status is " + status + " (not ACTIVE or PREPARING); returning null)", new Throwable());
+ }
+ else
+ {
+ log.trace("status is COMMITTED; returning null");
+ }
+
return null;
}
More information about the jboss-cvs-commits
mailing list