if (custTasks == null) {
return; // *** EARLY RETURN ***
}
for (int i = 0; i < custTasks.length; i++) {
final CustomizationRequest custTask = custTasks[i];
if (custTask == null) {
throw new CreationException("CustomizationRequest array " +
"may not contain nulls");
}
if (custTask.getContent() == null) {
throw new CreationException("CustomizationRequest " +
"encountered with no content");
}
if (custTask.getPathOnVM() == null) {
throw new CreationException("CustomizationRequest " +
"encountered with no target path");
}
}
}