Commit a904a023 authored by Sebastian Kaspari's avatar Sebastian Kaspari Committed by Christian Sadilek
Browse files

ObserverRegistry.isObserved(): Use isNotEmpty().

parent cada90b5
......@@ -134,7 +134,7 @@ class ObserverRegistry<T> : Observable<T> {
@Synchronized
override fun isObserved(): Boolean {
return !observers.isEmpty()
return observers.isNotEmpty()
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment