void (@NotNull TestConnectionState state) { boolean changed = myTestConnectionStateA.getAndSet(state) != state; if (changed) { UIUtil.invokeLaterIfNeeded(RemoteServerComboWithAutoDetect.this::fireStateChanged); } }