auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void init ( org.ovirt.engine.core.common.businessentities.StorageDomain sourceStorageDomain , java.util.List < org.ovirt.engine.core.common.businessentities.RepoImage > repoImages ) { this . sourceStorageDomain = sourceStorageDomain ; setRepoImages ( repoImages ) ; updateDataCenters ( ) ; }

Target:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { updateClusterEnabled ( ) ; }
Source:
public int getvmt_num_of_cpus ( ) { return this . vmt_num_of_cpusField ; }

Target:
public void setVmtCreationDate ( java.util.Date value ) { this . vmtCreationDate = value ; }
Source:
protected void OnSelectedItemChanged ( ) { super . OnSelectedItemChanged ( ) ; UpdateActionAvailability ( ) ; UpdateConsoleModels ( ) ; }

Target:
public org.ovirt.engine.ui.uicommonweb.models.HasConsoleModel getSelectedHasConsoleModel ( ) { if ( ( ( selectedHasConsoleModels ) == null ) || ( ( selectedHasConsoleModels.size ( ) ) != 1 ) ) { return null ; } return selectedHasConsoleModels.get ( 0 ) ; }
Source:
private java.util.List < org.ovirt.engine.core.common.businessentities.Provider > getBackendCollection ( ) { if ( isFiltered ( ) ) { return getBackendCollection ( VdcQueryType.GetAllProviders , new org.ovirt.engine.core.common.queries.GetAllProvidersParameters ( org.ovirt.engine.core.common.businessentities.ProviderType.FOREMAN ) , SearchType.Provider ) ; } else { return getBackendCollection ( SearchType.Provider , getConstraint ( ) ) ; } }

Target:
private java.util.List < org.ovirt.engine.core.common.businessentities.Provider > getBackendCollection ( ) { if ( isFiltered ( ) ) { return getBackendCollection ( QueryType.GetAllProviders , new org.ovirt.engine.core.common.queries.GetAllProvidersParameters ( org.ovirt.engine.core.common.businessentities.ProviderType.FOREMAN ) , SearchType.Provider ) ; } else { return getBackendCollection ( SearchType.Provider , getConstraint ( ) ) ; } }
Source:
protected void onEntityChanged ( ) { super . onEntityChanged ( ) ; if ( ( getEntity ( ) ) != null ) { updateDataCenterVersion ( ) ; getSearchCommand ( ) . execute ( ) ; updateIsDiskHotPlugAvailable ( ) ; updateLiveStorageMigrationEnabled ( ) ; } updateActionAvailability ( ) ; }

Target:
protected void syncSearch ( ) { if ( ( getEntity ( ) ) == null ) { return ; } org.ovirt.engine.core.common.businessentities.VM vm = getEntity ( ) ; super . syncSearch ( VdcQueryType.GetAllDisksByVmId , new org.ovirt.engine.core.common.queries.IdQueryParameters ( vm.getId ( ) ) ) ; }
Source:
public final java.lang.Object getData ( java.lang.String key , boolean refresh ) { return getData ( org.ovirt.engine.core.utils.ThreadLocalParamsContainer.getHttpSessionId ( ) , key , refresh ) ; }

Target:
public final void removeSessionOnLogout ( java.lang.String sessionId ) { removeSessionImpl ( sessionId , Acct.ReportReason.PRINCIPAL_LOGOUT , "Prinicial %1$s has performed logout" , getPrincipalName ( sessionId ) ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.InstanceType lookupInstance ( org.ovirt.engine.api.model.Template template ) { return getEntity ( org.ovirt.engine.core.common.businessentities.InstanceType.class , VdcQueryType.GetInstanceType , new org.ovirt.engine.core.common.queries.GetVmTemplateParameters ( asGuid ( template.getId ( ) ) ) , "GetInstanceType" ) ; }

Target:
protected org.ovirt.engine.core.common.businessentities.InstanceType lookupInstance ( org.ovirt.engine.api.model.Template template ) { return getEntity ( org.ovirt.engine.core.common.businessentities.InstanceType.class , QueryType.GetInstanceType , new org.ovirt.engine.core.common.queries.GetVmTemplateParameters ( asGuid ( template.getId ( ) ) ) , "GetInstanceType" ) ; }
Source:
protected void executeQueryCommand ( ) { org.ovirt.engine.core.bll.storage.disk.GetDiskVmElementByIdQuery.getQueryReturnValue ( ) . setReturnValue ( diskVmElementDao.get ( org.ovirt.engine.core.bll.storage.disk.GetDiskVmElementByIdQuery.getParameters ( ) . getId ( ) ) ) ; }

Target:
protected void executeQueryCommand ( ) { org.ovirt.engine.core.bll.storage.disk.GetDiskVmElementByIdQuery.getQueryReturnValue ( ) . setReturnValue ( diskVmElementDao.get ( org.ovirt.engine.core.bll.storage.disk.GetDiskVmElementByIdQuery.getParameters ( ) . getId ( ) , org.ovirt.engine.core.bll.storage.disk.GetDiskVmElementByIdQuery.getUserID ( ) , org.ovirt.engine.core.bll.storage.disk.GetDiskVmElementByIdQuery.getParameters ( ) . isFiltered ( ) ) ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.storage.CinderDisk getDisk ( ) { if ( ( disk ) == null ) { disk = ( ( org.ovirt.engine.core.common.businessentities.storage.CinderDisk ) ( org.ovirt.engine.core.bll.storage.CloneSingleCinderDiskCommand.getDiskDao ( ) . get ( org.ovirt.engine.core.bll.storage.CloneSingleCinderDiskCommand.getImageId ( ) ) ) ) ; } return disk ; }

Target:
protected org.ovirt.engine.core.common.businessentities.storage.CinderDisk getDisk ( ) { if ( ( disk ) == null ) { disk = ( ( org.ovirt.engine.core.common.businessentities.storage.CinderDisk ) ( org.ovirt.engine.core.bll.storage.CloneSingleCinderDiskCommand.getDiskImageDao ( ) . getSnapshotById ( org.ovirt.engine.core.bll.storage.CloneSingleCinderDiskCommand.getImageId ( ) ) ) ) ; } return disk ; }
Source:
public java.lang.String getport ( ) { return this . port ; }

Target:
public java.lang.String getPort ( ) { return this . port ; }
Source:
public void trace ( java.lang.Object msg ) { if ( log.isTraceEnabled ( ) ) { log.trace ( addPrefixToLogMessage ( msg ) ) ; } }

Target:
public void trace ( java.lang.Object msg ) { log.trace ( convertToString ( msg ) ) ; }
Source:
public void testGetByUsername ( ) { org.ovirt.engine.core.common.businessentities.DbUser result = dao.getByUsername ( existingUser.getusername ( ) ) ; org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertEquals ( existingUser , result ) ; }

Target:
public void testGetByUsername ( ) { org.ovirt.engine.core.common.businessentities.DbUser result = dao.getByUsername ( existingUser.getLoginName ( ) ) ; org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertEquals ( existingUser , result ) ; }
Source:
private void getUserDefinedProperties ( org.ovirt.engine.core.compat.Version version , org.ovirt.engine.core.common.businessentities.VmStatic vmStatic , java.util.Map < java.lang.String , java.lang.String > propertiesMap ) { java.lang.String UserDefinedProperties = vmStatic.getUserDefinedProperties ( ) ; getVMProperties ( version , propertiesMap , UserDefinedProperties ) ; }

Target:
private void getUserDefinedProperties ( org.ovirt.engine.core.compat.Version version , org.ovirt.engine.core.common.businessentities.VmBase vmBase , java.util.Map < java.lang.String , java.lang.String > propertiesMap ) { java.lang.String UserDefinedProperties = vmBase.getUserDefinedProperties ( ) ; getVMProperties ( version , propertiesMap , UserDefinedProperties ) ; }
Source:
protected void executeQueryCommand ( ) { setReturnValue ( org.ovirt.engine.core.bll.provider.network.GetAllNetworksForProviderQuery.getDbFacade ( ) . getNetworkViewDao ( ) . getAllForProvider ( org.ovirt.engine.core.bll.provider.network.GetAllNetworksForProviderQuery.getParameters ( ) . getId ( ) ) ) ; }

Target:
protected void executeQueryCommand ( ) { setReturnValue ( networkViewDao.getAllForProvider ( org.ovirt.engine.core.bll.provider.network.GetAllNetworksForProviderQuery.getParameters ( ) . getId ( ) ) ) ; }
Source:
private org.ovirt.engine.core.bll.EntityMultiAsyncTasks GetEntityMultiAsyncTasks ( ) { org.ovirt.engine.core.bll.EntityMultiAsyncTasks entityInfo = null ; synchronized ( org.ovirt.engine.core.bll.EntityAsyncTask._lockObject ) { entityInfo = org.ovirt.engine.core.bll.EntityAsyncTask._multiTasksByCommandIds.get ( getCommandId ( ) ) ; } return entityInfo ; }

Target:
private org.ovirt.engine.core.bll.CommandMultiAsyncTasks GetCommandMultiAsyncTasks ( ) { org.ovirt.engine.core.bll.CommandMultiAsyncTasks entityInfo = null ; synchronized ( org.ovirt.engine.core.bll.CommandAsyncTask._lockObject ) { entityInfo = org.ovirt.engine.core.bll.CommandAsyncTask._multiTasksByCommandIds.get ( getCommandId ( ) ) ; } return entityInfo ; }
Source:
public org.ovirt.engine.core.vdsbroker.ResourceManager getResourceManager ( ) { return org.ovirt.engine.core.vdsbroker.ResourceManager.getInstance ( ) ; }

Target:
public org.ovirt.engine.core.vdsbroker.ResourceManager getResourceManager ( ) { return resourceManager ; }
Source:
public javax.ws.rs.core.Response add ( org.ovirt.engine.api.model.NetworkLabel label ) { validateParameters ( label , "id" ) ; return performCreate ( VdcActionType.LabelNetwork , new org.ovirt.engine.core.common.action.LabelNetworkParameters ( networkId , label.getId ( ) ) , new org.ovirt.engine.api.restapi.resource.BackendNetworkLabelsResource.NetworkLabelIdResolver ( networkId ) ) ; }

Target:
public javax.ws.rs.core.Response add ( org.ovirt.engine.api.model.NetworkLabel label ) { validateParameters ( label , "id" ) ; return performCreate ( ActionType.LabelNetwork , new org.ovirt.engine.core.common.action.LabelNetworkParameters ( networkId , label.getId ( ) ) , new org.ovirt.engine.api.restapi.resource.BackendNetworkLabelsResource.NetworkLabelIdResolver ( networkId ) ) ; }
Source:
public java.lang.String getValue ( org.ovirt.engine.core.common.utils.PairQueryable < org.ovirt.engine.core.common.businessentities.VDSGroup , org.ovirt.engine.core.common.businessentities.network.NetworkCluster > object ) { return object.getFirst ( ) . getdescription ( ) ; }

Target:
public java.lang.String getValue ( org.ovirt.engine.core.common.utils.PairQueryable < org.ovirt.engine.core.common.businessentities.VDSGroup , org.ovirt.engine.core.common.businessentities.network.NetworkCluster > object ) { return object.getFirst ( ) . getDescription ( ) ; }
Source:
public void postDataCenterWithClusterSelectedItemChanged ( ) { updateQuotaByCluster ( null , null ) ; updateMemoryBalloon ( ) ; updateCpuSharesAvailability ( ) ; updateVirtioScsiAvailability ( ) ; updateOSValues ( ) ; updateTemplate ( ) ; }

Target:
public void postDataCenterWithClusterSelectedItemChanged ( ) { updateQuotaByCluster ( null , null ) ; updateMemoryBalloon ( ) ; updateCpuSharesAvailability ( ) ; updateVirtioScsiAvailability ( ) ; updateOSValues ( ) ; updateTemplate ( ) ; updateNumOfSockets ( ) ; }
Source:
public final boolean IsFieldUpdatable ( java.lang.String name ) { return permitted.contains ( name ) ; }

Target:
public final boolean isFieldUpdatable ( java.lang.String name ) { return permitted.contains ( name ) ; }
Source:
protected void EntityPropertyChanged ( java.lang.Object sender , org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs e ) { super . EntityPropertyChanged ( sender , e ) ; if ( e.PropertyName.equals ( "app_list" ) ) { updateAppList ( ) ; } }

Target:
protected void EntityPropertyChanged ( java.lang.Object sender , org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs e ) { super . EntityPropertyChanged ( sender , e ) ; if ( e.PropertyName.equals ( "appList" ) ) { updateAppList ( ) ; } }
Source:
public void vmNotDuringSnapshotReturnsInvalidResultWhenInSnapshot ( ) throws java.lang.Exception { org.ovirt.engine.core.compat.Guid vmId = new org.ovirt.engine.core.compat.Guid ( ) ; org.mockito.Mockito.when ( snapshotDao.exists ( vmId , SnapshotStatus.LOCKED ) ) . thenReturn ( true ) ; org.ovirt.engine.core.bll.snapshots.SnapshotsValidatorTest.validateInvalidResult ( validator.vmNotDuringSnapshot ( vmId ) , VdcBllMessages.ACTION_TYPE_FAILED_VM_IS_DURING_SNAPSHOT ) ; }

Target:
public void vmNotDuringSnapshotReturnsValidForNoSnapshotInProgress ( ) throws java.lang.Exception { org.mockito.Mockito.when ( snapshotDao.exists ( vmId , SnapshotStatus.LOCKED ) ) . thenReturn ( false ) ; org.ovirt.engine.core.bll.snapshots.SnapshotsValidatorTest.validateValidResult ( validator.vmNotDuringSnapshot ( vmId ) ) ; }
Source:
public static void removeAllVdsAlerts ( org.ovirt.engine.core.compat.Guid vdsId , boolean removeConfigAlerts ) { org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getAuditLogDao ( ) . removeAllForVds ( vdsId , removeConfigAlerts ) ; }

Target:
public void removeAllVdsAlerts ( org.ovirt.engine.core.compat.Guid vdsId , boolean removeConfigAlerts ) { auditLogDao.removeAllForVds ( vdsId , removeConfigAlerts ) ; }
Source:
public void testValidate ( ) { org.junit.Assert.assertTrue ( "true" , comp.validate ( "true" ) ) ; org.junit.Assert.assertTrue ( "TRUE" , comp.validate ( "TRUE" ) ) ; org.junit.Assert.assertFalse ( "JarJar" , comp.validate ( "JarJar" ) ) ; }

Target:
public void testValidate ( ) { org.junit.jupiter.api.Assertions.assertTrue ( comp.validate ( "true" ) , "true" ) ; org.junit.jupiter.api.Assertions.assertTrue ( comp.validate ( "TRUE" ) , "TRUE" ) ; org.junit.jupiter.api.Assertions.assertFalse ( comp.validate ( "JarJar" ) , "JarJar" ) ; }
Source:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.userportal.ApplicationConstants applicationConstants , org.ovirt.engine.ui.userportal.uicommon.model.vm.VmMonitorModelProvider modelProvider ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( applicationConstants.extendedVirtualMachineMonitorSubTabLabel ( ) , 10 , modelProvider ) ; }

Target:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.userportal.uicommon.model.vm.VmMonitorModelProvider modelProvider ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( org.ovirt.engine.ui.userportal.section.main.presenter.tab.extended.vm.SubTabExtendedVmMonitorPresenter.constants.extendedVirtualMachineMonitorSubTabLabel ( ) , 10 , modelProvider ) ; }
Source:
public abstract org.ovirt.engine.core.aaa.DirectoryGroup findGroup ( org.ovirt.engine.core.common.utils.ExternalId id ) ;

Target:
public abstract org.ovirt.engine.core.aaa.DirectoryGroup findGroupById ( java.lang.String id ) ;
Source:
public org.ovirt.engine.api.model.Templates list ( ) { return mapCollection ( getBackendCollection ( SearchType.VmTemplate ) ) ; }

Target:
public org.ovirt.engine.api.model.Templates list ( ) { if ( isFiltered ( ) ) return mapCollection ( getBackendCollection ( VdcQueryType.GetAllVmTemplates , new org.ovirt.engine.core.common.queries.VdcQueryParametersBase ( ) ) ) ; else return mapCollection ( getBackendCollection ( SearchType.VmTemplate ) ) ; }
Source:
public void setchild_count ( int value ) { this . childCount = value ; }

Target:
public void setChildCount ( int value ) { this . childCount = value ; }
Source:
private boolean isItemsContainDataDomains ( ) { for ( org.ovirt.engine.ui.uicommonweb.models.storage.IStorageModel storageModel : getModel ( ) . getItems ( ) ) { if ( ( storageModel.getRole ( ) ) == ( org.ovirt.engine.core.common.businessentities.StorageDomainType.Data ) ) { return true ; } } return false ; }

Target:
private boolean isImportDataDomainEnabled ( org.ovirt.engine.core.common.businessentities.StoragePool dataCenter ) { boolean ovfStoreOnAnyDomainEnabled = ( ( java.lang.Boolean ) ( org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.getConfigValuePreConverted ( ConfigurationValues.ImportDataStorageDomain , dataCenter.getcompatibility_version ( ) . getValue ( ) ) ) ) ; return ovfStoreOnAnyDomainEnabled ; }
Source:
public void testGetManagedInterfaceForVdsFilteredForUnpriviligedUser ( ) { org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface result = dao.getManagedInterfaceForVds ( org.ovirt.engine.core.dao.network.InterfaceDaoTest.VDS_ID , org.ovirt.engine.core.dao.network.UNPRIVILEGED_USER_ID , true ) ; org.junit.Assert.assertNull ( result ) ; }

Target:
public void testGetManagedInterfaceForVdsFilteredForUnpriviligedUser ( ) { org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface result = dao.getManagedInterfaceForVds ( org.ovirt.engine.core.dao.network.InterfaceDaoImplTest.VDS_ID , org.ovirt.engine.core.dao.network.UNPRIVILEGED_USER_ID , true ) ; org.junit.Assert.assertNull ( result ) ; }
Source:
public java.lang.Object Convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { return source != null ? source : new java.util.HashMap < org.ovirt.engine.core.common.businessentities.VmTemplate , java.util.ArrayList < org.ovirt.engine.core.common.businessentities.storage.DiskImage > > ( ) ; }

Target:
public java.lang.Object convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { return source != null ? new java.util.ArrayList < > ( ( ( java.util.ArrayList < org.ovirt.engine.core.compat.RpmVersion > ) ( source ) ) ) : new java.util.ArrayList < org.ovirt.engine.core.compat.RpmVersion > ( ) ; }
Source:
private org.ovirt.engine.core.common.businessentities.network.ExternalVnicProfileMapping mapSingleMappingEntry ( org.ovirt.engine.api.model.VnicProfileMapping model ) { return new org.ovirt.engine.core.common.businessentities.network.ExternalVnicProfileMapping ( model.getSourceNetworkName ( ) , model.getSourceNetworkProfileName ( ) , org.ovirt.engine.core.compat.Guid.createGuidFromString ( model.getTargetVnicProfile ( ) . getId ( ) ) ) ; }

Target:
private static org.ovirt.engine.core.compat.Guid getTargetVnicProfileId ( org.ovirt.engine.api.model.VnicProfileMapping model ) { return model.isSetTargetVnicProfile ( ) ? org.ovirt.engine.core.compat.Guid.createGuidFromString ( model.getTargetVnicProfile ( ) . getId ( ) ) : null ; }
Source:
public void testGet ( ) { org.ovirt.engine.core.common.businessentities.network.VmNetworkStatistics result = dao.get ( FixturesTool.VM_NETWORK_INTERFACE ) ; org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertEquals ( FixturesTool.VM_NETWORK_INTERFACE , result.getId ( ) ) ; }

Target:
public void testGet ( ) { org.ovirt.engine.core.common.businessentities.network.VmNetworkStatistics result = dao.get ( FixturesTool.VM_NETWORK_INTERFACE ) ; org.junit.jupiter.api.Assertions.assertNotNull ( result ) ; org.junit.jupiter.api.Assertions.assertEquals ( FixturesTool.VM_NETWORK_INTERFACE , result.getId ( ) ) ; }
Source:
public long getSizeInGigabytes ( ) { return ( getsize ( ) ) / ( ( 1024 * 1024 ) * 1024 ) ; }

Target:
public long getSizeInGigabytes ( ) { return ( getSize ( ) ) / ( ( 1024 * 1024 ) * 1024 ) ; }
Source:
private java.util.List < org.ovirt.engine.core.common.businessentities.aaa.DbUser > lookupUsers ( ) { org.ovirt.engine.core.common.queries.VdcQueryParametersBase queryParams = new org.ovirt.engine.core.common.queries.VdcQueryParametersBase ( ) ; queryParams.setFiltered ( isFiltered ( ) ) ; return getBackendCollection ( org.ovirt.engine.core.common.businessentities.aaa.DbUser.class , VdcQueryType.GetAllDbUsers , queryParams ) ; }

Target:
private java.util.List < org.ovirt.engine.core.common.businessentities.aaa.DbUser > lookupUsers ( ) { org.ovirt.engine.core.common.queries.VdcQueryParametersBase queryParams = new org.ovirt.engine.core.common.queries.VdcQueryParametersBase ( ) ; queryParams.setFiltered ( isFiltered ( ) ) ; return getBackendCollection ( org.ovirt.engine.core.common.businessentities.aaa.DbUser.class , QueryType.GetAllDbUsers , queryParams ) ; }
Source:
public void validNetworkNameWhenUnlinkingSupported ( ) throws java.lang.Exception { networkNameTest ( ValidationResult.VALID , true , "net" ) ; }

Target:
public void validNetworkNameWhenUnlinkingNotSupported ( ) throws java.lang.Exception { networkNameTest ( org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) , false , "net" ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.VDSGroup getVDSGroup ( ) { return getEntity ( org.ovirt.engine.core.common.businessentities.VDSGroup.class , VdcQueryType.GetVdsGroupByVdsGroupId , new org.ovirt.engine.core.common.queries.IdQueryParameters ( asGuid ( clusterId ) ) , clusterId ) ; }

Target:
protected org.ovirt.engine.core.common.businessentities.Cluster getCluster ( ) { return getEntity ( org.ovirt.engine.core.common.businessentities.Cluster.class , VdcQueryType.GetClusterByClusterId , new org.ovirt.engine.core.common.queries.IdQueryParameters ( asGuid ( clusterId ) ) , clusterId ) ; }
Source:
public static void attachNetworks ( org.ovirt.engine.ui.uicommonweb.models.hosts.network.NetworkInterfaceModel nic , java.util.List < org.ovirt.engine.ui.uicommonweb.models.hosts.network.LogicalNetworkModel > networks , java.util.List < org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface > allNics ) { for ( org.ovirt.engine.ui.uicommonweb.models.hosts.network.LogicalNetworkModel networkModel : networks ) { org.ovirt.engine.ui.uicommonweb.models.hosts.network.NetworkOperation.ATTACH_NETWORK.getCommand ( networkModel , nic , allNics ) . execute ( ) ; } }

Target:
public static void attachNetworks ( org.ovirt.engine.ui.uicommonweb.models.hosts.network.NetworkInterfaceModel nic , java.util.List < org.ovirt.engine.ui.uicommonweb.models.hosts.network.LogicalNetworkModel > networks , org.ovirt.engine.ui.uicommonweb.models.hosts.network.DataFromHostSetupNetworksModel dataFromHostSetupNetworksModel ) { for ( org.ovirt.engine.ui.uicommonweb.models.hosts.network.LogicalNetworkModel networkModel : networks ) { org.ovirt.engine.ui.uicommonweb.models.hosts.network.NetworkOperation.ATTACH_NETWORK.getCommand ( networkModel , nic , dataFromHostSetupNetworksModel ) . execute ( ) ; } }
Source:
public void testInterfaceExistsOnVm ( ) { org.junit.Assert.assertThat ( validator.vmInterfaceHavingIdExistsOnVmHavingId ( usedId , usedId ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }

Target:
public void testInterfaceExistsOnVm ( ) { org.hamcrest.MatcherAssert.assertThat ( validator.vmInterfaceHavingIdExistsOnVmHavingId ( usedId , usedId ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }
Source:
public void canDoActionSucceedsOnDiskDomainCheckWhenStorageGuidInParamsMatches ( ) throws java.lang.Exception { org.ovirt.engine.core.compat.Guid storageId = org.ovirt.engine.core.compat.Guid.NewGuid ( ) ; initializeCommand ( storageId ) ; mockVmWithDisk ( storageId ) ; mockVmNetworks ( ) ; mockStorageDomain ( storageId ) ; mockStoragePoolIsoMap ( ) ; runAndAssertCanDoActionSuccess ( ) ; }

Target:
public void canDoActionSucceedsOnDiskDomainCheckWhenNoDisks ( ) throws java.lang.Exception { org.ovirt.engine.core.compat.Guid storageId = org.ovirt.engine.core.compat.Guid.NewGuid ( ) ; initializeCommand ( storageId ) ; mockVm ( ) ; mockStorageDomain ( storageId ) ; mockStoragePoolIsoMap ( ) ; runAndAssertCanDoActionSuccess ( ) ; }
Source:
public void setTargets ( java.util.ArrayList < org.ovirt.engine.ui.uicommonweb.models.storage.SanTargetModel > value ) { if ( ( targets ) != value ) { targets = value ; OnPropertyChanged ( new org.ovirt.engine.core.compat.PropertyChangedEventArgs ( "Targets" ) ) ; getTargetsList ( ) . setItems ( targets ) ; } }

Target:
public void setTargets ( java.util.ArrayList < org.ovirt.engine.ui.uicommonweb.models.storage.SanTargetModel > value ) { if ( ( targets ) != value ) { targets = value ; OnPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "Targets" ) ) ; getTargetsList ( ) . setItems ( targets ) ; } }
Source:
public int getMinAllocatedMem ( ) { if ( ( minAllocatedMemField ) > 0 ) { return minAllocatedMemField ; } return getmem_size_mb ( ) ; }

Target:
public int getMinAllocatedMem ( ) { if ( ( minAllocatedMemField ) > 0 ) { return minAllocatedMemField ; } return getMemSizeMb ( ) ; }
Source:
private void assertSerialNumber ( java.lang.String serialNumber ) { new org.ovirt.engine.core.vdsbroker.vdsbroker.VmSerialNumberBuilder ( vm , cluster , creationInfo ) . buildVmSerialNumber ( ) ; org.junit.Assert.assertEquals ( serialNumber , creationInfo.get ( VdsProperties.SERIAL_NUMBER ) ) ; }

Target:
private void assertSerialNumber ( java.lang.String serialNumber ) { new org.ovirt.engine.core.vdsbroker.vdsbroker.VmSerialNumberBuilder ( vm , cluster , creationInfo ) . buildVmSerialNumber ( ) ; org.junit.jupiter.api.Assertions.assertEquals ( serialNumber , creationInfo.get ( VdsProperties.SERIAL_NUMBER ) ) ; }
Source:
public void testGetAsyncTaskIdsByInvalidStoragePoolId ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.AsyncTask > tasks = dao.getAsyncTaskIdsByStoragePoolId ( org.ovirt.engine.core.compat.Guid.newGuid ( ) ) ; org.junit.Assert.assertNotNull ( tasks ) ; org.junit.Assert.assertEquals ( 0 , tasks.size ( ) ) ; }

Target:
public void testGetAsyncTaskIdsByInvalidStoragePoolId ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.AsyncTask > tasks = dao.getAsyncTaskIdsByStoragePoolId ( org.ovirt.engine.core.compat.Guid.newGuid ( ) ) ; org.junit.jupiter.api.Assertions.assertNotNull ( tasks ) ; org.junit.jupiter.api.Assertions.assertEquals ( 0 , tasks.size ( ) ) ; }
Source:
public void testIsNetworkInSyncWhenGatewayEqual ( ) { initIpConfigurationBootProtocolGateway ( NetworkBootProtocol.STATIC_IP , true ) ; org.junit.Assert.assertThat ( createTestedInstance ( ) . isNetworkInSync ( ) , org.hamcrest.CoreMatchers.is ( true ) ) ; }

Target:
public void testIsNetworkInSyncWhenGatewayEqual ( ) { initIpConfigurationBootProtocolGateway ( Ipv4BootProtocol.STATIC_IP , true ) ; org.junit.Assert.assertThat ( createTestedInstance ( ) . isNetworkInSync ( ) , org.hamcrest.CoreMatchers.is ( true ) ) ; }
Source:
public org.ovirt.engine.api.resource.openstack.OpenStackNetworkResource getOpenStackNetwork ( java.lang.String id ) { return inject ( new org.ovirt.engine.api.restapi.resource.openstack.BackendOpenStackNetworkResource ( providerId , id ) ) ; }

Target:
public org.ovirt.engine.api.resource.openstack.OpenstackNetworkResource getNetworkResource ( java.lang.String id ) { return inject ( new org.ovirt.engine.api.restapi.resource.openstack.BackendOpenStackNetworkResource ( providerId , id ) ) ; }
Source:
public void testMapNullFromBeToModel ( ) { org.junit.Assert.assertThat ( org.ovirt.engine.api.restapi.types.Ipv6BootProtocolMapper.map ( ( ( org.ovirt.engine.core.common.businessentities.network.Ipv6BootProtocol ) ( null ) ) ) , org.hamcrest.CoreMatchers.is ( ( ( org.ovirt.engine.api.model.BootProtocol ) ( null ) ) ) ) ; }

Target:
public void testMapNullFromBeToModel ( ) { org.hamcrest.MatcherAssert.assertThat ( org.ovirt.engine.api.restapi.types.Ipv6BootProtocolMapper.map ( ( ( org.ovirt.engine.core.common.businessentities.network.Ipv6BootProtocol ) ( null ) ) ) , org.hamcrest.CoreMatchers.is ( ( ( org.ovirt.engine.api.model.BootProtocol ) ( null ) ) ) ) ; }
Source:
public boolean isTriggeredByEvent ( ) { return false ; }

Target:
default boolean pollOnExecutionFailed ( ) { return false ; }
Source:
public void testGetGeoRepSessionBySlaveVolume ( ) { org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSession session = dao.getGeoRepSessionBySlaveVolume ( FixturesTool.GLUSTER_GEOREP_SESSION_SLAVE_VOLUME_ID ) ; org.junit.Assert.assertNotNull ( session ) ; org.junit.Assert.assertEquals ( FixturesTool.GLUSTER_GEOREP_SESSION_ID , session.getId ( ) ) ; }

Target:
public void testGetGeoRepSessionBySlaveVolume ( ) { org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSession session = dao.getGeoRepSessionBySlaveVolume ( FixturesTool.GLUSTER_GEOREP_SESSION_SLAVE_VOLUME_ID ) ; org.junit.jupiter.api.Assertions.assertNotNull ( session ) ; org.junit.jupiter.api.Assertions.assertEquals ( FixturesTool.GLUSTER_GEOREP_SESSION_ID , session.getId ( ) ) ; }
Source:
public void addAttribute ( org.ovirt.api.metamodel.concepts.Attribute attribute ) { attributes.add ( attribute ) ; }

Target:
public void addAttribute ( org.ovirt.api.metamodel.concepts.Attribute newAttribute ) { attributes.add ( newAttribute ) ; attributes.sort ( java.util.Comparator.comparing ( Attribute :: getName ) ) ; }
Source:
public void cancel ( ) { org.ovirt.engine.ui.frontend.Frontend.Unsubscribe ( ) ; cancelConfirmation ( ) ; setGuideContext ( null ) ; setWindow ( null ) ; UpdateActionAvailability ( ) ; }

Target:
public void cancel ( ) { org.ovirt.engine.ui.frontend.Frontend.Unsubscribe ( ) ; cancelConfirmation ( ) ; setGuideContext ( null ) ; setWindow ( null ) ; updateActionAvailability ( ) ; }
Source:
public boolean eval ( org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface i ) { return org.apache.commons.lang.StringUtils.equals ( i.getNetworkName ( ) , net.getName ( ) ) ; }

Target:
private static boolean hostHasInterfaceWithGivenNetwork ( java.lang.String networkName , java.util.List < org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface > hostInterfaces ) { for ( org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface hostInterface : hostInterfaces ) { if ( org.apache.commons.lang.StringUtils.equals ( hostInterface.getNetworkName ( ) , networkName ) ) { return true ; } } return false ; }
Source:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { if ( ( ( org.ovirt.engine.ui.webadmin.section.main.view.popup.host.HostPopupView ) ( getView ( ) ) ) . rbProvisionedHost.getValue ( ) ) { model.getIsDiscoveredHosts ( ) . setEntity ( false ) ; } }

Target:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { if ( ( ( org.ovirt.engine.ui.webadmin.section.main.view.popup.host.HostPopupView ) ( getView ( ) ) ) . rbProvisionedHost.asRadioButton ( ) . getValue ( ) ) { model.getIsDiscoveredHosts ( ) . setEntity ( false ) ; } }
Source:
java.lang.String noValidOperation ( java.lang.String name ) ;

Target:
java.lang.String schedulerOptimizationInfo ( int numOfRequests ) ;
Source:
private void logFailureToRestartVm ( org.ovirt.engine.core.compat.Guid vmId ) { org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase event = org.ovirt.engine.core.di.Injector.injectMembers ( new org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase ( ) ) ; event.setVmId ( vmId ) ; auditLogDirector.log ( event , getExceededMaxNumOfRestartsAuditLogType ( ) ) ; }

Target:
private void logVmEvent ( org.ovirt.engine.core.compat.Guid vmId , org.ovirt.engine.core.common.AuditLogType restartFailedAuditLogType ) { org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogable event = createVmEvent ( vmId ) ; auditLogDirector.log ( event , restartFailedAuditLogType ) ; }
Source:
private void mockVdsGroup ( ) { vdsGroup = new org.ovirt.engine.core.common.businessentities.VDSGroup ( ) ; vdsGroup.setId ( clusterId ) ; vdsGroup.setStoragePoolId ( storagePoolId ) ; }

Target:
private void mockVdsGroup ( ) { vdsGroup = new org.ovirt.engine.core.common.businessentities.VDSGroup ( ) ; vdsGroup.setId ( clusterId ) ; vdsGroup.setStoragePoolId ( storagePoolId ) ; vdsGroup.setArchitecture ( ArchitectureType.x86_64 ) ; }
Source:
public static org.ovirt.engine.core.bll.network.MacPoolManager getInstance ( ) { return org.ovirt.engine.core.bll.network.MacPoolManager.instance ; }

Target:
public static org.ovirt.engine.core.bll.network.MacPoolManager getInstance ( ) { return org.ovirt.engine.core.bll.network.MacPoolManager.INSTANCE ; }
Source:
public void info ( java.lang.Object msg , java.lang.Throwable t ) { log.info ( addPrefixToLogMessage ( msg ) , t ) ; }

Target:
public void trace ( java.lang.Object msg ) { log.trace ( convertToString ( msg ) ) ; }
Source:
protected org.ovirt.engine.api.model.VnicProfile getVnicProfile ( java.lang.String id ) { return getEntity ( org.ovirt.engine.api.model.VnicProfile.class , VdcQueryType.GetVnicProfileById , new org.ovirt.engine.core.common.queries.IdQueryParameters ( guid ) , "VnicProfiles" ) ; }

Target:
protected org.ovirt.engine.api.model.VnicProfile getVnicProfile ( java.lang.String id ) { return getEntity ( org.ovirt.engine.api.model.VnicProfile.class , QueryType.GetVnicProfileById , new org.ovirt.engine.core.common.queries.IdQueryParameters ( guid ) , "VnicProfiles" ) ; }
Source:
public void testGetAllForVm ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.Disk > result = dao.getAllForVm ( FixturesTool.VM_TEMPLATE_RHEL5 ) ; org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertFalse ( result.isEmpty ( ) ) ; }

Target:
private static void assertPluggedGetAllForVMResult ( java.util.List < org.ovirt.engine.core.common.businessentities.Disk > disks ) { org.junit.Assert.assertEquals ( "VM should have only one plugged disk" , 1 , disks.size ( ) ) ; }
Source:
public void setguest_last_login_time ( java.util.Date value ) { this . guest_last_login_time = value ; }

Target:
public java.util.Date getGuestLastLogoutTime ( ) { return this . guestLastLogoutTime ; }
Source:
public boolean isDisplayNetwork ( ) { return getEntity ( ) . getCluster ( ) . getis_display ( ) ; }

Target:
public boolean isDisplayNetwork ( ) { return getEntity ( ) . getCluster ( ) . isDisplay ( ) ; }
Source:
private org.ovirt.engine.core.bll.ValidationResult createSnapshotExistsResult ( boolean snapshotExists ) { return snapshotExists ? new org.ovirt.engine.core.bll.ValidationResult ( ) : new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.dal.VdcBllMessages.ACTION_TYPE_FAILED_VM_SNAPSHOT_DOES_NOT_EXIST ) ; }

Target:
private org.ovirt.engine.core.bll.ValidationResult createSnapshotExistsResult ( boolean snapshotExists ) { return snapshotExists ? org.ovirt.engine.core.bll.ValidationResult.VALID : new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.dal.VdcBllMessages.ACTION_TYPE_FAILED_VM_SNAPSHOT_DOES_NOT_EXIST ) ; }
Source:
public void testAddValueNGuid ( ) { org.ovirt.engine.core.compat.NGuid guid = new org.ovirt.engine.core.compat.NGuid ( java.util.UUID.randomUUID ( ) ) ; paramSource.addValue ( paramName , guid ) ; org.junit.Assert.assertEquals ( "wrong value returned from parameter source" , guid.toString ( ) , paramSource.getValue ( paramName ) ) ; }

Target:
public void testAddValueGuid ( ) { org.ovirt.engine.core.compat.Guid guid = new org.ovirt.engine.core.compat.Guid ( java.util.UUID.randomUUID ( ) ) ; paramSource.addValue ( paramName , guid ) ; org.junit.Assert.assertEquals ( "wrong value returned from parameter source" , guid.toString ( ) , paramSource.getValue ( paramName ) ) ; }
Source:
protected boolean updateReadOnlyRequested ( ) { return ! ( vmDeviceForVm.getIsReadOnly ( ) . equals ( getNewDisk ( ) . getReadOnly ( ) ) ) ; }

Target:
protected boolean updateReadOnlyRequested ( ) { java.lang.Boolean readOnlyNewValue = getNewDisk ( ) . getReadOnly ( ) ; return ( readOnlyNewValue != null ) && ( ! ( getVmDeviceForVm ( ) . getIsReadOnly ( ) . equals ( readOnlyNewValue ) ) ) ; }
Source:
public void clearAllDismissedAlerts ( ) { org.ovirt.engine.core.common.action.VdcActionParametersBase params = new org.ovirt.engine.core.common.action.VdcActionParametersBase ( ) ; org.ovirt.engine.ui.frontend.Frontend.getInstance ( ) . runAction ( VdcActionType.ClearAllDismissedAuditLogs , params ) ; }

Target:
public void displayAllAlerts ( ) { org.ovirt.engine.ui.frontend.Frontend.getInstance ( ) . runAction ( VdcActionType.DisplayAllAuditLogAlerts , new org.ovirt.engine.core.common.action.VdcActionParametersBase ( ) ) ; }
Source:
protected org.ovirt.engine.core.compat.Guid getSourceDomainId ( org.ovirt.engine.core.common.businessentities.DiskImage image ) { return image.getStorageIds ( ) . get ( 0 ) ; }

Target:
protected org.ovirt.engine.core.compat.Guid getSourceDomainId ( org.ovirt.engine.core.common.businessentities.storage.DiskImage image ) { return image.getStorageIds ( ) . get ( 0 ) ; }
Source:
protected void SyncSearch ( ) { org.ovirt.engine.core.common.queries.SearchParameters tempVar = new org.ovirt.engine.core.common.queries.SearchParameters ( getSearchString ( ) , org.ovirt.engine.core.common.interfaces.SearchType.Disk ) ; tempVar.setMaxCount ( getSearchPageSize ( ) ) ; super . SyncSearch ( VdcQueryType.Search , tempVar ) ; }

Target:
protected void syncSearch ( ) { org.ovirt.engine.core.common.queries.SearchParameters tempVar = new org.ovirt.engine.core.common.queries.SearchParameters ( getSearchString ( ) , org.ovirt.engine.core.common.interfaces.SearchType.Disk ) ; tempVar.setMaxCount ( getSearchPageSize ( ) ) ; super . syncSearch ( VdcQueryType.Search , tempVar ) ; }
Source:
protected void verifyActionModel ( org.ovirt.engine.api.model.Vm model , int index ) { org.junit.Assert.assertNotNull ( model ) ; org.junit.Assert.assertEquals ( GUIDS [ index ] . toString ( ) , model.getId ( ) ) ; verifyLinks ( model ) ; }

Target:
protected void verifyActionModel ( org.ovirt.engine.api.model.Vm model , int index ) { org.junit.jupiter.api.Assertions.assertNotNull ( model ) ; org.junit.jupiter.api.Assertions.assertEquals ( GUIDS [ index ] . toString ( ) , model.getId ( ) ) ; verifyLinks ( model ) ; }
Source:
public java.lang.Integer getDisplay ( ) { return this . display ; }

Target:
public java.lang.String getGuestOsVersion ( ) { return guestOsVersion ; }
Source:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { newModel.getName ( ) . setEntity ( getName ( ) . getEntity ( ) ) ; }

Target:
public void onSuccess ( java.lang.Object model , java.lang.Object result ) { java.util.List < org.ovirt.engine.core.common.businessentities.Provider > providers = ( ( java.util.List < org.ovirt.engine.core.common.businessentities.Provider > ) ( result ) ) ; getExternalProviders ( ) . setItems ( providers ) ; selectExternalProvider ( ) ; stopProgress ( ) ; }
Source:
private java.lang.String getFingerprint ( org.ovirt.engine.core.utils.ssh.SSHClient client ) { java.security.PublicKey hostKey = client.getHostKey ( ) ; if ( hostKey == null ) { log.error ( "Could not get server key" ) ; return null ; } return org.ovirt.engine.core.engineencryptutils.OpenSSHUtils.getKeyFingerprintString ( hostKey ) ; }

Target:
private java.lang.String getFingerprint ( org.ovirt.engine.core.utils.ssh.SSHClient client ) { java.security.PublicKey hostKey = client.getHostKey ( ) ; if ( hostKey == null ) { log.error ( "Could not get server key" ) ; return null ; } return org.ovirt.engine.core.utils.crypt.OpenSSHUtils.getKeyFingerprintString ( hostKey ) ; }
Source:
public void eventRaised ( org.ovirt.engine.core.compat.Event ev , java.lang.Object sender , org.ovirt.engine.core.compat.EventArgs args ) { linuxBootOptionsPanel.setVisible ( ( ( java.lang.Boolean ) ( isLinuxOptionsAvailable.getEntity ( ) ) ) ) ; }

Target:
public void eventRaised ( org.ovirt.engine.core.compat.Event ev , java.lang.Object sender , org.ovirt.engine.core.compat.EventArgs args ) { boolean toShow = ( ( java.lang.Boolean ) ( isLinuxOptionsAvailable.getEntity ( ) ) ) ; linuxBootOptionsPanel.setVisible ( toShow ) ; }
Source:
public void validate_nonEnforcing_Test ( ) { affinityGroup.setEnforcing ( false ) ; org.ovirt.engine.core.bll.ValidateTestUtils.runAndAssertValidateSuccess ( command ) ; }

Target:
public void validate_nonEnforcing_Test ( ) { affinityGroup.setVmEnforcing ( false ) ; org.ovirt.engine.core.bll.ValidateTestUtils.runAndAssertValidateSuccess ( command ) ; }
Source:
public void run ( ) { try { op.run ( ) ; updateInterestedOps ( ) ; selector.wakeup ( ) ; } catch ( org.ovirt.vdsm.jsonrpc.client.ClientConnectionException e ) { org.ovirt.vdsm.jsonrpc.client.reactors.SSLClient.log.error ( "Unable to process messages" , e ) ; } }

Target:
public java.lang.Void call ( ) { try { op.run ( ) ; updateInterestedOps ( ) ; selector.wakeup ( ) ; } catch ( org.ovirt.vdsm.jsonrpc.client.ClientConnectionException e ) { org.ovirt.vdsm.jsonrpc.client.reactors.SSLClient.log.error ( "Unable to process messages" , e ) ; } return null ; }
Source:
private void setDiskStorageDomainInfo ( org.ovirt.engine.core.common.businessentities.DiskImage disk ) { java.util.ArrayList < org.ovirt.engine.core.compat.Guid > storageDomain = new java.util.ArrayList < org.ovirt.engine.core.compat.Guid > ( ) ; storageDomain.add ( imageToDestinationDomainMap.get ( disk.getId ( ) ) ) ; disk.setstorage_ids ( storageDomain ) ; }

Target:
private void setDiskStorageDomainInfo ( org.ovirt.engine.core.common.businessentities.DiskImage disk ) { java.util.ArrayList < org.ovirt.engine.core.compat.Guid > storageDomain = new java.util.ArrayList < org.ovirt.engine.core.compat.Guid > ( ) ; storageDomain.add ( imageToDestinationDomainMap.get ( disk.getId ( ) ) ) ; disk.setStorageIds ( storageDomain ) ; }
Source:
public java.lang.String render ( org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeOptionInfo optionInfo ) { if ( optionInfo != null ) { return optionInfo.getKey ( ) ; } return null ; }

Target:
public java.lang.String getDisplayStringNullSafe ( java.lang.String data ) { return typeAheadNameTemplateNullSafe ( data ) ; }
Source:
private org.ovirt.engine.core.bll.network.host.SetupNetworksHelper createHelper ( org.ovirt.engine.core.common.action.SetupNetworksParameters params , org.ovirt.engine.core.common.businessentities.VDS vds ) { return createHelper ( params , vds , Version.v3_3 ) ; }

Target:
private org.ovirt.engine.core.bll.network.host.SetupNetworksHelper createHelper ( org.ovirt.engine.core.common.action.SetupNetworksParameters params , org.ovirt.engine.core.common.businessentities.VDS vds ) { return createHelper ( params , vds , Version.v4_0 ) ; }
Source:
public java.util.ArrayList < org.ovirt.engine.core.common.action.VdcReturnValueBase > runInternalMultipleActions ( org.ovirt.engine.core.common.action.VdcActionType actionType , java.util.ArrayList < org.ovirt.engine.core.common.action.VdcActionParametersBase > parameters ) { return runMultipleActionsImpl ( actionType , parameters , true , false , false , null ) ; }

Target:
public java.util.List < org.ovirt.engine.core.common.action.ActionReturnValue > runInternalMultipleActions ( org.ovirt.engine.core.common.action.ActionType actionType , java.util.List < org.ovirt.engine.core.common.action.ActionParametersBase > parameters , org.ovirt.engine.core.bll.context.CommandContext commandContext ) { return runMultipleActionsImpl ( actionType , parameters , true , false , false , commandContext ) ; }
Source:
public java.util.Map < java.lang.String , java.lang.Object > glusterGeoRepMountBrokerSetup ( java.lang.String userName , java.lang.String remoteGroupName , java.lang.String remoteVolumeName ) ;

Target:
public java.util.Map < java.lang.String , java.lang.Object > glusterGeoRepMountBrokerSetup ( java.lang.String userName , java.lang.String remoteGroupName , java.lang.String remoteVolumeName , java.lang.Boolean partial ) ;
Source:
private static void auditLogExternalSchedulerError ( java.lang.String errorMessage ) { org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase loggable = org.ovirt.engine.core.di.Injector.injectMembers ( new org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase ( ) ) ; loggable.addCustomValue ( "ErrorMessage" , errorMessage ) ; org.ovirt.engine.core.bll.scheduling.external.ExternalSchedulerBrokerObjectBuilder.auditLogDirector.log ( loggable , AuditLogType.EXTERNAL_SCHEDULER_ERROR ) ; }

Target:
private static void auditLogExternalSchedulerError ( java.lang.String errorMessage ) { org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogable loggable = new org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableImpl ( ) ; loggable.addCustomValue ( "ErrorMessage" , errorMessage ) ; org.ovirt.engine.core.bll.scheduling.external.ExternalSchedulerBrokerObjectBuilder.auditLogDirector.log ( loggable , AuditLogType.EXTERNAL_SCHEDULER_ERROR ) ; }
Source:
protected void failedToRunVm ( ) { if ( ( org.ovirt.engine.core.bll.MigrateVmCommand.getVm ( ) . getStatus ( ) ) != ( org.ovirt.engine.core.common.businessentities.VMStatus.Up ) ) { super . failedToRunVm ( ) ; } }

Target:
protected void processVmPoolOnStopVm ( ) { if ( ( org.ovirt.engine.core.bll.MigrateVmCommand.getVm ( ) . getStatus ( ) ) != ( org.ovirt.engine.core.common.businessentities.VMStatus.Up ) ) { super . processVmPoolOnStopVm ( ) ; } }
Source:
protected org.ovirt.engine.core.common.businessentities.Cluster getCluster ( ) { return getEntity ( org.ovirt.engine.core.common.businessentities.Cluster.class , VdcQueryType.GetClusterById , new org.ovirt.engine.core.common.queries.IdQueryParameters ( asGuid ( clusterId ) ) , clusterId ) ; }

Target:
public org.ovirt.engine.api.model.Network addParents ( org.ovirt.engine.api.model.Network model ) { model = org.ovirt.engine.api.restapi.resource.BackendNetworkHelper.addParents ( model ) ; model.setCluster ( new org.ovirt.engine.core.common.businessentities.Cluster ( ) ) ; model.getCluster ( ) . setId ( clusterId.toString ( ) ) ; return model ; }
Source:
public void Executed ( org.ovirt.engine.ui.uicompat.FrontendActionAsyncResult result ) { org.ovirt.engine.ui.uicommonweb.models.storage.StorageListModel storageListModel = ( ( org.ovirt.engine.ui.uicommonweb.models.storage.StorageListModel ) ( result.getState ( ) ) ) ; org.ovirt.engine.core.common.action.VdcReturnValueBase vdcReturnValueBase = result.getReturnValue ( ) ; storageListModel.storageId = ( ( org.ovirt.engine.core.compat.NGuid ) ( vdcReturnValueBase.getActionReturnValue ( ) ) ) ; }

Target:
public void executed ( org.ovirt.engine.ui.uicompat.FrontendActionAsyncResult result ) { org.ovirt.engine.ui.uicommonweb.models.storage.StorageListModel storageListModel = ( ( org.ovirt.engine.ui.uicommonweb.models.storage.StorageListModel ) ( result.getState ( ) ) ) ; org.ovirt.engine.core.common.action.VdcReturnValueBase vdcReturnValueBase = result.getReturnValue ( ) ; storageListModel.storageId = ( ( org.ovirt.engine.core.compat.NGuid ) ( vdcReturnValueBase.getActionReturnValue ( ) ) ) ; }
Source:
public java.util.List < org.ovirt.engine.core.common.businessentities.VmTemplate > getAllWithQuery ( java.lang.String query ) { return jdbcTemplate.query ( query , org.ovirt.engine.core.dao.VmTemplateDAODbFacadeImpl.VMTemplateRowMapper.instance ) ; }

Target:
public java.util.List < org.ovirt.engine.core.common.businessentities.VmTemplate > getAllWithQuery ( java.lang.String query ) { return getJdbcTemplate ( ) . query ( query , org.ovirt.engine.core.dao.VmTemplateDAODbFacadeImpl.VMTemplateRowMapper.instance ) ; }
Source:
public javax.ws.rs.core.Response add ( org.ovirt.engine.api.model.OpenStackImageProvider provider ) { validateParameters ( provider , "name" ) ; return performCreate ( ActionType.AddProvider , new org.ovirt.engine.core.common.action.ProviderParameters ( map ( provider ) ) , new org.ovirt.engine.api.restapi.resource.openstack.QueryIdResolver < org.ovirt.engine.core.compat.Guid > ( org.ovirt.engine.core.common.queries.VdcQueryType.GetProviderById , org.ovirt.engine.core.common.queries.IdQueryParameters.class ) ) ; }

Target:
public javax.ws.rs.core.Response add ( org.ovirt.engine.api.model.OpenStackImageProvider provider ) { validateParameters ( provider , "name" ) ; return performCreate ( ActionType.AddProvider , new org.ovirt.engine.core.common.action.ProviderParameters ( map ( provider ) ) , new org.ovirt.engine.api.restapi.resource.openstack.QueryIdResolver < org.ovirt.engine.core.compat.Guid > ( org.ovirt.engine.core.common.queries.QueryType.GetProviderById , org.ovirt.engine.core.common.queries.IdQueryParameters.class ) ) ; }
Source:
public void build ( ) { createImageForVmMetaData ( ) ; createImageForMemoryDump ( ) ; }

Target:
private org.ovirt.engine.core.compat.Guid addMemoryDisk ( ) { org.ovirt.engine.core.common.businessentities.storage.DiskImage memoryDisk = org.ovirt.engine.core.bll.memory.MemoryUtils.createSnapshotMemoryDisk ( vm , getStorageType ( ) ) ; return addDisk ( memoryDisk ) ; }
Source:
private void setSelectedProtocol ( org.ovirt.engine.ui.uicommonweb.models.userportal.ConsoleProtocol selectedProtocol ) { ( ( org.ovirt.engine.ui.uicommonweb.models.userportal.UserPortalItemModel ) ( model.getModel ( ) . getSelectedItem ( ) ) ) . setSelectedProtocol ( selectedProtocol ) ; }

Target:
private void setSelectedProtocol ( org.ovirt.engine.ui.uicommonweb.models.ConsoleProtocol selectedProtocol ) { model.getModel ( ) . setSelectedProtocol ( selectedProtocol ) ; }
Source:
protected boolean setAndValidateCpuProfile ( ) { if ( ( isInstanceType ( ) ) || ( org.ovirt.engine.core.bll.UpdateVmTemplateCommand.isBlankTemplate ( ) ) ) { return true ; } return validate ( org.ovirt.engine.core.bll.profiles.CpuProfileHelper.setAndValidateCpuProfile ( org.ovirt.engine.core.bll.UpdateVmTemplateCommand.getVmTemplate ( ) , org.ovirt.engine.core.bll.UpdateVmTemplateCommand.getUserId ( ) ) ) ; }

Target:
protected boolean setAndValidateCpuProfile ( ) { if ( ( isInstanceType ( ) ) || ( org.ovirt.engine.core.bll.UpdateVmTemplateCommand.isBlankTemplate ( ) ) ) { return true ; } return validate ( cpuProfileHelper.setAndValidateCpuProfile ( org.ovirt.engine.core.bll.UpdateVmTemplateCommand.getVmTemplate ( ) , org.ovirt.engine.core.bll.UpdateVmTemplateCommand.getUserId ( ) ) ) ; }