mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 09:43:15 +00:00
fix
This commit is contained in:
parent
d88c9c2030
commit
022e7e278a
|
@ -16,7 +16,7 @@ public interface FileManager {
|
|||
|
||||
File getFileRef();
|
||||
boolean isExist(String name) throws IOException;
|
||||
boolean isExist() throws IOException;
|
||||
boolean isExist();
|
||||
boolean isDirectory();
|
||||
boolean isFile();
|
||||
boolean isWritable();
|
||||
|
|
|
@ -77,7 +77,7 @@ public class FileManagerImpl implements FileManager {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean isExist() throws IOException {
|
||||
public boolean isExist(){
|
||||
return Files.exists(this.path);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user