Skip to content

Commit

Permalink
Merge pull request #12 from jfojfo/master
Browse files Browse the repository at this point in the history
fix bug: equality check for ViewInjectInfo
  • Loading branch information
wyouflf committed Feb 10, 2014
2 parents f18e1ee + 29477a8 commit 265b5b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/src/com/lidroid/xutils/view/ViewInjectInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ public boolean equals(Object o) {
ViewInjectInfo that = (ViewInjectInfo) o;

if (parentId != that.parentId) return false;
if (value != that.value) return false;
if (value == null) return (null == that.value);

return true;
return value.equals(that.value);
}

@Override
Expand Down

0 comments on commit 265b5b1

Please sign in to comment.