mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 13:57:46 +01:00
leverage paths for default FileDirectory constructor
This commit is contained in:
parent
891d0d39e0
commit
3ba82b08e3
@ -30,7 +30,7 @@ public class FileDirectory extends AbstractDirectory {
|
||||
private File mDir;
|
||||
|
||||
public FileDirectory(String dir) throws DirectoryException {
|
||||
this(new File(dir));
|
||||
this(Paths.get(dir).toFile());
|
||||
}
|
||||
|
||||
public FileDirectory(ExtFile dir, String folder) throws DirectoryException {
|
||||
|
Loading…
Reference in New Issue
Block a user