Skip to content

Commit

Permalink
Fix capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Sep 30, 2017
1 parent 4fe6424 commit 92670ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ private synchronized MaybeSubject<Object> notifier() {
}

@Override protected void onUnbind() {
emitUnBindIfPresent();
emitUnbindIfPresent();
unbindNotifier = null;
}

private void emitUnBindIfPresent() {
private void emitUnbindIfPresent() {
MaybeSubject<Object> notifier = unbindNotifier;
if (notifier != null && !notifier.hasComplete()) {
notifier.onSuccess(NOTIFICATION);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ abstract class AutoDisposeViewHolderKotlin(itemView: View)
}

override fun onUnbind() {
emitUnBindIfPresent()
emitUnbindIfPresent()
unbindNotifier = null
}

private fun emitUnBindIfPresent() {
private fun emitUnbindIfPresent() {
unbindNotifier?.let {
if (!it.hasComplete()) {
it.onSuccess(NOTIFICATION)
Expand Down

0 comments on commit 92670ec

Please sign in to comment.