a bug from https://sonar.onap.org/project/issues?id=org.openecomp.sdc%3Asdc-main%3A1.2.0-SNAPSHOT&open=AWIFjPcyRGy6eclHC_RW&resolved=false&types=BUG
Change-Id: Ibe0e1e457edb4d474ba4a37894f066f5a0b24361
Issue-ID: SDC-1145
Signed-off-by: lding7 <liang.ding@intel.com>
FilesDataStructure structure, int inx,
Map<String, List<ErrorMessage>> uploadErrors) {
for (HeatStructureTree volume : volumeSet) {
+ Objects.requireNonNull(volume, "volume cannot be null!");
if (inx++ > 0) {
ErrorsUtil.addStructureErrorToErrorMap(SdcCommon.UPLOAD_FILE,
new ErrorMessage(ErrorLevel.WARNING,