Skip to content

Commit

Permalink
[update][lib][storage] Removed the unused method .
Browse files Browse the repository at this point in the history
  • Loading branch information
wgzhao committed Sep 22, 2024
1 parent 62b0627 commit 9a937ea
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import org.apache.commons.compress.compressors.CompressorInputStream;
import org.apache.commons.compress.compressors.CompressorStreamFactory;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.RandomStringUtils;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
Expand All @@ -44,14 +43,11 @@
import java.nio.file.Paths;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.regex.Pattern;

public class FileHelper {
public final static Logger LOG = LoggerFactory.getLogger(FileHelper.class);
Expand Down Expand Up @@ -163,11 +159,6 @@ public static BufferedReader readCompressFile(String fileName, String encoding,
}
}

public static boolean checkDirectoryWritable(String directory) {
Path path = Paths.get(directory);
return Files.isWritable(path);
}

// validate the path, path must be an absolute path
public static List<String> buildSourceTargets(List<String> directories) {
// for each path
Expand Down

0 comments on commit 9a937ea

Please sign in to comment.