onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sclas...@apache.org
Subject svn commit: r1707059 - /onami/trunk/persist/src/main/java/org/apache/onami/persist/UserTransactionFacade.java
Date Tue, 06 Oct 2015 14:05:46 GMT
Author: sclassen
Date: Tue Oct  6 14:05:45 2015
New Revision: 1707059

URL: http://svn.apache.org/viewvc?rev=1707059&view=rev
Log:
ONAMI-118: add missing @Inject

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

Modified: onami/trunk/persist/src/main/java/org/apache/onami/persist/UserTransactionFacade.java
URL: http://svn.apache.org/viewvc/onami/trunk/persist/src/main/java/org/apache/onami/persist/UserTransactionFacade.java?rev=1707059&r1=1707058&r2=1707059&view=diff
==============================================================================
--- onami/trunk/persist/src/main/java/org/apache/onami/persist/UserTransactionFacade.java
(original)
+++ onami/trunk/persist/src/main/java/org/apache/onami/persist/UserTransactionFacade.java
Tue Oct  6 14:05:45 2015
@@ -19,6 +19,7 @@ package org.apache.onami.persist;
  * under the License.
  */
 
+import javax.inject.Inject;
 import javax.inject.Singleton;
 import javax.transaction.HeuristicMixedException;
 import javax.transaction.HeuristicRollbackException;
@@ -57,6 +58,7 @@ class UserTransactionFacade
      *
      * @param txn the actual user transaction to wrap. Must not be {@code null}.
      */
+    @Inject
     UserTransactionFacade( UserTransaction txn )
     {
         this.txn = checkNotNull( txn, "txn is mandatory!" );



Mime
View raw message