Fix Setting.hasSubscribers
@@ -82,7 +82,7 @@ public void unsubscribe(PropertyChangeListener listener) {
}
public boolean hasSubscribers() {
- return !subscribers.isEmpty();
+ return subscribers != null;
}
public SimpleUri getId() {
