From 6f844994da98abe9824f3eb1aeaf220118ad734c Mon Sep 17 00:00:00 2001 From: Billy Brawner Date: Thu, 18 Jan 2018 03:57:18 -0600 Subject: [PATCH] Remove unused methods --- .../simplemarkdown/model/MarkdownFile.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/app/src/main/java/com/wbrawner/simplemarkdown/model/MarkdownFile.java b/app/src/main/java/com/wbrawner/simplemarkdown/model/MarkdownFile.java index 294bb5f..d26c0cb 100644 --- a/app/src/main/java/com/wbrawner/simplemarkdown/model/MarkdownFile.java +++ b/app/src/main/java/com/wbrawner/simplemarkdown/model/MarkdownFile.java @@ -198,26 +198,4 @@ public class MarkdownFile { return PARAMETERS_MISSING; 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) { - } - } - } }