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 ff0261b9dfe5aa7cedf715108b1035a238888dae Author: Guillaume Nodet <gno...@gmail.com> AuthorDate: Tue May 2 15:10:56 2023 +0200 No need for the constructors to be protected, flag them as public --- .../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 558817183..dde9e748d 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; - protected RootedDirectoryStream(RootedFileSystem rfs, DirectoryStream<Path> delegate) { + public 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 f40b70bec..6fe811c5b 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> { - protected RootedSecureDirectoryStream(RootedFileSystem rfs, SecureDirectoryStream<Path> delegate) { + public RootedSecureDirectoryStream(RootedFileSystem rfs, SecureDirectoryStream<Path> delegate) { super(rfs, delegate); }