auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public org.ovirt.engine.api.resource.ReadOnlyDeviceResource < org.ovirt.engine.api.model.Disk > getDeviceSubResource ( java.lang.String id ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendReadOnlyDeviceResource < org.ovirt.engine.api.model.Disk , org.ovirt.engine.api.model.Disks , org.ovirt.engine.api.model.Disk > ( modelType , entityType , asGuidOr404 ( id ) , this ) ) ; }

Target:
public org.ovirt.engine.api.resource.TemplateDiskResource getDeviceSubResource ( java.lang.String id ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendTemplateDiskResource ( asGuidOr404 ( id ) , this ) ) ; }
Source:
protected void storageType_SelectedItemChanged ( ) { updateCurrentStorageItem ( ) ; if ( ( getCurrentStorageItem ( ) ) != null ) { updateFormat ( ) ; updateHost ( ) ; } updateWipeAfterDelete ( ) ; }

Target:
protected void storageType_SelectedItemChanged ( ) { updateCurrentStorageItem ( ) ; if ( ( getCurrentStorageItem ( ) ) != null ) { updateFormat ( ) ; updateHost ( ) ; } updateWipeAfterDelete ( ) ; updateDiscardAfterDelete ( ) ; }
Source:
public org.ovirt.engine.core.common.businessentities.aaa.DbUser getEntity ( ) { return ( ( org.ovirt.engine.core.common.businessentities.aaa.DbUser ) ( super . getEntity ( ) ) ) ; }

Target:
public void search ( ) { if ( ( getEntity ( ) ) != null ) { super . search ( ) ; } }
Source:
private boolean hasReportsModelRefreshEvent ( ) { for ( org.ovirt.engine.ui.uicompat.IEventListener listnr : getModel ( ) . getReportModelRefreshEvent ( ) . getListeners ( ) ) { if ( listnr instanceof org.ovirt.engine.ui.webadmin.section.main.presenter.tab.MainTabReportsPresenter.ReportsModelRefreshEvent ) { return true ; } } return false ; }

Target:
private boolean hasReportsModelRefreshEvent ( ) { for ( org.ovirt.engine.ui.uicompat.IEventListener listnr : ( ( java.util.List < org.ovirt.engine.ui.uicompat.IEventListener > ) ( getModel ( ) . getReportsAvailabilityEvent ( ) . getListeners ( ) ) ) ) { if ( listnr instanceof org.ovirt.engine.ui.webadmin.section.main.presenter.tab.MainTabReportsPresenter.ReportsModelRefreshEvent ) { return true ; } } return false ; }
Source:
public void rerun ( ) { cleanupPassthroughVnics ( ) ; setFlow ( null ) ; super . rerun ( ) ; }

Target:
public void rerun ( ) { cleanupPassthroughVnics ( ) ; setFlow ( null ) ; acquireHostDevicesLock ( ) ; super . rerun ( ) ; }
Source:
public static void updateBootOrderInVmDeviceAndStoreToDB ( org.ovirt.engine.core.common.businessentities.VmBase vmBase ) { java.util.List < org.ovirt.engine.core.common.businessentities.VmDevice > devices = org.ovirt.engine.core.bll.utils.VmDeviceUtils.updateBootOrderInVmDevice ( vmBase ) ; org.ovirt.engine.core.bll.utils.VmDeviceUtils.dao.updateBootOrderInBatch ( devices ) ; }

Target:
public static void updateVmDevicesOnRun ( org.ovirt.engine.core.common.businessentities.VmBase vmBase ) { if ( vmBase != null ) { org.ovirt.engine.core.bll.utils.VmDeviceUtils.updateUsbSlots ( vmBase , vmBase ) ; } }
Source:
private void init ( ) { setTitle ( org.ovirt.engine.ui.uicompat.ConstantsManager.getInstance ( ) . getConstants ( ) . newLogicalNetworkTitle ( ) ) ; setHashName ( "new_logical_network" ) ; }

Target:
private void init ( ) { setTitle ( org.ovirt.engine.ui.uicompat.ConstantsManager.getInstance ( ) . getConstants ( ) . newLogicalNetworkTitle ( ) ) ; setHelpTag ( HelpTag.new_logical_network ) ; setHashName ( "new_logical_network" ) ; }
Source:
private void setStoredSplitterWidth ( java.lang.Double width ) { clientStorage.setLocalItem ( org.ovirt.engine.ui.webadmin.widget.main.TabbedSplitLayoutPanel.WEST_SPLITTER_KEY , width.toString ( ) ) ; }

Target:
private void setStoredSplitterWidth ( java.lang.String key , java.lang.Double width ) { clientStorage.setLocalItem ( key , width.toString ( ) ) ; }
Source:
public void testGetForStoragePoolWithInvalidPool ( ) { org.ovirt.engine.core.common.businessentities.StorageDomain result = dao.getForStoragePool ( existingDomain.getId ( ) , org.ovirt.engine.core.compat.Guid.NewGuid ( ) ) ; org.junit.Assert.assertNull ( result ) ; }

Target:
public void testGetForStoragePoolWithInvalidPool ( ) { org.ovirt.engine.core.common.businessentities.StorageDomain result = dao.getForStoragePool ( existingDomain.getId ( ) , org.ovirt.engine.core.compat.Guid.newGuid ( ) ) ; org.junit.Assert.assertNull ( result ) ; }
Source:
protected void ExecuteVdsBrokerCommand ( ) { status = org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogoffVDSCommand.getBroker ( ) . desktopLogoff ( mVmId.toString ( ) , java.lang.String.valueOf ( mForce ) ) ; org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogoffVDSCommand.proceedProxyReturnValue ( ) ; }

Target:
protected void executeVdsBrokerCommand ( ) { status = org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogoffVDSCommand.getBroker ( ) . desktopLogoff ( mVmId.toString ( ) , java.lang.String.valueOf ( mForce ) ) ; org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogoffVDSCommand.proceedProxyReturnValue ( ) ; }
Source:
public void storagePoolWithId ( ) { b.setStoragePoolId ( org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBaseTest.GUID ) ; final org.ovirt.engine.core.common.businessentities.StoragePool p = b.getStoragePool ( ) ; org.junit.Assert.assertNotNull ( p ) ; }

Target:
public void storagePoolWithId ( ) { b.setStoragePoolId ( org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBaseTest.GUID ) ; final org.ovirt.engine.core.common.businessentities.StoragePool p = b.getStoragePool ( ) ; org.junit.jupiter.api.Assertions.assertNotNull ( p ) ; }
Source:
public void setServerSslEnabled ( boolean value ) { this . mVdsStatic.setServerSslEnabled ( value ) ; }

Target:
public void setServerSslEnabled ( boolean value ) { vdsStatic.setServerSslEnabled ( value ) ; }
Source:
private org.ovirt.engine.core.bll.validator.NetworkAttachmentValidator createNetworkAttachmentValidator ( org.ovirt.engine.core.common.businessentities.network.NetworkAttachment attachment ) { return new org.ovirt.engine.core.bll.validator.NetworkAttachmentValidator ( attachment , host , managementNetworkUtilMock , networkAttachmentDaoMock , vmInterfaceManager , networkClusterDaoMock , networkDaoMock , vdsDaoMock ) ; }

Target:
private org.ovirt.engine.core.bll.validator.NetworkAttachmentValidator createNetworkAttachmentValidator ( org.ovirt.engine.core.common.businessentities.network.NetworkAttachment attachment ) { return new org.ovirt.engine.core.bll.validator.NetworkAttachmentValidator ( attachment , host , managementNetworkUtilMock , networkAttachmentDaoMock , vmInterfaceManager , networkClusterDaoMock , networkDaoMock , vdsDaoMock , vmDao ) ; }
Source:
protected java.lang.String getPlace ( ) { return null ; }

Target:
public org.ovirt.engine.ui.uicommonweb.models.ErrataFilterValue getItemsFilter ( ) { return this . filter ; }
Source:
public void edit ( org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel model ) { driver.edit ( model ) ; initListerners ( model ) ; updateColumnsAvailability ( model ) ; updateListHeader ( model ) ; }

Target:
public void edit ( org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel model ) { driver.edit ( model ) ; initListeners ( model ) ; updateColumnsAvailability ( model ) ; updateListHeader ( model ) ; }
Source:
public java.lang.String toString ( ) { java.lang.StringBuilder sb = new java.lang.StringBuilder ( ) ; sb.append ( "deviceId = " ) . append ( getDeviceId ( ) ) ; sb.append ( ", vmId = " ) . append ( getVmId ( ) ) ; return sb.toString ( ) ; }

Target:
public java.lang.String toString ( ) { return org.ovirt.engine.core.common.utils.ToStringBuilder.forInstance ( this ) . append ( "deviceId" , getDeviceId ( ) ) . append ( "vmId" , getVmId ( ) ) . build ( ) ; }
Source:
public java.lang.String getValue ( org.ovirt.engine.core.common.businessentities.DiskImage diskImage ) { return diskImage.getDiskAlias ( ) ; }

Target:
public java.lang.String getValue ( org.ovirt.engine.core.common.businessentities.storage.DiskImage diskImage ) { return diskImage.getDiskAlias ( ) ; }
Source:
private java.lang.String getJsonDiskDescription ( ) throws java.io.IOException { return org.ovirt.engine.core.bll.MetadataDiskDescriptionHandler.getInstance ( ) . getJsonDiskDescription ( org.ovirt.engine.core.bll.UpdateVmDiskCommand.getParameters ( ) . getDiskInfo ( ) ) ; }

Target:
private java.lang.String getJsonDiskDescription ( ) throws java.io.IOException { return org.ovirt.engine.core.bll.MetadataDiskDescriptionHandler.getInstance ( ) . generateJsonDiskDescription ( org.ovirt.engine.core.bll.UpdateVmDiskCommand.getParameters ( ) . getDiskInfo ( ) ) ; }
Source:
java.lang.String numaNode ( int index ) ;

Target:
java.lang.String vNumaName ( java.lang.String name , int index ) ;
Source:
public java.util.Map < java.lang.String , java.lang.Object > validateStorageDomain ( java.lang.String sdUUID ) ;

Target:
public java.util.Map < java.lang.String , java.lang.Object > glusterHookUpdate ( java.lang.String glusterCommand , java.lang.String stage , java.lang.String hookName , java.lang.String content , java.lang.String checksum ) ;
Source:
public void onKeyPress ( com.google.gwt.event.dom.client.KeyPressEvent event ) { if ( ( com.google.gwt.event.dom.client.KeyCodes.KEY_ENTER ) == ( event.getNativeEvent ( ) . getKeyCode ( ) ) ) { object.getDiscoverTargetsCommand ( ) . Execute ( ) ; setIsFocused ( false ) ; } }

Target:
public void onKeyPress ( com.google.gwt.event.dom.client.KeyPressEvent event ) { if ( ( com.google.gwt.event.dom.client.KeyCodes.KEY_ENTER ) == ( event.getNativeEvent ( ) . getKeyCode ( ) ) ) { object.getDiscoverTargetsCommand ( ) . execute ( ) ; setIsFocused ( false ) ; } }
Source:
public void testGetUserAndSetUserWithSessionParam ( ) { org.ovirt.engine.core.common.interfaces.IVdcUser user = org.mockito.Mockito.mock ( org.ovirt.engine.core.common.interfaces.IVdcUser.class ) ; container.setUser ( org.ovirt.engine.core.bll.session.SessionDataContainerTest.TEST_SESSION_ID , user ) ; org.junit.Assert.assertEquals ( "Get should return the value with a given session" , user , container.getUser ( org.ovirt.engine.core.bll.session.SessionDataContainerTest.TEST_SESSION_ID , false ) ) ; }

Target:
public void testGetUserAndSetUserWithSessionParam ( ) { org.ovirt.engine.core.common.users.VdcUser user = org.mockito.Mockito.mock ( org.ovirt.engine.core.common.users.VdcUser.class ) ; container.setUser ( org.ovirt.engine.core.bll.session.SessionDataContainerTest.TEST_SESSION_ID , user ) ; org.junit.Assert.assertEquals ( "Get should return the value with a given session" , user , container.getUser ( org.ovirt.engine.core.bll.session.SessionDataContainerTest.TEST_SESSION_ID , false ) ) ; }
Source:
private org.ovirt.engine.core.common.businessentities.VmTemplate mockVmTemplate ( ) { org.ovirt.engine.core.common.businessentities.VmTemplate template = new org.ovirt.engine.core.common.businessentities.VmTemplate ( ) ; template.setId ( vmTemplateId ) ; template.setStoragePoolId ( storagePoolId ) ; template.setClusterArch ( ArchitectureType.x86_64 ) ; org.ovirt.engine.core.bll.CommonVmPoolWithVmsCommandTestAbstract.setDiskList ( template ) ; return template ; }

Target:
private org.ovirt.engine.core.common.businessentities.VmTemplate mockVmTemplate ( ) { org.ovirt.engine.core.common.businessentities.VmTemplate template = new org.ovirt.engine.core.common.businessentities.VmTemplate ( ) ; template.setId ( vmTemplateId ) ; template.setStoragePoolId ( storagePoolId ) ; template.setClusterArch ( ArchitectureType.x86_64 ) ; org.ovirt.engine.core.bll.CommonVmPoolCommandTestAbstract.setDiskList ( template ) ; return template ; }
Source:
public void testGetNetworkIdsByIscsiBondId ( ) { java.util.List < org.ovirt.engine.core.compat.Guid > networkIds = dao.getNetworkIdsByIscsiBondId ( newIscsiBond.getId ( ) ) ; junit.framework.Assert.assertTrue ( networkIds.isEmpty ( ) ) ; }

Target:
public void testGetNetworkIdsByIscsiBondId ( ) { java.util.List < org.ovirt.engine.core.compat.Guid > networkIds = dao.getNetworkIdsByIscsiBondId ( newIscsiBond.getId ( ) ) ; org.junit.Assert.assertTrue ( networkIds.isEmpty ( ) ) ; }
Source:
public javax.ws.rs.core.Response remove ( ) { get ( ) ; org.ovirt.engine.core.common.action.FenceAgentCommandParameterBase params = new org.ovirt.engine.core.common.action.FenceAgentCommandParameterBase ( ) ; org.ovirt.engine.core.common.businessentities.pm.FenceAgent agent = new org.ovirt.engine.core.common.businessentities.pm.FenceAgent ( ) ; agent.setId ( guid ) ; params.setAgent ( agent ) ; return performAction ( VdcActionType.RemoveFenceAgent , params ) ; }

Target:
public javax.ws.rs.core.Response remove ( ) { get ( ) ; org.ovirt.engine.core.common.action.FenceAgentCommandParameterBase params = new org.ovirt.engine.core.common.action.FenceAgentCommandParameterBase ( ) ; org.ovirt.engine.core.common.businessentities.pm.FenceAgent agent = new org.ovirt.engine.core.common.businessentities.pm.FenceAgent ( ) ; agent.setId ( guid ) ; params.setAgent ( agent ) ; return performAction ( ActionType.RemoveFenceAgent , params ) ; }
Source:
public void setstorage_pool_id ( org.ovirt.engine.core.compat.Guid value ) { storagePoolId = value ; }

Target:
public java.lang.String getVmName ( ) { return vmName ; }
Source:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.userportal.gin.ClientGinjector ginjector ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( ginjector.getApplicationConstants ( ) . extendedVirtualMachineNetworkInterfaceSubTabLabel ( ) , 2 , ginjector.getVmInterfaceListModelProvider ( ) ) ; }

Target:
static com.gwtplatform.mvp.client.TabData getTabData ( org.ovirt.engine.ui.userportal.ApplicationConstants applicationConstants , org.ovirt.engine.ui.userportal.uicommon.model.vm.VmInterfaceListModelProvider modelProvider ) { return new org.ovirt.engine.ui.common.widget.tab.ModelBoundTabData ( applicationConstants.extendedVirtualMachineNetworkInterfaceSubTabLabel ( ) , 2 , modelProvider ) ; }
Source:
public void testSave ( ) { dao.save ( newAdGroup ) ; org.ovirt.engine.core.common.businessentities.ad_groups result = dao.getByName ( newAdGroup.getname ( ) ) ; assertEquals ( newAdGroup , result ) ; }

Target:
public void testSave ( ) { dao.save ( newAdGroup ) ; org.ovirt.engine.core.common.businessentities.LdapGroup result = dao.getByName ( newAdGroup.getname ( ) ) ; assertEquals ( newAdGroup , result ) ; }
Source:
protected java.lang.Double [ ] getRawValue ( org.ovirt.engine.core.common.businessentities.VmNetworkInterface object ) { return new java.lang.Double [ ] { object.getStatistics ( ) . getReceiveDropRate ( ) , object.getStatistics ( ) . getTransmitDropRate ( ) } ; }

Target:
protected java.lang.Double [ ] getRawValue ( org.ovirt.engine.core.common.businessentities.network.VmNetworkInterface object ) { return new java.lang.Double [ ] { object.getStatistics ( ) . getReceiveDropRate ( ) , object.getStatistics ( ) . getTransmitDropRate ( ) } ; }
Source:
public void vnicProfileSet ( ) { org.junit.Assert.assertThat ( validator.vnicProfileIsSet ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }

Target:
public void vnicProfileNull ( ) { validator = new org.ovirt.engine.core.bll.validator.VnicProfileValidator ( null ) ; org.hamcrest.MatcherAssert.assertThat ( validator.vnicProfileIsSet ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.failsWith ( EngineMessage.ACTION_TYPE_FAILED_VNIC_PROFILE_NOT_EXISTS ) ) ; }
Source:
public void setGuestLastLogoutTime ( java.util.Date value ) { this . vmDynamic.setGuestLastLogoutTime ( value ) ; }

Target:
public void setLockInfo ( org.ovirt.engine.core.common.locks.LockInfo lockInfo ) { this . lockInfo = lockInfo ; }
Source:
public java.lang.String toString ( ) { return ( ( ( "HttpLocationInfo [url=" + ( url ) ) + ", headers=" ) + ( headers ) ) + "]" ; }

Target:
public java.lang.String toString ( ) { return org.ovirt.engine.core.common.utils.ToStringBuilder.forInstance ( this ) . append ( "url" , url ) . build ( ) ; }
Source:
private void stopGeoRepSessionCommand ( org.ovirt.engine.core.bll.CommandBase < ? > command , org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSession session ) { org.ovirt.engine.core.bll.tasks.CommandCoordinatorUtil.executeAsyncCommand ( VdcActionType.StopGeoRepSession , new org.ovirt.engine.core.common.action.gluster.GlusterVolumeGeoRepSessionParameters ( session.getMasterVolumeId ( ) , session.getId ( ) ) , command.cloneContextAndDetachFromParent ( ) ) ; }

Target:
private void stopGeoRepSessionCommand ( org.ovirt.engine.core.bll.CommandBase < ? > command , org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSession session ) { org.ovirt.engine.core.bll.tasks.CommandCoordinatorUtil.executeAsyncCommand ( ActionType.StopGeoRepSession , new org.ovirt.engine.core.common.action.gluster.GlusterVolumeGeoRepSessionParameters ( session.getMasterVolumeId ( ) , session.getId ( ) ) , command.cloneContextAndDetachFromParent ( ) ) ; }
Source:
public org.ovirt.engine.api.resource.GraphicsConsoleResource getConsoleResource ( java.lang.String id ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendVmGraphicsConsoleResource ( this , getGuid ( ) , id ) ) ; }

Target:
public org.ovirt.engine.api.restapi.resource.BackendVmGraphicsConsoleResource getConsoleResource ( java.lang.String id ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendVmGraphicsConsoleResource ( this , guid , id ) ) ; }
Source:
private org.ovirt.engine.core.bll.gluster.GlusterVolumeRemoveBricksCommand createTestCommand ( org.ovirt.engine.core.compat.Guid volumeId ) { return new org.ovirt.engine.core.bll.gluster.GlusterVolumeRemoveBricksCommand ( new org.ovirt.engine.core.common.action.gluster.GlusterVolumeRemoveBricksParameters ( volumeId , getBricks ( volumeId , 1 ) ) ) ; }

Target:
private org.ovirt.engine.core.bll.gluster.GlusterVolumeRemoveBricksCommand createTestCommand ( org.ovirt.engine.core.compat.Guid volumeId , int replicaCount ) { return new org.ovirt.engine.core.bll.gluster.GlusterVolumeRemoveBricksCommand ( new org.ovirt.engine.core.common.action.gluster.GlusterVolumeRemoveBricksParameters ( volumeId , getBricks ( volumeId , 1 ) , replicaCount ) ) ; }
Source:
protected void executeCommand ( ) { org.ovirt.engine.core.bll.provider.RemoveProviderCommand.getDbFacade ( ) . getNetworkProviderDao ( ) . remove ( org.ovirt.engine.core.bll.provider.RemoveProviderCommand.getParameters ( ) . getProvider ( ) . getId ( ) ) ; org.ovirt.engine.core.bll.provider.RemoveProviderCommand.setSucceeded ( true ) ; }

Target:
private org.ovirt.engine.core.dao.provider.ProviderDao getProviderDao ( ) { return org.ovirt.engine.core.bll.provider.RemoveProviderCommand.getDbFacade ( ) . getProviderDao ( ) ; }
Source:
public java.lang.String getOsName ( int osId ) ;

Target:
java.lang.String getOsFamily ( int osId ) ;
Source:
public org.ovirt.engine.api.model.Quotas list ( ) { org.ovirt.engine.core.common.queries.IdQueryParameters params = new org.ovirt.engine.core.common.queries.IdQueryParameters ( dataCenterId ) ; return mapCollection ( getBackendCollection ( VdcQueryType.GetQuotaByStoragePoolId , params ) ) ; }

Target:
public org.ovirt.engine.api.model.Quotas list ( ) { if ( isFiltered ( ) ) { return null ; } else { org.ovirt.engine.core.common.queries.IdQueryParameters params = new org.ovirt.engine.core.common.queries.IdQueryParameters ( dataCenterId ) ; return mapCollection ( getBackendCollection ( VdcQueryType.GetQuotaByStoragePoolId , params ) ) ; } }
Source:
public org.ovirt.engine.api.resource.NetworkResource getNetworkResource ( java.lang.String id ) { return inject ( new org.ovirt.engine.api.restapi.resource.BackendNetworkResource ( id ) ) ; }

Target:
protected org.ovirt.engine.core.common.queries.VdcQueryParametersBase getQueryParameters ( ) { return new org.ovirt.engine.core.common.queries.IdQueryParameters ( org.ovirt.engine.core.compat.Guid.Empty ) ; }
Source:
public java.lang.Object convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { if ( source == null ) { return new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.VM > ( ) ; } return source ; }

Target:
public void getVmsRunningOnOrMigratingToVds ( org.ovirt.engine.ui.frontend.AsyncQuery < java.util.List < org.ovirt.engine.core.common.businessentities.VM > > aQuery , org.ovirt.engine.core.compat.Guid id ) { aQuery.converterCallback = new org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.ListConverter < > ( ) ; org.ovirt.engine.ui.frontend.Frontend.getInstance ( ) . runQuery ( VdcQueryType.GetVmsRunningOnOrMigratingToVds , new org.ovirt.engine.core.common.queries.IdQueryParameters ( id ) , aQuery ) ; }
Source:
private java.lang.String getRunActionErrorMessage ( final java.util.List < java.lang.String > messages ) { if ( ( messages.size ( ) ) < 1 ) { return "No Message" ; } else { return messages.iterator ( ) . next ( ) ; } }

Target:
public void storeInHttpSession ( final java.lang.String key , final java.lang.String value ) { getOperationManager ( ) . storeInHttpSession ( key , value ) ; }
Source:
public boolean showImportAsTemplateOptions ( ) { return false ; }

Target:
public boolean isImportModel ( ) { return false ; }
Source:
protected void setActionMessageParameters ( ) { addValidationMessage ( EngineMessage.VAR__TYPE__GLUSTER_VOLUME_SNAPSHOT ) ; addValidationMessageVariable ( "volumeName" , org.ovirt.engine.core.bll.gluster.GlusterSnapshotCommandBase.getGlusterVolumeName ( ) ) ; addValidationMessageVariable ( "vdsGroup" , org.ovirt.engine.core.bll.gluster.GlusterSnapshotCommandBase.getVdsGroupName ( ) ) ; }

Target:
protected void setActionMessageParameters ( ) { addValidationMessage ( EngineMessage.VAR__TYPE__GLUSTER_VOLUME_SNAPSHOT ) ; addValidationMessageVariable ( "volumeName" , org.ovirt.engine.core.bll.gluster.GlusterSnapshotCommandBase.getGlusterVolumeName ( ) ) ; addValidationMessageVariable ( "cluster" , org.ovirt.engine.core.bll.gluster.GlusterSnapshotCommandBase.getClusterName ( ) ) ; }
Source:
public org.ovirt.engine.core.compat.Guid persistAsyncTaskPlaceHolder ( ) { return super . persistAsyncTaskPlaceHolder ( getActionType ( ) ) ; }

Target:
public org.ovirt.engine.core.compat.Guid persistAsyncTaskPlaceHolder ( java.lang.String taskKey ) { return super . persistAsyncTaskPlaceHolder ( org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand.getActionType ( ) , taskKey ) ; }
Source:
private java.lang.String buildResponse ( javax.servlet.http.HttpServletRequest request , org.ovirt.engine.core.sso.utils.SsoSession ssoSession ) throws java.lang.Exception { return org.ovirt.engine.core.sso.utils.SsoUtils.createJWT ( request , ssoSession , ssoSession.getClientId ( ) ) . toString ( ) ; }

Target:
private java.lang.String buildResponse ( javax.servlet.http.HttpServletRequest request , org.ovirt.engine.core.sso.utils.SsoSession ssoSession ) throws java.lang.Exception { return org.ovirt.engine.core.sso.servlets.OpenIdUtils.createJWT ( request , ssoSession , ssoSession.getClientId ( ) ) . toString ( ) ; }
Source:
public void unsetEvent ( ) { this . event = null ; }

Target:
public void unsetEvents ( ) { this . events = null ; }
Source:
public boolean equals ( org.ovirt.engine.core.common.businessentities.tags x , org.ovirt.engine.core.common.businessentities.tags y ) { return x.gettag_id ( ) . equals ( y.gettag_id ( ) ) ; }

Target:
public boolean equals ( org.ovirt.engine.core.common.businessentities.Tags x , org.ovirt.engine.core.common.businessentities.Tags y ) { return x.gettag_id ( ) . equals ( y.gettag_id ( ) ) ; }
Source:
public void setpm_port ( java.lang.Integer value ) { mVdsStatic.setpm_port ( value ) ; }

Target:
public void setPmPassword ( java.lang.String value ) { mVdsStatic.setPmPassword ( value ) ; }
Source:
public void setkernel_version ( java.lang.String value ) { this . mVdsDynamic.setkernel_version ( value ) ; }

Target:
public void setKernelVersion ( java.lang.String value ) { this . mVdsDynamic.setkernel_version ( value ) ; }
Source:
org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc vmUpdateDevice ( java.lang.String vmId , org.ovirt.engine.core.vdsbroker.xmlrpc.XmlRpcStruct device ) ;

Target:
org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc glusterHookUpdate ( java.lang.String glusterCommand , java.lang.String stage , java.lang.String hookName , java.lang.String content , java.lang.String checksum ) ;
Source:
private void overrideMigrationDowntimeChanged ( ) { java.lang.Boolean entity = getOverrideMigrationDowntime ( ) . getEntity ( ) ; getMigrationDowntime ( ) . setIsChangable ( java.lang.Boolean.TRUE.equals ( entity ) ) ; }

Target:
private void overrideMigrationDowntimeChanged ( ) { java.lang.Boolean entity = getOverrideMigrationDowntime ( ) . getEntity ( ) ; getMigrationDowntime ( ) . setIsChangeable ( java.lang.Boolean.TRUE.equals ( entity ) ) ; }
Source:
public void clusterServiceDefined ( ) { org.mockito.Mockito.when ( cluster.supportsGlusterService ( ) ) . thenReturn ( true ) ; org.junit.Assert.assertThat ( validator.clusterServiceDefined ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }

Target:
public void clusterServiceDefined ( ) { org.mockito.Mockito.when ( cluster.supportsGlusterService ( ) ) . thenReturn ( true ) ; org.hamcrest.MatcherAssert.assertThat ( validator.clusterServiceDefined ( ) , org.ovirt.engine.core.bll.validator.ValidationResultMatchers.isValid ( ) ) ; }
Source:
public void defaultClusterInLocalFs ( ) { prepareManagementNetworkMocks ( ) ; mcr.mockConfigValue ( ConfigValues.AutoRegistrationDefaultClusterID , org.ovirt.engine.core.bll.UpdateClusterCommandTest.DEFAULT_CLUSTER_ID ) ; createCommandWithDefaultCluster ( ) ; oldGroupIsDetachedDefault ( ) ; storagePoolIsLocalFS ( ) ; setupCpu ( ) ; architectureIsUpdatable ( ) ; validateFailedWithReason ( EngineMessage.DEFAULT_CLUSTER_CANNOT_BE_ON_LOCALFS ) ; }

Target:
public void defaultClusterInLocalFs ( ) { newDefaultManagementNetworkFound ( ) ; mcr.mockConfigValue ( ConfigValues.AutoRegistrationDefaultClusterID , org.ovirt.engine.core.bll.UpdateClusterCommandTest.DEFAULT_CLUSTER_ID ) ; createCommandWithDefaultCluster ( ) ; oldGroupIsDetachedDefault ( ) ; storagePoolIsLocalFS ( ) ; setupCpu ( ) ; architectureIsUpdatable ( ) ; validateFailedWithReason ( EngineMessage.DEFAULT_CLUSTER_CANNOT_BE_ON_LOCALFS ) ; }
Source:
private boolean isConsoleCommandsExecutionAllowed ( ) { org.ovirt.engine.ui.uicommonweb.models.ConsoleProtocol protocol = consoleUtils.determineConnectionProtocol ( this ) ; return consoleUtils.canShowConsole ( protocol , this ) ; }

Target:
public java.util.List < org.ovirt.engine.ui.uicommonweb.models.HasConsoleModel > getSelectedHasConsoleModels ( ) { return selectedHasConsoleModels ; }
Source:
public void setIsQuotaDefault ( boolean isQuotaDefault ) { this . mVmStatic.setIsQuotaDefault ( isQuotaDefault ) ; }

Target:
public void setIsQuotaDefault ( boolean isQuotaDefault ) { this . vmStatic.setQuotaDefault ( isQuotaDefault ) ; }
Source:
public void testIsNetworkInSyncWhenIpv4BootProtocolNotStaticAddressDifferent ( ) { initIpv4ConfigurationBootProtocolAddress ( Ipv4BootProtocol.NONE , false ) ; org.junit.Assert.assertThat ( createTestedInstance ( ) . isNetworkInSync ( ) , org.hamcrest.CoreMatchers.is ( true ) ) ; }

Target:
public void testIsNetworkInSyncWhenIpv4BootProtocolNotStaticAddressDifferent ( ) { initIpv4ConfigurationBootProtocolAddress ( Ipv4BootProtocol.NONE , false ) ; org.hamcrest.MatcherAssert.assertThat ( createTestedInstance ( ) . isNetworkInSync ( ) , org.hamcrest.CoreMatchers.is ( true ) ) ; }
Source:
private void addUpdatedVm ( ) { runInternalAction ( VdcActionType.AddVm , buildAddVmParameters ( ) , org.ovirt.engine.core.bll.job.ExecutionHandler.createDefaultContextForTasks ( org.ovirt.engine.core.bll.UpdateVmVersionCommand.getContext ( ) , org.ovirt.engine.core.bll.UpdateVmVersionCommand.getLock ( ) ) ) ; }

Target:
private void addUpdatedVm ( ) { runInternalAction ( ActionType.AddVm , buildAddVmParameters ( ) , org.ovirt.engine.core.bll.job.ExecutionHandler.createDefaultContextForTasks ( org.ovirt.engine.core.bll.UpdateVmVersionCommand.getContext ( ) , org.ovirt.engine.core.bll.UpdateVmVersionCommand.getLock ( ) ) ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.ad_groups getAdGroup ( int index ) { org.ovirt.engine.core.common.businessentities.ad_groups adGroup = new org.ovirt.engine.core.common.businessentities.ad_groups ( ) ; adGroup.setid ( GUIDS [ index ] ) ; adGroup.setname ( NAMES [ index ] ) ; adGroup.setdomain ( org.ovirt.engine.api.restapi.resource.DOMAIN ) ; return adGroup ; }

Target:
protected org.ovirt.engine.core.common.businessentities.LdapGroup getAdGroup ( int index ) { org.ovirt.engine.core.common.businessentities.LdapGroup adGroup = new org.ovirt.engine.core.common.businessentities.LdapGroup ( ) ; adGroup.setid ( GUIDS [ index ] ) ; adGroup.setname ( NAMES [ index ] ) ; adGroup.setdomain ( org.ovirt.engine.api.restapi.resource.DOMAIN ) ; return adGroup ; }
Source:
public static java.lang.String getConstraint ( javax.ws.rs.core.UriInfo uriInfo , java.lang.String defaultQuery , java.lang.Class < ? > clz ) { return org.ovirt.engine.api.common.util.QueryHelper.getConstraint ( uriInfo , defaultQuery , clz , true ) ; }

Target:
public static java.lang.String getConstraint ( javax.ws.rs.core.HttpHeaders headers , javax.ws.rs.core.UriInfo ui , java.lang.Class < ? > clz , boolean typePrefix ) { return org.ovirt.engine.api.common.util.QueryHelper.getConstraint ( headers , ui , null , clz , typePrefix ) ; }
Source:
public boolean Match ( org.ovirt.engine.core.common.businessentities.VDSGroup source ) { return id.equals ( source.getId ( ) ) ; }

Target:
public boolean match ( org.ovirt.engine.core.common.businessentities.VDSGroup source ) { return id.equals ( source.getId ( ) ) ; }
Source:
public java.lang.Object Convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { if ( source == null ) { return new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.ExternalDiscoveredHost > ( ) ; } return source ; }

Target:
public java.lang.Object convert ( java.lang.Object source , org.ovirt.engine.ui.frontend.AsyncQuery _asyncQuery ) { if ( source == null ) { return new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.VDS > ( ) ; } return source ; }
Source:
public void testGetByNullClusterId ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.gluster.GlusterHookEntity > hooks = dao.getByClusterId ( null ) ; org.junit.Assert.assertNotNull ( hooks ) ; org.junit.Assert.assertTrue ( hooks.isEmpty ( ) ) ; }

Target:
public void testGetByNullClusterId ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.gluster.GlusterHookEntity > hooks = dao.getByClusterId ( null ) ; org.junit.jupiter.api.Assertions.assertNotNull ( hooks ) ; org.junit.jupiter.api.Assertions.assertTrue ( hooks.isEmpty ( ) ) ; }
Source:
protected void ExecuteVdsBrokerCommand ( ) { status = org.ovirt.engine.core.vdsbroker.gluster.DeleteGlusterVolumeVDSCommand.getBroker ( ) . glusterVolumeDelete ( org.ovirt.engine.core.vdsbroker.gluster.DeleteGlusterVolumeVDSCommand.getParameters ( ) . getVolumeName ( ) ) ; org.ovirt.engine.core.vdsbroker.gluster.DeleteGlusterVolumeVDSCommand.ProceedProxyReturnValue ( ) ; }

Target:
protected void ExecuteVdsBrokerCommand ( ) { status = org.ovirt.engine.core.vdsbroker.gluster.DeleteGlusterVolumeVDSCommand.getBroker ( ) . glusterVolumeDelete ( org.ovirt.engine.core.vdsbroker.gluster.DeleteGlusterVolumeVDSCommand.getParameters ( ) . getVolumeName ( ) ) ; org.ovirt.engine.core.vdsbroker.gluster.DeleteGlusterVolumeVDSCommand.proceedProxyReturnValue ( ) ; }
Source:
public java.lang.String render ( java.lang.Object object ) { return object == null ? "" : ( ( org.ovirt.engine.core.common.businessentities.VDS ) ( object ) ) . getvds_name ( ) ; }

Target:
public java.lang.String render ( java.lang.Object object ) { return object == null ? "" : ( ( org.ovirt.engine.core.common.businessentities.VDS ) ( object ) ) . getVdsName ( ) ; }
Source:
private org.ovirt.engine.core.dao.VdsDao mockVdsDao ( ) { org.ovirt.engine.core.dao.VdsDao mock = org.mockito.Mockito.mock ( org.ovirt.engine.core.dao.VdsDao.class ) ; org.mockito.Mockito.when ( mock.getFirstUpRhelForVdsGroup ( org.mockito.Matchers.any ( org.ovirt.engine.core.compat.Guid.class ) ) ) . thenReturn ( vdsFromDb ) ; return mock ; }

Target:
private org.ovirt.engine.core.dao.VdsDao mockVdsDao ( ) { org.ovirt.engine.core.dao.VdsDao mock = org.mockito.Mockito.mock ( org.ovirt.engine.core.dao.VdsDao.class ) ; org.mockito.Mockito.when ( mock.getFirstUpRhelForCluster ( org.mockito.Matchers.any ( org.ovirt.engine.core.compat.Guid.class ) ) ) . thenReturn ( vdsFromDb ) ; return mock ; }
Source:
private org.ovirt.engine.core.utils.lock.EngineLock getEngineLock ( org.ovirt.engine.core.compat.Guid clusterId ) { return new org.ovirt.engine.core.utils.lock.EngineLock ( java.util.Collections.singletonMap ( clusterId.toString ( ) , LockingGroup.GLUSTER.name ( ) ) , null ) ; }

Target:
private org.ovirt.engine.core.utils.lock.EngineLock getEngineLock ( org.ovirt.engine.core.compat.Guid clusterId ) { return new org.ovirt.engine.core.utils.lock.EngineLock ( java.util.Collections.singletonMap ( clusterId.toString ( ) , LockMessagesMatchUtil.GLUSTER ) , null ) ; }
Source:
public void testGetStorageDomainByTypeForStoragePoolId ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.StorageDomain > result = dao.getStorageDomains ( new org.ovirt.engine.core.compat.Guid ( "6d849ebf-755f-4552-ad09-9a090cda105d" ) , StorageDomainType.Master ) ; assertGetResult ( result.get ( 0 ) ) ; }

Target:
public void testGetStorageDomainByTypeForStoragePoolId ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.StorageDomain > result = dao.getStorageDomains ( FixturesTool.DATA_CENTER , StorageDomainType.Master ) ; assertGetResult ( result.get ( 0 ) ) ; }
Source:
public void setDisplay ( java.lang.Integer value ) { this . vmDynamic.setDisplay ( value ) ; }

Target:
public void setGuestOsDistribution ( java.lang.String guestOsDistribution ) { vmDynamic.setGuestOsDistribution ( guestOsDistribution ) ; }
Source:
protected java.util.List < Q > getBackendCollection ( org.ovirt.engine.core.common.queries.VdcQueryType query , org.ovirt.engine.core.common.queries.VdcQueryParametersBase queryParams ) { return getBackendCollection ( entityType , query , queryParams ) ; }

Target:
protected java.util.List < Q > getBackendCollection ( org.ovirt.engine.core.common.queries.QueryType query , org.ovirt.engine.core.common.queries.VdcQueryParametersBase queryParams ) { return getBackendCollection ( entityType , query , queryParams ) ; }
Source:
public void getUsbPolicyOnUpdateCurrentlyDisabledGotEnabledNativePolicyUsb ( ) { org.ovirt.engine.api.model.Usb usb = new org.ovirt.engine.api.model.Usb ( ) ; usb.setEnabled ( true ) ; usb.setType ( UsbType.NATIVE ) ; assertEquals ( UsbPolicy.ENABLED_NATIVE , org.ovirt.engine.api.restapi.types.VmMapper.getUsbPolicyOnUpdate ( usb , UsbPolicy.DISABLED ) ) ; }

Target:
public void getUsbPolicyUsbTypeNative ( ) { org.ovirt.engine.api.model.Usb usb = new org.ovirt.engine.api.model.Usb ( ) ; usb.setEnabled ( true ) ; usb.setType ( UsbType.NATIVE ) ; org.junit.Assert.assertEquals ( UsbPolicy.ENABLED_NATIVE , org.ovirt.engine.api.restapi.types.VmMapper.getUsbPolicyOnCreate ( usb ) ) ; }
Source:
private void init ( ) { virtMonitoringStrategy = new org.ovirt.engine.core.vdsbroker.monitoring.VirtMonitoringStrategy ( clusterDao , vdsDao ) ; glusterMonitoringStrategy = new org.ovirt.engine.core.vdsbroker.monitoring.GlusterMonitoringStrategy ( ) ; multipleMonitoringStrategy = new org.ovirt.engine.core.vdsbroker.monitoring.MultipleServicesMonitoringStrategy ( ) ; multipleMonitoringStrategy.addMonitoringStrategy ( virtMonitoringStrategy ) ; multipleMonitoringStrategy.addMonitoringStrategy ( glusterMonitoringStrategy ) ; }

Target:
private void init ( ) { virtMonitoringStrategy = new org.ovirt.engine.core.vdsbroker.monitoring.VirtMonitoringStrategy ( clusterDao , vdsDao , vmDynamicDao ) ; glusterMonitoringStrategy = new org.ovirt.engine.core.vdsbroker.monitoring.GlusterMonitoringStrategy ( ) ; multipleMonitoringStrategy = new org.ovirt.engine.core.vdsbroker.monitoring.MultipleServicesMonitoringStrategy ( ) ; multipleMonitoringStrategy.addMonitoringStrategy ( virtMonitoringStrategy ) ; multipleMonitoringStrategy.addMonitoringStrategy ( glusterMonitoringStrategy ) ; }
Source:
private static org.ovirt.engine.core.common.businessentities.VdsNetworkStatistics CloneVdsNetworkStatistics ( org.ovirt.engine.core.common.businessentities.VdsNetworkStatistics instance ) { org.ovirt.engine.core.common.businessentities.VdsNetworkStatistics obj = new org.ovirt.engine.core.common.businessentities.VdsNetworkStatistics ( ) ; org.ovirt.engine.ui.uicommonweb.Cloner.CloneNetworkStatisticss ( instance , obj ) ; obj.setVdsId ( instance.getVdsId ( ) ) ; return obj ; }

Target:
private static org.ovirt.engine.core.common.businessentities.network.VdsNetworkStatistics CloneVdsNetworkStatistics ( org.ovirt.engine.core.common.businessentities.network.VdsNetworkStatistics instance ) { org.ovirt.engine.core.common.businessentities.network.VdsNetworkStatistics obj = new org.ovirt.engine.core.common.businessentities.network.VdsNetworkStatistics ( ) ; org.ovirt.engine.ui.uicommonweb.Cloner.CloneNetworkStatisticss ( instance , obj ) ; obj.setVdsId ( instance.getVdsId ( ) ) ; return obj ; }
Source:
public int hashCode ( ) { int result = super . hashCode ( ) ; result = ( 31 * result ) + ( ( cinderConnectionInfo ) != null ? cinderConnectionInfo.hashCode ( ) : 0 ) ; return result ; }

Target:
public int hashCode ( ) { return java.util.Objects.hash ( super . hashCode ( ) , cinderConnectionInfo ) ; }
Source:
public int getnum_of_monitors ( ) { return this . mVmStatic.getnum_of_monitors ( ) ; }

Target:
public void setInitialized ( boolean value ) { this . vmStatic.setInitialized ( value ) ; }
Source:
private void writeServiceLocator ( org.ovirt.api.metamodel.concepts.Locator locator ) { writer.writeStartElement ( "locator" ) ; writeCommon ( locator ) ; locator.parameters ( ) . forEach ( this :: writeParameter ) ; writer.writeEndElement ( ) ; }

Target:
private void writeServiceLocator ( org.ovirt.api.metamodel.concepts.Locator locator ) { writer.writeStartElement ( "locator" ) ; writeCommon ( locator ) ; writeServiceRef ( locator.getService ( ) ) ; locator.parameters ( ) . forEach ( this :: writeParameter ) ; writer.writeEndElement ( ) ; }
Source:
public org.ovirt.engine.api.v3.types.V3Host update ( org.ovirt.engine.api.v3.types.V3Host host ) { return adaptUpdate ( delegate :: update , host ) ; }

Target:
public org.ovirt.engine.api.v3.types.V3Host update ( org.ovirt.engine.api.v3.types.V3Host host ) { return adaptUpdate ( getDelegate ( ) :: update , host ) ; }
Source:
public static void setUp ( ) throws java.lang.Exception { final org.reflections.Reflections reflections = new org.reflections.Reflections ( "org.ovirt.engine" ) ; org.ovirt.engine.core.dao.DaoCdiIntegrationTest.daoClasses = java.util.Collections.unmodifiableSet ( reflections.getSubTypesOf ( org.ovirt.engine.core.dao.DAO.class ) ) ; }

Target:
public static void setUp ( ) throws java.lang.Exception { final org.reflections.Reflections reflections = new org.reflections.Reflections ( "org.ovirt.engine" ) ; org.ovirt.engine.core.dao.DaoCdiIntegrationTest.daoClasses = java.util.Collections.unmodifiableSet ( reflections.getSubTypesOf ( org.ovirt.engine.core.dao.Dao.class ) ) ; }
Source:
public void info ( java.lang.Object msg , java.lang.Throwable t ) { log.info ( addPrefixToLogMessage ( msg ) , t ) ; }

Target:
public void debug ( java.lang.Object msg , java.lang.Throwable t ) { log.debug ( convertToString ( msg ) , t ) ; }
Source:
public void refreshGeoRepData ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.VDSGroup > clusters = getClusterDao ( ) . getAll ( ) ; for ( org.ovirt.engine.core.common.businessentities.VDSGroup cluster : clusters ) { refreshGeoRepDataInCluster ( cluster ) ; } }

Target:
public void discoverGeoRepData ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.VDSGroup > clusters = getClusterDao ( ) . getAll ( ) ; for ( org.ovirt.engine.core.common.businessentities.VDSGroup cluster : clusters ) { discoverGeoRepDataInCluster ( cluster ) ; } }
Source:
public void clearError ( ) { getImportSourceValid ( ) . setMessage ( "" ) ; getImportSourceValid ( ) . setEntity ( true ) ; }

Target:
public void clearProblem ( ) { getProblemDescription ( ) . setIsValid ( true ) ; getProblemDescription ( ) . setEntity ( null ) ; }
Source:
public int getvds_strength ( ) { return this . mVdsStatic.getvds_strength ( ) ; }

Target:
public int getVdsStrength ( ) { return this . mVdsStatic.getVdsStrength ( ) ; }
Source:
private java.util.List < org.ovirt.engine.core.common.businessentities.Provider < ? > > searchProviders ( ) { return genericSearch ( org.ovirt.engine.core.bll.SearchQuery.getDbFacade ( ) . getProviderDao ( ) , true ) ; }

Target:
private java.util.List < org.ovirt.engine.core.common.businessentities.StoragePool > searchStoragePool ( ) { return genericSearch ( storagePoolDao , true ) ; }
Source:
public javax.ws.rs.core.Response performAction ( org.ovirt.engine.core.common.action.VdcActionType task , org.ovirt.engine.core.common.action.VdcActionParametersBase params ) { return performAction ( task , params , null , false ) ; }

Target:
public javax.ws.rs.core.Response performAction ( org.ovirt.engine.core.common.action.ActionType task , org.ovirt.engine.core.common.action.VdcActionParametersBase params ) { return performAction ( task , params , null , false ) ; }
Source:
public void ExecuteCommand ( org.ovirt.engine.ui.uicommonweb.UICommand command ) { super . ExecuteCommand ( command ) ; if ( command == ( getTestCommand ( ) ) ) { Test ( ) ; } }

Target:
public void ExecuteCommand ( org.ovirt.engine.ui.uicommonweb.UICommand command ) { ProxyDown ( ) ; }
Source:
public org.ovirt.engine.api.model.StorageDomains list ( ) { if ( isFiltered ( ) ) { return mapCollection ( getBackendCollection ( VdcQueryType.GetAllStorageDomains , new org.ovirt.engine.core.common.queries.VdcQueryParametersBase ( ) , SearchType.StorageDomain ) ) ; } else { return mapCollection ( getBackendCollection ( SearchType.StorageDomain ) ) ; } }

Target:
public org.ovirt.engine.api.model.StorageDomains list ( ) { if ( isFiltered ( ) ) { return mapCollection ( getBackendCollection ( QueryType.GetAllStorageDomains , new org.ovirt.engine.core.common.queries.VdcQueryParametersBase ( ) , SearchType.StorageDomain ) ) ; } else { return mapCollection ( getBackendCollection ( SearchType.StorageDomain ) ) ; } }
Source:
private boolean isVmRunningOnHost ( org.ovirt.engine.core.compat.Guid hostId ) { return ! ( org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getVmDynamicDao ( ) . getAllRunningForVds ( hostId ) . isEmpty ( ) ) ; }

Target:
private boolean isVmRunningOnHost ( org.ovirt.engine.core.compat.Guid hostId ) { return ! ( vmDynamicDao.getAllRunningForVds ( hostId ) . isEmpty ( ) ) ; }
Source:
void clearSessionId ( ) { setSessionId ( null ) ; }

Target:
public void releaseSession ( ) { setSessionId ( null ) ; }
Source:
public org.ovirt.engine.ui.common.uicommon.model.DetailModelProvider < org.ovirt.engine.ui.uicommonweb.models.storage.StorageListModel , org.ovirt.engine.ui.uicommonweb.models.storage.StorageGeneralModel > getStorageGeneralProvider ( org.ovirt.engine.ui.webadmin.gin.ClientGinjector ginjector ) { return new org.ovirt.engine.ui.common.uicommon.model.DetailTabModelProvider < org.ovirt.engine.ui.uicommonweb.models.storage.StorageListModel , org.ovirt.engine.ui.uicommonweb.models.storage.StorageGeneralModel > ( ginjector , org.ovirt.engine.ui.uicommonweb.models.storage.StorageListModel.class , org.ovirt.engine.ui.uicommonweb.models.storage.StorageGeneralModel.class ) ; }

Target:
public org.ovirt.engine.ui.common.uicommon.model.DetailModelProvider < org.ovirt.engine.ui.uicommonweb.models.storage.StorageListModel , org.ovirt.engine.ui.uicommonweb.models.storage.StorageGeneralModel > getStorageGeneralProvider ( com.google.gwt.event.shared.EventBus eventBus , com.google.inject.Provider < org.ovirt.engine.ui.common.presenter.popup.DefaultConfirmationPopupPresenterWidget > defaultConfirmPopupProvider ) { return new org.ovirt.engine.ui.common.uicommon.model.DetailTabModelProvider < org.ovirt.engine.ui.uicommonweb.models.storage.StorageListModel , org.ovirt.engine.ui.uicommonweb.models.storage.StorageGeneralModel > ( eventBus , defaultConfirmPopupProvider , org.ovirt.engine.ui.uicommonweb.models.storage.StorageListModel.class , org.ovirt.engine.ui.uicommonweb.models.storage.StorageGeneralModel.class ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.tags getTag ( ) { if ( ( ( mTag ) == null ) && ( ( getTagId ( ) ) != null ) ) { mTag = org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getTagDAO ( ) . get ( getTagId ( ) ) ; } return mTag ; }

Target:
protected org.ovirt.engine.core.common.businessentities.tags getTag ( ) { if ( ( ( mTag ) == null ) && ( ( getTagId ( ) ) != null ) ) { mTag = org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getTagDao ( ) . get ( getTagId ( ) ) ; } return mTag ; }
Source:
public void testClone ( org.ovirt.engine.core.common.businessentities.VDS vds ) { org.ovirt.engine.core.common.businessentities.VDS cloned = vds.clone ( ) ; org.junit.Assert.assertEquals ( "clones not equal" , vds , cloned ) ; org.junit.Assert.assertEquals ( "clones do not have equal hashCodes" , vds.hashCode ( ) , cloned.hashCode ( ) ) ; }

Target:
public void vdsCloned ( org.ovirt.engine.core.common.businessentities.VDS vds ) { org.ovirt.engine.core.common.businessentities.VDS cloned = vds.clone ( ) ; org.junit.jupiter.api.Assertions.assertEquals ( vds , cloned , "clones not equal" ) ; org.junit.jupiter.api.Assertions.assertEquals ( vds.hashCode ( ) , cloned.hashCode ( ) , "clones do not have equal hashCodes" ) ; }
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 ) { importGlusterExplanationLabel.setVisible ( ( ( object.getEnableGlusterService ( ) . getEntity ( ) ) && ( object.getIsNew ( ) ) ) ) ; }

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 ) { updateGlusterFencingPolicyVisibility ( object ) ; }
Source:
public org.ovirt.engine.core.compat.Guid getvm_template_id ( ) { return this . vmTemplateId ; }

Target:
public void setStorageDomainName ( java.lang.String storageDomainName ) { this . storageDomainName = storageDomainName ; }
Source:
public void DefaultHost_SelectedItemChanged ( ) { UpdateCdImage ( ) ; }

Target:
public void defaultHost_SelectedItemChanged ( ) { updateCdImage ( ) ; }
Source:
protected org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc getReturnStatus ( ) { return this . result.getXmlRpcStatus ( ) ; }

Target:
protected org.ovirt.engine.core.vdsbroker.vdsbroker.Status getReturnStatus ( ) { return this . result.getStatus ( ) ; }
Source:
public java.lang.String getTemplate ( java.lang.String realUrlParamName , java.lang.String headerParamName ) { org.ovirt.engine.sdk.codegen.utils.StringTemplateWrapper templateWrapper = new org.ovirt.engine.sdk.codegen.utils.StringTemplateWrapper ( getTemplate ( ) ) ; templateWrapper.set ( "realUrlParamName" , realUrlParamName ) ; templateWrapper.set ( "headerParamName" , headerParamName ) ; return templateWrapper.toString ( ) ; }

Target:
public java.lang.String evaluate ( java.lang.String realUrlParamName , java.lang.String headerParamName ) { set ( "realUrlParamName" , realUrlParamName ) ; set ( "headerParamName" , headerParamName ) ; return evaluate ( ) ; }
Source:
private void setNonOperational ( org.ovirt.engine.core.common.businessentities.NonOperationalReason reason , org.ovirt.engine.core.common.businessentities.VDS vds ) { vds.setNonOperationalReason ( reason ) ; vds.setStatus ( VDSStatus.NonOperational ) ; vdsDynamicDao.update ( vds.getDynamicData ( ) ) ; }

Target:
private void setNonOperational ( org.ovirt.engine.core.common.businessentities.NonOperationalReason reason ) { runInternalAction ( VdcActionType.SetNonOperationalVds , new org.ovirt.engine.core.common.action.SetNonOperationalVdsParameters ( getVds ( ) . getId ( ) , reason ) , org.ovirt.engine.core.bll.job.ExecutionHandler.createInternalJobContext ( getContext ( ) ) ) ; }