auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public java.lang.String getValue ( org.ovirt.engine.core.common.businessentities.DbUser object ) { return object.getLoginName ( ) ; }

Target:
public java.lang.String getValue ( org.ovirt.engine.core.common.businessentities.DbUser object ) { return org.ovirt.engine.ui.frontend.utils.FormatUtils.getFullLoginName ( object ) ; }
Source:
public void setparameters ( java.lang.String value ) { switch ( getvm_pool_type ( ) ) { case TimeLease : { InitializedTimeLeasedDefaultData ( value ) ; break ; } default : { parameters = value ; break ; } } }

Target:
public void setParameters ( java.lang.String value ) { switch ( getVmPoolType ( ) ) { case TimeLease : { initializeTimeLeasedDefaultData ( value ) ; break ; } default : { parameters = value ; break ; } } }
Source:
java.util.List < org.ovirt.engine.core.common.utils.Pair < org.ovirt.engine.core.compat.Guid , org.ovirt.engine.core.common.businessentities.VmNumaNode > > getVmNumaNodeInfoByVdsGroupId ( org.ovirt.engine.core.compat.Guid vdsGroupId ) ;

Target:
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 ) ;
Source:
protected org.ovirt.engine.api.model.User mapAdUser ( org.ovirt.engine.core.common.businessentities.AdUser adUser ) { return getMapper ( org.ovirt.engine.core.common.businessentities.AdUser.class , org.ovirt.engine.api.model.User.class ) . map ( adUser , null ) ; }

Target:
protected org.ovirt.engine.api.model.User mapAdUser ( org.ovirt.engine.core.common.businessentities.LdapUser adUser ) { return getMapper ( org.ovirt.engine.core.common.businessentities.LdapUser.class , org.ovirt.engine.api.model.User.class ) . map ( adUser , null ) ; }
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 ) { updateFencingPolicyContent ( ( ( getVersion ( ) ) == null ? null : getVersion ( ) . getSelectedItem ( ) ) ) ; }

Target:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { setAllowClusterWithVirtGlusterEnabled ( ( ( java.lang.Boolean ) ( returnValue ) ) ) ; }
Source:
public com.google.gwt.resources.client.ImageResource getDefaultImage ( ) { return org.ovirt.engine.ui.webadmin.widget.table.column.ReasonColumn.getApplicationResources ( ) . commentImage ( ) ; }

Target:
protected abstract java.lang.String getReason ( T value ) ;
Source:
public void testExistJobMessages ( ) { org.ovirt.engine.core.dal.job.ExecutionMessageDirector messageDirector = org.ovirt.engine.core.dal.job.ExecutionMessageDirector.getInstance ( ) ; messageDirector.initialize ( org.ovirt.engine.core.dal.job.ExecutionMessageDirectorTest.TEST_BUNDLE_NAME ) ; java.lang.String updateClusterMessage = messageDirector.getJobMessage ( ActionType.UpdateCluster ) ; org.junit.Assert.assertEquals ( org.ovirt.engine.core.dal.job.ExecutionMessageDirectorTest.UPDATE_CLUSTER_CLUSTERS_MESSAGE , updateClusterMessage ) ; }

Target:
public void testExistJobMessages ( ) { org.ovirt.engine.core.dal.job.ExecutionMessageDirector messageDirector = org.ovirt.engine.core.dal.job.ExecutionMessageDirector.getInstance ( ) ; messageDirector.initialize ( org.ovirt.engine.core.dal.job.ExecutionMessageDirectorTest.TEST_BUNDLE_NAME ) ; java.lang.String updateClusterMessage = messageDirector.getJobMessage ( ActionType.UpdateCluster ) ; org.junit.jupiter.api.Assertions.assertEquals ( org.ovirt.engine.core.dal.job.ExecutionMessageDirectorTest.UPDATE_CLUSTER_CLUSTERS_MESSAGE , updateClusterMessage ) ; }
Source:
private java.lang.String getClientUrl ( ) { return ( ( ( ( ( ( com.google.gwt.user.client.Window.Location.getProtocol ( ) ) + "//" ) + ( com.google.gwt.user.client.Window.Location.getHost ( ) ) ) + "/ovirt-engine-novnc-main.html?host=" ) + ( config.getProxyHost ( ) ) ) + "&port=" ) + ( config.getProxyPort ( ) ) ; }

Target:
public void invokeClient ( ) { org.ovirt.engine.ui.common.uicommon.WebClientConsoleInvoker invoker = new org.ovirt.engine.ui.common.uicommon.WebClientConsoleInvoker ( org.ovirt.engine.ui.common.uicommon.NoVncImpl.CLIENT_PAGE , config , getVncHost ( ) , getVncPort ( ) , getTicket ( ) , false ) ; invoker.invokeClient ( ) ; }
Source:
protected void mockBackendStatusChange ( T cmd , boolean succeeded ) { mockBackendStatusChange ( cmd , succeeded , VdcBllErrors.GlusterHookEnableFailed ) ; }

Target:
protected void mockBackendStatusChange ( T cmd , boolean succeeded ) { mockBackendStatusChange ( cmd , succeeded , EngineError.GlusterHookEnableFailed ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.VDS getUpServer ( ) { return getVdsDAO ( ) . get ( getParameters ( ) . getId ( ) ) ; }

Target:
protected org.ovirt.engine.core.common.businessentities.VDS getUpServer ( ) { return getVdsDao ( ) . get ( getParameters ( ) . getId ( ) ) ; }
Source:
protected void ExecuteVdsBrokerCommand ( ) { mVmReturn = org.ovirt.engine.core.vdsbroker.vdsbroker.ResumeBrokerVDSCommand.getBroker ( ) . resume ( mVmId.toString ( ) ) ; org.ovirt.engine.core.vdsbroker.vdsbroker.ResumeBrokerVDSCommand.ProceedProxyReturnValue ( ) ; }

Target:
protected void ExecuteVdsBrokerCommand ( ) { mVmReturn = org.ovirt.engine.core.vdsbroker.vdsbroker.ResumeBrokerVDSCommand.getBroker ( ) . resume ( mVmId.toString ( ) ) ; org.ovirt.engine.core.vdsbroker.vdsbroker.ResumeBrokerVDSCommand.proceedProxyReturnValue ( ) ; }
Source:
public void attachVdsToTag ( org.ovirt.engine.core.common.businessentities.TagsVdsMap tagVdsMap ) { org.springframework.jdbc.core.namedparam.MapSqlParameterSource parameterSource = getCustomMapSqlParameterSource ( ) . addValue ( "tag_id" , tagVdsMap.gettag_id ( ) ) . addValue ( "vds_id" , tagVdsMap.getvds_id ( ) ) ; getCallsHandler ( ) . executeModification ( "Inserttags_vds_map" , parameterSource ) ; }

Target:
public void attachVdsToTag ( org.ovirt.engine.core.common.businessentities.TagsVdsMap tagVdsMap ) { org.springframework.jdbc.core.namedparam.MapSqlParameterSource parameterSource = getCustomMapSqlParameterSource ( ) . addValue ( "tag_id" , tagVdsMap.getTagId ( ) ) . addValue ( "vds_id" , tagVdsMap.getVdsId ( ) ) ; getCallsHandler ( ) . executeModification ( "Inserttags_vds_map" , parameterSource ) ; }
Source:
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.StorageDomain > ) ( source ) ) : null ; }

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:
public void testBadGuid ( ) { try { new org.ovirt.engine.api.restapi.resource.BackendDiskProfileResource ( "foo" ) ; org.junit.jupiter.api.Assertions.fail ( "expected WebApplicationException" ) ; } catch ( javax.ws.rs.WebApplicationException wae ) { verifyNotFoundException ( wae ) ; } }

Target:
public void testBadGuid ( ) { verifyNotFoundException ( org.junit.jupiter.api.Assertions.assertThrows ( javax.ws.rs.WebApplicationException.class , ( ) -> new org.ovirt.engine.api.restapi.resource.BackendDiskProfileResource ( "foo" ) ) ) ; }
Source:
private void keyItemChanged ( ) { if ( ( getIsNew ( ) ) && ( ( getKeyList ( ) . getSelectedItem ( ) ) != null ) ) { getSelectedKey ( ) . setEntity ( getKeyList ( ) . getSelectedItem ( ) . getKey ( ) ) ; } }

Target:
public void setOptionsMap ( java.util.HashMap < java.lang.String , org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeOptionInfo > optionsMap ) { this . optionsMap = optionsMap ; getKeyList ( ) . setItems ( new java.util.ArrayList < java.lang.String > ( getOptionsMap ( ) . keySet ( ) ) , getKeyList ( ) . getSelectedItem ( ) ) ; }
Source:
public void setuser_id ( org.ovirt.engine.core.compat.Guid value ) { this . userId = value ; }

Target:
public void setUserId ( org.ovirt.engine.core.compat.Guid userId ) { this . userId = userId ; }
Source:
public final boolean connect ( java.lang.String server , java.lang.String rootPassword ) { org.ovirt.engine.core.utils.hostinstall.Credentials creds = prepareCredentials ( rootPassword ) ; return _do_connect ( server , creds ) ; }

Target:
public final boolean connect ( java.lang.String server , java.lang.String rootPassword , long timeout ) { return _doConnect ( server , _prepareCredentials ( rootPassword ) , timeout ) ; }
Source:
public boolean disconnectStorageFromDomainByVdsId ( org.ovirt.engine.core.common.businessentities.StorageDomain storageDomain , org.ovirt.engine.core.compat.Guid vdsId ) { return runConnectionStorageToDomain ( storageDomain , vdsId , VDSCommandType.DisconnectStorageServer.getValue ( ) ) ; }

Target:
public boolean disconnectStorageFromDomainByVdsId ( org.ovirt.engine.core.common.businessentities.StorageDomain storageDomain , org.ovirt.engine.core.compat.Guid vdsId ) { return runConnectionStorageToDomain ( storageDomain , vdsId , VDSCommandType.DisconnectStorageServer.getValue ( ) ) . getFirst ( ) ; }
Source:
public void testRemove ( ) { dao.remove ( FixturesTool.GLUSTER_GEOREP_SESSION_ID ) ; java.util.List < org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSession > fetchedSessions = dao.getGeoRepSessionsInCluster ( FixturesTool.GLUSTER_CLUSTER_ID ) ; org.junit.Assert.assertEquals ( 0 , fetchedSessions.size ( ) ) ; }

Target:
public void testRemove ( ) { dao.remove ( FixturesTool.GLUSTER_GEOREP_SESSION_ID ) ; java.util.List < org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSession > fetchedSessions = dao.getGeoRepSessionsInCluster ( FixturesTool.GLUSTER_CLUSTER_ID ) ; org.junit.jupiter.api.Assertions.assertEquals ( 0 , fetchedSessions.size ( ) ) ; }
Source:
public java.lang.String getValue ( org.ovirt.engine.core.common.businessentities.storage.Disk disk ) { return ( disk.getDiskStorageType ( ) ) == ( org.ovirt.engine.core.common.businessentities.storage.Disk.DiskStorageType.IMAGE ) ? ( ( org.ovirt.engine.core.common.businessentities.DiskImage ) ( disk ) ) . getImageId ( ) . toString ( ) : null ; }

Target:
public java.lang.String getValue ( org.ovirt.engine.core.common.businessentities.storage.Disk disk ) { return ( disk.getDiskStorageType ( ) ) == ( org.ovirt.engine.core.common.businessentities.storage.DiskStorageType.IMAGE ) ? ( ( org.ovirt.engine.core.common.businessentities.storage.DiskImage ) ( disk ) ) . getImageId ( ) . toString ( ) : null ; }
Source:
public void testComparatorHigherPriorityFst ( ) { int compared = cpComparator.compare ( ConsoleProtocol.SPICE , ConsoleProtocol.RDP ) ; org.junit.Assert.assertTrue ( ( compared > 0 ) ) ; }

Target:
public void testComparatorHigherPriorityFst ( ) { int compared = cpComparator.compare ( ConsoleProtocol.SPICE , ConsoleProtocol.RDP ) ; org.junit.jupiter.api.Assertions.assertTrue ( ( compared > 0 ) ) ; }
Source:
public java.lang.String getValue ( org.ovirt.engine.core.common.businessentities.DiskImage object ) { return object.getDiskDescription ( ) ; }

Target:
public java.lang.String getValue ( org.ovirt.engine.core.common.businessentities.storage.DiskImage object ) { return object.getDiskDescription ( ) ; }
Source:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.common.uicommon.model.SearchableDetailModelProvider < org.ovirt.engine.ui.uicommonweb.models.vms.VmDeviceFeEntity , org.ovirt.engine.ui.uicommonweb.models.vms.VmListModel < java.lang.Void > , org.ovirt.engine.ui.uicommonweb.models.vms.VmDevicesListModel < org.ovirt.engine.core.common.businessentities.VM > > modelProvider ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( org.ovirt.engine.ui.webadmin.section.main.presenter.tab.virtualMachine.SubTabVirtualMachineVmDevicePresenter.constants.virtualMachineVmDevicesSubTabLabel ( ) , 6 , modelProvider ) ; }

Target:
static com.gwtplatform.mvp.client.TabData getTabData ( ) { return new org.ovirt.engine.ui.common.uicommon.model.GroupedTabData ( org.ovirt.engine.ui.webadmin.section.main.presenter.tab.virtualMachine.SubTabVirtualMachineVmDevicePresenter.constants.virtualMachineVmDevicesSubTabLabel ( ) , 6 ) ; }
Source:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.webadmin.ApplicationConstants applicationConstants , org.ovirt.engine.ui.common.uicommon.model.SearchableDetailModelProvider < org.ovirt.engine.core.common.businessentities.StorageDomain , org.ovirt.engine.ui.uicommonweb.models.storage.StorageListModel , org.ovirt.engine.ui.uicommonweb.models.storage.StorageDataCenterListModel > modelProvider ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( applicationConstants.storageDataCenterSubTabLabel ( ) , 1 , modelProvider ) ; }

Target:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.common.uicommon.model.SearchableDetailModelProvider < org.ovirt.engine.core.common.businessentities.StorageDomain , org.ovirt.engine.ui.uicommonweb.models.storage.StorageListModel , org.ovirt.engine.ui.uicommonweb.models.storage.StorageDataCenterListModel > modelProvider ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( org.ovirt.engine.ui.webadmin.section.main.presenter.tab.storage.SubTabStorageDataCenterPresenter.constants.storageDataCenterSubTabLabel ( ) , 1 , modelProvider ) ; }
Source:
public javax.ws.rs.core.Response add ( org.ovirt.engine.api.model.Bookmark bookmark ) { validateParameters ( bookmark , "name" ) ; validateParameters ( bookmark , "value" ) ; return performCreate ( VdcActionType.AddBookmark , new org.ovirt.engine.core.common.action.BookmarksOperationParameters ( map ( bookmark ) ) , new org.ovirt.engine.api.restapi.resource.BackendBookmarksResource.BookmarkNameResolver ( bookmark.getName ( ) ) ) ; }

Target:
public javax.ws.rs.core.Response add ( org.ovirt.engine.api.model.Bookmark bookmark ) { validateParameters ( bookmark , "name" ) ; validateParameters ( bookmark , "value" ) ; return performCreate ( ActionType.AddBookmark , new org.ovirt.engine.core.common.action.BookmarksOperationParameters ( map ( bookmark ) ) , new org.ovirt.engine.api.restapi.resource.BackendBookmarksResource.BookmarkNameResolver ( bookmark.getName ( ) ) ) ; }
Source:
public void setvds_group_id ( org.ovirt.engine.core.compat.Guid value ) { this . mVmStatic.setvds_group_id ( value ) ; }

Target:
public org.ovirt.engine.core.compat.Guid getVdsGroupId ( ) { return this . vmStatic.getvds_group_id ( ) ; }
Source:
public java.util.List < org.ovirt.engine.core.bll.utils.PermissionSubject > getPermissionCheckSubjects ( ) { return java.util.Collections.singletonList ( new org.ovirt.engine.core.bll.utils.PermissionSubject ( getVdsGroupId ( ) , org.ovirt.engine.core.common.VdcObjectType.VDS , getActionType ( ) . getActionGroup ( ) ) ) ; }

Target:
public java.util.List < org.ovirt.engine.core.bll.utils.PermissionSubject > getPermissionCheckSubjects ( ) { return java.util.Collections.singletonList ( new org.ovirt.engine.core.bll.utils.PermissionSubject ( getClusterId ( ) , org.ovirt.engine.core.common.VdcObjectType.VDS , getActionType ( ) . getActionGroup ( ) ) ) ; }
Source:
private void setRngDeviceToParams ( org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel model , org.ovirt.engine.core.common.action.VmManagementParametersBase parameters ) { parameters.setUpdateRngDevice ( true ) ; parameters.setRngDevice ( ( model.getIsRngEnabled ( ) . getEntity ( ) ? model.generateRngDevice ( ) : null ) ) ; }

Target:
public void executed ( org.ovirt.engine.ui.uicompat.FrontendMultipleActionAsyncResult result ) { getWindow ( ) . stopProgress ( ) ; setWindow ( null ) ; }
Source:
public org.ovirt.engine.api.resource.AssignedPermissionsResource getPermissionsResource ( ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendAssignedPermissionsResource ( guid , org.ovirt.engine.core.common.queries.VdcQueryType.GetPermissionsForObject , new org.ovirt.engine.core.common.queries.GetPermissionsForObjectParameters ( guid ) , org.ovirt.engine.api.model.DataCenter.class , org.ovirt.engine.core.common.VdcObjectType.StoragePool ) ) ; }

Target:
public org.ovirt.engine.api.resource.AssignedPermissionsResource getPermissionsResource ( ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendAssignedPermissionsResource ( guid , org.ovirt.engine.core.common.queries.QueryType.GetPermissionsForObject , new org.ovirt.engine.core.common.queries.GetPermissionsForObjectParameters ( guid ) , org.ovirt.engine.api.model.DataCenter.class , org.ovirt.engine.core.common.VdcObjectType.StoragePool ) ) ; }
Source:
public static boolean IsMatch ( java.lang.String input , java.lang.String pattern ) { return org.ovirt.engine.core.compat.Regex.IsMatch ( input , pattern , RegexOptions.None ) ; }

Target:
public static boolean isMatch ( java.lang.String input , java.lang.String pattern ) { return org.ovirt.engine.core.compat.Regex.isMatch ( input , pattern , RegexOptions.None ) ; }
Source:
protected void updateVmDisksFromDb ( org.ovirt.engine.core.common.businessentities.VM vm ) { org.ovirt.engine.core.bll.VmHandler.updateDisksFromDb ( vm ) ; }

Target:
protected void updateVmDisksFromDb ( org.ovirt.engine.core.common.businessentities.VM vm ) { vmHandler.updateDisksFromDb ( vm ) ; }
Source:
public org.ovirt.engine.core.common.businessentities.InterfaceStatus getStatus ( ) { return getEntity ( ) . getStatistics ( ) . getStatus ( ) ; }

Target:
public org.ovirt.engine.core.common.businessentities.network.InterfaceStatus getStatus ( ) { return getEntity ( ) . getStatistics ( ) . getStatus ( ) ; }
Source:
public java.util.List < java.lang.String > TranslateErrorText ( java.util.List < java.lang.String > errorMsg , java.util.Locale locale ) { return translate ( errorMsg , true , locale ) ; }

Target:
public java.util.List < java.lang.String > translateErrorText ( java.util.List < java.lang.String > errorMsg , java.util.Locale locale ) { return translate ( errorMsg , true , locale ) ; }
Source:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { getNicType ( ) . setItems ( ( ( java.util.List < org.ovirt.engine.core.common.businessentities.network.VmInterfaceType > ) ( returnValue ) ) ) ; postNicInit ( ) ; }

Target:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { supportedVnicTypes = ( ( java.util.Collection < org.ovirt.engine.core.common.businessentities.network.VmInterfaceType > ) ( returnValue ) ) ; postNicInit ( ) ; }
Source:
private void handleAuthenticationException ( org.ovirt.engine.extensions.aaa.builtin.kerberosldap.LdapSearchExceptionHandlingResponse response ) { org.ovirt.engine.extensions.aaa.builtin.kerberosldap.LdapSearchExceptionHandler.log.error ( "Ldap authentication failed. Please check that the login name , password and path are correct. " ) ; org.ovirt.engine.extensions.aaa.builtin.kerberosldap.AuthenticationResultException ex = new org.ovirt.engine.extensions.aaa.builtin.kerberosldap.AuthenticationResultException ( org.ovirt.engine.core.utils.kerberos.AuthenticationResult.OTHER ) ; response.setOrderingAlgorithm ( OrderingAlgorithmType.NO_OP ) . setTranslatedException ( ex ) . setTryNextServer ( false ) ; }

Target:
private void handleAuthenticationException ( org.ovirt.engine.extensions.aaa.builtin.kerberosldap.LdapSearchExceptionHandlingResponse response ) { org.ovirt.engine.extensions.aaa.builtin.kerberosldap.LdapSearchExceptionHandler.log.error ( "Ldap authentication failed. Please check that the login name , password and path are correct. " ) ; org.ovirt.engine.extensions.aaa.builtin.kerberosldap.AuthenticationResultException ex = new org.ovirt.engine.extensions.aaa.builtin.kerberosldap.AuthenticationResultException ( org.ovirt.engine.extensions.aaa.builtin.kerberosldap.utils.kerberos.AuthenticationResult.OTHER ) ; response.setOrderingAlgorithm ( OrderingAlgorithmType.NO_OP ) . setTranslatedException ( ex ) . setTryNextServer ( false ) ; }
Source:
protected void setActionMessageParameters ( ) { super . setActionMessageParameters ( ) ; addCanDoActionMessage ( VdcBllMessages.VAR__ACTION__SYNC ) ; addCanDoActionMessage ( VdcBllMessages.VAR__TYPE__STORAGE_DEVICE ) ; addCanDoActionMessageVariable ( "VdsName" , org.ovirt.engine.core.bll.gluster.SyncStorageDevicesCommand.getVds ( ) . getName ( ) ) ; }

Target:
protected void setActionMessageParameters ( ) { super . setActionMessageParameters ( ) ; addCanDoActionMessage ( EngineMessage.VAR__ACTION__SYNC ) ; addCanDoActionMessage ( EngineMessage.VAR__TYPE__STORAGE_DEVICE ) ; addCanDoActionMessageVariable ( "VdsName" , org.ovirt.engine.core.bll.gluster.SyncStorageDevicesCommand.getVds ( ) . getName ( ) ) ; }
Source:
public void setStartedTime ( org.ovirt.engine.ui.uicommonweb.models.EntityModel startedTime ) { this . startedTime = startedTime ; }

Target:
public void setStartTime ( org.ovirt.engine.ui.uicommonweb.models.EntityModel startedTime ) { this . startTime = startedTime ; }
Source:
private org.ovirt.engine.core.compat.Guid addMemoryDisk ( ) { org.ovirt.engine.core.common.businessentities.storage.DiskImage memoryDisk = org.ovirt.engine.core.bll.memory.MemoryUtils.createSnapshotMemoryDisk ( vm , getStorageType ( ) , vmOverheadCalculator ) ; return addDisk ( memoryDisk ) ; }

Target:
private org.ovirt.engine.core.compat.Guid addMemoryDisk ( ) { org.ovirt.engine.core.common.businessentities.storage.DiskImage memoryDisk = org.ovirt.engine.core.bll.memory.MemoryUtils.createSnapshotMemoryDisk ( vm , getStorageType ( ) , vmOverheadCalculator ) ; memoryDisk.setWipeAfterDelete ( wipeAfterDelete ) ; return addDisk ( memoryDisk ) ; }
Source:
public org.ovirt.engine.core.common.action.VdcReturnValueBase RunUserAction ( org.ovirt.engine.core.common.action.VdcActionType actionType , org.ovirt.engine.core.common.action.VdcActionParametersBase parameters ) { if ( org.ovirt.engine.core.compat.StringHelper.isNullOrEmpty ( parameters.getHttpSessionId ( ) ) ) { return org.ovirt.engine.core.bll.Backend.NotAutorizedError ( ) ; } return RunAction ( actionType , parameters ) ; }

Target:
protected org.ovirt.engine.core.bll.QueriesCommandBase < ? > createQueryCommand ( org.ovirt.engine.core.common.queries.VdcQueryType actionType , org.ovirt.engine.core.common.queries.VdcQueryParametersBase parameters ) { return org.ovirt.engine.core.bll.CommandsFactory.createQueryCommand ( actionType , parameters ) ; }
Source:
public void nicDoesntExist ( ) { org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface nic = createNic ( "eth0" , null ) ; org.ovirt.engine.core.bll.network.host.SetupNetworksHelper helper = createHelper ( createParametersForNics ( nic ) ) ; validateAndExpectViolation ( helper , VdcBllMessages.NETWORK_INTERFACES_DONT_EXIST , nic.getName ( ) ) ; }

Target:
public void nicDoesntExist ( ) { org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface nic = createNic ( "eth0" , null ) ; org.ovirt.engine.core.bll.network.host.SetupNetworksHelper helper = createHelper ( createParametersForNics ( nic ) ) ; validateAndExpectViolation ( helper , EngineMessage.NETWORK_INTERFACES_DONT_EXIST , nic.getName ( ) ) ; }
Source:
public void NameNotTaken ( ) { qos.setName ( "fubar" ) ; nameNotChangedOrNotTakenTest ( org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }

Target:
public void nameNotTaken ( ) { qos.setName ( "fubar" ) ; nameNotChangedOrNotTakenTest ( org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }
Source:
protected java.lang.String getDisplayFilter ( org.ovirt.engine.core.bll.adbroker.LdapQueryMetadata queryMetadata ) { java.lang.Object [ ] encodedFilterParameters = getEncodedParameters ( queryMetadata.getQueryData ( ) . getFilterParameters ( ) , queryMetadata.getLdapGuidEncoder ( ) ) ; return getFilter ( queryMetadata , encodedFilterParameters ) ; }

Target:
protected java.lang.String getDisplayFilter ( org.ovirt.engine.core.bll.adbroker.LdapQueryMetadata queryMetadata ) { java.lang.Object [ ] encodedFilterParameters = getEncodedParameters ( queryMetadata.getQueryData ( ) . getFilterParameters ( ) , queryMetadata.getLdapIdEncoder ( ) ) ; return getFilter ( queryMetadata , encodedFilterParameters ) ; }
Source:
public static java.util.Map < java.lang.String , org.ovirt.engine.core.common.utils.Pair < java.lang.String , java.lang.String > > createFenceExclusiveLocksMap ( org.ovirt.engine.core.compat.Guid vdsId ) { return java.util.Collections.singletonMap ( vdsId.toString ( ) , org.ovirt.engine.core.bll.LockMessagesMatchUtil.makeLockingPair ( LockingGroup.VDS_FENCE , VdcBllMessages.POWER_MANAGEMENT_ACTION_ON_ENTITY_ALREADY_IN_PROGRESS ) ) ; }

Target:
public static java.util.Map < java.lang.String , org.ovirt.engine.core.common.utils.Pair < java.lang.String , java.lang.String > > createFenceExclusiveLocksMap ( org.ovirt.engine.core.compat.Guid vdsId ) { return java.util.Collections.singletonMap ( vdsId.toString ( ) , org.ovirt.engine.core.bll.LockMessagesMatchUtil.makeLockingPair ( LockingGroup.VDS_FENCE , EngineMessage.POWER_MANAGEMENT_ACTION_ON_ENTITY_ALREADY_IN_PROGRESS ) ) ; }
Source:
public java.lang.Integer getusage_cpu_percent ( ) { return this . mVmStatistics.getusage_cpu_percent ( ) ; }

Target:
public int getVmtChildCount ( ) { return this . vmtchildCount ; }
Source:
public org.ovirt.engine.api.model.VirtualNumaNode addParents ( org.ovirt.engine.api.model.VirtualNumaNode node ) { node.setVm ( new org.ovirt.engine.api.model.VM ( ) ) ; node.getVm ( ) . setId ( parentId.toString ( ) ) ; return node ; }

Target:
public org.ovirt.engine.api.model.VirtualNumaNode addParents ( org.ovirt.engine.api.model.VirtualNumaNode node ) { node.setVm ( new org.ovirt.engine.api.model.Vm ( ) ) ; node.getVm ( ) . setId ( parentId.toString ( ) ) ; return node ; }
Source:
public void setIpv4BootProtocol ( org.ovirt.engine.core.common.businessentities.network.Ipv4BootProtocol value ) { if ( ( ipv4BootProtocol ) != value ) { ipv4BootProtocol = value ; bootProtocolChanged ( ) ; onPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "BootProtocol" ) ) ; } }

Target:
public void setIpv4BootProtocol ( org.ovirt.engine.core.common.businessentities.network.Ipv4BootProtocol value ) { if ( ( ipv4BootProtocol ) != value ) { ipv4BootProtocol = value ; ipv4BootProtocolChanged ( ) ; } }
Source:
public abstract void render ( org.ovirt.engine.ui.common.widget.table.cell.Context context , C value , com.google.gwt.safehtml.shared.SafeHtmlBuilder sb , java.lang.String id ) ;

Target:
public abstract void render ( org.ovirt.engine.ui.common.widget.table.cell.Cell.Context context , C value , com.google.gwt.safehtml.shared.SafeHtmlBuilder sb , java.lang.String id ) ;
Source:
protected org.ovirt.engine.api.model.CreationStatus awaitCompletion ( org.ovirt.engine.core.common.action.VdcReturnValueBase result , org.ovirt.engine.api.restapi.resource.AbstractBackendResource.PollingType pollingType ) { org.ovirt.engine.api.model.CreationStatus status = null ; while ( incomplete ( ( status = getAsynchronousStatus ( result , pollingType ) ) ) ) { delay ( org.ovirt.engine.api.restapi.resource.AbstractBackendResource.MONITOR_DELAY ) ; } return status ; }

Target:
protected org.ovirt.engine.api.model.CreationStatus awaitCompletion ( org.ovirt.engine.core.common.action.ActionReturnValue result , org.ovirt.engine.api.restapi.resource.AbstractBackendResource.PollingType pollingType ) { org.ovirt.engine.api.model.CreationStatus status = null ; while ( incomplete ( ( status = getAsynchronousStatus ( result , pollingType ) ) ) ) { delay ( org.ovirt.engine.api.restapi.resource.AbstractBackendResource.MONITOR_DELAY ) ; } return status ; }
Source:
protected void executeQueryCommand ( ) { P params = org.ovirt.engine.core.bll.storage.domain.GetPermittedStorageDomainsByStoragePoolIdQuery.getParameters ( ) ; setReturnValue ( org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getStorageDomainDao ( ) . getPermittedStorageDomainsByStoragePool ( org.ovirt.engine.core.bll.storage.domain.GetPermittedStorageDomainsByStoragePoolIdQuery.getUserID ( ) , params.getActionGroup ( ) , params.getStoragePoolId ( ) ) ) ; }

Target:
protected void executeQueryCommand ( ) { P params = org.ovirt.engine.core.bll.storage.domain.GetPermittedStorageDomainsByStoragePoolIdQuery.getParameters ( ) ; setReturnValue ( storageDomainDao.getPermittedStorageDomainsByStoragePool ( org.ovirt.engine.core.bll.storage.domain.GetPermittedStorageDomainsByStoragePoolIdQuery.getUserID ( ) , params.getActionGroup ( ) , params.getStoragePoolId ( ) ) ) ; }
Source:
public void setDisks ( java.util.List < org.ovirt.engine.core.common.businessentities.storage.DiskImage > disks ) { this . disks = disks ; }

Target:
public void setImageIds ( java.util.Set < org.ovirt.engine.core.compat.Guid > imageIds ) { this . imageIds = imageIds ; }
Source:
public void testStorageDomainForMemoryIsValidOnlyForActiveStatus ( org.ovirt.engine.core.common.businessentities.StorageDomainStatus storageDomainStatus ) { storageDomain.setStatus ( storageDomainStatus ) ; org.junit.Assert.assertEquals ( filter.getPredicate ( disksList ) . eval ( storageDomain ) , ( storageDomainStatus == ( org.ovirt.engine.core.common.businessentities.StorageDomainStatus.Active ) ) ) ; }

Target:
public void testStorageDomainForMemoryIsValidOnlyForActiveStatus ( org.ovirt.engine.core.common.businessentities.StorageDomainStatus storageDomainStatus ) { storageDomain.setStatus ( storageDomainStatus ) ; org.junit.Assert.assertEquals ( filter.getPredicate ( memoryDisks ) . eval ( storageDomain ) , ( storageDomainStatus == ( org.ovirt.engine.core.common.businessentities.StorageDomainStatus.Active ) ) ) ; }
Source:
public java.lang.String getMessage ( ) { return ( super . getMessage ( ) ) + ( java.lang.String.format ( " (Failed with error %1$s and code %2$s)" , privateVdsError.getCode ( ) , privateVdsError.getCode ( ) . getValue ( ) ) ) ; }

Target:
public java.lang.String getMessage ( ) { return java.lang.String.format ( "%1$s (Failed with error %2$s and code %3$s)" , super . getMessage ( ) , privateVdsError.getCode ( ) , privateVdsError.getCode ( ) . getValue ( ) ) ; }
Source:
protected void moveOrCopyAllImageGroups ( ) { moveOrCopyAllImageGroups ( org.ovirt.engine.core.bll.storage.export.MoveOrCopyTemplateCommand.getVmTemplateId ( ) , getTemplateDisks ( ) ) ; }

Target:
protected void moveOrCopyAllImageGroups ( ) { moveOrCopyAllImageGroups ( org.ovirt.engine.core.bll.exportimport.MoveOrCopyTemplateCommand.getVmTemplateId ( ) , getTemplateDisks ( ) ) ; }
Source:
public void validNetworkProviderType ( ) { org.mockito.Mockito.when ( provider.getType ( ) ) . thenReturn ( ProviderType.OPENSTACK_NETWORK ) ; org.junit.Assert.assertThat ( validator.providerTypeIsNetwork ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }

Target:
public void validNetworkProviderType ( ) { org.mockito.Mockito.when ( provider.getType ( ) ) . thenReturn ( ProviderType.OPENSTACK_NETWORK ) ; org.hamcrest.MatcherAssert.assertThat ( validator.providerTypeIsNetwork ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }
Source:
public java.lang.String toString ( ) { return java.lang.String.format ( "vmId = %s, status = %s, exit status = %s" , getVmId ( ) , getStatus ( ) , getExitStatus ( ) ) ; }

Target:
protected org.ovirt.engine.core.common.utils.ToStringBuilder appendAttributes ( org.ovirt.engine.core.common.utils.ToStringBuilder tsb ) { return super . appendAttributes ( tsb ) . append ( "vmId" , getVmId ( ) ) . append ( "status" , getStatus ( ) ) . append ( "exitStatus" , getExitStatus ( ) ) ; }
Source:
void updatePartialVdsDynamicCalc ( org.ovirt.engine.core.compat.Guid id , int vmCount , int pendingVcpusCount , int pendingVmemSize , int memCommited , int vmsCoresCount ) ;

Target:
void updateUpdateAvailable ( org.ovirt.engine.core.compat.Guid id , boolean updateAvailable ) ;
Source:
protected boolean isStorageWithSameNameExists ( ) { return ( org.ovirt.engine.core.bll.storage.StorageDomainManagementCommandBase.getStorageDomainStaticDAO ( ) . getByName ( getStorageDomain ( ) . getStorageName ( ) ) ) != null ; }

Target:
protected boolean isStorageWithSameNameExists ( ) { return ( org.ovirt.engine.core.bll.storage.StorageDomainManagementCommandBase.getStorageDomainStaticDao ( ) . getByName ( getStorageDomain ( ) . getStorageName ( ) ) ) != null ; }
Source:
private boolean shouldUseCallback ( ) { org.ovirt.engine.core.common.businessentities.CommandEntity commandEntity = org.ovirt.engine.core.bll.tasks.CommandCoordinatorUtil.getCommandEntity ( org.ovirt.engine.core.bll.storage.domain.DeactivateStorageDomainWithOvfUpdateCommand.getCommandId ( ) ) ; return ( ( commandEntity != null ) && ( commandEntity.isCallbackEnabled ( ) ) ) || ( shouldPerformOvfUpdate ( ) ) ; }

Target:
private boolean shouldUseCallback ( ) { org.ovirt.engine.core.common.businessentities.CommandEntity commandEntity = commandCoordinatorUtil.getCommandEntity ( org.ovirt.engine.core.bll.storage.domain.DeactivateStorageDomainWithOvfUpdateCommand.getCommandId ( ) ) ; return ( ( commandEntity != null ) && ( commandEntity.isCallbackEnabled ( ) ) ) || ( shouldPerformOvfUpdate ( ) ) ; }
Source:
protected int getNeededDiskSize ( org.ovirt.engine.core.compat.Guid domainId ) { return ( getBlockSparseInitSizeInGB ( ) ) * ( getVmTemplate ( ) . getDiskMap ( ) . size ( ) ) ; }

Target:
protected int getNeededDiskSize ( org.ovirt.engine.core.compat.Guid domainId ) { return ( getBlockSparseInitSizeInGb ( ) ) * ( getVmTemplate ( ) . getDiskMap ( ) . size ( ) ) ; }
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 ) { updateWindowsWarningMessage ( ) ; }

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 ) { getIso ( ) . setIsChangeable ( getAttachDrivers ( ) . getEntity ( ) ) ; updateWindowsWarningMessage ( ) ; }
Source:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.nicHotplugSupportMap = ( ( java.util.Map < org.ovirt.engine.core.common.utils.Pair < java.lang.Integer , org.ovirt.engine.core.compat.Version > , java.lang.Boolean > ) ( ( ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue ) ( returnValue ) ) . getReturnValue ( ) ) ) ; }

Target:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { migrationSupport = ( ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue ) ( returnValue ) ) . getReturnValue ( ) ; }
Source:
public void testCountTemplates ( ) { org.junit.Assert.assertEquals ( org.ovirt.engine.core.dao.VmTemplateDaoTest.NUMBER_OF_TEMPLATES_IN_DB , dao.getCount ( ) ) ; }

Target:
public void testCountTemplates ( ) { org.junit.jupiter.api.Assertions.assertEquals ( org.ovirt.engine.core.dao.VmTemplateDaoTest.NUMBER_OF_TEMPLATES_IN_DB , dao.getCount ( ) ) ; }
Source:
public static org.ovirt.engine.core.common.businessentities.VmDevice addInterface ( org.ovirt.engine.core.compat.Guid vmId , org.ovirt.engine.core.compat.Guid deviceId , boolean plugged , boolean hostDev ) { return org.ovirt.engine.core.bll.utils.VmDeviceUtils.addInterface ( vmId , deviceId , plugged , hostDev , null ) ; }

Target:
public java.util.List < org.ovirt.engine.core.common.businessentities.VmDevice > getVideoDevices ( org.ovirt.engine.core.compat.Guid vmId ) { return vmDeviceDao.getVmDeviceByVmIdAndType ( vmId , VmDeviceGeneralType.VIDEO ) ; }
Source:
public org.ovirt.vdsm.jsonrpc.client.ResponseBuilder run ( org.codehaus.jackson.JsonNode params , org.ovirt.vdsm.jsonrpc.client.ResponseBuilder builder ) { return builder.withResult ( org.ovirt.vdsmfake.service.AbstractService.getStatusMap ( "OK" , 0 ) ) ; }

Target:
public org.ovirt.vdsm.jsonrpc.client.ResponseBuilder run ( org.codehaus.jackson.JsonNode params , org.ovirt.vdsm.jsonrpc.client.ResponseBuilder builder ) { return builder.withResult ( ResultCodes.OK.map ( ) ) ; }
Source:
private void init ( ) { org.ovirt.engine.core.common.utils.Injector.injector = this ; }

Target:
private void init ( ) { org.ovirt.engine.core.bll.utils.Injector.injector = this ; }
Source:
public void updateRunButton ( org.ovirt.engine.ui.uicommonweb.UICommand command , boolean isPool ) { runButton.setTooltipText ( ( isPool ? org.ovirt.engine.ui.userportal.section.main.view.tab.basic.MainTabBasicListItemView.constants.takeVm ( ) : org.ovirt.engine.ui.userportal.section.main.view.tab.basic.MainTabBasicListItemView.constants.runVm ( ) ) ) ; updateButton ( runButton , command ) ; }

Target:
public void updateRunButton ( org.ovirt.engine.ui.uicommonweb.UICommand command , boolean isPool ) { java.lang.String tooltip = ( isPool ) ? org.ovirt.engine.ui.userportal.section.main.view.tab.basic.MainTabBasicListItemView.constants.takeVm ( ) : org.ovirt.engine.ui.userportal.section.main.view.tab.basic.MainTabBasicListItemView.constants.runVm ( ) ; runButton.setTooltip ( com.google.gwt.safehtml.shared.SafeHtmlUtils.fromSafeConstant ( tooltip ) ) ; updateButton ( runButton , command ) ; }
Source:
public java.lang.Object Convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { return source != null ? ( ( java.lang.Integer ) ( source ) ) . intValue ( ) : 20480 ; }

Target:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.migrationSupport = ( ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue ) ( returnValue ) ) . getReturnValue ( ) ; }
Source:
protected java.util.Collection < org.ovirt.engine.core.common.businessentities.DiskImage > getDiskImagesToBeCloned ( ) { return getDiskImagesFromConfiguration ( ) ; }

Target:
protected java.util.Collection < org.ovirt.engine.core.common.businessentities.DiskImage > getDiskImagesToBeCloned ( ) { return getAdjustedDiskImagesFromConfiguration ( ) ; }
Source:
public java.util.Date getCpuOverCommitTimestamp ( ) { return mVdsStatistics.getcpu_over_commit_time_stamp ( ) ; }

Target:
public java.util.Date getCpuOverCommitTimestamp ( ) { return mVdsStatistics.getCpuOverCommitTimeStamp ( ) ; }
Source:
public void setId ( org.ovirt.engine.core.compat.Guid id ) { this . id = id ; }

Target:
public void setId ( org.ovirt.engine.core.compat.Guid id ) { this . id = id ; if ( isQosOverridden ( ) ) { hostNetworkQos.setId ( id ) ; } }
Source:
public void setUp ( ) { clusterId = org.ovirt.engine.core.compat.Guid.newGuid ( ) ; }

Target:
public void setUp ( ) { clusterId = org.ovirt.engine.core.compat.Guid.newGuid ( ) ; org.ovirt.engine.core.utils.ThreadLocalParamsContainer.setHttpSessionId ( "session" ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.storage_domains lookupStorageDomainById ( org.ovirt.engine.core.compat.Guid storageDomainId ) { return getEntity ( org.ovirt.engine.core.common.businessentities.storage_domains.class , VdcQueryType.GetStorageDomainByIdAndStoragePoolId , new org.ovirt.engine.core.common.queries.StorageDomainAndPoolQueryParameters ( storageDomainId , dataCenterId ) , storageDomainId.toString ( ) ) ; }

Target:
protected org.ovirt.engine.api.model.StorageDomain lookupStorageDomainById ( org.ovirt.engine.core.compat.Guid storageDomainId ) { return getEntity ( org.ovirt.engine.api.model.StorageDomain.class , VdcQueryType.GetStorageDomainByIdAndStoragePoolId , new org.ovirt.engine.core.common.queries.StorageDomainAndPoolQueryParameters ( storageDomainId , dataCenterId ) , storageDomainId.toString ( ) ) ; }
Source:
public void macAddressTooShortForCreate ( ) throws java.lang.Exception { assertMacAddressFormatValidation ( createShortMacAddress ( ) , org.ovirt.engine.core.common.validation.group.CreateEntity.class , true ) ; }

Target:
public void macAddressTooShortForCreate ( ) throws java.lang.Exception { org.ovirt.engine.core.common.businessentities.network.VmNetworkInterfaceValidationTest.assertMacAddressFormatValidation ( org.ovirt.engine.core.common.businessentities.network.VmNetworkInterfaceValidationTest.createShortMacAddress ( ) , org.ovirt.engine.core.common.validation.group.CreateEntity.class , true ) ; }
Source:
protected org.ovirt.engine.core.common.vdscommands.VDSCommandType getRevertVDSCommandType ( ) { return null ; }

Target:
protected org.ovirt.engine.core.common.vdscommands.VDSCommandType getRevertVDSCommandType ( ) { return org.ovirt.engine.core.common.vdscommands.VDSCommandType.DeleteImageGroup ; }
Source:
public com.google.gwt.resources.client.ImageResource getValue ( org.ovirt.engine.core.common.businessentities.roles role ) { if ( role.getis_readonly ( ) ) { return getApplicationResources ( ) . lockImage ( ) ; } return null ; }

Target:
public com.google.gwt.resources.client.ImageResource getValue ( org.ovirt.engine.core.common.businessentities.Role role ) { if ( role.getis_readonly ( ) ) { return getApplicationResources ( ) . lockImage ( ) ; } return null ; }
Source:
public void statusNotSupportedForHostUpgradeInternal ( ) { org.mockito.Mockito.when ( host.getStatus ( ) ) . thenReturn ( VDSStatus.Unassigned ) ; org.junit.Assert.assertThat ( validator.statusSupportedForHostUpgradeInternal ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( EngineMessage.CANNOT_UPGRADE_HOST_STATUS_ILLEGAL ) ) ; }

Target:
public void statusNotSupportedForHostUpgradeInternal ( ) { host.setStatus ( VDSStatus.Unassigned ) ; org.junit.Assert.assertThat ( validator.statusSupportedForHostUpgradeInternal ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( EngineMessage.CANNOT_UPGRADE_HOST_STATUS_ILLEGAL ) ) ; }
Source:
public void detachVdsFromTag ( org.ovirt.engine.core.compat.Guid tagId , org.ovirt.engine.core.compat.Guid vdsId ) { tagVdsMapDAO.remove ( new org.ovirt.engine.core.common.businessentities.tags_vds_map_id ( tagId , vdsId ) ) ; }

Target:
public void detachVdsFromTag ( org.ovirt.engine.core.compat.Guid tagId , org.ovirt.engine.core.compat.Guid vdsId ) { tagVdsMapDAO.remove ( new org.ovirt.engine.core.common.businessentities.TagsVdsMapId ( tagId , vdsId ) ) ; }
Source:
public void setIpv6BootProtocol ( org.ovirt.engine.core.common.businessentities.network.Ipv6BootProtocol value ) { if ( ( ipv6BootProtocol ) != value ) { ipv6BootProtocol = value ; ipv6BootProtocolChanged ( ) ; } }

Target:
public void setIpv6BootProtocol ( org.ovirt.engine.core.common.businessentities.network.Ipv6BootProtocol value ) { if ( ( ipv6BootProtocol ) != value ) { ipv6BootProtocol = value ; ipv6BootProtocolChanged ( ) ; onPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "Ipv6BootProtocol" ) ) ; } }
Source:
public int hashCode ( ) { return java.util.Objects.hash ( display , status , id , required , migration , management , gluster ) ; }

Target:
public int hashCode ( ) { return java.util.Objects.hash ( display , status , id , required , migration , management , gluster , defaultRoute ) ; }
Source:
protected void executeCommand ( ) { InitializeStorageDomain ( ) ; AddStorageDomainInDb ( ) ; if ( AddStorageDomainInIrs ( ) ) { UpdateStorageDomainDynamicFromIrs ( ) ; org.ovirt.engine.core.bll.storage.AddStorageDomainCommand.setSucceeded ( true ) ; } }

Target:
protected void executeCommand ( ) { initializeStorageDomain ( ) ; addStorageDomainInDb ( ) ; if ( addStorageDomainInIrs ( ) ) { updateStorageDomainDynamicFromIrs ( ) ; org.ovirt.engine.core.bll.storage.AddStorageDomainCommand.setSucceeded ( true ) ; } }
Source:
public void Executed ( org.ovirt.engine.ui.uicompat.FrontendMultipleActionAsyncResult result ) { }

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 lowerVersionHostsAndNetwork ( ) { storagePoolWithLowerVersion ( ) ; addNonDefaultClusterToPool ( ) ; addHostsToCluster ( ) ; addNonManagementNetworkToPool ( ) ; org.ovirt.engine.core.bll.ValidateTestUtils.runAndAssertValidateFailure ( cmd , EngineMessage.ACTION_TYPE_FAILED_CANNOT_DECREASE_DATA_CENTER_COMPATIBILITY_VERSION ) ; }

Target:
public void lowerVersionMgmtNetworkSupportedFeatures ( ) { cmd.getStoragePool ( ) . setCompatibilityVersion ( org.ovirt.engine.core.bll.storage.pool.UpdateStoragePoolCommandTest.VERSION_1_0 ) ; addNonDefaultClusterToPool ( ) ; addManagementNetworksToPool ( 2 ) ; setupNetworkValidator ( true ) ; org.ovirt.engine.core.bll.ValidateTestUtils.runAndAssertValidateSuccess ( cmd ) ; }
Source:
public void diskInterfaceNotSupportedByOs ( ) { org.ovirt.engine.core.common.businessentities.VM vm = org.ovirt.engine.core.bll.validator.storage.DiskVmElementValidatorTest.createVM ( org.ovirt.engine.core.bll.validator.storage.DiskVmElementValidatorTest.OS_WITH_NO_SUPPORTED_INTERFACES ) ; initializeOsRepository ( DiskInterface.VirtIO ) ; dve.setDiskInterface ( DiskInterface.VirtIO ) ; org.junit.Assert.assertThat ( validator.isDiskInterfaceSupported ( vm ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( EngineMessage.ACTION_TYPE_DISK_INTERFACE_UNSUPPORTED ) ) ; }

Target:
public void diskInterfaceNotSupportedByOs ( ) { org.ovirt.engine.core.common.businessentities.VM vm = org.ovirt.engine.core.bll.validator.storage.DiskVmElementValidatorTest.createVM ( org.ovirt.engine.core.bll.validator.storage.DiskVmElementValidatorTest.OS_WITH_NO_SUPPORTED_INTERFACES ) ; initializeInterfaceValidation ( DiskInterface.VirtIO ) ; dve.setDiskInterface ( DiskInterface.VirtIO ) ; org.junit.Assert.assertThat ( validator.isDiskInterfaceSupported ( vm ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( EngineMessage.ACTION_TYPE_DISK_INTERFACE_UNSUPPORTED ) ) ; }
Source:
private static java.lang.String getResourceBundleName ( ) { return "bundles/AuditLogMessages" ; }

Target:
public static java.lang.String getMessage ( org.ovirt.engine.core.common.AuditLogType logType ) { return org.apache.commons.lang.StringUtils.defaultString ( org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector.getMessageOrNull ( logType ) ) ; }
Source:
protected void onSelectedItemChanged ( ) { super . onSelectedItemChanged ( ) ; updateActionAvailability ( ) ; }

Target:
protected void selectedItemsChanged ( ) { super . selectedItemsChanged ( ) ; updateActionAvailability ( ) ; }
Source:
public void testCanDoActionOvfDiskNotIllegal ( ) { disk.setImageStatus ( ImageStatus.OK ) ; disk.setContentType ( DiskContentType.OVF_STORE ) ; org.ovirt.engine.core.bll.CanDoActionTestUtils.runAndAssertCanDoActionFailure ( cmd , EngineMessage.ACTION_TYPE_FAILED_OVF_DISK_NOT_IN_APPLICABLE_STATUS ) ; }

Target:
public void testCanDoActionTemplateWithNoDomain ( ) { disk.setVmEntityType ( VmEntityType.TEMPLATE ) ; org.ovirt.engine.core.bll.CanDoActionTestUtils.runAndAssertCanDoActionFailure ( cmd , EngineMessage.ACTION_TYPE_FAILED_CANT_DELETE_TEMPLATE_DISK_WITHOUT_SPECIFYING_DOMAIN ) ; }
Source:
protected void executeCommand ( ) { org.ovirt.engine.core.bll.storage.connection.RemoveStorageServerConnectionExtensionCommand.getDbFacade ( ) . getStorageServerConnectionExtensionDao ( ) . remove ( org.ovirt.engine.core.bll.storage.connection.RemoveStorageServerConnectionExtensionCommand.getParameters ( ) . getId ( ) ) ; org.ovirt.engine.core.bll.storage.connection.RemoveStorageServerConnectionExtensionCommand.getReturnValue ( ) . setSucceeded ( true ) ; }

Target:
protected void executeCommand ( ) { storageServerConnectionExtensionDao.remove ( org.ovirt.engine.core.bll.storage.connection.RemoveStorageServerConnectionExtensionCommand.getParameters ( ) . getId ( ) ) ; org.ovirt.engine.core.bll.storage.connection.RemoveStorageServerConnectionExtensionCommand.getReturnValue ( ) . setSucceeded ( true ) ; }
Source:
public org.ovirt.engine.api.v3.types.V3Disk update ( org.ovirt.engine.api.v3.types.V3Disk disk ) { return adaptUpdate ( getDelegate ( ) :: update , disk ) ; }

Target:
public org.ovirt.engine.api.v3.types.V3Disk update ( org.ovirt.engine.api.v3.types.V3Disk disk ) { disk = adaptUpdate ( getDelegate ( ) :: update , disk ) ; org.ovirt.engine.api.v3.helpers.V3VmHelper.fixDiskLinks ( vmId , disk ) ; return disk ; }