tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlmonte...@apache.org
Subject svn commit: r817239 - /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/
Date Mon, 21 Sep 2009 13:18:16 GMT
Author: jlmonteiro
Date: Mon Sep 21 13:18:15 2009
New Revision: 817239

URL: http://svn.apache.org/viewvc?rev=817239&view=rev
Log:
Fix typo s/getCurrentTrasaction/getCurrentTransaction in JtaTransactionPolicy

Modified:
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/JtaTransactionPolicy.java
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxBeanManaged.java
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxMandatory.java
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxNever.java
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxNotSupported.java
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxRequired.java
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxRequiresNew.java
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxSupports.java

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/JtaTransactionPolicy.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/JtaTransactionPolicy.java?rev=817239&r1=817238&r2=817239&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/JtaTransactionPolicy.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/JtaTransactionPolicy.java
Mon Sep 21 13:18:15 2009
@@ -61,10 +61,10 @@
         return transactionType;
     }
 
-    protected abstract Transaction getCurrentTrasaction();
+    protected abstract Transaction getCurrentTransaction();
 
     public boolean isTransactionActive() {
-        Transaction trasaction = getCurrentTrasaction();
+        Transaction trasaction = getCurrentTransaction();
         if (trasaction == null) {
             return false;
         }
@@ -78,7 +78,7 @@
     }
 
     public boolean isRollbackOnly() {
-        Transaction trasaction = getCurrentTrasaction();
+        Transaction trasaction = getCurrentTransaction();
         if (trasaction != null)  {
             try {
                 int status = trasaction.getStatus();
@@ -92,7 +92,7 @@
     }
 
     public void setRollbackOnly() {
-        Transaction trasaction = getCurrentTrasaction();
+        Transaction trasaction = getCurrentTransaction();
         if (trasaction != null)  {
             setRollbackOnly(trasaction);
         } else {
@@ -179,7 +179,7 @@
     }
 
     public void enlistResource(XAResource xaResource) throws SystemException {
-        Transaction transaction = getCurrentTrasaction();
+        Transaction transaction = getCurrentTransaction();
         if (transaction != null) {
             try {
                 if (transaction.enlistResource(xaResource)) {

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxBeanManaged.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxBeanManaged.java?rev=817239&r1=817238&r2=817239&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxBeanManaged.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxBeanManaged.java
Mon Sep 21 13:18:15 2009
@@ -42,7 +42,7 @@
         return false;
     }
 
-    protected Transaction getCurrentTrasaction() {
+    protected Transaction getCurrentTransaction() {
         try {
             return getTransaction();
         } catch (SystemException e) {

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxMandatory.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxMandatory.java?rev=817239&r1=817238&r2=817239&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxMandatory.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxMandatory.java
Mon Sep 21 13:18:15 2009
@@ -58,7 +58,7 @@
         return true;
     }
 
-    protected Transaction getCurrentTrasaction() {
+    protected Transaction getCurrentTransaction() {
         return clientTx;
     }
 

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxNever.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxNever.java?rev=817239&r1=817238&r2=817239&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxNever.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxNever.java
Mon Sep 21 13:18:15 2009
@@ -55,7 +55,7 @@
         return false;
     }
     
-    protected Transaction getCurrentTrasaction() {
+    protected Transaction getCurrentTransaction() {
         return null;
     }
 

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxNotSupported.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxNotSupported.java?rev=817239&r1=817238&r2=817239&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxNotSupported.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxNotSupported.java
Mon Sep 21 13:18:15 2009
@@ -57,7 +57,7 @@
         return false;
     }
     
-    protected Transaction getCurrentTrasaction() {
+    protected Transaction getCurrentTransaction() {
         return null;
     }
 

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxRequired.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxRequired.java?rev=817239&r1=817238&r2=817239&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxRequired.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxRequired.java
Mon Sep 21 13:18:15 2009
@@ -65,7 +65,7 @@
         return !isNewTransaction();
     }
 
-    protected Transaction getCurrentTrasaction() {
+    protected Transaction getCurrentTransaction() {
         return currentTx;
     }
 

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxRequiresNew.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxRequiresNew.java?rev=817239&r1=817238&r2=817239&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxRequiresNew.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxRequiresNew.java
Mon Sep 21 13:18:15 2009
@@ -63,7 +63,7 @@
         return false;
     }
 
-    protected Transaction getCurrentTrasaction() {
+    protected Transaction getCurrentTransaction() {
         return currentTx;
     }
 

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxSupports.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxSupports.java?rev=817239&r1=817238&r2=817239&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxSupports.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/transaction/TxSupports.java
Mon Sep 21 13:18:15 2009
@@ -55,7 +55,7 @@
         return clientTx != null;
     }
 
-    protected Transaction getCurrentTrasaction() {
+    protected Transaction getCurrentTransaction() {
         return clientTx;
     }
 



Mime
View raw message