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 ab2cca2 Drop unused exception.
ab2cca2 is described below
commit ab2cca23bfe14a02ad2f23c1cb17c568787a1772
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Jul 16 13:25:47 2021 -0400
Drop unused exception.
---
.../src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java | 2 +-
src/changes/changes.xml | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git
a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
index c0cc8b1..836a7b8 100644
---
a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
+++
b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
@@ -136,7 +136,7 @@ public class LocalFile extends
AbstractFileObject<LocalFileSystem> {
* Returns the file's type.
*/
@Override
- protected FileType doGetType() throws Exception {
+ protected FileType doGetType() {
if (!file.exists()) {
return FileType.IMAGINARY;
}
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 2423101..22f9257 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -100,6 +100,7 @@ The <action> type attribute can be add,update,fix,remove.
-
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.local.LocalFile.doGetType()
-
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)