auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void put ( org.ovirt.engine.core.compat.Guid commandId , org.ovirt.engine.core.compat.Guid rootCommandId , org.ovirt.engine.core.common.action.VdcActionType actionType , org.ovirt.engine.core.common.action.VdcActionParametersBase params , org.ovirt.engine.core.compat.CommandStatus status ) ;

Target:
public void put ( org.ovirt.engine.core.compat.Guid commandId , org.ovirt.engine.core.compat.Guid rootCommandId , org.ovirt.engine.core.common.action.VdcActionType actionType , org.ovirt.engine.core.common.action.VdcActionParametersBase params , org.ovirt.engine.core.compat.CommandStatus status , boolean enableCallBack ) ;
Source:
protected boolean CheckStoragePoolNameLengthValid ( ) { boolean result = true ; if ( ( org.ovirt.engine.core.bll.storage.StorageHandlingCommandBase.getStoragePool ( ) . getname ( ) . length ( ) ) > ( getStoragePoolNameSizeLimit ( ) ) ) { result = false ; addCanDoActionMessage ( VdcBllMessages.ACTION_TYPE_FAILED_NAME_LENGTH_IS_TOO_LONG ) ; } return result ; }

Target:
protected boolean checkStoragePoolNameLengthValid ( ) { boolean result = true ; if ( ( org.ovirt.engine.core.bll.storage.StorageHandlingCommandBase.getStoragePool ( ) . getname ( ) . length ( ) ) > ( getStoragePoolNameSizeLimit ( ) ) ) { result = false ; addCanDoActionMessage ( VdcBllMessages.ACTION_TYPE_FAILED_NAME_LENGTH_IS_TOO_LONG ) ; } return result ; }
Source:
protected void updateVmDisks ( ) { org.ovirt.engine.core.bll.VmHandler.updateDisksFromDb ( org.ovirt.engine.core.bll.AddVmTemplateCommand.getVm ( ) ) ; for ( org.ovirt.engine.core.common.businessentities.DiskImage diskImage : org.ovirt.engine.core.bll.AddVmTemplateCommand.getVm ( ) . getDiskList ( ) ) { mImages.add ( diskImage ) ; } }

Target:
protected void updateVmDisks ( ) { org.ovirt.engine.core.bll.VmHandler.updateDisksFromDb ( org.ovirt.engine.core.bll.AddVmTemplateCommand.getVm ( ) ) ; org.ovirt.engine.core.bll.VmHandler.filterImageDisksForVM ( org.ovirt.engine.core.bll.AddVmTemplateCommand.getVm ( ) , false , false , true ) ; mImages.addAll ( org.ovirt.engine.core.bll.AddVmTemplateCommand.getVm ( ) . getDiskList ( ) ) ; }
Source:
public void setWANDisableEffects ( java.util.List < org.ovirt.engine.ui.uicommonweb.models.vms.WANDisableEffects > disableEffects ) { this . wanDisableEffects = disableEffects ; getWANDisableEffectsChangeEvent ( ) . raise ( this , EventArgs.EMPTY ) ; }

Target:
public void setOptions ( org.ovirt.engine.core.common.console.ConsoleOptions consoleOptions ) { this . consoleOptions = consoleOptions ; }
Source:
public void template_SelectedItemChanged ( ) { getModel ( ) . setIsDisksAvailable ( true ) ; }

Target:
public void template_SelectedItemChanged ( ) { getModel ( ) . setIsDisksAvailable ( true ) ; org.ovirt.engine.core.common.businessentities.VmTemplate template = getModel ( ) . getTemplate ( ) . getSelectedItem ( ) ; updateRngDevice ( template.getId ( ) ) ; }
Source:
public void setDisplay ( java.lang.Integer value ) { this . vmDynamic.setDisplay ( value ) ; }

Target:
public java.lang.String getEmulatedMachine ( ) { return this . vmDynamic.getEmulatedMachine ( ) ; }
Source:
protected org.ovirt.engine.api.model.GlusterBrick doPopulate ( org.ovirt.engine.api.model.GlusterBrick model , org.ovirt.engine.core.common.businessentities.gluster.GlusterBrickEntity entity ) { return populateAdvancedDetails ( model , entity ) ; }

Target:
protected org.ovirt.engine.api.model.GlusterBrick doPopulate ( org.ovirt.engine.api.model.GlusterBrick model , org.ovirt.engine.core.common.businessentities.gluster.GlusterBrickEntity entity ) { return parent.populateAdvancedDetails ( model , entity ) ; }
Source:
public void validateFailsOnNull ( ) { cmd = org.mockito.Mockito.spy ( new org.ovirt.engine.core.bll.gluster.ManageGlusterServiceCommand ( new org.ovirt.engine.core.common.action.gluster.GlusterServiceParameters ( null , null , org.ovirt.engine.core.common.businessentities.gluster.ServiceType.NFS , org.ovirt.engine.core.common.constants.gluster.GlusterConstants.MANAGE_GLUSTER_SERVICE_ACTION_TYPE_START ) , null ) ) ; prepareMocks ( cmd ) ; org.junit.Assert.assertFalse ( cmd.validate ( ) ) ; }

Target:
public void validateSucceedsWithStopActionType ( ) { cmd.getParameters ( ) . setActionType ( GlusterConstants.MANAGE_GLUSTER_SERVICE_ACTION_TYPE_STOP ) ; prepareMocks ( cmd ) ; org.junit.Assert.assertFalse ( cmd.validate ( ) ) ; }
Source:
java.util.concurrent.FutureTask < java.util.Map < java.lang.String , java.lang.Object > > poll ( ) ;

Target:
org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturn glusterWebhookUpdate ( java.lang.String url , java.lang.String bearerToken ) ;
Source:
public void setusage_network_percent ( java.lang.Integer value ) { this . mVdsStatistics.setusage_network_percent ( value ) ; OnPropertyChanged ( new org.ovirt.engine.core.compat.PropertyChangedEventArgs ( "usage_network_percent" ) ) ; }

Target:
public void setmem_commited ( java.lang.Integer value ) { this . mVdsDynamic.setmem_commited ( value ) ; calculateFreeVirtualMemory ( ) ; }
Source:
protected org.ovirt.engine.core.bll.validator.storage.StorageConnectionValidator createStorageConnectionValidator ( ) { java.lang.String connectionId = org.ovirt.engine.core.bll.storage.AttachStorageConnectionToStorageDomainCommand.getParameters ( ) . getStorageConnectionId ( ) ; org.ovirt.engine.core.common.businessentities.StorageServerConnections connection = org.ovirt.engine.core.bll.storage.AttachStorageConnectionToStorageDomainCommand.getStorageServerConnectionDAO ( ) . get ( connectionId ) ; return new org.ovirt.engine.core.bll.validator.storage.StorageConnectionValidator ( connection ) ; }

Target:
protected org.ovirt.engine.core.bll.validator.storage.StorageConnectionValidator createStorageConnectionValidator ( ) { java.lang.String connectionId = org.ovirt.engine.core.bll.storage.AttachStorageConnectionToStorageDomainCommand.getParameters ( ) . getStorageConnectionId ( ) ; org.ovirt.engine.core.common.businessentities.StorageServerConnections connection = org.ovirt.engine.core.bll.storage.AttachStorageConnectionToStorageDomainCommand.getStorageServerConnectionDao ( ) . get ( connectionId ) ; return new org.ovirt.engine.core.bll.validator.storage.StorageConnectionValidator ( connection ) ; }
Source:
public void run ( ) { runInternalAction ( VdcActionType.PersistentSetupNetworks , params , cloneContextAndDetachFromParent ( ) ) ; }

Target:
public void run ( ) { runInternalAction ( VdcActionType.PersistentHostSetupNetworks , params , cloneContextAndDetachFromParent ( ) ) ; }
Source:
public java.util.concurrent.Future < java.util.Map < java.lang.String , java.lang.Object > > setupNetworks ( org.ovirt.engine.core.vdsbroker.xmlrpc.XmlRpcStruct networks , org.ovirt.engine.core.vdsbroker.xmlrpc.XmlRpcStruct bonds , org.ovirt.engine.core.vdsbroker.xmlrpc.XmlRpcStruct options ) { return vdsServer.futureSetupNetworks ( networks.getInnerMap ( ) , bonds.getInnerMap ( ) , options.getInnerMap ( ) ) ; }

Target:
public org.ovirt.engine.core.vdsbroker.irsbroker.StoragePoolInfoReturnForXmlRpc getStoragePoolInfo ( java.lang.String spUUID ) { java.util.Map < java.lang.String , java.lang.Object > xmlRpcReturnValue = vdsServer.getStoragePoolInfo ( spUUID ) ; org.ovirt.engine.core.vdsbroker.irsbroker.StoragePoolInfoReturnForXmlRpc wrapper = new org.ovirt.engine.core.vdsbroker.irsbroker.StoragePoolInfoReturnForXmlRpc ( xmlRpcReturnValue ) ; return wrapper ; }
Source:
private void addStyles ( ) { }

Target:
private void createTables ( org.ovirt.engine.ui.uicommonweb.models.storage.RegisterEntityModel model ) { createEntityTable ( model ) ; createInfoPanel ( ) ; entityTable.asEditor ( ) . edit ( model.getEntities ( ) ) ; }
Source:
public org.ovirt.engine.core.common.action.MaintenanceNumberOfVdssParameters createMaintenanceParams ( ) { org.ovirt.engine.core.common.action.MaintenanceNumberOfVdssParameters params = new org.ovirt.engine.core.common.action.MaintenanceNumberOfVdssParameters ( java.util.Collections.singletonList ( org.ovirt.engine.core.bll.hostdeploy.UpgradeHostCommand.getVdsId ( ) ) , true , "" , true ) ; return withRootCommandInfo ( params ) ; }

Target:
public org.ovirt.engine.core.common.action.MaintenanceNumberOfVdssParameters createMaintenanceParams ( ) { org.ovirt.engine.core.common.action.MaintenanceNumberOfVdssParameters params = new org.ovirt.engine.core.common.action.MaintenanceNumberOfVdssParameters ( java.util.Collections.singletonList ( org.ovirt.engine.core.bll.hostdeploy.UpgradeHostCommand.getVdsId ( ) ) , true , "" , org.ovirt.engine.core.bll.hostdeploy.UpgradeHostCommand.getVds ( ) . getClusterSupportsGlusterService ( ) ) ; return withRootCommandInfo ( params ) ; }
Source:
public void addQuotaPermissionSubject ( java.util.List < org.ovirt.engine.core.bll.utils.PermissionSubject > quotaPermissionList ) { }

Target:
protected java.util.List < org.ovirt.engine.core.compat.Guid > getVdsWhiteList ( ) { return null ; }
Source:
private org.ovirt.engine.core.bll.snapshots.SnapshotsValidator mockSnapshotValidator ( ) { org.ovirt.engine.core.bll.snapshots.SnapshotsValidator snapshotsValidator = org.mockito.Mockito.mock ( org.ovirt.engine.core.bll.snapshots.SnapshotsValidator.class ) ; org.mockito.Mockito.when ( snapshotsValidator.vmNotDuringSnapshot ( org.mockito.Matchers.any ( org.ovirt.engine.core.compat.Guid.class ) ) ) . thenReturn ( new org.ovirt.engine.core.bll.ValidationResult ( ) ) ; return snapshotsValidator ; }

Target:
private org.ovirt.engine.core.bll.snapshots.SnapshotsValidator mockSnapshotValidator ( ) { org.ovirt.engine.core.bll.snapshots.SnapshotsValidator snapshotsValidator = org.mockito.Mockito.mock ( org.ovirt.engine.core.bll.snapshots.SnapshotsValidator.class ) ; org.mockito.Mockito.when ( snapshotsValidator.vmNotDuringSnapshot ( org.mockito.Matchers.any ( org.ovirt.engine.core.compat.Guid.class ) ) ) . thenReturn ( ValidationResult.VALID ) ; return snapshotsValidator ; }
Source:
public boolean CheckDBConnection ( ) { return ( new org.springframework.jdbc.core.simple.SimpleJdbcCall ( jdbcTemplate ) . withProcedureName ( "CheckDBConnection" ) . execute ( ) ) != null ; }

Target:
public boolean checkDBConnection ( ) { return ( new org.springframework.jdbc.core.simple.SimpleJdbcCall ( jdbcTemplate ) . withProcedureName ( "CheckDBConnection" ) . execute ( ) ) != null ; }
Source:
public void executed ( org.ovirt.engine.ui.uicompat.FrontendActionAsyncResult result ) { sourceListModel.getSearchCommand ( ) . Execute ( ) ; }

Target:
private void cancel ( ) { sourceListModel.setWindow ( null ) ; }
Source:
protected void finalize ( ) throws java.lang.Throwable { try { wrapperShutdown ( ) ; } finally { super . finalize ( ) ; } }

Target:
protected void finalize ( ) throws java.lang.Throwable { try { shutdown ( ) ; } finally { super . finalize ( ) ; } }
Source:
private org.ovirt.engine.core.common.businessentities.VDS getHostModel ( ) { org.ovirt.engine.core.common.businessentities.VDS vds = new org.ovirt.engine.core.common.businessentities.VDS ( ) ; vds.setId ( org.ovirt.engine.api.restapi.resource.BackendHostNicsResourceTest.PARENT_GUID ) ; vds.setVdsGroupId ( GUIDS [ 0 ] ) ; return vds ; }

Target:
private org.ovirt.engine.core.common.businessentities.VDS getHostModel ( ) { org.ovirt.engine.core.common.businessentities.VDS vds = new org.ovirt.engine.core.common.businessentities.VDS ( ) ; vds.setId ( org.ovirt.engine.api.restapi.resource.BackendHostNicsResourceTest.PARENT_GUID ) ; vds.setClusterId ( GUIDS [ 0 ] ) ; return vds ; }
Source:
public void saveInterfaceForVds ( org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface nic ) { persistQosChanges ( nic ) ; org.springframework.jdbc.core.namedparam.MapSqlParameterSource parameterSource = createInterfaceParametersMapper ( nic ) ; getCallsHandler ( ) . executeModification ( "Insertvds_interface" , parameterSource ) ; }

Target:
public void saveInterfaceForVds ( org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface nic ) { hostNetworkQosDao.persistQosChanges ( nic.getId ( ) , nic.getQos ( ) ) ; org.springframework.jdbc.core.namedparam.MapSqlParameterSource parameterSource = createInterfaceParametersMapper ( nic ) ; getCallsHandler ( ) . executeModification ( "Insertvds_interface" , parameterSource ) ; }
Source:
org.ovirt.engine.core.vdsbroker.irsbroker.StatusReturnForXmlRpc prepareMerge ( java.lang.String spUUID , java.lang.String jobUUID , java.util.Map < java.lang.String , java.lang.String > subchainInfo ) ;

Target:
org.ovirt.engine.core.vdsbroker.irsbroker.OneUuidReturn moveImage ( java.lang.String spUUID , java.lang.String srcDomUUID , java.lang.String dstDomUUID , java.lang.String imgGUID , java.lang.String vmGUID , int op , java.lang.String postZero , java.lang.Boolean discard , java.lang.String force ) ;
Source:
public static java.lang.String getConstraint ( javax.ws.rs.core.UriInfo uriInfo , java.lang.Class < ? > clz , boolean typePrefix ) { return org.ovirt.engine.api.common.util.QueryHelper.getConstraint ( uriInfo , null , clz , typePrefix ) ; }

Target:
public static java.lang.String getConstraint ( javax.ws.rs.core.HttpHeaders headers , javax.ws.rs.core.UriInfo ui , java.lang.Class < ? > clz , boolean typePrefix ) { return org.ovirt.engine.api.common.util.QueryHelper.getConstraint ( headers , ui , null , clz , typePrefix ) ; }
Source:
public void testGetManagedInterfaceForVdsFilteringDisabledForUnpriviligedUser ( ) { 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 , false ) ; org.ovirt.engine.core.dao.network.InterfaceDaoTest.assertCorrectGetManagedInterfaceForVdsResult ( result ) ; }

Target:
public void testGetManagedInterfaceForVdsFilteringDisabledForUnpriviligedUser ( ) { 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 , false ) ; org.ovirt.engine.core.dao.network.InterfaceDaoImplTest.assertCorrectGetManagedInterfaceForVdsResult ( result ) ; }
Source:
public void testGetAllByVMName ( ) { org.ovirt.engine.core.dao.AuditLogDAOTest.assertGetByNameValidResults ( dao.getAllByVMName ( org.ovirt.engine.core.dao.AuditLogDAOTest.VM_NAME ) ) ; }

Target:
public void testGetAllByVMIdInvalidId ( ) { org.ovirt.engine.core.dao.AuditLogDAOTest.assertGetByNameInvalidResults ( dao.getAllByVMId ( org.ovirt.engine.core.compat.Guid.newGuid ( ) ) ) ; }
Source:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { if ( ( ( java.lang.Boolean ) ( object.getOptimizationCustom_IsSelected ( ) . getEntity ( ) ) ) ) { optimizationCustomFormatter ( object ) ; optimizationCustomEditor.setVisible ( true ) ; } }

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

Target:
public int getVmMemSizeMb ( ) { return this . vmStatic.getmem_size_mb ( ) ; }
Source:
public void testInterfaceAlreadyLabeledWithWhenInterfaceIsNotLabeled ( ) { org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface vdsNetworkInterface = createVdsNetworkInterfaceWithName ( ) ; vdsNetworkInterface.setLabels ( new java.util.HashSet < > ( ) ) ; org.junit.Assert.assertThat ( new org.ovirt.engine.core.bll.validator.HostInterfaceValidator ( vdsNetworkInterface ) . interfaceAlreadyLabeledWith ( "labelA" ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }

Target:
public void testInterfaceAlreadyLabeledWithWhenInterfaceIsNotLabeled ( ) { org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface vdsNetworkInterface = createVdsNetworkInterfaceWithName ( ) ; vdsNetworkInterface.setLabels ( new java.util.HashSet < > ( ) ) ; org.hamcrest.MatcherAssert.assertThat ( new org.ovirt.engine.core.bll.validator.HostInterfaceValidator ( vdsNetworkInterface ) . interfaceAlreadyLabeledWith ( "labelA" ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }
Source:
public void testJsonNullDiskDescription ( ) throws java.io.IOException { java.lang.String jsonDescription = org.ovirt.engine.core.bll.ImagesHandler.getJsonDiskDescription ( "DiskAlias" , null ) ; org.junit.Assert.assertTrue ( "Should be map of disk alias and disk description" , jsonDescription.equals ( "{\"DiskAlias\":\"DiskAlias\",\"DiskDescription\":\"\"}" ) ) ; }

Target:
public void testJsonNullDiskDescription ( ) throws java.io.IOException { org.ovirt.engine.core.bll.ImagesHandlerTest.assertDiskDescriptionMap ( "DiskAlias" , null ) ; }
Source:
private org.ovirt.engine.core.common.businessentities.network.Network findConfigDefaultEngineManagementNetwork ( org.ovirt.engine.core.compat.Guid dataCenterId ) { return networkDao.getByNameAndDataCenter ( org.ovirt.engine.core.utils.NetworkUtils.getDefaultManagementNetworkName ( ) , dataCenterId ) ; }

Target:
private org.ovirt.engine.core.common.businessentities.network.Network findConfigDefaultEngineManagementNetwork ( org.ovirt.engine.core.compat.Guid dataCenterId ) { return networkDao.getByNameAndDataCenter ( managementNetworkUtil.getDefaultManagementNetworkName ( ) , dataCenterId ) ; }
Source:
public abstract void template_SelectedItemChanged ( ) ;

Target:
public void templateWithVersion_SelectedItemChanged ( ) { }
Source:
public boolean CheckIfCpusExist ( java.lang.String cpuName ) { return ( cpuName != null ) && ( ( _intelCpuByNameDictionary.containsKey ( cpuName ) ) || ( _amdCpuByNameDictionary.containsKey ( cpuName ) ) ) ; }

Target:
public boolean CheckIfCpusExist ( java.lang.String cpuName ) { return ( cpuName != null ) && ( ( ( _intelCpuByNameDictionary.containsKey ( cpuName ) ) || ( _amdCpuByNameDictionary.containsKey ( cpuName ) ) ) || ( _ibmCpuByNameDictionary.containsKey ( cpuName ) ) ) ; }
Source:
protected org.ovirt.engine.core.compat.Guid findImageForSameDrive ( org.ovirt.engine.core.common.businessentities.Snapshot.SnapshotType snapshotType ) { return findImageForSameDrive ( snapshotDao.getId ( org.ovirt.engine.core.bll.storage.disk.image.BaseImagesCommand.getVmDao ( ) . getVmsListForDisk ( getImage ( ) . getId ( ) , false ) . get ( 0 ) . getId ( ) , snapshotType ) ) ; }

Target:
protected org.ovirt.engine.core.compat.Guid findImageForSameDrive ( org.ovirt.engine.core.common.businessentities.Snapshot.SnapshotType snapshotType ) { return findImageForSameDrive ( snapshotDao.getId ( vmDao.getVmsListForDisk ( getImage ( ) . getId ( ) , false ) . get ( 0 ) . getId ( ) , snapshotType ) ) ; }
Source:
public void log ( org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase auditLogable ) { org.ovirt.engine.core.common.AuditLogType logType = auditLogable.getAuditLogTypeValue ( ) ; log ( auditLogable , logType ) ; }

Target:
public static void log ( org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase auditLogable ) { org.ovirt.engine.core.common.AuditLogType logType = auditLogable.getAuditLogTypeValue ( ) ; org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.log ( auditLogable , logType ) ; }
Source:
private org.ovirt.engine.core.common.businessentities.DiskImage createDiskImage ( org.ovirt.engine.core.common.businessentities.ImageStatus status ) { org.ovirt.engine.core.common.businessentities.DiskImage disk = new org.ovirt.engine.core.common.businessentities.DiskImage ( ) ; disk.setId ( org.ovirt.engine.core.compat.Guid.NewGuid ( ) ) ; disk.setImageStatus ( status ) ; return disk ; }

Target:
private org.ovirt.engine.core.common.businessentities.DiskImage createDiskImage ( org.ovirt.engine.core.common.businessentities.ImageStatus status ) { org.ovirt.engine.core.common.businessentities.DiskImage disk = new org.ovirt.engine.core.common.businessentities.DiskImage ( ) ; disk.setId ( org.ovirt.engine.core.compat.Guid.newGuid ( ) ) ; disk.setImageStatus ( status ) ; return disk ; }
Source:
public final void updateSessionLastActiveTime ( java.lang.String sessionId ) { if ( isSessionExists ( sessionId ) ) { setData ( sessionId , org.ovirt.engine.core.bll.aaa.SessionDataContainer.SESSION_LAST_ACTIVE_TIME , new java.util.Date ( ) ) ; } }

Target:
public final void updateSessionLastActiveTime ( java.lang.String sessionId ) { if ( isSessionExists ( sessionId ) ) { setData ( sessionId , org.ovirt.engine.core.bll.aaa.SessionDataContainer.SESSION_LAST_ACTIVE_TIME , new java.util.Date ( ) ) ; refresh ( sessionId ) ; } }
Source:
java.lang.String numberValidationNumberBetweenInvalidReason ( java.lang.String prefixMsg , java.lang.String min , java.lang.String max ) ;

Target:
java.lang.String numberValidationNumberLessInvalidReason ( java.lang.String prefixMsg , java.lang.String max ) ;
Source:
public static boolean isManagementNetwork ( org.ovirt.engine.core.common.businessentities.network.Network net ) { return org.ovirt.engine.core.utils.NetworkUtils.isManagementNetwork ( net.getName ( ) ) ; }

Target:
private static boolean isQosInSync ( org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface iface , org.ovirt.engine.core.common.businessentities.network.HostNetworkQos networkQos ) { org.ovirt.engine.core.common.businessentities.network.HostNetworkQos ifaceQos = iface.getQos ( ) ; return org.ovirt.engine.core.utils.NetworkUtils.qosParametersEqual ( ifaceQos , networkQos ) ; }
Source:
protected java.util.List < java.lang.String > getEntityNames ( org.ovirt.engine.core.common.scheduling.AffinityGroup object ) { return object.getEntityNames ( ) ; }

Target:
protected java.util.List < java.lang.String > getEntityNames ( org.ovirt.engine.core.common.scheduling.AffinityGroup object ) { return object.getVmEntityNames ( ) ; }
Source:
protected java.util.List < ? extends org.ovirt.engine.core.bll.memory.storageDomainFilters.StorageDomainFilter > getStorageDomainFilters ( ) { return java.util.Arrays.asList ( new org.ovirt.engine.core.bll.memory.storageDomainFilters.StorageDomainStatusFilter ( ) , new org.ovirt.engine.core.bll.memory.storageDomainFilters.StorageDomainTypeFilter ( ) , new org.ovirt.engine.core.bll.memory.storageDomainFilters.StorageDomainSpaceRequirementsFilter ( ) ) ; }

Target:
protected java.util.List < ? extends org.ovirt.engine.core.bll.memory.sdfilters.StorageDomainFilter > getStorageDomainFilters ( ) { return java.util.Arrays.asList ( new org.ovirt.engine.core.bll.memory.sdfilters.StorageDomainStatusFilter ( ) , new org.ovirt.engine.core.bll.memory.sdfilters.StorageDomainTypeFilter ( ) , new org.ovirt.engine.core.bll.memory.sdfilters.StorageDomainSpaceRequirementsFilter ( ) ) ; }
Source:
public void Executed ( org.ovirt.engine.ui.uicompat.FrontendMultipleActionAsyncResult result ) { org.ovirt.engine.ui.uicommonweb.models.ConfirmationModel localModel = ( ( org.ovirt.engine.ui.uicommonweb.models.ConfirmationModel ) ( result.getState ( ) ) ) ; localModel.StopProgress ( ) ; Cancel ( ) ; }

Target:
public void executed ( org.ovirt.engine.ui.uicompat.FrontendMultipleActionAsyncResult result ) { }
Source:
protected org.ovirt.engine.core.common.businessentities.network.NetworkAttachment postPopulate ( org.ovirt.engine.core.common.businessentities.network.NetworkAttachment model ) { model.getIpAddressAssignments ( ) . getIpAddressAssignments ( ) . get ( 0 ) . setAssignmentMethod ( "dhcp" ) ; model.getQos ( ) . setType ( QosType.HOSTNETWORK ) ; return super . postPopulate ( model ) ; }

Target:
protected org.ovirt.engine.core.common.businessentities.network.NetworkAttachment postPopulate ( org.ovirt.engine.core.common.businessentities.network.NetworkAttachment model ) { model.getIpAddressAssignments ( ) . getIpAddressAssignments ( ) . get ( 0 ) . setAssignmentMethod ( BootProtocol.DHCP ) ; model.getQos ( ) . setType ( QosType.HOSTNETWORK ) ; return super . postPopulate ( model ) ; }
Source:
public void testGetForCluster ( ) { org.ovirt.engine.core.common.businessentities.StoragePool result = dao.getForCluster ( FixturesTool.CLUSTER ) ; org.junit.Assert.assertNotNull ( result ) ; }

Target:
public void testGetForCluster ( ) { org.ovirt.engine.core.common.businessentities.StoragePool result = dao.getForCluster ( FixturesTool.CLUSTER ) ; org.junit.jupiter.api.Assertions.assertNotNull ( result ) ; }
Source:
public void fireEvent ( com.google.gwt.event.shared.GwtEvent < ? > event ) { eventBus.fireEvent ( event ) ; }

Target:
public void fireEvent ( com.google.gwt.event.shared.GwtEvent < ? > event ) { eventBus.fireEventFromSource ( event , modelProvider.getModel ( ) ) ; }
Source:
public void testGetByHostName ( ) { org.ovirt.engine.core.common.businessentities.VdsStatic vds = dao.getByHostName ( existingEntity.getHostName ( ) ) ; org.junit.Assert.assertNotNull ( vds ) ; org.junit.Assert.assertEquals ( existingEntity.getHostName ( ) , vds.getHostName ( ) ) ; }

Target:
public void testGetByHostName ( ) { org.ovirt.engine.core.common.businessentities.VdsStatic vds = dao.getByHostName ( existingEntity.getHostName ( ) ) ; org.junit.jupiter.api.Assertions.assertNotNull ( vds ) ; org.junit.jupiter.api.Assertions.assertEquals ( existingEntity.getHostName ( ) , vds.getHostName ( ) ) ; }
Source:
protected java.util.Map < java.lang.String , org.ovirt.engine.core.common.utils.Pair < java.lang.String , java.lang.String > > getExclusiveLocks ( ) { return java.util.Collections.singletonMap ( org.ovirt.engine.core.bll.MoveOrCopyDiskCommand.getImage ( ) . getId ( ) . toString ( ) , org.ovirt.engine.core.bll.LockMessagesMatchUtil.makeLockingPair ( LockingGroup.DISK , VdcBllMessages.ACTION_TYPE_FAILED_OBJECT_LOCKED ) ) ; }

Target:
private boolean canFindVmOrTemplate ( ) { if ( ( org.ovirt.engine.core.bll.MoveOrCopyDiskCommand.getParameters ( ) . getOperation ( ) ) == ( org.ovirt.engine.core.common.businessentities.ImageOperation.Copy ) ) { if ( ( org.ovirt.engine.core.bll.MoveOrCopyDiskCommand.getVmTemplate ( ) ) == null ) { return failCanDoAction ( VdcBllMessages.ACTION_TYPE_FAILED_TEMPLATE_DOES_NOT_EXIST ) ; } } return true ; }
Source:
java.util.List < org.ovirt.engine.core.common.businessentities.Permissions > getAllForEntity ( org.ovirt.engine.core.compat.Guid id , org.ovirt.engine.core.compat.Guid userID , boolean isFiltered ) ;

Target:
java.util.List < org.ovirt.engine.core.common.businessentities.Permissions > getAllForEntity ( org.ovirt.engine.core.compat.Guid id , long sessionSeqId , boolean isFiltered ) ;
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.getInstance ( ) . getConfigValuePreConverted ( ConfigurationValues.ImportDataStorageDomain , dataCenter.getcompatibility_version ( ) . getValue ( ) ) ) ) ; return ovfStoreOnAnyDomainEnabled ; }
Source:
public void updateGridSize ( int height ) { if ( ! ( heightSet ) ) { resizeGridToContentHeight ( ( height + ( getGridHeaderHeight ( ) ) ) ) ; } }

Target:
public void updateGridSize ( int height ) { if ( ! ( heightSet ) ) { resizeGridToContentHeight ( ( height + ( org.ovirt.engine.ui.common.widget.table.ActionCellTable.getGridHeaderHeight ( ) ) ) ) ; } }
Source:
public void Executed ( org.ovirt.engine.ui.uicompat.FrontendMultipleActionAsyncResult result ) { org.ovirt.engine.ui.uicommonweb.models.vms.ExportVmModel localModel = ( ( org.ovirt.engine.ui.uicommonweb.models.vms.ExportVmModel ) ( result.getState ( ) ) ) ; localModel.StopProgress ( ) ; Cancel ( ) ; }

Target:
public void executed ( org.ovirt.engine.ui.uicompat.FrontendMultipleActionAsyncResult result ) { org.ovirt.engine.ui.uicommonweb.models.ConfirmationModel localModel = ( ( org.ovirt.engine.ui.uicommonweb.models.ConfirmationModel ) ( result.getState ( ) ) ) ; localModel.stopProgress ( ) ; cancel ( ) ; }
Source:
public void testGetAll ( ) { java.util.List < T > result = dao.getAll ( ) ; org.ovirt.engine.core.dao.BaseReadDaoTestCase.assertFalse ( result.isEmpty ( ) ) ; org.ovirt.engine.core.dao.BaseReadDaoTestCase.assertEquals ( getEneitiesTotalCount ( ) , result.size ( ) ) ; }

Target:
public void testGetAll ( ) { java.util.List < T > result = dao.getAll ( ) ; org.ovirt.engine.core.dao.BaseReadDaoTestCase.assertFalse ( result.isEmpty ( ) ) ; org.ovirt.engine.core.dao.BaseReadDaoTestCase.assertEquals ( getEntitiesTotalCount ( ) , result.size ( ) ) ; }
Source:
public void updateStartedExecutionEntitiesToUnknown ( java.util.Date updateTime ) { updateQueryGetResult ( entityManager.createNativeQuery ( "select cast(UpdateStartedExecutionEntitiesToUnknown as text) from UpdateStartedExecutionEntitiesToUnknown(?)" ) . setParameter ( 1 , updateTime ) ) ; }

Target:
public void updateStartedExecutionEntitiesToUnknown ( java.util.Date updateTime ) { updateQueryGetResult ( getEntityManager ( ) . createNativeQuery ( "select cast(UpdateStartedExecutionEntitiesToUnknown as text) from UpdateStartedExecutionEntitiesToUnknown(?)" ) . setParameter ( 1 , updateTime ) ) ; }
Source:
public java.lang.Object getConfigValuePreConverted ( org.ovirt.engine.core.common.queries.ConfigurationValues configValue , java.lang.String version ) { org.ovirt.engine.core.compat.KeyValuePairCompat < org.ovirt.engine.core.common.queries.ConfigurationValues , java.lang.String > key = new org.ovirt.engine.core.compat.KeyValuePairCompat < org.ovirt.engine.core.common.queries.ConfigurationValues , java.lang.String > ( configValue , version ) ; return cachedConfigValuesPreConvert.get ( key ) ; }

Target:
public java.lang.Object getConfigValuePreConverted ( org.ovirt.engine.core.common.queries.ConfigurationValues configValue ) { org.ovirt.engine.core.compat.KeyValuePairCompat < org.ovirt.engine.core.common.queries.ConfigurationValues , java.lang.String > key = new org.ovirt.engine.core.compat.KeyValuePairCompat ( configValue , getDefaultConfigurationVersion ( ) ) ; return cachedConfigValuesPreConvert.get ( key ) ; }
Source:
public void setEntity ( java.lang.Object value ) { if ( ( value == null ) || ( ! ( value.equals ( getEntity ( ) ) ) ) ) { super . setEntity ( value ) ; } }

Target:
public void setEntity ( java.lang.Object value ) { if ( ( value == null ) || ( ! ( value.equals ( getEntity ( ) ) ) ) ) { super . setEntity ( value ) ; updateActionAvailability ( ) ; } }
Source:
public java.lang.String getVerb ( org.ovirt.engine.ui.uicommonweb.models.hosts.network.NetworkItemModel < ? > op1 ) { return ( "Bond " + ( op1.getName ( ) ) ) + " with" ; }

Target:
public java.lang.String getVerb ( org.ovirt.engine.ui.uicommonweb.models.hosts.network.NetworkItemModel < ? > op1 ) { return org.ovirt.engine.ui.uicompat.ConstantsManager.getInstance ( ) . getMessages ( ) . bondWith ( op1.getName ( ) ) ; }
Source:
protected void applyCommonValidationStyles ( ) { super . applyCommonValidationStyles ( ) ; if ( ! ( org.ovirt.engine.ui.common.widget.editor.BaseEntityModelCheckboxEditor.isUsePatternfly ( ) ) ) { org.ovirt.engine.ui.common.widget.editor.BaseEntityModelCheckboxEditor.getValidatedWidgetStyle ( ) . setPadding ( 5 , Unit.PX ) ; } }

Target:
public void hideLabel ( ) { super . hideLabel ( ) ; getCheckboxWidgetLabel ( ) . getStyle ( ) . setDisplay ( Display.NONE ) ; }
Source:
public void updateGlusterHookInSync ( org.ovirt.engine.core.compat.Guid hookId , boolean inSync ) ;

Target:
public void updateGlusterServerHookStatus ( org.ovirt.engine.core.compat.Guid hookId , org.ovirt.engine.core.compat.Guid serverId , org.ovirt.engine.core.common.businessentities.gluster.GlusterHookStatus status ) ;
Source:
protected boolean canDoAction ( ) { if ( ! ( super . canDoAction ( ) ) ) { return false ; } if ( getGeoRepSession ( ) . getStatus ( ) . equals ( GeoRepSessionStatus.STOPPED ) ) { addCanDoActionMessage ( VdcBllMessages.ACTION_TYPE_FAILED_GEOREP_SESSION_STOPPED ) ; } return true ; }

Target:
protected boolean canDoAction ( ) { if ( ! ( super . canDoAction ( ) ) ) { return false ; } if ( getGeoRepSession ( ) . getStatus ( ) . equals ( GeoRepSessionStatus.STOPPED ) ) { addCanDoActionMessage ( EngineMessage.ACTION_TYPE_FAILED_GEOREP_SESSION_STOPPED ) ; } return true ; }
Source:
protected org.ovirt.engine.core.common.businessentities.LdapUser getEntity ( int index ) { org.ovirt.engine.core.common.businessentities.LdapUser entity = new org.ovirt.engine.core.common.businessentities.LdapUser ( ) ; entity.setUserId ( GUIDS [ index ] ) ; entity.setName ( NAMES [ index ] ) ; entity.setDepartment ( org.ovirt.engine.api.restapi.resource.DOMAIN ) ; return entity ; }

Target:
protected org.ovirt.engine.core.common.businessentities.LdapUser getEntity ( int index ) { org.ovirt.engine.core.common.businessentities.LdapUser entity = new org.ovirt.engine.core.common.businessentities.LdapUser ( ) ; entity.setUserId ( EXTERNAL_IDS [ index ] ) ; entity.setName ( NAMES [ index ] ) ; entity.setDepartment ( org.ovirt.engine.api.restapi.resource.DOMAIN ) ; return entity ; }
Source:
public void testRemoveWithParam ( ) { container.setData ( org.ovirt.engine.core.bll.session.SessionDataContainerTest.TEST_SESSION_ID , org.ovirt.engine.core.bll.session.SessionDataContainerTest.TEST_KEY , org.ovirt.engine.core.bll.session.SessionDataContainerTest.TEST_VALUE ) ; container.removeSessionOnLogout ( org.ovirt.engine.core.bll.session.SessionDataContainerTest.TEST_SESSION_ID ) ; org.junit.Assert.assertNull ( "Get should return null since the session was removed" , container.getData ( org.ovirt.engine.core.bll.session.SessionDataContainerTest.TEST_SESSION_ID , org.ovirt.engine.core.bll.session.SessionDataContainerTest.TEST_KEY , false ) ) ; }

Target:
public void testRemoveWithParam ( ) { container.setData ( org.ovirt.engine.core.bll.aaa.SessionDataContainerTest.TEST_SESSION_ID , org.ovirt.engine.core.bll.aaa.SessionDataContainerTest.TEST_KEY , org.ovirt.engine.core.bll.aaa.SessionDataContainerTest.TEST_VALUE ) ; container.removeSessionOnLogout ( org.ovirt.engine.core.bll.aaa.SessionDataContainerTest.TEST_SESSION_ID ) ; org.junit.Assert.assertNull ( "Get should return null since the session was removed" , container.getData ( org.ovirt.engine.core.bll.aaa.SessionDataContainerTest.TEST_SESSION_ID , org.ovirt.engine.core.bll.aaa.SessionDataContainerTest.TEST_KEY , false ) ) ; }
Source:
public java.lang.Object Convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { if ( source != null ) { return ( ( ( java.util.List < org.ovirt.engine.core.common.businessentities.VmDevice > ) ( source ) ) . size ( ) ) > 0 ; } return false ; }

Target:
public java.lang.Object Convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { return source != null ? org.ovirt.engine.core.common.console.ConsoleOptions.WanColorDepth.fromInt ( ( ( java.lang.Integer ) ( source ) ) . intValue ( ) ) : org.ovirt.engine.core.common.console.ConsoleOptions.WanColorDepth.depth16 ; }
Source:
public void testIpConfiguredForStaticBootProtocolWhenIpConfigurationIsNotNullAndBootProtocolIsStaticAndNetmaskIsEmpty ( ) throws java.lang.Exception { doTestIpConfiguredForStaticBootProtocol ( "192.168.1.1" , "" ) ; }

Target:
public void testBootProtocolSetForRoleNetworkWhenIpConfigurationNullAndNotRoleNetwork ( ) { org.ovirt.engine.core.common.businessentities.network.Network network = createNetwork ( ) ; doTestBootProtocolSetForRoleNetworkWhenNullValuedIpConfiguration ( true , network , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( EngineMessage.ACTION_TYPE_FAILED_ROLE_NETWORK_HAS_NO_BOOT_PROTOCOL , org.ovirt.engine.core.utils.ReplacementUtils.createSetVariableString ( NetworkAttachmentValidator.VAR_ACTION_TYPE_FAILED_ROLE_NETWORK_HAS_NO_BOOT_PROTOCOL_ENTITY , network.getName ( ) ) ) ) ; }
Source:
public org.ovirt.engine.core.bll.ValidationResult unplugPlugNotRequired ( ) { return ( liveActionRequired ( ) ) && ( propertiesRequiringUnplugPlugWereUpdated ( ) ) ? new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.VdcBllMessages.CANNOT_PERFOM_HOT_UPDATE ) : org.ovirt.engine.core.bll.ValidationResult.VALID ; }

Target:
public org.ovirt.engine.core.bll.ValidationResult unplugPlugNotRequired ( ) { return ( liveActionRequired ( ) ) && ( propertiesRequiringUnplugPlugWereUpdated ( ) ) ? new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.VdcBllMessages.CANNOT_PERFORM_HOT_UPDATE ) : org.ovirt.engine.core.bll.ValidationResult.VALID ; }
Source:
public static void checkStatusAndLockVm ( org.ovirt.engine.core.compat.Guid vmId , org.ovirt.engine.core.bll.context.CompensationContext compensationContext ) { org.ovirt.engine.core.common.businessentities.VmDynamic vmDynamic = org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getVmDynamicDao ( ) . get ( vmId ) ; org.ovirt.engine.core.bll.VmHandler.checkStatusBeforeLock ( vmDynamic.getStatus ( ) ) ; org.ovirt.engine.core.bll.VmHandler.LockVm ( vmDynamic , compensationContext ) ; }

Target:
public static void checkStatusAndLockVm ( org.ovirt.engine.core.compat.Guid vmId ) { org.ovirt.engine.core.common.businessentities.VmDynamic vmDynamic = org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getVmDynamicDao ( ) . get ( vmId ) ; org.ovirt.engine.core.bll.VmHandler.checkStatusBeforeLock ( vmDynamic.getStatus ( ) ) ; org.ovirt.engine.core.bll.VmHandler.lockVm ( vmId ) ; }
Source:
public void getSnaphsotByTypeReturnsIdForExistingByStatus ( ) { org.junit.Assert.assertNotNull ( dao.get ( org.ovirt.engine.core.dao.SnapshotDaoTest.EXISTING_VM_ID , SnapshotStatus.OK ) ) ; }

Target:
public void getSnaphsotByTypeReturnsIdForExistingByStatus ( ) { org.junit.jupiter.api.Assertions.assertNotNull ( dao.get ( org.ovirt.engine.core.dao.SnapshotDaoTest.EXISTING_VM_ID , SnapshotStatus.OK ) ) ; }
Source:
public java.util.ArrayList < org.ovirt.engine.core.compat.Guid > getstorage_ids ( ) { return storageIds ; }

Target:
public java.util.ArrayList < org.ovirt.engine.core.compat.Guid > getStorageIds ( ) { return storageIds ; }
Source:
protected org.ovirt.engine.core.common.action.VdcReturnValueBase performOvfUpdateForStoragePool ( org.ovirt.engine.core.compat.Guid storagePoolId ) { org.ovirt.engine.core.common.action.ProcessOvfUpdateForStoragePoolParameters parameters = new org.ovirt.engine.core.common.action.ProcessOvfUpdateForStoragePoolParameters ( storagePoolId ) ; return org.ovirt.engine.core.bll.Backend.getInstance ( ) . runInternalAction ( VdcActionType.ProcessOvfUpdateForStoragePool , parameters ) ; }

Target:
protected org.ovirt.engine.core.common.action.VdcReturnValueBase performOvfUpdateForStoragePool ( org.ovirt.engine.core.compat.Guid storagePoolId ) { org.ovirt.engine.core.common.action.StoragePoolParametersBase parameters = new org.ovirt.engine.core.common.action.StoragePoolParametersBase ( storagePoolId ) ; return org.ovirt.engine.core.bll.Backend.getInstance ( ) . runInternalAction ( VdcActionType.ProcessOvfUpdateForStoragePool , parameters ) ; }
Source:
public java.lang.String get ( T key ) { if ( key == null ) { return null ; } return key.toString ( ) ; }

Target:
boolean containsKey ( T key ) ;
Source:
public void testIsNetworkInSyncWhenGatewayDifferent ( ) { initIpConfigurationBootProtocolGateway ( NetworkBootProtocol.STATIC_IP , false ) ; org.junit.Assert.assertThat ( createTestedInstance ( ) . isNetworkInSync ( ) , org.hamcrest.CoreMatchers.is ( false ) ) ; }

Target:
public void testIsNetworkInSyncWhenGatewayDifferent ( ) { initIpConfigurationBootProtocolGateway ( Ipv4BootProtocol.STATIC_IP , false ) ; org.junit.Assert.assertThat ( createTestedInstance ( ) . isNetworkInSync ( ) , org.hamcrest.CoreMatchers.is ( false ) ) ; }
Source:
protected void ExecuteVdsBrokerCommand ( ) { status = org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand.getBroker ( ) . desktopLogin ( mVmId.toString ( ) , mDomain , mUserName , mPassword ) ; org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand.proceedProxyReturnValue ( ) ; }

Target:
protected void executeVdsBrokerCommand ( ) { status = org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand.getBroker ( ) . desktopLogin ( mVmId.toString ( ) , mDomain , mUserName , mPassword ) ; org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand.proceedProxyReturnValue ( ) ; }
Source:
public void removeLocalItem ( java.lang.String key ) { if ( ( org.ovirt.engine.ui.common.system.ClientStorageImpl.localStorage ) != null ) { org.ovirt.engine.ui.common.system.ClientStorageImpl.localStorage.removeItem ( key ) ; } else { com.google.gwt.user.client.Cookies.removeCookie ( key ) ; } }

Target:
java.lang.String getPrefixedKey ( java.lang.String key ) { return ( ( keyPrefix ) + "_" ) + key ; }
Source:
private static < R extends org.ovirt.engine.api.model.BaseResource > void setHref ( javax.ws.rs.core.UriInfo uriInfo , R model ) { org.ovirt.engine.api.utils.LinkHelper.setHref ( uriInfo , model , null ) ; }

Target:
private static < R extends org.ovirt.engine.api.model.BaseResource > void setHref ( javax.ws.rs.core.UriInfo uriInfo , R model ) { org.ovirt.engine.api.restapi.util.LinkHelper.setHref ( uriInfo , model , null ) ; }
Source:
org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc sendHcCmdToDesktop ( java.lang.String vmId , java.lang.String hcCommand ) ;

Target:
org.ovirt.engine.core.vdsbroker.gluster.GlusterHookContentInfoReturnForXmlRpc glusterHookRead ( java.lang.String glusterCommand , java.lang.String stage , java.lang.String hookName ) ;
Source:
private org.ovirt.engine.core.bll.RemoveSnapshotSingleDiskLiveCommand < org.ovirt.engine.core.common.action.RemoveSnapshotSingleDiskParameters > getCommand ( org.ovirt.engine.core.compat.Guid cmdId ) { return ( ( org.ovirt.engine.core.bll.RemoveSnapshotSingleDiskLiveCommand < org.ovirt.engine.core.common.action.RemoveSnapshotSingleDiskParameters > ) ( org.ovirt.engine.core.bll.tasks.TaskManagerUtil.retrieveCommand ( cmdId ) ) ) ; }

Target:
private org.ovirt.engine.core.bll.RemoveSnapshotSingleDiskLiveCommand < org.ovirt.engine.core.common.action.RemoveSnapshotSingleDiskParameters > getCommand ( org.ovirt.engine.core.compat.Guid cmdId ) { return ( ( org.ovirt.engine.core.bll.RemoveSnapshotSingleDiskLiveCommand < org.ovirt.engine.core.common.action.RemoveSnapshotSingleDiskParameters > ) ( org.ovirt.engine.core.bll.tasks.CommandCoordinatorUtil.retrieveCommand ( cmdId ) ) ) ; }
Source:
public void zeroMtuWhenSupported ( ) throws java.lang.Exception { mtuValidTest ( org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) , 0 , true ) ; }

Target:
public void mtuValid ( ) { org.junit.Assert.assertThat ( validator.mtuValid ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }
Source:
public void setDataCenterList ( org.ovirt.engine.ui.uicommonweb.models.ListModel dcList ) { dcColumn.setOptions ( dcList ) ; }

Target:
public void edit ( org.ovirt.engine.ui.uicommonweb.models.providers.DiscoverNetworksModel model ) { providerNetworks.edit ( model.getProviderNetworks ( ) ) ; importedNetworks.edit ( model.getImportedNetworks ( ) ) ; dcColumn.edit ( model.getDataCenters ( ) ) ; driver.edit ( model ) ; }
Source:
public void testParseGetActionWithKeyInSecondArgument ( ) { parser.parse ( new java.lang.String [ ] { "-g" , "keyToGet" } ) ; org.junit.Assert.assertEquals ( ConfigActionType.ACTION_GET , parser.getConfigAction ( ) ) ; org.junit.Assert.assertEquals ( "keyToGet" , parser.getKey ( ) ) ; }

Target:
public void testParseGetActionWithKeyInSecondArgument ( ) { parser.parse ( new java.lang.String [ ] { "-g" , "keyToGet" } ) ; org.junit.jupiter.api.Assertions.assertEquals ( ConfigActionType.ACTION_GET , parser.getConfigAction ( ) ) ; org.junit.jupiter.api.Assertions.assertEquals ( "keyToGet" , parser.getKey ( ) ) ; }
Source:
public void setvds_group_compatibility_version ( org.ovirt.engine.core.compat.Version value ) { if ( org.ovirt.engine.core.compat.Version.OpInequality ( getvds_group_compatibility_version ( ) , value ) ) { this . vds_group_compatibility_versionField = value ; } }

Target:
public org.ovirt.engine.core.compat.Version getVdsGroupCompatibilityVersion ( ) { return this . vdsGroupCompatibilityVersion ; }
Source:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event < ? extends org.ovirt.engine.ui.uicompat.EventArgs > ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { optimizationForServerFormatter ( object ) ; }

Target:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event < ? extends org.ovirt.engine.ui.uicompat.EventArgs > ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { if ( object.getOptimizationCustom_IsSelected ( ) . getEntity ( ) ) { optimizationCustomFormatter ( object ) ; optimizationCustomEditor.setVisible ( true ) ; } }
Source:
protected void onReveal ( ) { super . onReveal ( ) ; roleModelProvider.getModel ( ) . Search ( ) ; systemPermissionModelProvider.refresh ( ) ; systemPermissionModelProvider.getModel ( ) . Search ( ) ; }

Target:
protected void onReveal ( ) { super . onReveal ( ) ; roleModelProvider.getModel ( ) . search ( ) ; systemPermissionModelProvider.refresh ( ) ; systemPermissionModelProvider.getModel ( ) . search ( ) ; }
Source:
public void testUpdateLastAdminCheckStatus ( ) { org.ovirt.engine.core.common.businessentities.DbUser nonAdminUser = dbFacade.getDbUserDao ( ) . getByUsernameAndDomain ( "userportal2@testportal.redhat.com" , "testportal.redhat.com" ) ; org.junit.Assert.assertNotNull ( nonAdminUser ) ; org.junit.Assert.assertFalse ( nonAdminUser.isAdmin ( ) ) ; dbFacade.updateLastAdminCheckStatus ( nonAdminUser.getId ( ) ) ; nonAdminUser = dbFacade.getDbUserDao ( ) . get ( nonAdminUser.getId ( ) ) ; org.junit.Assert.assertFalse ( nonAdminUser.isAdmin ( ) ) ; org.ovirt.engine.core.common.businessentities.Permissions perms = new org.ovirt.engine.core.common.businessentities.Permissions ( ) ; perms.setRoleType ( RoleType.ADMIN ) ; perms.setrole_id ( org.ovirt.engine.core.dao.DbFacadeDAOTest.ADMIN_ROLE_TYPE_FROM_FIXTURE_ID ) ; perms.setad_element_id ( nonAdminUser.getId ( ) ) ; perms.setObjectId ( org.ovirt.engine.core.dao.DbFacadeDAOTest.SYSTEM_OBJECT_ID ) ; perms.setObjectType ( VdcObjectType.System ) ; dbFacade.getPermissionDao ( ) . save ( perms ) ; org.junit.Assert.assertNotNull ( dbFacade.getPermissionDao ( ) . get ( perms.getId ( ) ) ) ; dbFacade.updateLastAdminCheckStatus ( nonAdminUser.getId ( ) ) ; nonAdminUser = dbFacade.getDbUserDao ( ) . get ( nonAdminUser.getId ( ) ) ; org.junit.Assert.assertTrue ( nonAdminUser.isAdmin ( ) ) ; }

Target:
public void testUpdateLastAdminCheckStatus ( ) { org.ovirt.engine.core.common.businessentities.aaa.DbUser nonAdminUser = dbFacade.getDbUserDao ( ) . getByUsernameAndDomain ( "userportal2@testportal.redhat.com" , "testportal.redhat.com" ) ; org.junit.Assert.assertNotNull ( nonAdminUser ) ; org.junit.Assert.assertFalse ( nonAdminUser.isAdmin ( ) ) ; dbFacade.updateLastAdminCheckStatus ( nonAdminUser.getId ( ) ) ; nonAdminUser = dbFacade.getDbUserDao ( ) . get ( nonAdminUser.getId ( ) ) ; org.junit.Assert.assertFalse ( nonAdminUser.isAdmin ( ) ) ; org.ovirt.engine.core.common.businessentities.Permissions perms = new org.ovirt.engine.core.common.businessentities.Permissions ( ) ; perms.setRoleType ( RoleType.ADMIN ) ; perms.setrole_id ( org.ovirt.engine.core.dao.DbFacadeDAOTest.ADMIN_ROLE_TYPE_FROM_FIXTURE_ID ) ; perms.setad_element_id ( nonAdminUser.getId ( ) ) ; perms.setObjectId ( org.ovirt.engine.core.dao.DbFacadeDAOTest.SYSTEM_OBJECT_ID ) ; perms.setObjectType ( VdcObjectType.System ) ; dbFacade.getPermissionDao ( ) . save ( perms ) ; org.junit.Assert.assertNotNull ( dbFacade.getPermissionDao ( ) . get ( perms.getId ( ) ) ) ; dbFacade.updateLastAdminCheckStatus ( nonAdminUser.getId ( ) ) ; nonAdminUser = dbFacade.getDbUserDao ( ) . get ( nonAdminUser.getId ( ) ) ; org.junit.Assert.assertTrue ( nonAdminUser.isAdmin ( ) ) ; }