boolean apply() { if (isPluginAlreadyInDesiredState()) { return false; } plugin.setEnabled(newState.isEnabled()); return true; }
boolean apply() { if (isPluginAlreadyInDesiredState()) { return false; } plugin.setEnabled(newState.isEnabled()); return true; }