From 42ab9a757c4024e569062fd28718dcf3cd3b342a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 13 Sep 2015 11:33:07 -0700 Subject: [PATCH] Utils: remove unused code --- F-Droid/src/org/fdroid/fdroid/Utils.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/F-Droid/src/org/fdroid/fdroid/Utils.java b/F-Droid/src/org/fdroid/fdroid/Utils.java index 92e09b2c5..14db5651d 100644 --- a/F-Droid/src/org/fdroid/fdroid/Utils.java +++ b/F-Droid/src/org/fdroid/fdroid/Utils.java @@ -80,9 +80,6 @@ public final class Utils { private static final String[] FRIENDLY_SIZE_FORMAT = { "%.0f B", "%.0f KiB", "%.1f MiB", "%.2f GiB" }; - private static final SimpleDateFormat LOG_DATE_FORMAT = - new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.ENGLISH); - public static final String FALLBACK_ICONS_DIR = "/icons/"; /* @@ -584,13 +581,6 @@ public final class Utils { return DATE_FORMAT.format(date); } - public static String formatLogDate(Date date) { - if (date == null) { - return "(unknown)"; - } - return LOG_DATE_FORMAT.format(date); - } - // Need this to add the unimplemented support for ordered and unordered // lists to Html.fromHtml(). public static class HtmlTagHandler implements Html.TagHandler {