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