removed java.nio
This commit is contained in:
parent
24798ae9eb
commit
17cc2f27f4
File diff suppressed because it is too large
Load Diff
@ -1721,6 +1721,21 @@ public class FilePanelTab extends JPanel {
|
||||
}
|
||||
return result[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFileProgress(long current, long total) {}
|
||||
|
||||
@Override
|
||||
public boolean isCancelled() { return false; }
|
||||
|
||||
@Override
|
||||
public FileOperations.OverwriteResponse confirmOverwrite(File source, File target) { return FileOperations.OverwriteResponse.YES; }
|
||||
|
||||
@Override
|
||||
public FileOperations.ErrorResponse onError(File file, Exception e) { return FileOperations.ErrorResponse.ABORT; }
|
||||
|
||||
@Override
|
||||
public FileOperations.SymlinkResponse confirmSymlink(File file) { return FileOperations.SymlinkResponse.FOLLOW; }
|
||||
});
|
||||
currentArchivePassword = usedPassword[0];
|
||||
return tempDir;
|
||||
@ -2215,6 +2230,18 @@ public class FilePanelTab extends JPanel {
|
||||
}
|
||||
return result[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFileProgress(long current, long total) {}
|
||||
|
||||
@Override
|
||||
public FileOperations.OverwriteResponse confirmOverwrite(File source, File target) { return FileOperations.OverwriteResponse.YES; }
|
||||
|
||||
@Override
|
||||
public FileOperations.SymlinkResponse confirmSymlink(File file) { return FileOperations.SymlinkResponse.FOLLOW; }
|
||||
|
||||
@Override
|
||||
public String requestPassword(String archiveName) { return null; }
|
||||
});
|
||||
SwingUtilities.invokeLater(() -> {
|
||||
progressDialog.dispose();
|
||||
@ -2767,6 +2794,12 @@ public class FilePanelTab extends JPanel {
|
||||
}
|
||||
return result[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
public FileOperations.SymlinkResponse confirmSymlink(File file) { return FileOperations.SymlinkResponse.FOLLOW; }
|
||||
|
||||
@Override
|
||||
public String requestPassword(String archiveName) { return null; }
|
||||
};
|
||||
|
||||
if (action == ClipboardService.ClipboardAction.CUT) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user