... although, that's a javascript function.  You could use `String.format("%s v%s", module.getModuleId(), module.getVersion());` (Java) and `org.apache.commons.lang.StringUtils.join(moduleList, ", ");`.