no message
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
package _VisualDVM.TestingSystem.DVM;
|
||||
import Common.CommonConstants;
|
||||
import Common.Passes.PassException;
|
||||
import Common.Utils.Utils_;
|
||||
import _VisualDVM.Constants;
|
||||
import _VisualDVM.Utils;
|
||||
import _VisualDVM.GlobalData.Machine.Machine;
|
||||
import _VisualDVM.GlobalData.RemoteFile.RemoteFile;
|
||||
import _VisualDVM.GlobalData.User.User;
|
||||
import _VisualDVM.ProjectData.Project.db_project_info;
|
||||
import Common.Passes.PassException;
|
||||
import _VisualDVM.Utils;
|
||||
import com.jcraft.jsch.*;
|
||||
import javafx.util.Pair;
|
||||
|
||||
@@ -193,7 +193,6 @@ public class UserConnection {
|
||||
try {
|
||||
sftpChannel.lstat(file_full_name);
|
||||
return true;
|
||||
|
||||
} catch (SftpException e) {
|
||||
if (e.id == ChannelSftp.SSH_FX_NO_SUCH_FILE) {
|
||||
// file doesn't exist
|
||||
@@ -208,7 +207,6 @@ public class UserConnection {
|
||||
try {
|
||||
sftpChannel.lstat(file_full_name);
|
||||
return true;
|
||||
|
||||
} catch (SftpException e) {
|
||||
if (e.id == ChannelSftp.SSH_FX_PERMISSION_DENIED) {
|
||||
// file busy
|
||||
|
||||
Reference in New Issue
Block a user