Logging.log(Logging.WARN, NLS.bind(MetaTypeMsg.INVALID_OPTIONS, (String) _values.get(index), reason));
Logging.log(Logging.WARN, NLS.bind(MetaTypeMsg.INVALID_OPTIONS, _values.get(index), reason));
	void setOption(Vector labels, Vector values, boolean needValidation) {		if ((labels == null) || (values == null)) {			Logging.log(Logging.ERROR, this, "setOption(Vector, Vector, boolean)", //$NON-NLS-1$					MetaTypeMsg.NULL_OPTIONS);			return;		}		if (labels.size() != values.size()) {			Logging.log(Logging.ERROR, this, "setOption(Vector, Vector, boolean)", //$NON-NLS-1$					MetaTypeMsg.INCONSISTENT_OPTIONS);			return;		}		_labels = labels;		_values = values;		if (needValidation) {			for (int index = 0; index < _labels.size(); index++) {				String reason = validate((String) _values.get(index));				if ((reason != null) && reason.length() > 0) {					Logging.log(Logging.WARN, NLS.bind(MetaTypeMsg.INVALID_OPTIONS, (String) _values.get(index), reason));					_labels.remove(index);					_values.remove(index);					index--; // Because this one has been removed.				}			}		}	}