software/ncitbrowser/src/java/gov/nih/nci/evs/browser/bean/CartActionBean.java
/**
	 * Create a display list of versions
	 * @param versionList
	 */
Create a display list of versions
@param versionList
Create a display list of versions @param versionList
private void initSelectVersionItems(HashMap<String, SchemeVersion> versionList) {
		_selectVersionItems = new ArrayList<SelectItem>();
		for (Iterator<Entry<String, SchemeVersion>> i = versionList.entrySet()
				.iterator(); i.hasNext();) {
			Entry<String, SchemeVersion> x = i.next();
			SchemeVersion vs = x.getValue();
			if (vs == null) return;
			if (vs.mult) {
				_selectVersionItems.add(new SelectItem(
					vs.uri + "|" + vs.version,
					vs.getDisplayCodingSchemeName()));
			}
		}
		if (_selectVersionItems.size() < 1) {
			_selectVersionItems.add(new SelectItem(
				PROD_VERSION,
				PROD_VERSION));
		}
	}
private void initSelectVersionItems ( HashMap < String , SchemeVersion > versionList ) { _selectVersionItems = new ArrayList < SelectItem > ( ) ; for ( Iterator < Entry < String , SchemeVersion > > i = versionList . entrySet ( ) . iterator ( ) ; i . hasNext ( ) ; ) { Entry < String , SchemeVersion > x = i . next ( ) ; SchemeVersion vs = x . getValue ( ) ; if ( vs == null ) return ; if ( vs . mult ) { _selectVersionItems . add ( new SelectItem ( vs . uri + "|" + vs . version , vs . getDisplayCodingSchemeName ( ) ) ) ; } } if ( _selectVersionItems . size ( ) < 1 ) { _selectVersionItems . add ( new SelectItem ( PROD_VERSION , PROD_VERSION ) ) ; } }
Create a display list of versions
 @param versionList
Create a display list of versions @param versionList