auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void setTaskId ( org.ovirt.engine.core.compat.Guid value ) { this . taskId = value ; }

Target:
public void setVdsmTaskId ( org.ovirt.engine.core.compat.Guid value ) { this . vdsmTaskId = value ; }
Source:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; dao = prepareDAO ( dbFacade.getVdsDAO ( ) ) ; existingVds = dao.get ( org.ovirt.engine.core.dao.VdsDAOTest.EXISTING_VDS_ID ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; dao = prepareDAO ( dbFacade.getVdsDao ( ) ) ; existingVds = dao.get ( org.ovirt.engine.core.dao.VdsDAOTest.EXISTING_VDS_ID ) ; }
Source:
public java.util.Map < java.lang.Integer , java.util.Map < org.ovirt.engine.core.compat.Version , java.lang.Boolean > > getSpiceSupportMatrix ( ) ;

Target:
public org.ovirt.engine.core.common.businessentities.ArchitectureType getArchitectureFromOS ( int osId ) ;
Source:
public java.lang.String getText ( ) { return getLabel ( ) . getText ( ) ; }

Target:
public void setText ( java.lang.String text ) { label.setText ( text ) ; }
Source:
protected void setUpGetEntityExpectations ( boolean filter ) throws java.lang.Exception { setUpGetEntityExpectations ( VdcQueryType.GetVdsGroupById , org.ovirt.engine.core.common.queries.GetVdsGroupByIdParameters.class , new java.lang.String [ ] { "VdsId" , "Filtered" } , new java.lang.Object [ ] { GUIDS [ 0 ] , filter } , getEntity ( 0 ) ) ; }

Target:
protected void setUpGetEntityExpectations ( boolean filter ) throws java.lang.Exception { setUpGetEntityExpectations ( VdcQueryType.GetVdsByVdsId , org.ovirt.engine.core.common.queries.GetVdsByVdsIdParameters.class , new java.lang.String [ ] { "VdsId" , "Filtered" } , new java.lang.Object [ ] { GUIDS [ 0 ] , filter } , getEntity ( 0 ) ) ; }
Source:
public void setClusterName ( java.lang.String value ) { this . clusterpName = value ; }

Target:
public void setClusterName ( java.lang.String value ) { this . clusterName = value ; }
Source:
public com.google.gwt.event.dom.client.HasClickHandlers addRunButton ( ) { org.ovirt.engine.ui.userportal.widget.basic.MainTabBasicListItemActionButton button = new org.ovirt.engine.ui.userportal.widget.basic.MainTabBasicListItemActionButton ( null , org.ovirt.engine.ui.userportal.section.main.view.tab.basic.MainTabBasicListItemView.resources.playIcon ( ) , org.ovirt.engine.ui.userportal.section.main.view.tab.basic.MainTabBasicListItemView.resources.playDisabledIcon ( ) , style.runButtonAdditionalStyle ( ) ) ; this . runButton = button ; addButtonToPanel ( button ) ; return button ; }

Target:
public com.google.gwt.event.dom.client.HasClickHandlers addRunButton ( ) { org.ovirt.engine.ui.userportal.widget.basic.MainTabBasicListItemActionButton button = new org.ovirt.engine.ui.userportal.widget.basic.MainTabBasicListItemActionButton ( "" , org.ovirt.engine.ui.userportal.section.main.view.tab.basic.MainTabBasicListItemView.resources.playIcon ( ) , org.ovirt.engine.ui.userportal.section.main.view.tab.basic.MainTabBasicListItemView.resources.playDisabledIcon ( ) , style.runButtonAdditionalStyle ( ) ) ; this . runButton = button ; addButtonToPanel ( button ) ; return button ; }
Source:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { optimizationForServerFormatter ( object ) ; }

Target:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { customPropertiesSheetEditor.edit ( object.getCustomPropertySheet ( ) ) ; }
Source:
public java.util.Map < java.lang.String , java.lang.Object > refreshStoragePool ( java.lang.String spUUID , java.lang.String msdUUID , int masterVersion ) ;

Target:
public java.util.Map < java.lang.String , java.lang.Object > teardownImage ( java.lang.String sdID , java.lang.String spID , java.lang.String imageID , java.lang.String volumeID ) ;
Source:
public void testGetAllForUnusedQos ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.network.Network > result = dao.getAllForQos ( FixturesTool.HOST_NETWORK_QOS_B ) ; org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertTrue ( result.isEmpty ( ) ) ; }

Target:
public void testGetAllForUnusedQos ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.network.Network > result = dao.getAllForQos ( FixturesTool.HOST_NETWORK_QOS_B ) ; org.junit.jupiter.api.Assertions.assertNotNull ( result ) ; org.junit.jupiter.api.Assertions.assertTrue ( result.isEmpty ( ) ) ; }
Source:
public javax.ws.rs.core.Response performAction ( org.ovirt.engine.core.common.action.VdcActionType task , org.ovirt.engine.core.common.action.VdcActionParametersBase params ) { return performAction ( task , params , null , false ) ; }

Target:
public javax.ws.rs.core.Response performAction ( org.ovirt.engine.core.common.action.ActionType task , org.ovirt.engine.core.common.action.ActionParametersBase params ) { return performAction ( task , params , null , false ) ; }
Source:
public void testValidModifiedBondsFailsWhenInsufficientNumberOfSlaves ( ) throws java.lang.Exception { org.ovirt.engine.core.common.businessentities.network.Bond bond = createBond ( ) ; doTestValidModifiedBonds ( bond , ValidationResult.VALID , ValidationResult.VALID , new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.EngineMessage.NETWORK_BONDS_INVALID_SLAVE_COUNT , org.ovirt.engine.core.utils.ReplacementUtils.createSetVariableString ( HostSetupNetworksValidator.VAR_NETWORK_BONDS_INVALID_SLAVE_COUNT_LIST , bond.getName ( ) ) ) , ValidationResult.VALID ) ; }

Target:
public void testValidModifiedBondsFailsWhenInsufficientNumberOfSlaves ( ) throws java.lang.Exception { org.ovirt.engine.core.common.businessentities.network.Bond bond = createBond ( ) ; doTestValidModifiedBonds ( bond , ValidationResult.VALID , ValidationResult.VALID , new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.EngineMessage.NETWORK_BONDS_INVALID_SLAVE_COUNT , org.ovirt.engine.core.utils.ReplacementUtils.getVariableAssignmentString ( EngineMessage.NETWORK_BONDS_INVALID_SLAVE_COUNT , bond.getName ( ) ) ) , ValidationResult.VALID ) ; }
Source:
private org.ovirt.engine.core.common.businessentities.network.NetworkCluster createManagementNetworkCluster ( ) { return new org.ovirt.engine.core.common.businessentities.network.NetworkCluster ( org.ovirt.engine.core.bll.AddVdsGroupCommand.getVdsGroupId ( ) , managementNetwork.getId ( ) , org.ovirt.engine.core.common.businessentities.network.NetworkStatus.OPERATIONAL , true , true , true , true , false ) ; }

Target:
private org.ovirt.engine.core.common.businessentities.network.NetworkCluster createManagementNetworkCluster ( ) { return new org.ovirt.engine.core.common.businessentities.network.NetworkCluster ( org.ovirt.engine.core.bll.AddVdsGroupCommand.getVdsGroupId ( ) , getManagementNetwork ( ) . getId ( ) , org.ovirt.engine.core.common.businessentities.network.NetworkStatus.OPERATIONAL , true , true , true , true , false ) ; }
Source:
private java.lang.String getProxyUri ( ) { return ( ( ( org.ovirt.engine.core.common.config.Config.getValue ( ConfigValues.ImageProxyURL ) ) + ":" ) + ( org.ovirt.engine.core.common.config.Config.< java.lang.Integer > getValue ( ConfigValues.ImageProxyPort ) ) ) + "/images" ; }

Target:
private java.lang.String getProxyUri ( ) { java.lang.String scheme = ( org.ovirt.engine.core.common.config.Config.< java.lang.Boolean > getValue ( ConfigValues.ImageProxySSLEnabled ) ) ? org.ovirt.engine.core.bll.storage.disk.image.UploadImageCommand.HTTPS_SCHEME : org.ovirt.engine.core.bll.storage.disk.image.UploadImageCommand.HTTP_SCHEME ; java.lang.String address = org.ovirt.engine.core.common.config.Config.getValue ( ConfigValues.ImageProxyAddress ) ; return ( scheme + address ) + ( org.ovirt.engine.core.bll.storage.disk.image.UploadImageCommand.IMAGES_PATH ) ; }
Source:
public org.ovirt.engine.core.common.action.VdcReturnValueBase runAction ( org.ovirt.engine.core.common.action.VdcActionType actionType , org.ovirt.engine.core.common.action.VdcActionParametersBase parameters ) { org.ovirt.engine.core.common.action.VdcReturnValueBase returnValue = notAllowToRunAction ( actionType ) ; if ( returnValue != null ) { return returnValue ; } return runActionImpl ( actionType , parameters , false , null ) ; }

Target:
public org.ovirt.engine.core.common.action.ActionReturnValue runAction ( org.ovirt.engine.core.common.action.ActionType actionType , org.ovirt.engine.core.common.action.ActionParametersBase parameters ) { org.ovirt.engine.core.common.action.ActionReturnValue returnValue = notAllowToRunAction ( actionType ) ; if ( returnValue != null ) { return returnValue ; } return runActionImpl ( actionType , parameters , false , null ) ; }
Source:
public V call ( ) throws java.lang.Exception { org.ovirt.engine.core.utils.ThreadLocalParamsContainer.setCorrelationId ( correlationId ) ; return job.call ( ) ; }

Target:
public V call ( ) throws java.lang.Exception { org.ovirt.engine.core.utils.CorrelationIdTracker.setCorrelationId ( correlationId ) ; return job.call ( ) ; }
Source:
public org.ovirt.engine.core.common.action.VdcReturnValueBase logOff ( org.ovirt.engine.core.common.businessentities.DbUser userToLogoff ) { org.ovirt.engine.core.common.action.LogoutUserParameters params = new org.ovirt.engine.core.common.action.LogoutUserParameters ( userToLogoff.getId ( ) ) ; params.setSessionId ( getSessionId ( ) ) ; org.ovirt.engine.core.common.action.VdcReturnValueBase returnValue = getBackend ( ) . Logoff ( params ) ; return returnValue ; }

Target:
public org.ovirt.engine.core.common.action.VdcReturnValueBase logOff ( org.ovirt.engine.core.common.businessentities.DbUser userToLogoff ) { org.ovirt.engine.core.common.action.LogoutUserParameters params = new org.ovirt.engine.core.common.action.LogoutUserParameters ( userToLogoff.getId ( ) ) ; params.setSessionId ( getSessionId ( ) ) ; org.ovirt.engine.core.common.action.VdcReturnValueBase returnValue = getBackend ( ) . logoff ( params ) ; return returnValue ; }
Source:
public void testGetNumberOfImagesInExistingDomain ( ) { long numOfImages = dao.getNumberOfImagesInStorageDomain ( org.ovirt.engine.core.dao.StorageDomainDaoTest.EXISTING_DOMAIN_ID ) ; org.junit.Assert.assertEquals ( "Number of images on storage domain different than expected" , org.ovirt.engine.core.dao.StorageDomainDaoTest.NUMBER_OF_IMAGES_ON_EXISTING_DOMAIN , numOfImages ) ; }

Target:
public void testGetAllForStoragePoolWithPermissionsPrivilegedUser ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.StorageDomain > result = dao.getAllForStoragePool ( FixturesTool.DATA_CENTER , org.ovirt.engine.core.dao.PRIVILEGED_USER_ID , true ) ; org.ovirt.engine.core.dao.StorageDomainDaoTest.assertGetAllForStoragePoolResult ( result , FixturesTool.DATA_CENTER ) ; }
Source:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; dao = dbFacade.getGlusterVolumeSnapshotDao ( ) ; existingSnapshot = dao.getById ( org.ovirt.engine.core.dao.gluster.GlusterVolumeSnapshotDaoTest.EXISTING_SNAPSHOT_ID ) ; existingSnapshot1 = dao.getById ( org.ovirt.engine.core.dao.gluster.GlusterVolumeSnapshotDaoTest.EXISTING_SNAPSHOT_ID_1 ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; dao = dbFacade.getGlusterVolumeSnapshotDao ( ) ; volumeDao = dbFacade.getGlusterVolumeDao ( ) ; existingSnapshot = dao.getById ( org.ovirt.engine.core.dao.gluster.GlusterVolumeSnapshotDaoTest.EXISTING_SNAPSHOT_ID ) ; existingSnapshot1 = dao.getById ( org.ovirt.engine.core.dao.gluster.GlusterVolumeSnapshotDaoTest.EXISTING_SNAPSHOT_ID_1 ) ; }
Source:
protected final < T > javax.ws.rs.core.Response performCreate ( org.ovirt.engine.core.common.action.VdcActionType task , org.ovirt.engine.core.common.action.VdcActionParametersBase taskParams , org.ovirt.engine.api.restapi.resource.IResolver < T , Q > entityResolver , boolean block ) { return performCreate ( task , taskParams , entityResolver , block , null ) ; }

Target:
protected final < T > javax.ws.rs.core.Response performCreate ( org.ovirt.engine.core.common.action.ActionType task , org.ovirt.engine.core.common.action.VdcActionParametersBase taskParams , org.ovirt.engine.api.restapi.resource.IResolver < T , Q > entityResolver , boolean block ) { return performCreate ( task , taskParams , entityResolver , block , null ) ; }
Source:
public void onDragOver ( com.google.gwt.event.dom.client.DragOverEvent event ) { doDrag ( event , false ) ; }

Target:
public void onDragEnter ( com.google.gwt.event.dom.client.DragEnterEvent event ) { ( dragCounter ) ++ ; eventBus.fireEvent ( new org.ovirt.engine.ui.webadmin.section.main.view.popup.host.AutoScrollEnableEvent ( this ) ) ; }
Source:
public static java.lang.String getVlanDeviceName ( org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface underlyingNic , org.ovirt.engine.core.common.businessentities.network.Network network ) { return ( ( underlyingNic.getName ( ) ) + "." ) + ( network.getVlanId ( ) ) ; }

Target:
public static java.lang.String constructVlanDeviceName ( org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface underlyingNic , org.ovirt.engine.core.common.businessentities.network.Network network ) { return ( ( underlyingNic.getName ( ) ) + "." ) + ( network.getVlanId ( ) ) ; }
Source:
protected boolean canDoAction ( ) { if ( ! ( super . canDoAction ( ) ) ) { return false ; } if ( getRngDevices ( ) . isEmpty ( ) ) { return failCanDoAction ( VdcBllMessages.ACTION_TYPE_FAILED_RNG_NOT_FOUND ) ; } return true ; }

Target:
protected boolean canDoAction ( ) { if ( ! ( super . canDoAction ( ) ) ) { return false ; } if ( getRngDevices ( ) . isEmpty ( ) ) { return failCanDoAction ( EngineMessage.ACTION_TYPE_FAILED_RNG_NOT_FOUND ) ; } return true ; }
Source:
public void setToggleFullscreenHotKey ( java.lang.String toggleFullscreenHotKey ) { this . toggleFullscreenHotKey = toggleFullscreenHotKey ; }

Target:
public void setRemapCtrlAltDel ( boolean remapCtrlAltDelete ) { this . consoleOptions.setRemapCtrlAltDelete ( remapCtrlAltDelete ) ; }
Source:
public void validProviderType ( ) { org.mockito.Mockito.when ( provider.getType ( ) ) . thenReturn ( ProviderType.OPENSTACK_NETWORK ) ; org.junit.Assert.assertThat ( validator.providerTypeValid ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }

Target:
public void validOpenstackProviderType ( ) { org.mockito.Mockito.when ( provider.getType ( ) ) . thenReturn ( ProviderType.OPENSTACK_NETWORK ) ; org.junit.Assert.assertThat ( validator.providerTypeIsOpenstack ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }
Source:
public java.lang.String getif_total_speed ( ) { return this . mVdsDynamic.getif_total_speed ( ) ; }

Target:
public java.lang.String getIfTotalSpeed ( ) { return this . mVdsDynamic.getif_total_speed ( ) ; }
Source:
protected void onEntityChanged ( ) { super . onEntityChanged ( ) ; if ( ( getEntity ( ) ) != null ) { getSearchCommand ( ) . execute ( ) ; } updateActionAvailability ( ) ; }

Target:
public void search ( ) { if ( ( getEntity ( ) ) != null ) { super . search ( ) ; } }
Source:
public void Configure ( org.ovirt.engine.ui.uicommonweb.models.vms.ISpice spice ) { super . Configure ( spice ) ; spice.setWANDisableEffects ( new java.util.ArrayList < org.ovirt.engine.ui.uicommonweb.models.vms.WANDisableEffects > ( ) ) ; spice.setWanOptionsEnabled ( false ) ; spice.setSpiceProxyEnabled ( isSpiceProxyDefined ( ) ) ; }

Target:
public void configure ( org.ovirt.engine.ui.uicommonweb.models.vms.ISpice spice ) { super . configure ( spice ) ; spice.setWANDisableEffects ( new java.util.ArrayList < org.ovirt.engine.ui.uicommonweb.models.vms.WANDisableEffects > ( ) ) ; spice.setWanOptionsEnabled ( false ) ; spice.setSpiceProxyEnabled ( isSpiceProxyDefined ( ) ) ; }
Source:
public void setvds_group_name ( java.lang.String value ) { this . vdsGroupName = value ; }

Target:
public void setparameters ( java.lang.String value ) { switch ( getvm_pool_type ( ) ) { case TimeLease : { InitializedTimeLeasedDefaultData ( value ) ; break ; } default : { parameters = value ; break ; } } }
Source:
public org.ovirt.engine.core.bll.ValidationResult isUp ( ) { if ( ( ( storagePool ) == null ) || ( ( storagePool.getStatus ( ) ) != ( org.ovirt.engine.core.common.businessentities.StoragePoolStatus.Up ) ) ) { return new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.VdcBllMessages.ACTION_TYPE_FAILED_IMAGE_REPOSITORY_NOT_FOUND ) ; } return org.ovirt.engine.core.bll.ValidationResult.VALID ; }

Target:
public org.ovirt.engine.core.bll.ValidationResult isUp ( ) { if ( ( ( storagePool ) == null ) || ( ( storagePool.getStatus ( ) ) != ( org.ovirt.engine.core.common.businessentities.StoragePoolStatus.Up ) ) ) { return new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.EngineMessage.ACTION_TYPE_FAILED_IMAGE_REPOSITORY_NOT_FOUND ) ; } return org.ovirt.engine.core.bll.ValidationResult.VALID ; }
Source:
public static boolean isNonVmNonVlanNetwork ( org.ovirt.engine.core.common.businessentities.network.Network network ) { return ( ! ( network.isVmNetwork ( ) ) ) && ( ( network.getVlanId ( ) ) == null ) ; }

Target:
public static java.lang.String getVlanDeviceName ( org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface underlyingNic , org.ovirt.engine.core.common.businessentities.network.Network network ) { return ( ( underlyingNic.getName ( ) ) + "." ) + ( network.getVlanId ( ) ) ; }
Source:
public void testIsInternalExecutionFalse ( ) { org.ovirt.engine.core.bll.QueriesCommandBaseTest.ThereIsNoSuchQuery query = new org.ovirt.engine.core.bll.QueriesCommandBaseTest.ThereIsNoSuchQuery ( org.mockito.Mockito.mock ( org.ovirt.engine.core.common.queries.VdcQueryParametersBase.class ) ) ; query.setInternalExecution ( true ) ; query.setInternalExecution ( false ) ; junit.framework.Assert.assertFalse ( "Query should not be marked for internel execution" , query.isInternalExecution ( ) ) ; }

Target:
public void testIsInternalExecutionFalse ( ) { org.ovirt.engine.core.bll.QueriesCommandBaseTest.ThereIsNoSuchQuery query = new org.ovirt.engine.core.bll.QueriesCommandBaseTest.ThereIsNoSuchQuery ( org.mockito.Mockito.mock ( org.ovirt.engine.core.common.queries.VdcQueryParametersBase.class ) ) ; query.setInternalExecution ( true ) ; query.setInternalExecution ( false ) ; org.junit.Assert.assertFalse ( "Query should not be marked for internel execution" , query.isInternalExecution ( ) ) ; }
Source:
private boolean isDiskNotShareable ( org.ovirt.engine.core.compat.Guid imageId ) { org.ovirt.engine.core.common.businessentities.storage.DiskImage diskImage = getDiskImageByImageId ( imageId ) ; if ( diskImage.isShareable ( ) ) { addCanDoActionMessageVariable ( "diskAliases" , diskImage.getDiskAlias ( ) ) ; return failCanDoAction ( VdcBllMessages.ACTION_TYPE_FAILED_SHAREABLE_DISK_NOT_SUPPORTED ) ; } return true ; }

Target:
private boolean isDiskNotShareable ( org.ovirt.engine.core.compat.Guid imageId ) { org.ovirt.engine.core.common.businessentities.storage.DiskImage diskImage = getDiskImageByImageId ( imageId ) ; if ( diskImage.isShareable ( ) ) { addCanDoActionMessageVariable ( "diskAliases" , diskImage.getDiskAlias ( ) ) ; return failCanDoAction ( EngineMessage.ACTION_TYPE_FAILED_SHAREABLE_DISK_NOT_SUPPORTED ) ; } return true ; }
Source:
public static java.util.ArrayList < org.ovirt.engine.core.common.businessentities.DiskInterface > getDiskInterfaceList ( ) { java.util.ArrayList < org.ovirt.engine.core.common.businessentities.DiskInterface > diskInterfaces = new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.DiskInterface > ( java.util.Arrays.asList ( new org.ovirt.engine.core.common.businessentities.DiskInterface [ ] { org.ovirt.engine.core.common.businessentities.DiskInterface.IDE , org.ovirt.engine.core.common.businessentities.DiskInterface.VirtIO , org.ovirt.engine.core.common.businessentities.DiskInterface.VirtIO_SCSI , org.ovirt.engine.core.common.businessentities.DiskInterface.SPAPR_VSCSI } ) ) ; return diskInterfaces ; }

Target:
public java.util.ArrayList < org.ovirt.engine.core.common.businessentities.storage.DiskInterface > getDiskInterfaceList ( ) { java.util.ArrayList < org.ovirt.engine.core.common.businessentities.storage.DiskInterface > diskInterfaces = new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.storage.DiskInterface > ( java.util.Arrays.asList ( new org.ovirt.engine.core.common.businessentities.storage.DiskInterface [ ] { org.ovirt.engine.core.common.businessentities.storage.DiskInterface.IDE , org.ovirt.engine.core.common.businessentities.storage.DiskInterface.VirtIO , org.ovirt.engine.core.common.businessentities.storage.DiskInterface.VirtIO_SCSI , org.ovirt.engine.core.common.businessentities.storage.DiskInterface.SPAPR_VSCSI } ) ) ; return diskInterfaces ; }
Source:
public org.ovirt.engine.api.resource.DeviceResource < org.ovirt.engine.api.model.Cdrom > getDeviceSubResource ( java.lang.String id ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendCdRomResource ( parentId , asGuidOr404 ( id ) , this , updateType , getUpdateParametersProvider ( ) , getRequiredUpdateFields ( ) ) ) ; }

Target:
public org.ovirt.engine.api.resource.DeviceResource < org.ovirt.engine.api.model.Cdrom > getDeviceResource ( java.lang.String id ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendCdRomResource ( parentId , asGuidOr404 ( id ) , this , updateType , getUpdateParametersProvider ( ) , getRequiredUpdateFields ( ) ) ) ; }
Source:
public java.util.List < org.ovirt.engine.core.compat.Guid > getCommandIdsByEntityId ( org.ovirt.engine.core.compat.Guid entityId ) { return org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getCommandEntityDao ( ) . getCommandIdsByEntity ( entityId ) ; }

Target:
public java.util.List < org.ovirt.engine.core.compat.Guid > getCommandIdsByEntityId ( org.ovirt.engine.core.compat.Guid entityId ) { return commandEntityDao.getCommandIdsByEntity ( entityId ) ; }
Source:
public javax.ws.rs.core.Response remove ( ) { get ( ) ; return performAction ( VdcActionType.RemoveVmInterface , new org.ovirt.engine.core.common.action.RemoveVmInterfaceParameters ( vmId , guid ) ) ; }

Target:
public javax.ws.rs.core.Response remove ( ) { get ( ) ; return performAction ( ActionType.RemoveVmInterface , new org.ovirt.engine.core.common.action.RemoveVmInterfaceParameters ( vmId , guid ) ) ; }
Source:
public static void persistCommand ( org.ovirt.engine.core.common.businessentities.CommandEntity cmdEntity , org.ovirt.engine.core.bll.context.CommandContext cmdContext ) { org.ovirt.engine.core.bll.tasks.TaskManagerUtil.coco.persistCommand ( cmdEntity , cmdContext ) ; }

Target:
public static void persistCommand ( org.ovirt.engine.core.common.businessentities.CommandEntity cmdEntity , org.ovirt.engine.core.bll.context.CommandContext cmdContext ) { org.ovirt.engine.core.bll.tasks.CommandCoordinatorUtil.coco.persistCommand ( cmdEntity , cmdContext ) ; }
Source:
public org.ovirt.engine.core.compat.Version getLatestDictionaryVersion ( ) { return java.util.Collections.max ( org.ovirt.engine.core.bll.CpuFlagsManagerHandler._managersDictionary.keySet ( ) ) ; }

Target:
public org.ovirt.engine.core.compat.Version getLatestDictionaryVersion ( ) { return java.util.Collections.max ( org.ovirt.engine.core.bll.CpuFlagsManagerHandler.managersDictionary.keySet ( ) ) ; }
Source:
public void setDefaultConsoleModel ( org.ovirt.engine.ui.uicommonweb.models.vms.ConsoleModel value ) { if ( ( defaultConsoleModel ) != value ) { defaultConsoleModel = value ; OnPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "DefaultConsoleModel" ) ) ; } }

Target:
public org.ovirt.engine.ui.uicompat.Event getConsoleConnectEvent ( ) { return consoleConnectEvent ; }
Source:
public java.lang.String changeCaseDisplay ( java.lang.String text ) { try { if ( ( org.ovirt.engine.core.compat.DayOfWeek.valueOf ( text ) ) != null ) { return text ; } } catch ( java.lang.Exception e ) { } return text.toLowerCase ( ) ; }

Target:
public java.lang.String changeCaseDisplay ( java.lang.String text ) { if ( org.ovirt.engine.core.searchbackend.BaseAutoCompleter.daysOfWeek.contains ( text ) ) { return text ; } return text.toLowerCase ( ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.network.Network geRemovedtNetwork ( ) { if ( ( network ) == null ) { network = org.ovirt.engine.core.bll.network.dc.RemoveNetworkCommand.getNetworkDAO ( ) . get ( super . getNetwork ( ) . getId ( ) ) ; } return network ; }

Target:
protected org.ovirt.engine.core.common.businessentities.network.Network getRemovedNetwork ( ) { if ( ( network ) == null ) { network = org.ovirt.engine.core.bll.network.dc.RemoveNetworkCommand.getNetworkDAO ( ) . get ( super . getNetwork ( ) . getId ( ) ) ; } return network ; }
Source:
private void updateSnapshotIdForSkipRestoreImages ( java.util.List < org.ovirt.engine.core.common.businessentities.DiskImage > skipRestoreImages , org.ovirt.engine.core.compat.Guid snapshotId ) { for ( org.ovirt.engine.core.common.businessentities.DiskImage image : skipRestoreImages ) { org.ovirt.engine.core.bll.RestoreAllSnapshotsCommand.getImageDao ( ) . updateImageVmSnapshotId ( image.getImageId ( ) , snapshotId ) ; } }

Target:
private void updateSnapshotIdForSkipRestoreImages ( java.util.List < org.ovirt.engine.core.common.businessentities.storage.DiskImage > skipRestoreImages , org.ovirt.engine.core.compat.Guid snapshotId ) { for ( org.ovirt.engine.core.common.businessentities.storage.DiskImage image : skipRestoreImages ) { org.ovirt.engine.core.bll.RestoreAllSnapshotsCommand.getImageDao ( ) . updateImageVmSnapshotId ( image.getImageId ( ) , snapshotId ) ; } }
Source:
protected org.ovirt.engine.core.common.businessentities.network.Network getNetworkByVnicProfile ( org.ovirt.engine.core.common.businessentities.network.VnicProfile vnicProfile ) { return org.ovirt.engine.core.bll.network.cluster.NetworkHelper.getNetworkByVnicProfile ( vnicProfile ) ; }

Target:
protected org.ovirt.engine.core.common.businessentities.network.Network getNetworkByVnicProfile ( org.ovirt.engine.core.common.businessentities.network.VnicProfile vnicProfile ) { return getNetworkHelper ( ) . getNetworkByVnicProfile ( vnicProfile ) ; }
Source:
protected void testVdsPowerManagementStatus ( org.ovirt.engine.core.common.businessentities.VdsStatic vdsStatic ) { if ( vdsStatic.isPmEnabled ( ) ) { org.ovirt.engine.core.bll.pm.PmHealthCheckManager.getInstance ( ) . pmHealthCheck ( vdsStatic.getId ( ) ) ; } }

Target:
protected void testVdsPowerManagementStatus ( org.ovirt.engine.core.common.businessentities.VdsStatic vdsStatic ) { if ( vdsStatic.isPmEnabled ( ) ) { pmHealthCheckManager.pmHealthCheck ( vdsStatic.getId ( ) ) ; } }
Source:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { java.util.Collection < org.ovirt.engine.core.common.businessentities.VDSGroup > clusters = ( ( java.util.Collection < org.ovirt.engine.core.common.businessentities.VDSGroup > ) ( returnValue ) ) ; dcClusters.put ( dcId , clusters ) ; attachNetworkToClusters ( network , clusters ) ; }

Target:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { java.util.Collection < org.ovirt.engine.core.common.businessentities.VDSGroup > clusters = ( ( java.util.Collection < org.ovirt.engine.core.common.businessentities.VDSGroup > ) ( returnValue ) ) ; dcClusters.put ( dcId , clusters ) ; attachNetworkToClusters ( network , clusters , publicUse ) ; }
Source:
private void auditLogOvfLoadError ( java.lang.String machineName ) { org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase logable = new org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase ( ) ; logable.addCustomValue ( "ImportedVmName" , machineName ) ; org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log ( logable , AuditLogType.IMPORTEXPORT_FAILED_TO_IMPORT_VM ) ; }

Target:
private void auditLogOvfLoadError ( java.lang.String machineName , java.lang.String errorMessage ) { org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase logable = new org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase ( ) ; logable.addCustomValue ( "ImportedVmName" , machineName ) ; logable.addCustomValue ( "ErrorMessage" , errorMessage ) ; org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log ( logable , AuditLogType.IMPORTEXPORT_FAILED_TO_IMPORT_VM ) ; }
Source:
protected abstract java.lang.String getWarning ( ) ;

Target:
protected abstract java.lang.String getWarning ( java.util.List < java.lang.String > disks ) ;
Source:
public boolean isNetworkExclusivenessPermissiveValidation ( java.lang.String version ) { return ( ( java.lang.Boolean ) ( getConfigValuePreConverted ( ConfigurationValues.NetworkExclusivenessPermissiveValidation , version ) ) ) ; }

Target:
public void getAllRelevantQuotasForStorageSorted ( org.ovirt.engine.ui.frontend.AsyncQuery asyncQuery , org.ovirt.engine.core.compat.Guid storageId , org.ovirt.engine.core.compat.Guid topQuotaId ) { asyncQuery.converterCallback = new org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.QuotaConverter ( topQuotaId ) ; org.ovirt.engine.ui.frontend.Frontend.getInstance ( ) . runQuery ( VdcQueryType.GetAllRelevantQuotasForStorage , new org.ovirt.engine.core.common.queries.IdQueryParameters ( storageId ) , asyncQuery ) ; }
Source:
public void testGet ( ) { org.ovirt.engine.core.common.businessentities.aaa.DbUser result = dao.get ( existingUser.getId ( ) ) ; org.junit.Assert.assertNotNull ( result ) ; org.junit.Assert.assertEquals ( existingUser , result ) ; }

Target:
public void testGet ( ) { org.ovirt.engine.core.common.businessentities.aaa.DbUser result = dao.get ( existingUser.getId ( ) ) ; org.junit.jupiter.api.Assertions.assertNotNull ( result ) ; org.junit.jupiter.api.Assertions.assertEquals ( existingUser , result ) ; }
Source:
public boolean isRepresentedAsAttribute ( org.ovirt.api.metamodel.concepts.Name name ) { return org.ovirt.api.metamodel.tool.SchemaNames.ID.equals ( name ) ; }

Target:
public boolean isRepresentedAsAttribute ( org.ovirt.api.metamodel.concepts.Name name ) { return ( org.ovirt.api.metamodel.tool.SchemaNames.ID.equals ( name ) ) || ( org.ovirt.api.metamodel.tool.SchemaNames.HREF.equals ( name ) ) ; }
Source:
public void Executed ( org.ovirt.engine.ui.uicompat.FrontendActionAsyncResult result ) { }

Target:
private void CleanConnection ( org.ovirt.engine.core.common.businessentities.StorageServerConnections connection , org.ovirt.engine.core.compat.Guid hostId ) { org.ovirt.engine.ui.frontend.Frontend.RunAction ( VdcActionType.DisconnectStorageServerConnection , new org.ovirt.engine.core.common.action.StorageServerConnectionParametersBase ( connection , hostId ) , null , this ) ; }
Source:
public void testValidateImageNotInTemplateFalse ( ) { org.mockito.Mockito.when ( vmTemplateDao.get ( mockSourceImageAndGetId ( ) ) ) . thenReturn ( new org.ovirt.engine.core.common.businessentities.VmTemplate ( ) ) ; org.junit.Assert.assertFalse ( "validation should succeed" , cmd.validateImageNotInTemplate ( ) ) ; }

Target:
public void testValidateImageNotInTemplateFalse ( ) { org.mockito.Mockito.when ( vmTemplateDao.get ( mockSourceImageAndGetId ( ) ) ) . thenReturn ( new org.ovirt.engine.core.common.businessentities.VmTemplate ( ) ) ; org.junit.jupiter.api.Assertions.assertFalse ( cmd.validateImageNotInTemplate ( ) , "validation should succeed" ) ; }
Source:
protected java.util.List < java.lang.Class < ? > > getValidationGroups ( ) { org.ovirt.engine.core.bll.UpdateVmPoolWithVmsCommand.addValidationGroup ( org.ovirt.engine.core.common.validation.group.CreateEntity.class ) ; org.ovirt.engine.core.bll.UpdateVmPoolWithVmsCommand.addValidationGroup ( org.ovirt.engine.core.common.validation.group.UpdateEntity.class ) ; return super . getValidationGroups ( ) ; }

Target:
protected java.util.List < java.lang.Class < ? > > getValidationGroups ( ) { org.ovirt.engine.core.bll.UpdateVmPoolCommand.addValidationGroup ( org.ovirt.engine.core.common.validation.group.CreateEntity.class ) ; org.ovirt.engine.core.bll.UpdateVmPoolCommand.addValidationGroup ( org.ovirt.engine.core.common.validation.group.UpdateEntity.class ) ; return super . getValidationGroups ( ) ; }
Source:
public java.lang.String getValue ( org.ovirt.engine.ui.uicommonweb.models.EntityModel < org.ovirt.engine.core.common.businessentities.VM > externalVmModel ) { return externalVmModel.getEntity ( ) . getName ( ) ; }

Target:
public java.lang.String getValue ( org.ovirt.engine.ui.uicommonweb.models.EntityModel < org.ovirt.engine.core.common.businessentities.VM > externalVmModel ) { return toCellString ( externalVmModel ) ; }
Source:
public void setUsbPolicy ( java.lang.String value ) { if ( ! ( org.ovirt.engine.core.compat.StringHelper.stringsEqual ( usbPolicy , value ) ) ) { usbPolicy = value ; OnPropertyChanged ( new org.ovirt.engine.core.compat.PropertyChangedEventArgs ( "UsbPolicy" ) ) ; } }

Target:
public void setUsbPolicy ( java.lang.String value ) { if ( ! ( org.ovirt.engine.core.compat.StringHelper.stringsEqual ( usbPolicy , value ) ) ) { usbPolicy = value ; OnPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "UsbPolicy" ) ) ; } }
Source:
public void OnSuccess ( java.lang.Object model , java.lang.Object ReturnValue ) { this . setItems ( ( ( java.util.ArrayList < org.ovirt.engine.core.common.businessentities.VDSGroup > ) ( ( ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue ) ( ReturnValue ) ) . getReturnValue ( ) ) ) ) ; }

Target:
public void OnSuccess ( java.lang.Object model , java.lang.Object ReturnValue ) { this . setItems ( ( ( java.util.List < org.ovirt.engine.core.common.utils.Pair < org.ovirt.engine.core.common.businessentities.network_cluster , org.ovirt.engine.core.common.businessentities.VDSGroup > > ) ( ( ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue ) ( ReturnValue ) ) . getReturnValue ( ) ) ) ) ; }
Source:
public void sethibernation_vol_handle ( java.lang.String value ) { this . mVmDynamic.sethibernation_vol_handle ( value ) ; }

Target:
public org.ovirt.engine.core.common.businessentities.MigrationSupport getMigrationSupport ( ) { return this . vmStatic.getMigrationSupport ( ) ; }
Source:
public void ExecuteCommand ( org.ovirt.engine.ui.uicommonweb.UICommand uiCommand ) { logSsoOnDesktopFailedAgentNonResp ( spiceConsoleModel.getLogger ( ) , ( logonCommandReturnValue != null ? logonCommandReturnValue.getDescription ( ) : "" ) ) ; spiceConsoleModel.ExecuteQuery ( getEntity ( ) ) ; parentModel.setWindow ( null ) ; }

Target:
public void executeCommand ( org.ovirt.engine.ui.uicommonweb.UICommand uiCommand ) { logSsoOnDesktopFailedAgentNonResp ( spiceConsoleModel.getLogger ( ) , ( logonCommandReturnValue != null ? logonCommandReturnValue.getDescription ( ) : "" ) ) ; spiceConsoleModel.ExecuteQuery ( getEntity ( ) ) ; parentModel.setWindow ( null ) ; }
Source:
protected void UpdateReturnStatus ( org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc newReturnStatus ) { _result.mStatus = newReturnStatus ; }

Target:
protected void updateReturnStatus ( org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc newReturnStatus ) { _result.mStatus = newReturnStatus ; }
Source:
public void clear ( ) { super . clear ( ) ; OnCollectionChanged ( ) ; }

Target:
public void clear ( ) { super . clear ( ) ; onCollectionChanged ( ) ; }
Source:
protected void init ( ) { super . init ( ) ; setUpParentMocks ( ) ; }

Target:
protected void init ( ) { super . init ( ) ; setUpParentMocks ( ) ; helper = new org.ovirt.engine.api.restapi.resource.gluster.GlusterTestHelper ( control ) ; }
Source:
private void mockOvirtNode ( ) { org.mockito.Mockito.when ( host.isOvirtNode ( ) ) . thenReturn ( true ) ; }

Target:
private void mockOvirtNode ( ) { org.mockito.Mockito.when ( host.isOvirtVintageNode ( ) ) . thenReturn ( true ) ; }
Source:
protected org.ovirt.engine.core.compat.Guid getPoolId ( ) { org.ovirt.engine.core.common.businessentities.VmPool vmPool = org.ovirt.engine.core.bll.AddVmPoolCommand.getVmPool ( ) ; org.ovirt.engine.core.bll.AddVmPoolCommand.getVmPoolDao ( ) . save ( vmPool ) ; return vmPool.getVmPoolId ( ) ; }

Target:
protected void createOrUpdateVmPool ( ) { org.ovirt.engine.core.bll.AddVmPoolCommand.getVmPoolDao ( ) . save ( org.ovirt.engine.core.bll.AddVmPoolCommand.getVmPool ( ) ) ; }
Source:
public void log ( org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase auditLogable , org.ovirt.engine.core.common.AuditLogType logType , java.lang.String loggerString ) { updateTimeoutLogableObject ( auditLogable , logType ) ; if ( auditLogable.getLegal ( ) ) { saveToDb ( auditLogable , logType , loggerString ) ; } }

Target:
public static void log ( org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase auditLogable , org.ovirt.engine.core.common.AuditLogType logType , java.lang.String loggerString ) { org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.updateTimeoutLogableObject ( auditLogable , logType ) ; if ( auditLogable.getLegal ( ) ) { org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.saveToDb ( auditLogable , logType , loggerString ) ; } }
Source:
public void addLabelStyleName ( java.lang.String styleName ) { labelElement.addClassName ( styleName ) ; }

Target:
public void addLabelStyleName ( java.lang.String styleName ) { getLabelElement ( ) . addClassName ( styleName ) ; }
Source:
public com.google.gwt.event.dom.client.HasClickHandlers getCloseIconButton ( ) { return asWidget ( ) . getCloseIconButton ( ) ; }

Target:
public com.google.gwt.event.dom.client.HasClickHandlers getCloseButton ( ) { return null ; }
Source:
private void writeEnumType ( org.ovirt.api.metamodel.concepts.EnumType type ) { writer.writeStartElement ( "enum" ) ; writeCommon ( type ) ; type.values ( ) . forEach ( this :: writeEnumValue ) ; writer.writeEndElement ( ) ; }

Target:
private void writeStructLink ( org.ovirt.api.metamodel.concepts.Link link ) { writer.writeStartElement ( "link" ) ; writeCommon ( link ) ; writeTypeRef ( link.getType ( ) ) ; writer.writeEndElement ( ) ; }
Source:
public java.lang.String getFileStyleName ( org.ovirt.api.metamodel.concepts.Name name ) { return name.words ( ) . map ( java.lang.String :: toLowerCase ) . collect ( java.util.stream.Collectors.joining ( "_" ) ) ; }

Target:
public java.lang.String getFileStyleName ( org.ovirt.api.metamodel.concepts.Name name ) { return names.getLowerJoined ( name , "_" ) ; }
Source:
public static boolean isClusterItemExistInList ( java.util.List < org.ovirt.engine.core.common.businessentities.VDSGroup > items , org.ovirt.engine.core.compat.Guid id ) { for ( org.ovirt.engine.core.common.businessentities.VDSGroup a : items ) { if ( id.equals ( a.getId ( ) ) ) { return true ; } } return false ; }

Target:
public static boolean isClusterItemExistInList ( java.util.List < org.ovirt.engine.core.common.businessentities.Cluster > items , org.ovirt.engine.core.compat.Guid id ) { for ( org.ovirt.engine.core.common.businessentities.Cluster a : items ) { if ( id.equals ( a.getId ( ) ) ) { return true ; } } return false ; }
Source:
protected void revertTask ( ) { }

Target:
public void endWithFailure ( ) { super . endWithFailure ( ) ; }
Source:
public void updateSession ( org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSession geoRepSession ) { getCallsHandler ( ) . executeModification ( "UpdateGlusterGeoRepSessionStatus" , createIdParameterMapper ( geoRepSession.getId ( ) ) . addValue ( "status" , org.ovirt.engine.core.common.utils.EnumUtils.nameOrNull ( geoRepSession.getStatus ( ) ) ) ) ; }

Target:
public void updateSessionStatus ( org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSession geoRepSession ) { getCallsHandler ( ) . executeModification ( "UpdateGlusterGeoRepSessionStatus" , createIdParameterMapper ( geoRepSession.getId ( ) ) . addValue ( "status" , org.ovirt.engine.core.common.utils.EnumUtils.nameOrNull ( geoRepSession.getStatus ( ) ) ) ) ; }
Source:
protected void EndMoveOrCopyCommand ( ) { org.ovirt.engine.core.bll.VmTemplateHandler.UnLockVmTemplate ( getVmTemplateId ( ) ) ; EndActionOnAllImageGroups ( ) ; UpdateTemplateInSpm ( ) ; setSucceeded ( true ) ; }

Target:
protected void endMoveOrCopyCommand ( ) { org.ovirt.engine.core.bll.VmTemplateHandler.UnLockVmTemplate ( getVmTemplateId ( ) ) ; endActionOnAllImageGroups ( ) ; updateTemplateInSpm ( ) ; setSucceeded ( true ) ; }
Source:
private static org.ovirt.engine.core.bll.scheduling.InternalClusterPolicies.Builder create ( java.lang.String guid ) { final org.ovirt.engine.core.compat.Guid realGuid = org.ovirt.engine.core.compat.Guid.createGuidFromString ( guid ) ; final org.ovirt.engine.core.bll.scheduling.InternalClusterPolicies.Builder builder = new org.ovirt.engine.core.bll.scheduling.InternalClusterPolicies.Builder ( realGuid ) ; org.ovirt.engine.core.bll.scheduling.InternalClusterPolicies.clusterPolicies.put ( realGuid , builder.getPolicy ( ) ) ; return builder ; }

Target:
private org.ovirt.engine.core.bll.scheduling.InternalClusterPolicies.PolicyBuilder register ( ) { org.ovirt.engine.core.bll.scheduling.InternalClusterPolicies.clusterPolicies.put ( policy.getId ( ) , policy ) ; return this ; }
Source:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.webadmin.ApplicationConstants applicationConstants , org.ovirt.engine.ui.common.uicommon.model.SearchableDetailModelProvider < org.ovirt.engine.core.common.businessentities.Permission , org.ovirt.engine.ui.uicommonweb.models.datacenters.DataCenterListModel , org.ovirt.engine.ui.uicommonweb.models.configure.PermissionListModel < org.ovirt.engine.core.common.businessentities.StoragePool > > modelProvider ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( applicationConstants.dataCenterPermissionSubTabLabel ( ) , 5 , modelProvider ) ; }

Target:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.common.uicommon.model.SearchableDetailModelProvider < org.ovirt.engine.core.common.businessentities.Permission , org.ovirt.engine.ui.uicommonweb.models.datacenters.DataCenterListModel , org.ovirt.engine.ui.uicommonweb.models.configure.PermissionListModel < org.ovirt.engine.core.common.businessentities.StoragePool > > modelProvider ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( org.ovirt.engine.ui.webadmin.section.main.presenter.tab.datacenter.SubTabDataCenterPermissionPresenter.constants.dataCenterPermissionSubTabLabel ( ) , 5 , modelProvider ) ; }
Source:
protected void updateModel ( org.ovirt.engine.ui.uicommonweb.models.vms.ISpice spice , boolean value ) { spice.setSendCtrlAltDelete ( value ) ; spice.setNoTaskMgrExecution ( value ) ; }

Target:
protected void updateModel ( org.ovirt.engine.ui.uicommonweb.models.vms.ISpice spice , boolean value ) { spice.setRemapCtrlAltDel ( value ) ; }
Source:
public boolean isEnableCallBack ( ) { return cmdEntity.isEnableCallBack ( ) ; }

Target:
public boolean isCallBackEnabled ( ) { return cmdEntity.isCallBackEnabled ( ) ; }
Source:
public void cancelConfirmation ( ) { setConfirmWindow ( null ) ; }

Target:
public void cancelConfirmation ( ) { org.ovirt.engine.ui.uicommonweb.models.clusters.ClusterListModel.setConfirmWindow ( null ) ; }
Source:
public org.ovirt.engine.core.common.businessentities.SubjectEntity mapRow ( java.sql.ResultSet rs , int rowNum ) throws java.sql.SQLException { return new org.ovirt.engine.core.common.businessentities.SubjectEntity ( org.ovirt.engine.core.common.VdcObjectType.valueOf ( rs.getString ( "entity_type" ) ) , getGuidDefaultEmpty ( rs , "entity_id" ) ) ; }

Target:
protected org.ovirt.engine.core.common.businessentities.SubjectEntity createSubjectEntity ( ) { return new org.ovirt.engine.core.common.businessentities.SubjectEntity ( ) ; }
Source:
public void testDiskAttachedToAnyNonDownVM ( ) { org.junit.Assert.assertThat ( validator.isDiskPluggedToAnyNonDownVm ( false ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }

Target:
public void testDiskAttachedToAnyNonDownVM ( ) { org.hamcrest.MatcherAssert.assertThat ( validator.isDiskPluggedToAnyNonDownVm ( false ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }
Source:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { expanderContent.getStyle ( ) . setDisplay ( ( expander.isDown ( ) ? Style.Display.BLOCK : Style.Display.NONE ) ) ; }

Target:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { expanderContent.getStyle ( ) . setDisplay ( ( expander.isDown ( ) ? com.google.gwt.dom.client.Style.Display.BLOCK : com.google.gwt.dom.client.Style.Display.NONE ) ) ; }
Source:
public void setboot_sequence ( org.ovirt.engine.core.common.businessentities.BootSequence value ) { this . boot_sequence = value ; }

Target:
public java.lang.Integer getDisplaySecurePort ( ) { return this . displaySecurePort ; }
Source:
public void trace ( java.lang.Object arg0 ) { if ( log.isTraceEnabled ( ) ) { log.trace ( addPrefixToLogMessage ( arg0 ) ) ; } }

Target:
public void trace ( java.lang.Object msg ) { if ( log.isTraceEnabled ( ) ) { log.trace ( addPrefixToLogMessage ( msg ) ) ; } }
Source:
private org.ovirt.engine.core.compat.Version getCompatibilityVersion ( ) { return null ; }

Target:
public org.ovirt.engine.ui.uicommonweb.models.configure.PermissionListModel getPermissionListModel ( ) { return permissionListModel ; }
Source:
public org.ovirt.engine.api.model.Images list ( ) { org.ovirt.engine.core.common.queries.GetImagesListParameters getImagesListParams = new org.ovirt.engine.core.common.queries.GetImagesListParameters ( storageDomainId , org.ovirt.engine.core.common.businessentities.storage.ImageFileType.All ) ; getImagesListParams.setForceRefresh ( true ) ; return mapCollection ( getBackendCollection ( VdcQueryType.GetImagesList , getImagesListParams ) ) ; }

Target:
public org.ovirt.engine.api.model.Images list ( ) { org.ovirt.engine.core.common.queries.GetImagesListParameters getImagesListParams = new org.ovirt.engine.core.common.queries.GetImagesListParameters ( storageDomainId , org.ovirt.engine.core.common.businessentities.storage.ImageFileType.All ) ; getImagesListParams.setForceRefresh ( true ) ; return mapCollection ( getBackendCollection ( QueryType.GetImagesList , getImagesListParams ) ) ; }
Source:
public void testAllowedHostedEngineEditing ( ) { org.ovirt.engine.core.bll.UpdateVmCommandTest.mcr.mockConfigValue ( ConfigValues.AllowEditingHostedEngine , true ) ; vmStatic.setOrigin ( OriginType.MANAGED_HOSTED_ENGINE ) ; boolean validInput = command.validateInputs ( ) ; org.junit.Assert.assertThat ( validInput , org.hamcrest.core.Is.is ( true ) ) ; }

Target:
public void testAllowedHostedEngineEditing ( ) { vmStatic.setOrigin ( OriginType.MANAGED_HOSTED_ENGINE ) ; boolean validInput = command.validateInputs ( ) ; org.hamcrest.MatcherAssert.assertThat ( validInput , org.hamcrest.core.Is.is ( true ) ) ; }
Source:
public void executed ( org.ovirt.engine.ui.uicompat.FrontendActionAsyncResult result ) { PostOnSave ( result.getReturnValue ( ) ) ; }

Target:
public void executed ( org.ovirt.engine.ui.uicompat.FrontendActionAsyncResult result ) { postOnSave ( result.getReturnValue ( ) ) ; }
Source:
public void testIsManagementNetworkNameInGivenClusterNegative ( ) throws java.lang.Exception { testIsManagementNetworkNameInGivenClusterCommon ( ( "not" + ( org.ovirt.engine.core.bll.network.cluster.ManagementNetworkUtilImplTest.TEST_NETWORK_NAME ) ) , false ) ; }

Target:
public void testIsManagementNetworkNameInGivenClusterNegative ( ) throws java.lang.Exception { testIsManagementNetworkNameInGivenClusterCommon ( ( "not" + ( org.ovirt.engine.core.bll.network.cluster.ManagementNetworkUtilImplTest.TEST_NETWORK_NAME ) ) , org.ovirt.engine.core.bll.network.cluster.ManagementNetworkUtilImplTest.TEST_CLUSTER_ID , false ) ; }
Source:
private javax.ws.rs.core.Response addToMissingServers ( org.ovirt.engine.api.model.Action action ) { return doAction ( VdcActionType.AddGlusterHook , new org.ovirt.engine.core.common.action.gluster.GlusterHookManageParameters ( guid ) , action ) ; }

Target:
private javax.ws.rs.core.Response addToMissingServers ( org.ovirt.engine.api.model.Action action ) { return doAction ( ActionType.AddGlusterHook , new org.ovirt.engine.core.common.action.gluster.GlusterHookManageParameters ( guid ) , action ) ; }