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:30 UTC

(causeway) 12/25: CAUSEWAY-3654: reduces back the visibility of members in the new static classes in TSS

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 2d8c3d11d88659b4bda2434dabb63965a22ddff9
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Sun Dec 10 08:57:12 2023 +0000

    CAUSEWAY-3654: reduces back the visibility of members in the new static classes in TSS
---
 .../runtimeservices/transaction/TransactionServiceSpring.java     | 8 ++++----
 1 file changed, 4 insertions(+), 4 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 d81effe13e..3dbc188169 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
@@ -399,21 +399,21 @@ implements
     }
 
     @Value
-    public static class CloseTask {
+    private static class CloseTask {
         private final @NonNull TransactionStatus txStatus;
         private final @NonNull String onErrorInfo;
         private final @NonNull ThrowingRunnable runnable;
     }
 
     @RequiredArgsConstructor
-    public static class OnCloseHandle {
+    private static class OnCloseHandle {
         private final @NonNull List<CloseTask> onCloseTasks;
-        public void requestRollback() {
+        void requestRollback() {
             onCloseTasks.forEach(onCloseTask->{
                 onCloseTask.txStatus.setRollbackOnly();
             });
         }
-        public void runOnCloseTasks() {
+        void runOnCloseTasks() {
             onCloseTasks.forEach(onCloseTask->{
 
                 try {