From b85424f14a0dcbb2d2759bd27766d510c262f534 Mon Sep 17 00:00:00 2001 From: Marek Sunda Date: Wed, 27 Nov 2024 17:42:36 +0100 Subject: [PATCH] Fixed consistency of wrongly using java.io.FileNotFoundException instead of preferred org.apache.commons.vfs2.FileNotFoundException --- .../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 e04e6df786..dafc4f00ef 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.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;