Skip to content

Commit

Permalink
Coding style nitpicks
Browse files Browse the repository at this point in the history
  • Loading branch information
wdullaer committed Jul 14, 2015
1 parent 2004164 commit 672b1eb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public boolean onTouchEvent(@NonNull MotionEvent ev) {
@Override
public void setChecked(boolean checked) {
this.checked = checked;
if ( contentView != null && contentView instanceof Checkable ) {
if (contentView != null && contentView instanceof Checkable) {
((Checkable)contentView).setChecked(checked);
}
}
Expand All @@ -212,6 +212,6 @@ public boolean isChecked() {

@Override
public void toggle() {
this.setChecked( ! checked );
this.setChecked(!checked);
}
}

0 comments on commit 672b1eb

Please sign in to comment.