if (paramsList != null) {
Iterator itParamsList = paramsList.iterator();
String[] paramsArray = new String[paramsList.size()];
int index = 0;
while (itParamsList.hasNext()) {
Parameter param = (Parameter)itParamsList.next();
paramsArray[index++] = param.getValue();
}
return paramsArray;
}
//fall through - no params
return new String[0];