diff --git a/app/src/main/java/acr/browser/lightning/object/SearchAdapter.java b/app/src/main/java/acr/browser/lightning/object/SearchAdapter.java index abb2e61..77694b2 100644 --- a/app/src/main/java/acr/browser/lightning/object/SearchAdapter.java +++ b/app/src/main/java/acr/browser/lightning/object/SearchAdapter.java @@ -96,7 +96,7 @@ public class SearchAdapter extends BaseAdapter implements Filterable { delete.start(); } - private void deleteOldCacheFiles() { + private static void deleteOldCacheFiles() { File dir = new File(BrowserApp.getAppContext().getCacheDir().toString()); String[] fileList = dir.list(new NameFilter()); long earliestTimeAllowed = System.currentTimeMillis() - INTERVAL_DAY; diff --git a/app/src/main/java/acr/browser/lightning/reading/ArticleTextExtractor.java b/app/src/main/java/acr/browser/lightning/reading/ArticleTextExtractor.java index 9e33e92..1e2eb3b 100644 --- a/app/src/main/java/acr/browser/lightning/reading/ArticleTextExtractor.java +++ b/app/src/main/java/acr/browser/lightning/reading/ArticleTextExtractor.java @@ -968,7 +968,7 @@ public class ArticleTextExtractor { return weight; } - private Element determineImageSource(Element el, List images) { + private static Element determineImageSource(Element el, List images) { int maxWeight = 0; Element maxNode = null; Elements els = el.select("img"); diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index d9fcece..5afcd56 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -3,6 +3,5 @@ 260dp 48dp - 48dp