You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/03/24 12:58:51 UTC

[commons-vfs] branch master updated: [VFS-833] Make constructor FileSystemOptions(Map) public.

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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git


The following commit(s) were added to refs/heads/master by this push:
     new db02394b [VFS-833] Make constructor FileSystemOptions(Map) public.
db02394b is described below

commit db02394b76b4b6688b45d3dfd205cb07f78b2bcd
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Mar 24 08:58:46 2023 -0400

    [VFS-833] Make constructor FileSystemOptions(Map) public.
---
 .../src/main/java/org/apache/commons/vfs2/FileSystemOptions.java       | 3 ++-
 src/changes/changes.xml                                                | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileSystemOptions.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileSystemOptions.java
index f31a80cc..7c7ed032 100644
--- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileSystemOptions.java
+++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileSystemOptions.java
@@ -120,8 +120,9 @@ public final class FileSystemOptions implements Cloneable, Comparable<FileSystem
      * Constructs a new instance with the given options.
      *
      * @param options the options.
+     * @since 2.10.0
      */
-    protected FileSystemOptions(final Map<FileSystemOptionKey, Object> options) {
+    public FileSystemOptions(final Map<FileSystemOptionKey, Object> options) {
         this.options = options;
     }
 
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 2fb79f3b..b9b1dedd 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -167,6 +167,9 @@ The <action> type attribute can be add,update,fix,remove.
       <action issue="VFS-821" type="add" dev="ggregory" due-to="Maksym Perevertov, Gary Gregory">
         Add active port range configuration for FTP client factory #318.
       </action>
+      <action issue="VFS-833" type="add" dev="ggregory" due-to="Kannan Ramamoorthy, Bernd Eckenfels, Gary Gregory">
+        Make constructor FileSystemOptions(Map) public.
+      </action>
       <!-- UPDATE -->
       <action type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">
         Bump actions/cache from 2.1.6 to 3.0.11 #221, #249, #310, #314, #317.