return null; // *** EARLY RETURN ***
}
final List scopedQuery = new LinkedList();
for (int i = 0; i < imagesItemTypes.length; i++) {
final DescribeImagesItemType imagesItemType =
imagesItemTypes[i];
if (imagesItemType != null) {
final String imageid = imagesItemType.getImageId();
if (imageid != null && imageid.trim().length() > 0) {
scopedQuery.add(imageid.trim());
}
}
}