override fun hasContext(context: String) = context in contexts
- override fun setContexts(contexts: Collection<String>) {
+ override fun setContexts(contexts: Set<String>) {
synchronized(this.contexts) {
this.contexts.clear()
this.contexts.addAll(contexts)