Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
android-components
Commits
a904a023
Commit
a904a023
authored
Jun 06, 2019
by
Sebastian Kaspari
Committed by
Christian Sadilek
Jun 06, 2019
Browse files
ObserverRegistry.isObserved(): Use isNotEmpty().
parent
cada90b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
components/support/base/src/main/java/mozilla/components/support/base/observer/ObserverRegistry.kt
View file @
a904a023
...
...
@@ -134,7 +134,7 @@ class ObserverRegistry<T> : Observable<T> {
@Synchronized
override
fun
isObserved
():
Boolean
{
return
!
observers
.
isEmpty
()
return
observers
.
is
Not
Empty
()
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment