return sb.toString();
String id = sb.toString(); if(log.isDebugEnabled()) log.debug("courseId constructed as: " + id); return id;
	public String getCourseId(Term term, List requiredFields) {		StringBuffer sb = new StringBuffer();		if (term != null) {			sb.append(term.getYear());			sb.append(",");			sb.append(term.getTerm());		} else {			sb.append(",,");		}				for (int i = 0; i < requiredFields.size(); i++)		{			sb.append(",");			sb.append((String) requiredFields.get(i));		}		return sb.toString();	}