Bug 117526 [Contributions] [Commands] Javadoc warnings in N20051122-0010
/builds/N/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.core.commands/src/org/eclipse/core/commands/INamedHandleStateIds.java:30: warning - Tag @link: Class or Package not found: NamedHandleObjectWithState /builds/N/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.core.commands/src/org/eclipse/core/commands/Command.java:581: warning - @param argument "state" is not a parameter name. /builds/N/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.jface/src/org/eclipse/jface/commands/RadioState.java:46: warning - Tag @link: Class or Package not found: Boolean.TRUE /builds/N/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.jface/src/org/eclipse/jface/commands/RadioState.java:46: warning - Tag @link: Class or Package not found: Boolean.FALSE /builds/N/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/handlers/RegistryRadioState.java:51: warning - Tag @link: Class or Package not found: Boolean.FALSE
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/Command.java
category = null;
		final boolean parametersChanged = parameters != null;
		parameters = null;
		final String[] stateIds = getStateIds();
		if (stateIds != null) {
			if (handler instanceof IObjectWithState) {
				final IObjectWithState handlerWithState = (IObjectWithState) handler;
				for (int i = 0; i < stateIds.length; i++) {
					final String stateId = stateIds[i];
					handlerWithState.removeState(stateId);
					
					final IState state = getState(stateId);
					removeState(stateId);
					state.dispose();
				}
			} else {
				for (int i = 0; i < stateIds.length; i++) {
					final String stateId = stateIds[i];
					final IState state = getState(stateId);
					removeState(stateId);
					state.dispose();
				}
			}
		}
		fireCommandChanged(new CommandEvent(this, categoryChanged,
				definedChanged, descriptionChanged, false, nameChanged,
				parametersChanged));
	}
}