(no commit message)
[utils] / test / enterprise / src / main / java / org / wamblee / test / persistence / JpaBuilder.java
index 223971c6cdfec69eec48daf8e224f452b2f61663..48556cfafcecf1f55690db0ff6b23a000fa788d2 100644 (file)
@@ -153,7 +153,7 @@ public class JpaBuilder implements TransactionResource<EntityManager> {
      * 
      * This method requires the transaction to succeed. Otherwise the test will
      * fail. See {@link #execute(JpaUnitOfWork, TransactionResultCallback)} and
-     * {@link RequireTransactionStatus} for more possibilities. 
+     * {@link RequireTransactionStatus} for more possibilities.
      * 
      * @param aWork
      *            Work to execute.
@@ -161,9 +161,10 @@ public class JpaBuilder implements TransactionResource<EntityManager> {
      * @return The return value of the execute method of the unit of work.
      */
     public <T> T execute(JpaUnitOfWork<T> aWork) throws Exception {
-        return execute(aWork, new RequireTransactionStatus(TransactionResult.COMMIT));
+        return execute(aWork, new RequireTransactionStatus(
+            TransactionResult.COMMIT));
     }
-    
+
     /**
      * Executes a unit of work. This creates an entitymanager and runs the
      * {@link JpaUnitOfWork#execute(EntityManager)} within a transaction,