remove commented out code

This commit is contained in:
Greg DiCristofaro
2022-02-08 09:09:25 -05:00
parent 3af245e411
commit 06f7c54564
@@ -101,19 +101,7 @@ public class ExtractActionHelper {
// If there is an attribute name, change the ":". Otherwise the extracted file will be hidden
fileChooser.setSelectedFile(new File(FileUtil.escapeFileName(selectedFile.getName())));
if (fileChooser.showSaveDialog((Component) event.getSource()) == JFileChooser.APPROVE_OPTION) {
File saveLocation = fileChooser.getSelectedFile();
// if (saveLocation.exists()) {
// if (JOptionPane.YES_OPTION == JOptionPane.showConfirmDialog(WindowManager.getDefault().getMainWindow(),
// Bundle.ExtractActionHelper_extractOverwrite_msg(saveLocation.getPath()),
// Bundle.ExtractActionHelper_extractOverwrite_title(),
// JOptionPane.YES_NO_OPTION)) {
// } else {
// return;
// }
// }
String exportDirectory = saveLocation.getParent();
updateExportDirectory(exportDirectory, openCase);
updateExportDirectory(fileChooser.getSelectedFile().getParent(), openCase);
ArrayList<FileExtractionTask> fileExtractionTasks = new ArrayList<>();
fileExtractionTasks.add(new FileExtractionTask(selectedFile, fileChooser.getSelectedFile()));