Skip to content

Commit

Permalink
Adding default implementation for the clear operation
Browse files Browse the repository at this point in the history
  • Loading branch information
rguillens committed Mar 25, 2019
1 parent 30d823d commit 2901218
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,13 @@ public void unsubscribe(Object channel, NotificationObserver observer) {
removeObserverFromObserverMap(observer, observerMap);
}
}


@Override
public void clear() {
this.globalObservers.clear();
this.channelObserverMap.clear();
}

/*
* Helper
*/
Expand Down

0 comments on commit 2901218

Please sign in to comment.