Fix support of DelegatingFileSystemOptionsBuilder (commons-vfs). Add unit tests to prevent such regression issues in the future.
Note: this fix is required to provide compatibility with the previous versions of the vfs-s3. Here is the sample code which works with the 2.X version of the vfs-s3
FileSystemManager manager = VFS.getManager();
FileSystemOptions options = new FileSystemOptions();
DelegatingFileSystemOptionsBuilder builder = new DelegatingFileSystemOptionsBuilder(manager);
builder.setConfigString(options, "s3", "region", "us-east-1");
Fix support of DelegatingFileSystemOptionsBuilder (commons-vfs). Add unit tests to prevent such regression issues in the future.
Note: this fix is required to provide compatibility with the previous versions of the vfs-s3. Here is the sample code which works with the 2.X version of the vfs-s3