File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
channel-event-bus/src/commonMain/kotlin/com/hoc081098/channeleventbus Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -74,12 +74,11 @@ private object StdoutChannelEventBusLogger : ChannelEventBusLogger {
7474/* *
7575 * The [ChannelEventBusLogger] that do nothing.
7676 */
77- @Suppress(" EmptyFunctionBlock" )
7877private object NoopChannelEventBusLogger : ChannelEventBusLogger {
79- override fun onCreated (key : ChannelEventKey <* >, bus : ChannelEventBus ) {}
80- override fun onSent (event : ChannelEvent <* >, bus : ChannelEventBus ) {}
81- override fun onStartCollection (key : ChannelEventKey <* >, bus : ChannelEventBus ) {}
82- override fun onStopCollection (key : ChannelEventKey <* >, bus : ChannelEventBus ) {}
83- override fun onClosed (key : ChannelEventKey <* >, bus : ChannelEventBus ) {}
84- override fun onClosedAll (keys : Set <ChannelEventKey <* >>, bus : ChannelEventBus ) {}
78+ override fun onCreated (key : ChannelEventKey <* >, bus : ChannelEventBus ) = Unit
79+ override fun onSent (event : ChannelEvent <* >, bus : ChannelEventBus ) = Unit
80+ override fun onStartCollection (key : ChannelEventKey <* >, bus : ChannelEventBus ) = Unit
81+ override fun onStopCollection (key : ChannelEventKey <* >, bus : ChannelEventBus ) = Unit
82+ override fun onClosed (key : ChannelEventKey <* >, bus : ChannelEventBus ) = Unit
83+ override fun onClosedAll (keys : Set <ChannelEventKey <* >>, bus : ChannelEventBus ) = Unit
8584}
You can’t perform that action at this time.
0 commit comments