onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sclas...@apache.org
Subject svn commit: r1543148 - /onami/sandbox/persist/src/main/java/org/apache/onami/persist/UserTransactionFacade.java
Date Mon, 18 Nov 2013 20:54:51 GMT
Author: sclassen
Date: Mon Nov 18 20:54:50 2013
New Revision: 1543148

URL: http://svn.apache.org/r1543148
Log:
fixed typos and removed unused method in UserTransactionFacade

Modified:
    onami/sandbox/persist/src/main/java/org/apache/onami/persist/UserTransactionFacade.java

Modified: onami/sandbox/persist/src/main/java/org/apache/onami/persist/UserTransactionFacade.java
URL: http://svn.apache.org/viewvc/onami/sandbox/persist/src/main/java/org/apache/onami/persist/UserTransactionFacade.java?rev=1543148&r1=1543147&r2=1543148&view=diff
==============================================================================
--- onami/sandbox/persist/src/main/java/org/apache/onami/persist/UserTransactionFacade.java
(original)
+++ onami/sandbox/persist/src/main/java/org/apache/onami/persist/UserTransactionFacade.java
Mon Nov 18 20:54:50 2013
@@ -69,7 +69,7 @@ class UserTransactionFacade
         }
         catch ( SystemException e )
         {
-            throw new RuntimeException( "unexpected error occured", e );
+            throw new RuntimeException( "unexpected error occurred", e );
         }
     }
 
@@ -104,7 +104,7 @@ class UserTransactionFacade
         }
         catch ( SystemException e )
         {
-            throw new RuntimeException( "unexpected error occured", e );
+            throw new RuntimeException( "unexpected error occurred", e );
         }
     }
 
@@ -127,7 +127,7 @@ class UserTransactionFacade
         }
         catch ( SystemException e )
         {
-            throw new RuntimeException( "unexpected error occured", e );
+            throw new RuntimeException( "unexpected error occurred", e );
         }
     }
 
@@ -146,7 +146,7 @@ class UserTransactionFacade
         }
         catch ( SystemException e )
         {
-            throw new RuntimeException( "unexpected error occured", e );
+            throw new RuntimeException( "unexpected error occurred", e );
         }
     }
 
@@ -174,22 +174,7 @@ class UserTransactionFacade
         }
         catch ( SystemException e )
         {
-            throw new RuntimeException( "unexpected error occured", e );
-        }
-    }
-
-    /**
-     * @see {@link UserTransaction#setTransactionTimeout(int)}.
-     */
-    void setTransactionTimeout( int seconds )
-    {
-        try
-        {
-            txn.setTransactionTimeout( seconds );
-        }
-        catch ( SystemException e )
-        {
-            throw new RuntimeException( "unexpected error occured", e );
+            throw new RuntimeException( "unexpected error occurred", e );
         }
     }
 }



Mime
View raw message