Skip to content

Commit 095852b

Browse files
committed
Removed obsolete method
1 parent 60b98b3 commit 095852b

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/de/soderer/dbexport/worker/AbstractDbExportWorker.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -439,22 +439,6 @@ public Boolean work() throws Exception {
439439
}
440440
}
441441

442-
private String prepareOutputFilePathForMultiExport(final String basicOutputFilePath) throws DbExportException {
443-
// Create directory if missing
444-
final File outputBaseDirecory = new File(basicOutputFilePath);
445-
if (!outputBaseDirecory.exists()) {
446-
if (createOutputDirectoyIfNotExists) {
447-
outputBaseDirecory.mkdirs();
448-
} else {
449-
throw new DbExportException("Outputpath '" + basicOutputFilePath + "' does not exist");
450-
}
451-
} else if (!outputBaseDirecory.isDirectory()) {
452-
throw new DbExportException("Outputpath '" + basicOutputFilePath + "' already exists but is not a directory, which is needed for an export of multiple data sets");
453-
}
454-
455-
return basicOutputFilePath;
456-
}
457-
458442
private void exportDbStructure(final Connection connection, final List<String> tablesToExport, String outputFilePath) throws Exception {
459443
OutputStream outputStream = null;
460444
File tempFile = null;

0 commit comments

Comments
 (0)