From 6361dedbe956d6de88ba4dcfdd2acc5f12382902 Mon Sep 17 00:00:00 2001 From: shts Date: Sun, 26 Jul 2015 13:18:25 +0900 Subject: [PATCH] refactor --- .../main/java/shts/jp/android/nogifeed/utils/JsoupUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/shts/jp/android/nogifeed/utils/JsoupUtils.java b/app/src/main/java/shts/jp/android/nogifeed/utils/JsoupUtils.java index 3a3ead4..336f168 100644 --- a/app/src/main/java/shts/jp/android/nogifeed/utils/JsoupUtils.java +++ b/app/src/main/java/shts/jp/android/nogifeed/utils/JsoupUtils.java @@ -252,7 +252,7 @@ public static boolean getNewsFeed(final Context context, final News.Type newsTyp return getNewsFeed(newsFeedUrl, listener); } - public static boolean getNewsFeed(final String url, + private static boolean getNewsFeed(final String url, final GetNewsFeedListener listener) { new Thread(new Runnable() { @@ -284,7 +284,7 @@ public void run() { return true; } - public static ArrayList getNewsFeed(final String url) throws IOException { + private static ArrayList getNewsFeed(final String url) throws IOException { final ArrayList newsList = new ArrayList(); Document document = Jsoup.connect(url).get();