You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2023/09/22 15:25:03 UTC

[plc4x] 03/03: fix: Fixed a package-visibility issue

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

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit 072d17981d60dc0a4b7c80dd5bd13746246cfa99
Author: Christofer Dutz <cd...@apache.org>
AuthorDate: Fri Sep 22 17:24:48 2023 +0200

    fix: Fixed a package-visibility issue
---
 .../java/org/apache/plc4x/java/utils/cache/LeasedPlcConnection.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plc4j/tools/connection-cache/src/main/java/org/apache/plc4x/java/utils/cache/LeasedPlcConnection.java b/plc4j/tools/connection-cache/src/main/java/org/apache/plc4x/java/utils/cache/LeasedPlcConnection.java
index 2acab7f9e5..26758cbac7 100644
--- a/plc4j/tools/connection-cache/src/main/java/org/apache/plc4x/java/utils/cache/LeasedPlcConnection.java
+++ b/plc4j/tools/connection-cache/src/main/java/org/apache/plc4x/java/utils/cache/LeasedPlcConnection.java
@@ -43,7 +43,7 @@ public class LeasedPlcConnection implements PlcConnection {
     private boolean invalidateConnection;
     private final Timer usageTimer;
 
-    public LeasedPlcConnection(ConnectionContainer connectionContainer, PlcConnection connection, Duration maxUseTime) {
+    LeasedPlcConnection(ConnectionContainer connectionContainer, PlcConnection connection, Duration maxUseTime) {
         this.connectionContainer = connectionContainer;
         this.connection = connection;
         this.invalidateConnection = false;