auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
void vdsNotResponding ( org.ovirt.engine.core.common.businessentities.VDS vds , boolean executeSshSoftFencing ) ;

Target:
void vdsNotResponding ( org.ovirt.engine.core.common.businessentities.VDS vds , boolean executeSshSoftFencing , long lastUpdate ) ;
Source:
public java.lang.Object runInTransaction ( ) { org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getStoragePoolIsoMapDAO ( ) . remove ( new org.ovirt.engine.core.common.businessentities.StoragePoolIsoMapId ( domainInDb.getId ( ) , _storagePoolId ) ) ; return null ; }

Target:
public java.lang.Object runInTransaction ( ) { org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getStoragePoolIsoMapDao ( ) . remove ( new org.ovirt.engine.core.common.businessentities.StoragePoolIsoMapId ( domainInDb.getId ( ) , _storagePoolId ) ) ; return null ; }
Source:
public native void removeItem ( com.google.gwt.user.cellview.client.Column < T , ? > column ) ;

Target:
public void removeItem ( com.google.gwt.user.cellview.client.Column < T , ? > column ) { org.ovirt.engine.ui.common.widget.table.ColumnContextMenuItem < T > removedItem = items.remove ( column ) ; if ( removedItem != null ) { container.remove ( removedItem ) ; } }
Source:
public void validateInvalidFileToBlock ( ) { validateInvalidDestinationAndSourceDomainOfDifferentStorageSubtypes ( StorageType.NFS , StorageType.ISCSI , false ) ; }

Target:
public void validateBlockToFileSupported ( ) { storagePool.setCompatibilityVersion ( Version.v3_6 ) ; validateInvalidDestinationAndSourceDomainOfDifferentStorageSubtypes ( StorageType.ISCSI , StorageType.NFS ) ; }
Source:
public void getAllForVmForUnprivilegedUser ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.VmGuestAgentInterface > interfaces = dao.getAllForVm ( org.ovirt.engine.core.dao.VmGuestAgentInterfaceDaoTest.EXISTING_VM_ID , org.ovirt.engine.core.dao.UNPRIVILEGED_USER_ID , true ) ; org.junit.Assert.assertTrue ( interfaces.isEmpty ( ) ) ; }

Target:
public void getAllForVmForUnprivilegedUserWithNoFilter ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.VmGuestAgentInterface > interfaces = dao.getAllForVm ( FixturesTool.VM_RHEL5_POOL_50 , org.ovirt.engine.core.dao.UNPRIVILEGED_USER_ID , false ) ; assertVmGuestAgentInterfaceForVm ( interfaces ) ; }
Source:
public void setSearchString ( java.lang.String value ) { if ( ( value == null ) || ( ! ( containsTokens ( value , SyntaxObjectType.SORTBY , SyntaxObjectType.PAGE , SyntaxObjectType.SORT_DIRECTION ) ) ) ) { setSearchString ( value , true ) ; } }

Target:
public void setSearchString ( java.lang.String value , boolean checkIfNewValue ) { if ( ( value == null ) || ( ! ( containsTokens ( value , SyntaxObjectType.SORTBY , SyntaxObjectType.PAGE , SyntaxObjectType.SORT_DIRECTION ) ) ) ) { setSearchStringImpl ( value , checkIfNewValue ) ; } }
Source:
protected void executeQuery ( ) { org.ovirt.engine.core.common.businessentities.LdapUser user = org.ovirt.engine.core.bll.adbroker.InternalBrokerUtils.getUserByUserGuid ( getUserId ( ) ) ; if ( user != null ) { setSucceeded ( true ) ; setReturnValue ( user ) ; } else { setSucceeded ( false ) ; } }

Target:
protected void executeQuery ( ) { org.ovirt.engine.core.common.businessentities.LdapUser user = org.ovirt.engine.core.bll.adbroker.InternalBrokerUtils.getUserById ( getUserId ( ) ) ; if ( user != null ) { setSucceeded ( true ) ; setReturnValue ( user ) ; } else { setSucceeded ( false ) ; } }
Source:
public void clearCache ( ) { org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData.log.info ( ( "clearing cache for problematic entities in pool " + ( _storagePoolId ) ) ) ; _timers.clear ( ) ; _domainsInProblem.clear ( ) ; }

Target:
public void clearCache ( ) { org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData.log.info ( "clearing cache for problematic entities in pool '{}'." , _storagePoolId ) ; _timers.clear ( ) ; _domainsInProblem.clear ( ) ; }
Source:
public java.lang.String toString ( ) { return ( "HostDevice[" + ( getId ( ) . toString ( ) ) ) + "]" ; }

Target:
public java.lang.String toString ( ) { return java.lang.String.format ( ( "HostDevice{hostId=%s, deviceName='%s', parentDeviceName='%s', capability='%s', iommuGroup=%d, " + "productName='%s', productId='%s', vendorName='%s', vendorId='%s', parentPhysicalFunction='%s', totalVirtualFunctions=%s, networkInterfaceName='%s', vmId=%s}" ) , hostId , deviceName , parentDeviceName , capability , iommuGroup , productName , productId , vendorName , vendorId , parentPhysicalFunction , totalVirtualFunctions , networkInterfaceName , vmId ) ; }
Source:
public org.ovirt.engine.api.resource.AssignedCpuProfilesResource getCpuProfilesResource ( ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendAssignedCpuProfilesResource ( id ) ) ; }

Target:
public org.ovirt.engine.api.resource.AffinityGroupsResource getAffinityGroupsResource ( ) { return org.ovirt.engine.api.restapi.resource.BackendClusterResource.inject ( new org.ovirt.engine.api.restapi.resource.BackendAffinityGroupsResource ( id ) ) ; }
Source:
public void nameIsNotNullForUpdate ( ) throws java.lang.Exception { assertNicValidation ( createNic ( org.ovirt.engine.core.common.businessentities.network.VmNetworkInterfaceValidationTest.VALID_MAC_ADDRESS , org.ovirt.engine.core.common.businessentities.network.VmNetworkInterfaceValidationTest.VALID_NIC_NAME , org.ovirt.engine.core.common.businessentities.network.VmNetworkInterfaceValidationTest.VALID_NIC_TYPE ) , org.ovirt.engine.core.common.validation.group.UpdateEntity.class , false , VmNetworkInterface.VALIDATION_MESSAGE_NAME_NOT_NULL ) ; }

Target:
public void macAddressIsNullForVmNicUpdate ( ) throws java.lang.Exception { org.ovirt.engine.core.common.businessentities.network.VmNetworkInterfaceValidationTest.assertNicValidation ( org.ovirt.engine.core.common.businessentities.network.VmNetworkInterfaceValidationTest.createNic ( null , org.ovirt.engine.core.common.businessentities.network.VmNetworkInterfaceValidationTest.VALID_NIC_NAME , org.ovirt.engine.core.common.businessentities.network.VmNetworkInterfaceValidationTest.VALID_NIC_TYPE ) , org.ovirt.engine.core.common.validation.group.UpdateVmNic.class , true , VmNetworkInterface.VALIDATION_MESSAGE_MAC_ADDRESS_NOT_NULL ) ; }
Source:
protected java.util.List < org.ovirt.engine.core.common.businessentities.storage.DiskImage > getImages ( ) { return null ; }

Target:
protected java.util.List < org.ovirt.engine.core.common.businessentities.storage.DiskImage > getImages ( ) { return java.util.Collections.< org.ovirt.engine.core.common.businessentities.storage.DiskImage > emptyList ( ) ; }
Source:
protected void removeVmSnapshots ( ) { org.ovirt.engine.core.compat.Guid vmId = getVmId ( ) ; java.util.Set < java.lang.String > memoryStates = snapshotsManager.removeSnapshots ( vmId ) ; for ( java.lang.String memoryState : memoryStates ) { removeMemoryVolumes ( memoryState , vmId ) ; } }

Target:
protected void removeVmSnapshots ( ) { org.ovirt.engine.core.compat.Guid vmId = org.ovirt.engine.core.bll.ImportVmCommand.getVmId ( ) ; java.util.Set < java.lang.String > memoryStates = snapshotsManager.removeSnapshots ( vmId ) ; for ( java.lang.String memoryState : memoryStates ) { removeMemoryVolumes ( memoryState , vmId ) ; } }
Source:
public static org.ovirt.engine.core.dal.dbbroker.DbFacade getDbFacade ( ) { return org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.dbFacade ; }

Target:
public static org.ovirt.engine.core.dal.dbbroker.DbFacade getDbFacade ( ) { if ( ( org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.dbFacade ) == null ) { synchronized ( org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.class ) { if ( ( org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.dbFacade ) == null ) { org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.dbFacade = org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.createDbFacade ( ) ; } } } return org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator.dbFacade ; }
Source:
private org.ovirt.engine.core.common.businessentities.VDS createHost ( final org.ovirt.engine.core.common.businessentities.VDSGroup vdsGroup ) { org.ovirt.engine.core.common.businessentities.VDS vds = new org.ovirt.engine.core.common.businessentities.VDS ( ) ; vds.setId ( org.ovirt.engine.core.compat.Guid.newGuid ( ) ) ; vds.setVdsGroupId ( vdsGroup.getId ( ) ) ; return vds ; }

Target:
private org.ovirt.engine.core.common.businessentities.VDS createHost ( final org.ovirt.engine.core.common.businessentities.Cluster cluster ) { org.ovirt.engine.core.common.businessentities.VDS vds = new org.ovirt.engine.core.common.businessentities.VDS ( ) ; vds.setId ( org.ovirt.engine.core.compat.Guid.newGuid ( ) ) ; vds.setClusterId ( cluster.getId ( ) ) ; return vds ; }
Source:
public boolean evaluate ( java.lang.Object networkType ) { return ! ( NetworkType.VLAN.equals ( networkType ) ) ; }

Target:
public boolean test ( org.ovirt.engine.core.bll.validator.network.NetworkType networkType ) { return ! ( NetworkType.VLAN.equals ( networkType ) ) ; }
Source:
private void updateLUNConnectionsInfo ( org.ovirt.engine.core.common.businessentities.LUNs lun ) { lun.setLunConnections ( new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.StorageServerConnections > ( org.ovirt.engine.core.bll.AbstractDiskVmCommand.getDbFacade ( ) . getStorageServerConnectionDao ( ) . getAllForLun ( lun.getLUN_id ( ) ) ) ) ; }

Target:
private void updateLUNConnectionsInfo ( org.ovirt.engine.core.common.businessentities.storage.LUNs lun ) { lun.setLunConnections ( new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.StorageServerConnections > ( org.ovirt.engine.core.bll.AbstractDiskVmCommand.getDbFacade ( ) . getStorageServerConnectionDao ( ) . getAllForLun ( lun.getLUN_id ( ) ) ) ) ; }
Source:
protected org.ovirt.engine.api.model.Network addParents ( org.ovirt.engine.api.model.Network model ) { org.ovirt.engine.api.model.QoS qos = model.getQos ( ) ; if ( qos != null ) { qos.setDataCenter ( model.getDataCenter ( ) ) ; } return model ; }

Target:
protected org.ovirt.engine.api.model.Network addParents ( org.ovirt.engine.api.model.Network model ) { org.ovirt.engine.api.model.Qos qos = model.getQos ( ) ; if ( qos != null ) { qos.setDataCenter ( model.getDataCenter ( ) ) ; } return model ; }
Source:
private java.util.List < org.ovirt.engine.core.common.businessentities.network.Network > getClusterNetworks ( org.ovirt.engine.core.common.businessentities.VDS host ) { return networkDao.getAllForCluster ( host.getVdsGroupId ( ) ) ; }

Target:
private java.util.List < org.ovirt.engine.core.common.businessentities.network.Network > getClusterNetworks ( org.ovirt.engine.core.common.businessentities.VDS host ) { return networkDao.getAllForCluster ( host.getClusterId ( ) ) ; }
Source:
org.ovirt.engine.core.bll.validator.NetworkValidator createNetworkValidator ( ) { return new org.ovirt.engine.core.bll.validator.NetworkValidator ( getNetwork ( ) ) ; }

Target:
org.ovirt.engine.core.bll.validator.NetworkValidator getNetworkValidator ( ) { if ( ( networkValidator ) == null ) { networkValidator = new org.ovirt.engine.core.bll.validator.NetworkValidator ( vmDao , getNetwork ( ) ) ; } return networkValidator ; }
Source:
public void setSelectedProtocol ( org.ovirt.engine.ui.uicommonweb.models.ConsoleProtocol selectedProtocol ) { setSelectedProtocol ( selectedProtocol , this ) ; }

Target:
public org.ovirt.engine.ui.uicommonweb.models.HasConsoleModel getSelectedHasConsoleModel ( ) { if ( ( ( selectedHasConsoleModels ) == null ) || ( ( selectedHasConsoleModels.size ( ) ) != 1 ) ) { return null ; } return selectedHasConsoleModels.get ( 0 ) ; }
Source:
public org.ovirt.engine.ui.uicommonweb.models.storage.SanStorageModelBase flush ( ) { return org.ovirt.engine.ui.common.widget.uicommon.storage.AbstractSanStorageView.Driver.driver.flush ( ) ; }

Target:
public void markAsInvalid ( java.util.List < java.lang.String > validationHints ) { contentPanel.markAsInvalid ( validationHints ) ; }
Source:
public void executed ( org.ovirt.engine.ui.uicompat.FrontendActionAsyncResult result ) { org.ovirt.engine.core.common.action.VdcReturnValueBase returnValue = result.getReturnValue ( ) ; StopProgress ( ) ; if ( ( returnValue != null ) && ( returnValue.getSucceeded ( ) ) ) { cancel ( ) ; postOnSave ( ) ; } }

Target:
public void executed ( org.ovirt.engine.ui.uicompat.FrontendActionAsyncResult result ) { org.ovirt.engine.core.common.action.VdcReturnValueBase returnValue = result.getReturnValue ( ) ; stopProgress ( ) ; if ( ( returnValue != null ) && ( returnValue.getSucceeded ( ) ) ) { cancel ( ) ; postOnSave ( ) ; } }
Source:
private boolean activateDeactivateVmNicAllowed ( org.ovirt.engine.core.common.businessentities.VMStatus vmStatus ) { return ( vmStatus == ( org.ovirt.engine.core.common.businessentities.VMStatus.Up ) ) || ( vmStatus == ( org.ovirt.engine.core.common.businessentities.VMStatus.Down ) ) ; }

Target:
private boolean activateDeactivateVmNicAllowed ( org.ovirt.engine.core.common.businessentities.VMStatus vmStatus ) { return ( ( vmStatus == ( org.ovirt.engine.core.common.businessentities.VMStatus.Up ) ) || ( vmStatus == ( org.ovirt.engine.core.common.businessentities.VMStatus.Down ) ) ) || ( vmStatus == ( org.ovirt.engine.core.common.businessentities.VMStatus.ImageLocked ) ) ; }
Source:
public void addColumnWithHtmlHeader ( com.google.gwt.user.cellview.client.Column < T , ? > column , java.lang.String headerHtml ) { addColumn ( column , getHeader ( column , headerHtml , true ) ) ; }

Target:
public void addColumnWithHtmlHeader ( com.google.gwt.user.cellview.client.Column < T , ? > column , java.lang.String headerHtml , java.lang.String width ) { table.addColumnWithHtmlHeader ( column , headerHtml , width ) ; tableHeader.addColumnWithHtmlHeader ( column , headerHtml , width ) ; }
Source:
private boolean isUpdatedToShareable ( org.ovirt.engine.core.common.businessentities.Disk oldDisk , org.ovirt.engine.core.common.businessentities.Disk newDisk ) { return ( newDisk.isShareable ( ) ) && ( ! ( oldDisk.isShareable ( ) ) ) ; }

Target:
private boolean isUpdatedToShareable ( org.ovirt.engine.core.common.businessentities.storage.Disk oldDisk , org.ovirt.engine.core.common.businessentities.storage.Disk newDisk ) { return ( newDisk.isShareable ( ) ) && ( ! ( oldDisk.isShareable ( ) ) ) ; }
Source:
protected org.ovirt.engine.core.compat.Guid getStoragePoolIdFromSourceImageContainer ( ) { return org.ovirt.engine.core.bll.AddVmCommand.getVmTemplate ( ) . getStoragePoolId ( ) ; }

Target:
protected org.ovirt.engine.core.compat.Guid getStoragePoolIdFromSourceImageContainer ( ) { return vmDisksSource.getStoragePoolId ( ) ; }
Source:
protected org.ovirt.engine.api.model.Host doPopulate ( org.ovirt.engine.api.model.Host model , org.ovirt.engine.core.common.businessentities.VDS entity ) { return model ; }

Target:
protected org.ovirt.engine.api.model.Host doPopulate ( org.ovirt.engine.api.model.Host model , org.ovirt.engine.core.common.businessentities.VDS entity ) { org.ovirt.engine.api.model.Host host = addHostedEngineIfConfigured ( model , entity ) ; return host ; }
Source:
public void onSuccess ( java.lang.Object model , java.lang.Object ReturnValue ) { setItems ( ( ( java.util.List < org.ovirt.engine.core.common.businessentities.Provider > ) ( ( ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue ) ( ReturnValue ) ) . getReturnValue ( ) ) ) ) ; }

Target:
protected void syncSearch ( ) { org.ovirt.engine.core.common.queries.SearchParameters tempVar = new org.ovirt.engine.core.common.queries.SearchParameters ( getSearchString ( ) , org.ovirt.engine.core.common.interfaces.SearchType.Provider ) ; tempVar.setMaxCount ( getSearchPageSize ( ) ) ; super . syncSearch ( VdcQueryType.Search , tempVar ) ; }
Source:
public org.ovirt.engine.sdk.web.HttpProxy build ( ) { return new org.ovirt.engine.sdk.web.HttpProxy ( pool , persistentAuth , filter , debug ) ; }

Target:
public org.ovirt.engine.sdk.web.HttpProxy build ( ) { return new org.ovirt.engine.sdk.web.HttpProxy ( pool , persistentAuth , sessionid , filter , debug ) ; }
Source:
public java.lang.Object Convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { return source != null ? new java.util.ArrayList < > ( ( ( java.util.ArrayList < org.ovirt.engine.core.compat.RpmVersion > ) ( source ) ) ) : new java.util.ArrayList < org.ovirt.engine.core.compat.RpmVersion > ( ) ; }

Target:
public java.lang.Object convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { return source != null ? ( ( java.util.ArrayList < org.ovirt.engine.core.common.businessentities.ServerCpu > ) ( source ) ) : new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.ServerCpu > ( ) ; }
Source:
protected void onReveal ( ) { super . onReveal ( ) ; getView ( ) . recalculateSize ( ) ; getView ( ) . showScrollButtons ( ) ; }

Target:
protected void onReveal ( ) { super . onReveal ( ) ; redraw ( ) ; }
Source:
public void versionDecreaseWithHost ( ) { createCommandWithOlderVersion ( ) ; setupCpu ( ) ; VdsExist ( ) ; canDoActionFailedWithReason ( VdcBllMessages.ACTION_TYPE_FAILED_CANNOT_DECREASE_COMPATIBILITY_VERSION ) ; }

Target:
public void versionDecreaseWithHost ( ) { createCommandWithOlderVersion ( ) ; setupCpu ( ) ; VdsExist ( ) ; canDoActionFailedWithReason ( EngineMessage.ACTION_TYPE_FAILED_CANNOT_DECREASE_COMPATIBILITY_VERSION ) ; }
Source:
protected void setImagesWithStoragePoolId ( org.ovirt.engine.core.compat.Guid storagePoolId , java.util.List < org.ovirt.engine.core.common.businessentities.DiskImage > diskImages ) { for ( org.ovirt.engine.core.common.businessentities.DiskImage diskImage : diskImages ) { diskImage.setStoragePoolId ( storagePoolId ) ; } }

Target:
protected void setImagesWithStoragePoolId ( org.ovirt.engine.core.compat.Guid storagePoolId , java.util.List < org.ovirt.engine.core.common.businessentities.storage.DiskImage > diskImages ) { for ( org.ovirt.engine.core.common.businessentities.storage.DiskImage diskImage : diskImages ) { diskImage.setStoragePoolId ( storagePoolId ) ; } }
Source:
private java.lang.String getValueText ( org.ovirt.api.metamodel.concepts.EnumValue value ) { return value.getName ( ) . words ( ) . collect ( java.util.stream.Collectors.joining ( "_" ) ) ; }

Target:
private java.lang.String getValueText ( org.ovirt.api.metamodel.concepts.EnumValue value ) { return value.getName ( ) . words ( ) . map ( java.lang.String :: toLowerCase ) . collect ( java.util.stream.Collectors.joining ( "_" ) ) ; }
Source:
org.ovirt.engine.core.vdsbroker.irsbroker.OneUuidReturnForXmlRpc glusterVolumeCreate ( java.lang.String volumeName , java.lang.String [ ] brickList , int replicaCount , int stripeCount , java.lang.String [ ] transportList , boolean force ) ;

Target:
org.ovirt.engine.core.vdsbroker.irsbroker.OneUuidReturn glusterVolumeCreate ( java.lang.String volumeName , java.lang.String [ ] brickList , int replicaCount , int stripeCount , java.lang.String [ ] transportList , boolean force , boolean arbiter ) ;
Source:
static void verifyModelSpecific ( org.ovirt.engine.api.model.CdRom model , int index ) { org.ovirt.engine.api.restapi.resource.AbstractBackendCdRomsResourceTest.verifyModelWithIso ( model , org.ovirt.engine.api.restapi.resource.AbstractBackendCdRomsResourceTest.ISO_PATH ) ; }

Target:
static void verifyModelSpecific ( org.ovirt.engine.api.model.Cdrom model , int index ) { org.ovirt.engine.api.restapi.resource.AbstractBackendCdRomsResourceTest.verifyModelWithIso ( model , org.ovirt.engine.api.restapi.resource.AbstractBackendCdRomsResourceTest.ISO_PATH ) ; }
Source:
public void testValidModifiedBondsFailsWhenBondIsUnnamed ( ) throws java.lang.Exception { doTestValidModifiedBonds ( new org.ovirt.engine.core.common.businessentities.network.Bond ( ) , new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.EngineMessage.HOST_NETWORK_INTERFACE_NOT_EXIST ) , ValidationResult.VALID , new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.EngineMessage.HOST_NETWORK_INTERFACE_NOT_EXIST ) , ValidationResult.VALID ) ; }

Target:
public void testValidModifiedBondsFailsWhenInsufficientNumberOfSlaves ( ) throws java.lang.Exception { org.ovirt.engine.core.common.action.CreateOrUpdateBond createOrUpdateBond = createNewCreateOrUpdateBondWithNameAndId ( ) ; doTestValidModifiedBonds ( createOrUpdateBond , 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 , createOrUpdateBond.getName ( ) ) ) , ValidationResult.VALID ) ; }
Source:
public void update ( int index , org.ovirt.engine.ui.uicommonweb.models.clusters.ClusterNetworkModel clusterNetworkModel , java.lang.Boolean value ) { networks.asEditor ( ) . flush ( ) . setMigrationNetwork ( clusterNetworkModel , value ) ; refreshNetworksTable ( ) ; }

Target:
private void updateDisplayNetwork ( org.ovirt.engine.ui.uicommonweb.models.clusters.ClusterNetworkModel clusterNetworkModel , boolean value ) { networks.asEditor ( ) . flush ( ) . setDisplayNetwork ( clusterNetworkModel , value ) ; }
Source:
public java.lang.Short getStorage_type ( ) { return this . storage_type ; }

Target:
public java.lang.Boolean getIs_local_storage ( ) { return this . is_local_storage ; }
Source:
public int getnum_of_monitors ( ) { return this . mVmStatic.getnum_of_monitors ( ) ; }

Target:
public int getNumOfMonitors ( ) { return this . vmStatic.getnum_of_monitors ( ) ; }
Source:
public static boolean CanRemoveVmPoolWithoutReasons ( org.ovirt.engine.core.compat.Guid vmPoolId ) { java.util.ArrayList < java.lang.String > reasons = new java.util.ArrayList < java.lang.String > ( ) ; return org.ovirt.engine.core.bll.RemoveVmPoolCommand.CanRemoveVmPool ( vmPoolId , reasons ) ; }

Target:
public static boolean canRemoveVmPoolWithoutReasons ( org.ovirt.engine.core.compat.Guid vmPoolId ) { java.util.ArrayList < java.lang.String > reasons = new java.util.ArrayList < java.lang.String > ( ) ; return org.ovirt.engine.core.bll.RemoveVmPoolCommand.canRemoveVmPool ( vmPoolId , reasons ) ; }
Source:
public abstract java.util.Map < org.ovirt.engine.core.compat.Guid , org.ovirt.engine.core.common.businessentities.VmDevice > getManagedVmDeviceMap ( ) ;

Target:
public abstract java.util.Map < org.ovirt.engine.core.compat.Guid , org.ovirt.engine.core.common.businessentities.VmDevice > getManagedDeviceMap ( ) ;
Source:
public void setTitle ( java.lang.String title ) { this . title = title ; }

Target:
public void setTitle ( java.lang.String title ) { this . consoleOptions.setTitle ( title ) ; }
Source:
private static void addSoundCard ( org.ovirt.engine.core.common.businessentities.VmBase vmBase ) { org.ovirt.engine.core.bll.utils.VmDeviceUtils.addSoundCard ( vmBase , org.ovirt.engine.core.bll.utils.ClusterUtils.getCompatilibilyVersion ( vmBase ) ) ; }

Target:
private static void addSoundCard ( org.ovirt.engine.core.common.businessentities.VmBase vmBase ) { org.ovirt.engine.core.bll.utils.VmDeviceUtils.addSoundCard ( vmBase , org.ovirt.engine.core.bll.utils.ClusterUtils.getCompatibilityVersion ( vmBase ) ) ; }
Source:
protected org.ovirt.engine.core.common.action.VdcReturnValueBase checkAndPerformRollbackUsingCommand ( org.ovirt.engine.core.common.action.VdcActionType commandType , org.ovirt.engine.core.common.action.VdcActionParametersBase params ) { return attemptRollback ( commandType , params ) ; }

Target:
protected org.ovirt.engine.core.common.action.VdcReturnValueBase checkAndPerformRollbackUsingCommand ( org.ovirt.engine.core.common.action.VdcActionType commandType , org.ovirt.engine.core.common.action.VdcActionParametersBase params , org.ovirt.engine.core.bll.context.CommandContext context ) { return attemptRollback ( commandType , params , context ) ; }
Source:
public void validateFailsOnSnapshotNotExists ( ) { org.mockito.Mockito.when ( snapshotDao.exists ( org.mockito.Matchers.any ( org.ovirt.engine.core.compat.Guid.class ) , org.mockito.Matchers.any ( org.ovirt.engine.core.compat.Guid.class ) ) ) . thenReturn ( false ) ; org.ovirt.engine.core.bll.ValidateTestUtils.runAndAssertValidateFailure ( spyCommand , EngineMessage.ACTION_TYPE_FAILED_VM_SNAPSHOT_DOES_NOT_EXIST ) ; }

Target:
public void validateFailsOnSnapshotNotExists ( ) { org.mockito.Mockito.when ( snapshotDao.exists ( org.mockito.ArgumentMatchers.any ( org.ovirt.engine.core.compat.Guid.class ) , org.mockito.ArgumentMatchers.any ( org.ovirt.engine.core.compat.Guid.class ) ) ) . thenReturn ( false ) ; org.ovirt.engine.core.bll.ValidateTestUtils.runAndAssertValidateFailure ( spyCommand , EngineMessage.ACTION_TYPE_FAILED_VM_SNAPSHOT_DOES_NOT_EXIST ) ; }
Source:
protected void configure ( ) { super . configure ( ) ; bind ( org.ovirt.engine.ui.webadmin.widget.tab.WebadminMenuLayout.class ) . in ( com.google.inject.Singleton.class ) ; bind ( org.ovirt.engine.ui.common.widget.tab.MenuLayout.class ) . in ( com.google.inject.Singleton.class ) ; }

Target:
protected void configure ( ) { super . configure ( ) ; bind ( org.ovirt.engine.ui.webadmin.widget.tab.WebadminMenuLayout.class ) . in ( com.google.inject.Singleton.class ) ; bind ( org.ovirt.engine.ui.common.widget.tab.MenuLayout.class ) . in ( com.google.inject.Singleton.class ) ; bind ( org.ovirt.engine.ui.webadmin.section.main.presenter.SearchStringCollector.class ) . asEagerSingleton ( ) ; }
Source:
public java.lang.String getNewParentTagName ( ) { org.ovirt.engine.core.common.businessentities.Tags newParent = org.ovirt.engine.core.bll.TagsDirector.getInstance ( ) . getTagById ( org.ovirt.engine.core.bll.MoveTagCommand.getParameters ( ) . getNewParentId ( ) ) ; if ( newParent != null ) { return newParent.getTagName ( ) ; } return "[null]" ; }

Target:
public java.lang.String getNewParentTagName ( ) { org.ovirt.engine.core.common.businessentities.Tags newParent = org.ovirt.engine.core.bll.TagsDirector.getInstance ( ) . getTagById ( org.ovirt.engine.core.bll.MoveTagCommand.getParameters ( ) . getNewParentId ( ) ) ; if ( newParent != null ) { return newParent.gettag_name ( ) ; } return "[null]" ; }
Source:
private org.ovirt.engine.core.common.businessentities.VmTemplate getTemplateByName ( org.ovirt.engine.api.model.VM vm ) { return lookupTemplateByName ( vm.getTemplate ( ) . getName ( ) ) ; }

Target:
private org.ovirt.engine.core.common.businessentities.VmTemplate getTemplateByName ( org.ovirt.engine.api.model.Template template ) { return lookupTemplateByName ( template.getName ( ) ) ; }
Source:
private boolean isNetworkChanged ( org.ovirt.engine.core.common.businessentities.VmNetworkInterface iface ) { return ! ( getNetworkName ( ) . equals ( iface.getNetworkName ( ) ) ) ; }

Target:
private boolean isNetworkChanged ( org.ovirt.engine.core.common.businessentities.VmNetworkInterface iface ) { return ! ( org.ovirt.engine.core.bll.network.template.UpdateVmTemplateInterfaceCommand.getNetworkName ( ) . equals ( iface.getNetworkName ( ) ) ) ; }
Source:
public org.ovirt.engine.api.model.Role update ( org.ovirt.engine.api.model.Role role ) { validateEnums ( org.ovirt.engine.api.model.Role.class , role ) ; return performUpdate ( role , new org.ovirt.engine.api.restapi.resource.QueryIdResolver < org.ovirt.engine.core.compat.Guid > ( org.ovirt.engine.core.common.queries.VdcQueryType.GetRoleById , org.ovirt.engine.core.common.queries.MultilevelAdministrationByRoleIdParameters.class ) , VdcActionType.UpdateRole , new org.ovirt.engine.api.restapi.resource.BackendRoleResource.UpdateParametersProvider ( ) ) ; }

Target:
public org.ovirt.engine.api.model.Role update ( org.ovirt.engine.api.model.Role role ) { validateEnums ( org.ovirt.engine.api.model.Role.class , role ) ; return performUpdate ( role , new org.ovirt.engine.api.restapi.resource.QueryIdResolver < org.ovirt.engine.core.compat.Guid > ( org.ovirt.engine.core.common.queries.VdcQueryType.GetRoleById , org.ovirt.engine.core.common.queries.IdQueryParameters.class ) , VdcActionType.UpdateRole , new org.ovirt.engine.api.restapi.resource.BackendRoleResource.UpdateParametersProvider ( ) ) ; }
Source:
java.util.List < org.ovirt.engine.core.common.utils.Pair < org.ovirt.engine.core.compat.Guid , org.ovirt.engine.core.common.businessentities.VmNumaNode > > getVmNumaNodeInfoByClusterId ( org.ovirt.engine.core.compat.Guid cluster ) ;

Target:
java.util.Map < org.ovirt.engine.core.compat.Guid , java.util.List < org.ovirt.engine.core.common.businessentities.VmNumaNode > > getVmNumaNodeInfoByClusterId ( org.ovirt.engine.core.compat.Guid clusterId ) ;
Source:
private org.ovirt.engine.core.vdsbroker.VmsMonitoring getVmsMonitoring ( org.ovirt.engine.core.vdsbroker.VmsListFetcher fetcher , long fetchTime ) { return new org.ovirt.engine.core.vdsbroker.VmsMonitoring ( manager , fetcher.getChangedVms ( ) , fetcher.getVmsWithChangedDevices ( ) , auditLogDirector , fetchTime , getRefreshStatistics ( ) ) ; }

Target:
private org.ovirt.engine.core.vdsbroker.VmsMonitoring getVmsMonitoring ( org.ovirt.engine.core.vdsbroker.VmsListFetcher fetcher , long fetchTime ) { return new org.ovirt.engine.core.vdsbroker.VmsMonitoring ( vdsManager , fetcher.getChangedVms ( ) , fetcher.getVmsWithChangedDevices ( ) , auditLogDirector , fetchTime , isTimeToRefreshStatistics ( ) ) ; }
Source:
public void execute ( ) { org.ovirt.engine.ui.uicommonweb.models.SearchableListModel.logger.fine ( ( ( this . getClass ( ) . getName ( ) ) + ": Executing search" ) ) ; if ( getIsAsync ( ) ) { AsyncSearch ( ) ; } else { SyncSearch ( ) ; } }

Target:
public void execute ( ) { org.ovirt.engine.ui.uicommonweb.models.SearchableListModel.logger.fine ( ( ( this . getClass ( ) . getName ( ) ) + ": Executing search" ) ) ; if ( getIsAsync ( ) ) { asyncSearch ( ) ; } else { syncSearch ( ) ; } }
Source:
protected void setUpQueryExpectations ( java.lang.String query , java.lang.Object failure ) throws java.lang.Exception { setUpEntityQueryExpectations ( VdcQueryType.GetErrataForEngine , org.ovirt.engine.core.common.queries.VdcQueryParametersBase.class , new java.lang.String [ ] { } , new java.lang.Object [ ] { } , getErrata ( ) , failure ) ; control.replay ( ) ; }

Target:
private org.ovirt.engine.core.common.businessentities.ErrataData getErrataData ( ) { org.ovirt.engine.core.common.businessentities.ErrataData errataData = new org.ovirt.engine.core.common.businessentities.ErrataData ( ) ; errataData.setErrata ( getErrata ( ) ) ; return errataData ; }
Source:
public int hashCode ( ) { return java.util.Objects.hash ( id , appList , creationDate , description , memoryVolume , status , type , vmConfiguration , vmId , diskImages ) ; }

Target:
public int hashCode ( ) { return java.util.Objects.hash ( id , appList , creationDate , description , memoryVolume , status , type , vmConfiguration , vmId , diskImages , vmConfigurationBroken ) ; }
Source:
public void testInterfaceAlreadyLabeledWithWhenInterfaceIsLabeledByDifferentLabel ( ) { org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface vdsNetworkInterface = createVdsNetworkInterfaceWithName ( ) ; vdsNetworkInterface.setLabels ( java.util.Collections.singleton ( "labelB" ) ) ; 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 testInterfaceAlreadyLabeledWithWhenInterfaceIsLabeledByDifferentLabel ( ) { org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface vdsNetworkInterface = createVdsNetworkInterfaceWithName ( ) ; vdsNetworkInterface.setLabels ( java.util.Collections.singleton ( "labelB" ) ) ; 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 org.ovirt.vdsmfake.domain.Host getActiveHostByName ( java.lang.String serverName ) { return org.ovirt.vdsmfake.domain.VdsmManager.getInstance ( ) . getHostByName ( serverName ) ; }

Target:
public org.ovirt.vdsmfake.domain.Host getActiveHostByName ( java.lang.String serverName ) { return vdsmManager.getHostByName ( serverName ) ; }
Source:
public void edit ( final org.ovirt.engine.ui.uicommonweb.models.storage.SanStorageModelBase object ) { org.ovirt.engine.ui.common.widget.uicommon.storage.IscsiLunToTargetView.Driver.driver.edit ( object ) ; initLists ( object ) ; }

Target:
public void edit ( final org.ovirt.engine.ui.uicommonweb.models.storage.SanStorageModelBase object ) { driver.edit ( object ) ; initLists ( object ) ; }
Source:
private boolean destinationHasSpace ( java.util.Collection < org.ovirt.engine.core.common.businessentities.DiskImage > diskImages ) { return validate ( new org.ovirt.engine.core.bll.validator.StorageDomainValidator ( org.ovirt.engine.core.bll.MoveVmCommand.getStorageDomain ( ) ) . isDomainHasSpaceForRequest ( ( ( long ) ( org.ovirt.engine.core.bll.ImagesHandler.sumImagesTotalSizeWithSnapshotSize ( diskImages ) ) ) ) ) ; }

Target:
private boolean destinationHasSpace ( java.util.Collection < org.ovirt.engine.core.common.businessentities.DiskImage > diskImages ) { org.ovirt.engine.core.bll.validator.StorageDomainValidator sdv = new org.ovirt.engine.core.bll.validator.StorageDomainValidator ( org.ovirt.engine.core.bll.MoveVmCommand.getStorageDomain ( ) ) ; return ( validate ( sdv.isDomainWithinThresholds ( ) ) ) && ( validate ( sdv.hasSpaceForClonedDisks ( diskImages ) ) ) ; }
Source:
public org.ovirt.engine.core.common.businessentities.CommandEntity createCommandEntity ( org.ovirt.engine.core.compat.Guid cmdId , org.ovirt.engine.core.common.action.ActionType actionType , org.ovirt.engine.core.common.action.ActionParametersBase params ) { org.ovirt.engine.core.common.businessentities.CommandEntity cmdEntity = new org.ovirt.engine.core.common.businessentities.CommandEntity ( ) ; cmdEntity.setId ( cmdId ) ; cmdEntity.setCommandType ( actionType ) ; cmdEntity.setCommandParameters ( params ) ; return cmdEntity ; }

Target:
public org.ovirt.engine.core.common.businessentities.CommandEntity createCommandEntity ( org.ovirt.engine.core.compat.Guid cmdId , org.ovirt.engine.core.common.action.ActionType actionType , org.ovirt.engine.core.common.action.ActionParametersBase params ) { return coCoAsyncTaskHelper.createCommandEntity ( cmdId , actionType , params ) ; }
Source:
public void getUsbPolicyIsSetDisabled ( ) { org.ovirt.engine.api.model.Usb usb = new org.ovirt.engine.api.model.Usb ( ) ; org.ovirt.engine.core.common.businessentities.VDSGroup vdsGroup = new org.ovirt.engine.core.common.businessentities.VDSGroup ( ) ; assertEquals ( org.ovirt.engine.api.restapi.types.VmMapper.getUsbPolicyOnCreate ( usb , vdsGroup ) , UsbPolicy.DISABLED ) ; }

Target:
public void getUsbPolicyIsSetDisabled ( ) { org.ovirt.engine.api.model.Usb usb = new org.ovirt.engine.api.model.Usb ( ) ; org.ovirt.engine.core.common.businessentities.VDSGroup vdsGroup = new org.ovirt.engine.core.common.businessentities.VDSGroup ( ) ; assertEquals ( org.ovirt.engine.api.restapi.types.VmMapper.getUsbPolicyOnCreate ( usb , vdsGroup.getcompatibility_version ( ) ) , UsbPolicy.DISABLED ) ; }
Source:
public boolean eval ( org.ovirt.engine.core.common.businessentities.StorageDomain storageDomain ) { return ! ( sdToReject.equals ( storageDomain ) ) ; }

Target:
protected java.util.function.Predicate < org.ovirt.engine.core.common.businessentities.StorageDomain > getPredicate ( java.util.List < org.ovirt.engine.core.common.businessentities.storage.DiskImage > memoryDisks ) { return ( storageDomain ) -> ! ( sdToReject.equals ( storageDomain ) ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.StorageType getEnum ( org.ovirt.engine.core.common.businessentities.StoragePool storage ) { return storage.getstorage_pool_type ( ) ; }

Target:
protected org.ovirt.engine.core.common.businessentities.StorageType getEnum ( org.ovirt.engine.core.common.businessentities.StoragePool storage ) { return storage.getStorageType ( ) ; }
Source:
public void setLabels ( org.ovirt.engine.ui.uicommonweb.models.ListModel < java.lang.String > labels ) { this . labels = labels ; }

Target:
public void setLabelsModel ( org.ovirt.engine.ui.uicommonweb.models.hosts.VfsNicLabelModel labels ) { this . labelsModel = labels ; }
Source:
public void testGetIscsiBondByIscsiBondId ( ) { org.ovirt.engine.core.common.businessentities.IscsiBond iscsiBond = dao.get ( iscsiBondId ) ; junit.framework.Assert.assertNotNull ( iscsiBond ) ; }

Target:
public void testGetIscsiBondByIscsiBondId ( ) { org.ovirt.engine.core.common.businessentities.IscsiBond iscsiBond = dao.get ( iscsiBondId ) ; org.junit.Assert.assertNotNull ( iscsiBond ) ; }
Source:
public void executeCommand ( org.ovirt.engine.ui.uicommonweb.UICommand uiCommand ) { setWindow ( null ) ; setWindow ( model ) ; }

Target:
public void executeCommand ( org.ovirt.engine.ui.uicommonweb.UICommand uiCommand ) { onRestoreFromExportDomain ( ) ; }
Source:
public void testLoginNameAtDirectoryWhenDirectorySet ( ) { org.ovirt.engine.core.common.businessentities.aaa.DbUser user = new org.ovirt.engine.core.common.businessentities.aaa.DbUser ( ) ; user.setLoginName ( "Legolas" ) ; user.setDomain ( "MiddleEarth.com" ) ; command.setCurrentUser ( user ) ; org.junit.Assert.assertEquals ( "Legolas@MiddleEarth.com" , command.getConsoleUserName ( ) ) ; }

Target:
public void testLoginNameAtDirectoryWhenDirectorySet ( ) { org.ovirt.engine.core.common.businessentities.aaa.DbUser user = new org.ovirt.engine.core.common.businessentities.aaa.DbUser ( ) ; user.setLoginName ( "Legolas" ) ; user.setDomain ( "MiddleEarth.com" ) ; command.setCurrentUser ( user ) ; org.junit.jupiter.api.Assertions.assertEquals ( "Legolas@MiddleEarth.com" , command.getConsoleUserName ( ) ) ; }
Source:
protected void updateCurrentCd ( java.lang.String cdPath ) { cdPath = ( org.apache.commons.lang.StringUtils.isEmpty ( cdPath ) ) ? null : cdPath ; vmHandler.updateCurrentCd ( org.ovirt.engine.core.bll.RunVmCommand.getVdsId ( ) , org.ovirt.engine.core.bll.RunVmCommand.getVm ( ) , cdPath ) ; }

Target:
protected void initParametersForPassthroughVnics ( ) { org.ovirt.engine.core.bll.RunVmCommand.getVm ( ) . setPassthroughVnicToVfMap ( getVnicToVfMap ( org.ovirt.engine.core.bll.RunVmCommand.getVdsId ( ) ) ) ; vfScheduler.cleanVmData ( org.ovirt.engine.core.bll.RunVmCommand.getVmId ( ) ) ; }
Source:
public void setvds_name ( java.lang.String value ) { this . name = value ; }

Target:
public void setVdsName ( java.lang.String value ) { this . name = value ; }
Source:
public java.lang.String getText ( org.ovirt.engine.core.common.businessentities.DbUser user ) { return user.getsurname ( ) ; }

Target:
public java.lang.String getText ( org.ovirt.engine.core.common.businessentities.DbUser user ) { return user.getLastName ( ) ; }
Source:
public void execute ( ) { if ( ( canInvokePlugins ) && ( plugin.isInState ( PluginState.IN_USE ) ) ) { invokePlugin ( plugin , functionName , functionArgs ) ; } }

Target:
public void execute ( ) { if ( ( ( canInvokePlugins ) && ( plugin.isInState ( PluginState.IN_USE ) ) ) && ( condition.canInvoke ( plugin ) ) ) { invokePlugin ( plugin , functionName , functionArgs ) ; } }
Source:
public java.lang.Object convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { return source != null ? ( ( java.lang.String ) ( source ) ) : "" ; }

Target:
public void getHostFingerprint ( org.ovirt.engine.ui.frontend.AsyncQuery < java.lang.String > aQuery , java.lang.String hostAddress ) { aQuery.converterCallback = new org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.StringConverter ( ) ; org.ovirt.engine.ui.frontend.Frontend.getInstance ( ) . runQuery ( VdcQueryType.GetServerSSHKeyFingerprint , new org.ovirt.engine.core.common.queries.ServerParameters ( hostAddress ) , aQuery ) ; }
Source:
protected void executeQueryCommand ( ) { org.ovirt.engine.core.dao.VmDeviceDAO dao = org.ovirt.engine.core.bll.IsBalloonEnabledQuery.getDbFacade ( ) . getVmDeviceDAO ( ) ; org.ovirt.engine.core.bll.IsBalloonEnabledQuery.getQueryReturnValue ( ) . setReturnValue ( dao.isMemBalloonEnabled ( org.ovirt.engine.core.bll.IsBalloonEnabledQuery.getParameters ( ) . getId ( ) ) ) ; }

Target:
protected void executeQueryCommand ( ) { org.ovirt.engine.core.dao.VmDeviceDAO dao = org.ovirt.engine.core.bll.IsBalloonEnabledQuery.getDbFacade ( ) . getVmDeviceDao ( ) ; org.ovirt.engine.core.bll.IsBalloonEnabledQuery.getQueryReturnValue ( ) . setReturnValue ( dao.isMemBalloonEnabled ( org.ovirt.engine.core.bll.IsBalloonEnabledQuery.getParameters ( ) . getId ( ) ) ) ; }
Source:
public org.ovirt.engine.core.common.businessentities.ArchitectureType convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { return ( ( org.ovirt.engine.core.common.businessentities.ArchitectureType ) ( source ) ) ; }

Target:
public void getHostArchitecture ( org.ovirt.engine.ui.frontend.AsyncQuery < org.ovirt.engine.core.common.businessentities.ArchitectureType > aQuery , org.ovirt.engine.core.compat.Guid id ) { aQuery.converterCallback = new org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.CastingConverter < > ( ) ; org.ovirt.engine.ui.frontend.Frontend.getInstance ( ) . runQuery ( VdcQueryType.GetHostArchitecture , new org.ovirt.engine.core.common.queries.IdQueryParameters ( id ) , aQuery ) ; }
Source:
private static org.ovirt.engine.core.common.businessentities.DiskImage createSparseDiskImage ( ) { org.ovirt.engine.core.common.businessentities.DiskImage image = new org.ovirt.engine.core.common.businessentities.DiskImage ( ) ; image.setVolumeType ( VolumeType.Sparse ) ; image.setDiskInterface ( DiskInterface.IDE ) ; return image ; }

Target:
private static org.ovirt.engine.core.common.businessentities.storage.DiskImage createSparseDiskImage ( ) { org.ovirt.engine.core.common.businessentities.storage.DiskImage image = new org.ovirt.engine.core.common.businessentities.storage.DiskImage ( ) ; image.setVolumeType ( VolumeType.Sparse ) ; image.setDiskInterface ( DiskInterface.IDE ) ; return image ; }
Source:
public org.ovirt.engine.core.vdsbroker.gluster.StorageDeviceListReturnForXmlRpc getStorageDeviceList ( ) { org.ovirt.vdsm.jsonrpc.client.JsonRpcRequest request = new org.ovirt.vdsm.jsonrpc.client.RequestBuilder ( "GlusterHost.storageDevicesList" ) . build ( ) ; java.util.Map < java.lang.String , java.lang.Object > response = new org.ovirt.engine.core.vdsbroker.jsonrpc.FutureMap ( this . client , request ) . withResponseKey ( "deviceInfo" ) ; return new org.ovirt.engine.core.vdsbroker.gluster.StorageDeviceListReturnForXmlRpc ( response ) ; }

Target:
public org.ovirt.engine.core.vdsbroker.gluster.StorageDeviceListReturnForXmlRpc glusterStorageDeviceList ( ) { org.ovirt.vdsm.jsonrpc.client.JsonRpcRequest request = new org.ovirt.vdsm.jsonrpc.client.RequestBuilder ( "GlusterHost.storageDevicesList" ) . build ( ) ; java.util.Map < java.lang.String , java.lang.Object > response = new org.ovirt.engine.core.vdsbroker.jsonrpc.FutureMap ( this . client , request ) . withIgnoreResponseKey ( ) ; return new org.ovirt.engine.core.vdsbroker.gluster.StorageDeviceListReturnForXmlRpc ( response ) ; }
Source:
public static boolean IsMatch ( java.lang.String searchString , java.lang.String pageStringRegex , int ignorecase ) { throw new org.ovirt.engine.core.compat.NotImplementedException ( ) ; }

Target:
public static boolean isMatch ( java.lang.String searchString , java.lang.String pageStringRegex , int ignorecase ) { throw new org.ovirt.engine.core.compat.NotImplementedException ( ) ; }
Source:
public void updateFCPUnsupportedConnectionType ( ) { org.ovirt.engine.core.common.businessentities.StorageServerConnections dummyFCPConn = createISCSIConnection ( "10.35.16.25" , StorageType.FCP , "" , "user1" , "mypassword123" ) ; parameters.setStorageServerConnection ( dummyFCPConn ) ; org.ovirt.engine.core.bll.CanDoActionTestUtils.runAndAssertCanDoActionFailure ( command , VdcBllMessages.ACTION_TYPE_FAILED_STORAGE_CONNECTION_UNSUPPORTED_ACTION_FOR_STORAGE_TYPE ) ; }

Target:
public void updateFCPUnsupportedConnectionType ( ) { org.ovirt.engine.core.common.businessentities.StorageServerConnections dummyFCPConn = createISCSIConnection ( "10.35.16.25" , StorageType.FCP , "" , "3260" , "user1" , "mypassword123" ) ; parameters.setStorageServerConnection ( dummyFCPConn ) ; org.ovirt.engine.core.bll.CanDoActionTestUtils.runAndAssertCanDoActionFailure ( command , VdcBllMessages.ACTION_TYPE_FAILED_STORAGE_CONNECTION_UNSUPPORTED_ACTION_FOR_STORAGE_TYPE ) ; }
Source:
private org.ovirt.engine.api.model.Label getModel ( int i ) { org.ovirt.engine.api.model.Label model = new org.ovirt.engine.api.model.Label ( ) ; model.setId ( org.ovirt.engine.api.restapi.resource.BackendHostNicLabelsResourceTest.LABELS [ i ] ) ; return model ; }

Target:
private org.ovirt.engine.api.model.NetworkLabel getModel ( int i ) { org.ovirt.engine.api.model.NetworkLabel model = new org.ovirt.engine.api.model.NetworkLabel ( ) ; model.setId ( org.ovirt.engine.api.restapi.resource.BackendHostNicLabelsResourceTest.LABELS [ i ] ) ; return model ; }
Source:
public void networkNotInUseByVms ( ) throws java.lang.Exception { networkNotUsedByVmsTest ( ValidationResult.VALID , java.util.Collections.< org.ovirt.engine.core.common.businessentities.VM > emptyList ( ) ) ; }

Target:
public void networkNotInUseByVms ( ) throws java.lang.Exception { networkNotUsedByVmsTest ( org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) , java.util.Collections.< org.ovirt.engine.core.common.businessentities.VM > emptyList ( ) ) ; }
Source:
public java.lang.String getValue ( org.ovirt.engine.core.common.businessentities.network.Network object ) { return object.getName ( ) ; }

Target:
public java.lang.String getValue ( org.ovirt.engine.core.common.businessentities.network.NetworkView object ) { return object.getName ( ) ; }
Source:
public org.ovirt.engine.core.common.queries.VdcQueryReturnValue runQuery ( org.ovirt.engine.core.common.queries.QueryType actionType , org.ovirt.engine.core.common.queries.VdcQueryParametersBase parameters ) { return runQueryImpl ( actionType , parameters , true , null ) ; }

Target:
public org.ovirt.engine.core.common.queries.VdcQueryReturnValue runQuery ( org.ovirt.engine.core.common.queries.QueryType actionType , org.ovirt.engine.core.common.queries.QueryParametersBase parameters ) { return runQueryImpl ( actionType , parameters , true , null ) ; }
Source:
public void ExecuteCommand ( org.ovirt.engine.ui.uicommonweb.UICommand uiCommand , java.lang.Object ... parameters ) { ExecuteCommand ( uiCommand ) ; }

Target:
public void executeCommand ( org.ovirt.engine.ui.uicommonweb.UICommand uiCommand , java.lang.Object ... parameters ) { executeCommand ( uiCommand ) ; }
Source:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { executeCommand ( getShutdownCommand ( ) ) ; }

Target:
public void onClick ( com.google.gwt.event.dom.client.ClickEvent event ) { executeCommand ( getSuspendCommand ( ) ) ; }
Source:
public void spiceConnect ( ) { try { getspice ( ) . connect ( ) ; } catch ( java.lang.RuntimeException ex ) { getLogger ( ) . error ( "Exception on Spice connect" , ex ) ; } }

Target:
public void spiceConnect ( ) { try { getspice ( ) . invokeClient ( ) ; } catch ( java.lang.RuntimeException ex ) { getLogger ( ) . error ( "Exception on Spice connect" , ex ) ; } }
Source:
protected void verifyModel ( org.ovirt.engine.api.model.ExternalDiscoveredHost model , int index ) { assertEquals ( NAMES [ index ] , model.getName ( ) ) ; verifyLinks ( model ) ; }

Target:
protected void verifyModel ( org.ovirt.engine.api.model.ExternalDiscoveredHost model , int index ) { org.junit.Assert.assertEquals ( NAMES [ index ] , model.getName ( ) ) ; verifyLinks ( model ) ; }