return assemblyMatch.toString();
if (first) { return "is null"; } else { return assemblyMatch.toString(); }
  public static String getListMatch(List listItems, String badStartPattern) {    StringBuffer assemblyMatch = null;        if (listItems != null && listItems.size() != 0) {      assemblyMatch = new StringBuffer();      assemblyMatch.append("in (");      Iterator iter = listItems.iterator();      boolean first = true;      while (iter.hasNext()) {	String val = (String)iter.next();	// Ignore entries that start with the given pattern	if (badStartPattern != null && ! val.startsWith(badStartPattern))	  continue;	if (first) {	  first = false;	} else {	  assemblyMatch.append(", ");	}	assemblyMatch.append("'");	assemblyMatch.append(val);	assemblyMatch.append("'");      }      assemblyMatch.append(")");      return assemblyMatch.toString();    } else {      return "is null";    }  }