Remove checked exception from method signatures that do not throw them.
authorGary Gregory <garydgregory@gmail.com>
Thu, 15 Jul 2021 19:40:20 +0000 (15:40 -0400)
committerGary Gregory <garydgregory@gmail.com>
Thu, 15 Jul 2021 19:40:20 +0000 (15:40 -0400)
commitc4e381dec1b50d9c40f1f7095d53555aa479df50
treedb2ee73d1349247c9f137fb77c7697bec69c13b5
parent6c39b5fd54646096c10343e16faa3541ae912708
Remove checked exception from method signatures that do not throw them.

This maintains binary compatibility but not source compatibility.

- org.apache.commons.vfs2.impl.DefaultFileSystemConfigBuilder.setUserAuthenticator(FileSystemOptions,
UserAuthenticator)
- org.apache.commons.vfs2.impl.DefaultFileSystemManager.setBaseFile(File)
- org.apache.commons.vfs2.provider.LayeredFileNameParser.extractRootName(StringBuilder)
- org.apache.commons.vfs2.provider.sftp.SftpFileSystemConfigBuilder.setCompression(FileSystemOptions,
String)
- org.apache.commons.vfs2.provider.sftp.SftpFileSystemConfigBuilder.setConfigRepository(FileSystemOptions,
ConfigRepository)
- org.apache.commons.vfs2.provider.sftp.SftpFileSystemConfigBuilder.setIdentities(FileSystemOptions,
File...)
- org.apache.commons.vfs2.provider.sftp.SftpFileSystemConfigBuilder.setIdentityInfo(FileSystemOptions,
IdentityInfo...)
- org.apache.commons.vfs2.provider.sftp.SftpFileSystemConfigBuilder.setIdentityProvider(FileSystemOptions,
IdentityProvider...)
- org.apache.commons.vfs2.provider.sftp.SftpFileSystemConfigBuilder.setIdentityRepositoryFactory(FileSystemOptions,
IdentityRepositoryFactory)
- org.apache.commons.vfs2.provider.sftp.SftpFileSystemConfigBuilder.setKnownHosts(FileSystemOptions,
File)
- org.apache.commons.vfs2.provider.local.LocalFile.LocalFile(LocalFileSystem,
String, AbstractFileName)
- org.apache.commons.vfs2.provider.tar.TarFileObject.TarFileObject(AbstractFileName,
TarArchiveEntry, TarFileSystem, boolean)
- org.apache.commons.vfs2.provider.tar.TarFileSystem.createTarFileObject(AbstractFileName,
TarArchiveEntry)
- org.apache.commons.vfs2.provider.zip.ZipFileObject.ZipFileObject(AbstractFileName,
ZipEntry, ZipFileSystem, boolean)
- org.apache.commons.vfs2.provider.http4.Http4FileProvider.createHttpClientContext()
- org.apache.commons.vfs2.provider.http5.Http5FileProvider.createHttpClientContext()
- org.apache.commons.vfs2.provider.http4.Http4FileObject.getInternalURI()
- org.apache.commons.vfs2.provider.http5.Http5FileObject.getInternalURI()
16 files changed:
checkstyle.properties
commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileSystemConfigBuilder.java
commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileSystemManager.java
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/LayeredFileNameParser.java
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/http4/Http4FileObject.java
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/http4/Http4FileProvider.java
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/http5/Http5FileObject.java
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/http5/Http5FileProvider.java
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystemConfigBuilder.java
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/tar/TarFileObject.java
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/tar/TarFileSystem.java
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileObject.java
commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/http/HttpProviderTestCase.java
commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/ram/CustomRamProviderTest.java
src/changes/changes.xml