Commit 040cc3df authored by Adrien Dorsaz's avatar Adrien Dorsaz

Stops saving "starred" response. Just verifies that it exists.

parent 069dc170
......@@ -76,8 +76,9 @@ public class ArticleStarredStateUpdater extends
STARREDSTATE_PAGE_RSSLOUNGE, httpParams);
try {
// TODO : check if we want to do something with starred number
Integer nbStarred = jsonResponse.getInt("starred");
// TODO : check if we want to do something with starred number. For
// instance keep this getInt to be sure that there wasn't any error.
jsonResponse.getInt("starred");
article.updateStarredState();
} catch (JSONException e) {
throw new StarredStateUpdateException();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment