You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by da...@apache.org on 2023/12/11 10:37:25 UTC

(causeway) 07/25: CAUSEWAY-3654: TransactionServiceSpring no longer implements TransactionBoundaryAware

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch CAUSEWAY-3654-isis
in repository https://gitbox.apache.org/repos/asf/causeway.git

commit 5a613d8bd229a518ca1b39bd73edb313f21110d7
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Sun Dec 10 08:47:33 2023 +0000

    CAUSEWAY-3654: TransactionServiceSpring no longer implements TransactionBoundaryAware
    
    instead, called directly by InteractionServiceDefault (2)
---
 .../isis/core/runtimeservices/transaction/TransactionServiceSpring.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/transaction/TransactionServiceSpring.java b/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/transaction/TransactionServiceSpring.java
index 9b21ec9c3d..4965b0741d 100644
--- a/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/transaction/TransactionServiceSpring.java
+++ b/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/transaction/TransactionServiceSpring.java
@@ -235,7 +235,6 @@ implements
     private ThreadLocal<LongAdder> txCounter = ThreadLocal.withInitial(LongAdder::new);
 
     /** INTERACTION BEGIN BOUNDARY */
-    @Override
     public void beforeEnteringTransactionalBoundary() {
         txCounter.get().reset();
     }
@@ -247,7 +246,6 @@ implements
     }
 
     /** INTERACTION END BOUNDARY */
-    @Override
     public void afterLeavingTransactionalBoundary() {
         txCounter.remove(); //XXX not tested yet: can we be certain that no txCounter.get() is called afterwards?
     }