This commit is contained in:
HorizonCode 2022-07-04 09:29:57 +02:00
parent 2eddf3cc2a
commit 626bb3e25a
3 changed files with 1 additions and 6 deletions

View File

@ -11,10 +11,7 @@ import org.tomlj.TomlArray;
import java.io.File; import java.io.File;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.time.temporal.ChronoUnit;
import java.util.Arrays;
import java.util.Date; import java.util.Date;
import java.util.Objects;
import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import java.util.stream.IntStream; import java.util.stream.IntStream;

View File

@ -14,9 +14,8 @@ import java.nio.file.Paths;
public class FileSystemTask extends Task { public class FileSystemTask extends Task {
private final File target; private final File target;
private File outputZipFile;
private final ThreadPool threadPool; private final ThreadPool threadPool;
private File outputZipFile;
public FileSystemTask(String folderOrFilePath, File outputZipFile) { public FileSystemTask(String folderOrFilePath, File outputZipFile) {
this.threadPool = new ThreadPool(3, 10); this.threadPool = new ThreadPool(3, 10);

View File

@ -2,7 +2,6 @@ package net.horizoncode.sysbackup.tasks.impl;
import lombok.Getter; import lombok.Getter;
import net.horizoncode.sysbackup.tasks.Task; import net.horizoncode.sysbackup.tasks.Task;
import org.apache.commons.io.FileUtils;
import java.io.File; import java.io.File;
import java.util.Arrays; import java.util.Arrays;