cleanup
This commit is contained in:
parent
2eddf3cc2a
commit
626bb3e25a
|
@ -11,10 +11,7 @@ import org.tomlj.TomlArray;
|
|||
|
||||
import java.io.File;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.time.temporal.ChronoUnit;
|
||||
import java.util.Arrays;
|
||||
import java.util.Date;
|
||||
import java.util.Objects;
|
||||
import java.util.concurrent.LinkedBlockingQueue;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.stream.IntStream;
|
||||
|
|
|
@ -14,9 +14,8 @@ import java.nio.file.Paths;
|
|||
public class FileSystemTask extends Task {
|
||||
|
||||
private final File target;
|
||||
private File outputZipFile;
|
||||
|
||||
private final ThreadPool threadPool;
|
||||
private File outputZipFile;
|
||||
|
||||
public FileSystemTask(String folderOrFilePath, File outputZipFile) {
|
||||
this.threadPool = new ThreadPool(3, 10);
|
||||
|
|
|
@ -2,7 +2,6 @@ package net.horizoncode.sysbackup.tasks.impl;
|
|||
|
||||
import lombok.Getter;
|
||||
import net.horizoncode.sysbackup.tasks.Task;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Arrays;
|
||||
|
|
Loading…
Reference in New Issue
Block a user