From 065b710c06f980c39faaeefc8e02964de8fe6732 Mon Sep 17 00:00:00 2001 From: Defend Date: Tue, 14 Feb 2017 20:08:18 +0300 Subject: [PATCH] Removed getResult --- .../main/java/ru/defend/defdevteam/tstu/FeedReader.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/ru/defend/defdevteam/tstu/FeedReader.java b/app/src/main/java/ru/defend/defdevteam/tstu/FeedReader.java index 67aea1f..b26e0fe 100644 --- a/app/src/main/java/ru/defend/defdevteam/tstu/FeedReader.java +++ b/app/src/main/java/ru/defend/defdevteam/tstu/FeedReader.java @@ -40,6 +40,7 @@ class FeedReader extends Thread { this.result = getRss(link); this.threadState = States.THREAD_COMPLETE; callback.onSuccess(result); + feedController.logIt("onSuccess called"); } catch (Exception e) { this.threadState = States.THREAD_FAIL; e.printStackTrace(); @@ -69,9 +70,9 @@ class FeedReader extends Thread { return this.threadState; } - public String getResult() { - return this.result; - } +// public String getResult() { +// return this.result; +// } interface ReaderCallback{ void onSuccess(String rssFeed);