This is an automated email from the ASF dual-hosted git repository. gnodet pushed a commit to branch root-fs in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
commit 795cc78bfce6e2b99e1e4c7a3afde011c27d75f9 Author: Guillaume Nodet <gno...@gmail.com> AuthorDate: Tue May 2 11:53:38 2023 +0200 Make constructors protected so that the class can be inherited --- .../java/org/apache/sshd/common/file/root/RootedDirectoryStream.java | 2 +- .../org/apache/sshd/common/file/root/RootedSecureDirectoryStream.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sshd-common/src/main/java/org/apache/sshd/common/file/root/RootedDirectoryStream.java b/sshd-common/src/main/java/org/apache/sshd/common/file/root/RootedDirectoryStream.java index bb9f7b584..558817183 100644 --- a/sshd-common/src/main/java/org/apache/sshd/common/file/root/RootedDirectoryStream.java +++ b/sshd-common/src/main/java/org/apache/sshd/common/file/root/RootedDirectoryStream.java @@ -32,7 +32,7 @@ public class RootedDirectoryStream implements DirectoryStream<Path> { protected final RootedFileSystem rfs; protected final DirectoryStream<Path> delegate; - RootedDirectoryStream(RootedFileSystem rfs, DirectoryStream<Path> delegate) { + protected RootedDirectoryStream(RootedFileSystem rfs, DirectoryStream<Path> delegate) { this.rfs = rfs; this.delegate = delegate; } diff --git a/sshd-common/src/main/java/org/apache/sshd/common/file/root/RootedSecureDirectoryStream.java b/sshd-common/src/main/java/org/apache/sshd/common/file/root/RootedSecureDirectoryStream.java index 62b6c8ae3..f40b70bec 100644 --- a/sshd-common/src/main/java/org/apache/sshd/common/file/root/RootedSecureDirectoryStream.java +++ b/sshd-common/src/main/java/org/apache/sshd/common/file/root/RootedSecureDirectoryStream.java @@ -35,7 +35,7 @@ import java.util.Set; */ public class RootedSecureDirectoryStream extends RootedDirectoryStream implements SecureDirectoryStream<Path> { - RootedSecureDirectoryStream(RootedFileSystem rfs, SecureDirectoryStream<Path> delegate) { + protected RootedSecureDirectoryStream(RootedFileSystem rfs, SecureDirectoryStream<Path> delegate) { super(rfs, delegate); }