浏览代码

codacy: remove unused / superseeded method

AndyScherzinger 7 年之前
父节点
当前提交
7c7b1ba25b
共有 1 个文件被更改,包括 0 次插入12 次删除
  1. 0 12
      src/main/java/com/owncloud/android/utils/FileStorageUtils.java

+ 0 - 12
src/main/java/com/owncloud/android/utils/FileStorageUtils.java

@@ -124,18 +124,6 @@ public class FileStorageUtils {
         return df.format(d);
     }
 
-    private static String getSubpathFromDate(long date) {
-        if (date == 0) {
-            return "";
-        }
-
-        Date d = new Date(date);
-
-        DateFormat df = new SimpleDateFormat(PATTERN_YYYY_MM);
-
-        return df.format(d);
-    }
-
     /**
      * Returns the InstantUploadFilePath on the nextcloud instance
      *