SObject[] sobjects = result.getRecords();
if (Utils.isNotEmpty(sobjects)) {
for (SObject sobject : sobjects) {
ProjectPackage projectPackage = getProjectPackageInstance();
projectPackage.setOrgId(connection.getOrgId());
projectPackage.parseInput(sobject);
projectPackageList.add(projectPackage);
}
}
if (logger.isDebugEnabled()) {
logger.debug(projectPackageList.isEmpty() ? "No project packages assembled" : projectPackageList