svn commit: r916972 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r916972 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java

lektran
Author: lektran
Date: Sat Feb 27 15:40:17 2010
New Revision: 916972

URL: http://svn.apache.org/viewvc?rev=916972&view=rev
Log:
The following deprecated classes, constructors or methods have been removed:
org.ofbiz.entity.transaction.TransactionUtil.rollback(boolean)
- Use TransactionUtil.rollback(boolean, String, Throwable) instead

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java?rev=916972&r1=916971&r2=916972&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/transaction/TransactionUtil.java Sat Feb 27 15:40:17 2010
@@ -301,13 +301,6 @@
         }
     }
 
-    /** @deprecated */
-    @Deprecated
-    public static void rollback(boolean beganTransaction) throws GenericTransactionException {
-        Debug.logWarning("WARNING: called rollback without debug/error info; it is recommended to always pass this to make otherwise tricky bugs much easier to track down.", module);
-        rollback(beganTransaction, null, null);
-    }
-
     /** Rolls back transaction in the current thread IF transactions are available
      *  AND if beganTransaction is true; if beganTransaction is not true,
      *  setRollbackOnly is called to insure that the transaction will be rolled back