Skip to content

Commit

Permalink
[UPDATE] #127 Added meaningful logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
hossain-khan committed Nov 12, 2016
1 parent 1f0f50e commit f0dd736
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,7 @@ public static CardItem create(@NonNull final Article article) {
width = articleMultimedia.getWidth();
height = articleMultimedia.getHeight();
} else {
String NO_IMAGE_MSG = "Article does not have image.";
Timber.w("%s Total items: %d", NO_IMAGE_MSG, size);
Timber.w("NYTimes article '%s' does not have image.", article.getTitle());
}

return new AutoValue_CardItem(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ class RowBuilderFactory {
*/
static Row buildCardRow(final Context context, final NavigationRow navigationRow) {
int navigationRowType = navigationRow.type();
Timber.d("buildCardRow() - Row type: %d", navigationRowType);

switch (navigationRowType) {
case NavigationRow.TYPE_SECTION_HEADER:
return new SectionRow(new HeaderItem(navigationRow.title()));
Expand Down

0 comments on commit f0dd736

Please sign in to comment.