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 6bb85fbb Fixed consistency of wrongly using
java.io.FileNotFoundException instead of preferred
org.apache.commons.vfs2.FileNotFoundException (#638)
6bb85fbb is described below
commit 6bb85fbb10dc9fbe98fc0680f5e43f4bf8866ab7
Author: Marek Sunda <[email protected]>
AuthorDate: Thu Nov 28 13:47:08 2024 +0100
Fixed consistency of wrongly using java.io.FileNotFoundException instead of
preferred org.apache.commons.vfs2.FileNotFoundException (#638)
---
.../main/java/org/apache/commons/vfs2/provider/ftp/FtpFileObject.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileObject.java
b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileObject.java
index e04e6df7..dafc4f00 100644
---
a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileObject.java
+++
b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileObject.java
@@ -16,7 +16,6 @@
*/
package org.apache.commons.vfs2.provider.ftp;
-import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
@@ -37,6 +36,7 @@ import org.apache.commons.logging.LogFactory;
import org.apache.commons.net.ftp.FTPFile;
import org.apache.commons.vfs2.FileName;
import org.apache.commons.vfs2.FileNotFolderException;
+import org.apache.commons.vfs2.FileNotFoundException;
import org.apache.commons.vfs2.FileObject;
import org.apache.commons.vfs2.FileSystemException;
import org.apache.commons.vfs2.FileType;