[OFBiz] SVN: r4973 - trunk/framework/entity/src/org/ofbiz/entity/transaction

jonesde at svn.ofbiz.org jonesde at svn.ofbiz.org
Mon May 9 19:27:33 EDT 2005


Author: jonesde
Date: 2005-05-09 18:27:29 -0500 (Mon, 09 May 2005)
New Revision: 4973

Modified:
   trunk/framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java
Log:
Small message improvement, this message should pretty much never be useful, not in anyway I can think of anyway.

Modified: trunk/framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java
===================================================================
--- trunk/framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java	2005-05-07 20:41:27 UTC (rev 4972)
+++ trunk/framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java	2005-05-09 23:27:29 UTC (rev 4973)
@@ -596,11 +596,12 @@
     private static RollbackOnlyCause clearSetRollbackOnlyCause() {
         RollbackOnlyCause roc = (RollbackOnlyCause) setRollbackOnlyCause.get();
         if (roc == null) {
+            /* this is an obnoxious message, leaving out for now; could be added manually if a problem with this is suspected
             if (Debug.verboseOn()) {
                 // for this in particular, unlike the begin location, normally there will not be a setRollbackOnlyCause, so don't complain about it except in verbose
-                Exception e2 = new Exception("Current Stack Trace");
-                Debug.logWarning(e2, "In clearSetRollbackOnlyCause no stack placeholder was in place, here is the current location: ", module);
+                Debug.logVerbose(new Exception("Current Stack Trace"), "In clearSetRollbackOnlyCause no stack placeholder was in place, here is the current location: ", module);
             }
+            */
             return null;
         } else {
             setRollbackOnlyCause.set(null);



More information about the Svn mailing list