Source:
<code>private List<ActionParametersBase> buildImportVmParameters() { List<ActionParametersBase> prms = new ArrayList<>(); for (Object item : getItems()) { VM vm = ((ImportVmData) item).getVm(); ImportVmParameters prm = new ImportVmParameters(vm, (Guid) getEntity(), Guid.Empty, getStoragePool().getId(), getCluster().getSelectedItem().getId()); if (getClusterQuota().getSelectedItem() != null && getClusterQuota().getIsAvailable()) { prm.setQuotaId(getClusterQuota().getSelectedItem().getId()); } CpuProfile cpuProfile = getCpuProfiles().getSelectedItem(); if (cpuProfile != null) { prm.setCpuProfileId(cpuProfile.getId()); } prm.setForceOverride(true); prm.setCopyCollapse(((ImportVmData) item).getCollapseSnapshots().getEntity()); Map<Guid, Guid> map = new HashMap<>(); for (Map.Entry<Guid, Disk> entry : vm.getDiskMap().entrySet()) { DiskImage disk = (DiskImage) entry.getValue(); map.put(disk.getId(), getDiskImportData(disk.getId()).getSelectedStorageDomain().getId()); disk.setVolumeFormat( AsyncDataProvider.getInstance().getDiskVolumeFormat( getDiskImportData(disk.getId()).getSelectedVolumeType(), getDiskImportData( disk.getId()).getSelectedStorageDomain().getStorageType())); disk.setVolumeType(getDiskImportData(disk.getId()).getSelectedVolumeType()); if (getDiskImportData(disk.getId()).getSelectedQuota() != null) { disk.setQuotaId( getDiskImportData(disk.getId()).getSelectedQuota().getId()); } } prm.setImageToDestinationDomainMap(map); if (((ImportVmData) item).isExistsInSystem() || ((ImportVmData) item).getClone().getEntity()) { prm.setImportAsNewEntity(true); prm.setCopyCollapse(true); } VmImportGeneralModel <START> VmImportGeneralModel = <END> (VmImportGeneralModel) getDetailModels().get(0); ((ImportVmData) item).getVm().setName(VmImportGeneralModel.getName().getEntity()); prms.add(prm); } return prms; }</code><technical_language>please case var names</technical_language>

Target:
private List<ActionParametersBase> buildImportVmParameters() { List<ActionParametersBase> prms = new ArrayList<>(); for (Object item : getItems()) { VM vm = ((ImportVmData) item).getVm(); ImportVmParameters prm = new ImportVmParameters(vm, (Guid) getEntity(), Guid.Empty, getStoragePool().getId(), getCluster().getSelectedItem().getId()); if (getClusterQuota().getSelectedItem() != null && getClusterQuota().getIsAvailable()) { prm.setQuotaId(getClusterQuota().getSelectedItem().getId()); } CpuProfile cpuProfile = getCpuProfiles().getSelectedItem(); if (cpuProfile != null) { prm.setCpuProfileId(cpuProfile.getId()); } prm.setForceOverride(true); prm.setCopyCollapse(((ImportVmData) item).getCollapseSnapshots().getEntity()); Map<Guid, Guid> map = new HashMap<>(); for (Map.Entry<Guid, Disk> entry : vm.getDiskMap().entrySet()) { DiskImage disk = (DiskImage) entry.getValue(); map.put(disk.getId(), getDiskImportData(disk.getId()).getSelectedStorageDomain().getId()); disk.setVolumeFormat( AsyncDataProvider.getInstance().getDiskVolumeFormat( getDiskImportData(disk.getId()).getSelectedVolumeType(), getDiskImportData( disk.getId()).getSelectedStorageDomain().getStorageType())); disk.setVolumeType(getDiskImportData(disk.getId()).getSelectedVolumeType()); if (getDiskImportData(disk.getId()).getSelectedQuota() != null) { disk.setQuotaId( getDiskImportData(disk.getId()).getSelectedQuota().getId()); } } prm.setImageToDestinationDomainMap(map); if (((ImportVmData) item).isExistsInSystem() || ((ImportVmData) item).getClone().getEntity()) { prm.setImportAsNewEntity(true); prm.setCopyCollapse(true); } prms.add(prm); } return prms; }