Remove unused methods
This commit is contained in:
parent
1c256d0491
commit
6f844994da
1 changed files with 0 additions and 22 deletions
|
@ -198,26 +198,4 @@ public class MarkdownFile {
|
||||||
return PARAMETERS_MISSING;
|
return PARAMETERS_MISSING;
|
||||||
return save(this.getFullPath());
|
return save(this.getFullPath());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static int fileExists(String path) {
|
|
||||||
if (new File(path).exists())
|
|
||||||
return FILE_EXISTS;
|
|
||||||
return FILE_NOT_EXISTS;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int fileExists() {
|
|
||||||
if (!this.name.isEmpty())
|
|
||||||
return fileExists(getFullPath());
|
|
||||||
return PARAMETERS_MISSING;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void deleteTempFile(String s) {
|
|
||||||
File tempFile = new File(s);
|
|
||||||
if (tempFile.exists()) {
|
|
||||||
try {
|
|
||||||
tempFile.delete();
|
|
||||||
} catch (Exception e) {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue