Skip to content

Commit

Permalink
No need for notNullStr() with previous instanceof check.
Browse files Browse the repository at this point in the history
  • Loading branch information
roundhill committed Mar 16, 2016
1 parent d4bffc3 commit a918708
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ public NoteViewHolder(View view) {
@Override
public void onClick(View v) {
if (mOnNoteClickListener != null && v.getTag() instanceof String) {
mOnNoteClickListener.onClickNote(StringUtils.notNullStr((String)v.getTag()));
mOnNoteClickListener.onClickNote((String)v.getTag());
}
}
};
Expand Down

0 comments on commit a918708

Please sign in to comment.