auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void onEditSnapshotSchedule ( ) { final org.ovirt.engine.ui.uicommonweb.models.gluster.GlusterVolumeSnapshotModel snapshotModel = ( ( org.ovirt.engine.ui.uicommonweb.models.gluster.GlusterVolumeSnapshotModel ) ( getWindow ( ) ) ) ; if ( ! ( snapshotModel.validate ( ) ) ) { return ; } scheduleSnapshot ( snapshotModel , true ) ; }

Target:
public void onEditSnapshotSchedule ( ) { final org.ovirt.engine.ui.uicommonweb.models.gluster.GlusterVolumeSnapshotModel snapshotModel = ( ( org.ovirt.engine.ui.uicommonweb.models.gluster.GlusterVolumeSnapshotModel ) ( getWindow ( ) ) ) ; if ( ! ( snapshotModel.validate ( false ) ) ) { return ; } scheduleSnapshot ( snapshotModel , true ) ; }
Source:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { warningLabel.setVisible ( ( ! ( ( java.lang.Boolean ) ( object.getMigrateData ( ) . getEntity ( ) ) ) ) ) ; }

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 ) { warningLabel.setVisible ( ( ! ( object.getMigrateData ( ) . getEntity ( ) ) ) ) ; }
Source:
public void shouldElectActiveLocalDataDomain ( ) { org.ovirt.engine.core.common.businessentities.StorageDomain domain = prepareLocalStorageDomainForElection ( StorageDomainStatus.Active , "local domain name" ) ; org.junit.Assert.assertEquals ( domain , cmd.electNewMaster ( ) ) ; }

Target:
public void shouldElectActiveLocalDataDomain ( ) { org.ovirt.engine.core.common.businessentities.StorageDomain domain = prepareLocalStorageDomainForElection ( StorageDomainStatus.Active ) ; org.junit.Assert.assertEquals ( domain , cmd.electNewMaster ( ) ) ; }
Source:
public void run ( org.ovirt.engine.core.common.businessentities.StoragePool item , org.ovirt.engine.ui.uicommonweb.models.hosts.AsyncIteratorCallback callback ) { org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.getClusterList ( callback.getAsyncQuery ( ) , item.getId ( ) ) ; }

Target:
public void run ( org.ovirt.engine.core.common.businessentities.StoragePool item , org.ovirt.engine.ui.uicommonweb.models.hosts.AsyncIteratorCallback callback ) { org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.getInstance ( ) . getClusterList ( callback.getAsyncQuery ( ) , item.getId ( ) ) ; }
Source:
, @ javax.validation.constraints.Pattern ( regexp = org.ovirt.engine.core.common.businessentities.network.VmNic.UNICAST_MAC_ADDRESS_FORMAT , message = org.ovirt.engine.core.common.businessentities.network.VmNic.VALIDATION_MESSAGE_MAC_ADDRESS_INVALID , groups = { org.ovirt.engine.core.common.validation.group.UpdateEntity.class } ) , @ javax.validation.constraints.Pattern ( regexp = org.ovirt.engine.core.common.businessentities.network.VmNic.NON_NULLABLE_MAC_ADDRESS_FORMAT , message = org.ovirt.engine.core.common.businessentities.network.VmNic.VALIDATION_MESSAGE_MAC_ADDRESS_INVALID , groups = { org.ovirt.engine.core.common.validation.group.CreateEntity.class , org.ovirt.engine.core.common.validation.group.UpdateEntity.class } ) } ) public java.lang.String getMacAddress ( ) { return super . getMacAddress ( ) ; }

Target:
, @ javax.validation.constraints.Pattern ( regexp = ( "(^$)|(" + ( org.ovirt.engine.core.common.utils.MacAddressValidationPatterns.NON_MULTICAST_MAC_ADDRESS_FORMAT ) ) + ")" , message = org.ovirt.engine.core.common.businessentities.network.VmNic.VALIDATION_VM_NETWORK_MAC_ADDRESS_MULTICAST , groups = { org.ovirt.engine.core.common.validation.group.CreateEntity.class } ) , @ javax.validation.constraints.Pattern ( regexp = org.ovirt.engine.core.common.utils.MacAddressValidationPatterns.VALID_MAC_ADDRESS_FORMAT , message = org.ovirt.engine.core.common.businessentities.network.VmNic.VALIDATION_MESSAGE_MAC_ADDRESS_INVALID , groups = { org.ovirt.engine.core.common.validation.group.UpdateEntity.class } ) , @ javax.validation.constraints.Pattern ( regexp = org.ovirt.engine.core.common.utils.MacAddressValidationPatterns.NON_MULTICAST_MAC_ADDRESS_FORMAT , message = org.ovirt.engine.core.common.businessentities.network.VmNic.VALIDATION_VM_NETWORK_MAC_ADDRESS_MULTICAST , groups = { org.ovirt.engine.core.common.validation.group.UpdateEntity.class } ) , @ javax.validation.constraints.Pattern ( regexp = org.ovirt.engine.core.common.utils.MacAddressValidationPatterns.NON_NULLABLE_MAC_ADDRESS_FORMAT , message = org.ovirt.engine.core.common.businessentities.network.VmNic.VALIDATION_MESSAGE_MAC_ADDRESS_INVALID , groups = { org.ovirt.engine.core.common.validation.group.CreateEntity.class , org.ovirt.engine.core.common.validation.group.UpdateEntity.class } ) } ) public java.lang.String getMacAddress ( ) { return super . getMacAddress ( ) ; }
Source:
public static int getMaxVmPriority ( ) { return ( ( java.lang.Integer ) ( org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.getConfigValuePreConverted ( ConfigurationValues.VmPriorityMaxValue , org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.getDefaultConfigurationVersion ( ) ) ) ) ; }

Target:
public int getMaxVmPriority ( ) { return ( ( java.lang.Integer ) ( getConfigValuePreConverted ( ConfigurationValues.VmPriorityMaxValue , getDefaultConfigurationVersion ( ) ) ) ) ; }
Source:
public void testGetAsyncTaskIdsByStoragePoolId ( ) { java.util.List < org.ovirt.engine.core.compat.Guid > guids = dao.getAsyncTaskIdsByStoragePoolId ( FixturesTool.STORAGE_POOL_RHEL6_ISCSI_OTHER ) ; org.junit.Assert.assertNotNull ( guids ) ; org.junit.Assert.assertEquals ( guids.size ( ) , 1 ) ; }

Target:
public void testGetAsyncTaskIdsByStoragePoolId ( ) { java.util.List < org.ovirt.engine.core.compat.Guid > guids = dao.getAsyncTaskIdsByStoragePoolId ( FixturesTool.STORAGE_POOL_RHEL6_ISCSI_OTHER ) ; org.junit.Assert.assertNotNull ( guids ) ; org.junit.Assert.assertEquals ( guids.size ( ) , 2 ) ; }
Source:
protected void initAllowConsoleReconnect ( ) { getAllowConsoleReconnect ( ) . setEntity ( ( ( getVmType ( ) ) == ( org.ovirt.engine.core.common.businessentities.VmType.Server ) ) ) ; }

Target:
protected void initAllowConsoleReconnect ( ) { getAllowConsoleReconnect ( ) . setEntity ( true ) ; }
Source:
public void run ( org.ovirt.engine.core.common.businessentities.storage_pool item , org.ovirt.engine.ui.uicommonweb.models.hosts.AsyncIteratorCallback callback ) { org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.GetClusterList ( callback.getAsyncQuery ( ) , item.getId ( ) ) ; }

Target:
public void run ( org.ovirt.engine.core.common.businessentities.StoragePool item , org.ovirt.engine.ui.uicommonweb.models.hosts.AsyncIteratorCallback callback ) { org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.GetClusterList ( callback.getAsyncQuery ( ) , item.getId ( ) ) ; }
Source:
public void testGet ( ) throws java.lang.Exception { setUriInfo ( org.ovirt.engine.api.restapi.resource.AbstractBackendNetworkAttachmentResourceTest.setUpBasicUriExpectations ( ) ) ; setUpEntityQueryExpectations ( 1 , 0 , false ) ; control.replay ( ) ; verifyModel ( resource.get ( ) , 0 ) ; }

Target:
public void testGet ( ) throws java.lang.Exception { setUriInfo ( org.ovirt.engine.api.restapi.resource.AbstractBackendNetworkAttachmentResourceTest.setUpBasicUriExpectations ( ) ) ; setUpEntityQueryExpectations ( 1 , 0 , false ) ; verifyModel ( resource.get ( ) , 0 ) ; }
Source:
public void clusterWithNoServiceEnabled ( ) { createCommandWithNoService ( ) ; org.mockito.Mockito.when ( clusterDao.get ( org.mockito.ArgumentMatchers.any ( ) ) ) . thenReturn ( org.ovirt.engine.core.bll.UpdateClusterCommandTest.createClusterWithNoCpuName ( ) ) ; cpuExists ( ) ; allQueriesForVms ( ) ; validateFailedWithReason ( EngineMessage.CLUSTER_AT_LEAST_ONE_SERVICE_MUST_BE_ENABLED ) ; }

Target:
public void clusterWithNoServiceEnabled ( ) { createCommandWithNoService ( ) ; org.mockito.Mockito.when ( clusterDao.get ( org.mockito.ArgumentMatchers.any ( ) ) ) . thenReturn ( org.ovirt.engine.core.bll.UpdateClusterCommandTest.createClusterWithNoCpuName ( ) ) ; cpuExists ( ) ; validateFailedWithReason ( EngineMessage.CLUSTER_AT_LEAST_ONE_SERVICE_MUST_BE_ENABLED ) ; }
Source:
private org.ovirt.engine.core.common.businessentities.StorageDomain mockStorageDomain ( org.ovirt.engine.core.compat.Guid storageId ) { return mockStorageDomain ( storageId , 6 , 4 , StorageType.UNKNOWN , new org.ovirt.engine.core.compat.Version ( ) ) ; }

Target:
private org.ovirt.engine.core.common.businessentities.StorageDomain mockStorageDomain ( org.ovirt.engine.core.compat.Guid storageId ) { return mockStorageDomain ( storageId , 6 , 4 , StorageType.UNKNOWN ) ; }
Source:
public void OnSuccess ( java.lang.Object model , java.lang.Object returnValue ) { ( ( org.ovirt.engine.ui.uicommonweb.models.userportal.UserPortalTemplateListModel ) ( model ) ) . setItems ( ( ( java.lang.Iterable ) ( returnValue ) ) ) ; }

Target:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { ( ( org.ovirt.engine.ui.uicommonweb.models.userportal.UserPortalTemplateListModel ) ( model ) ) . setItems ( ( ( java.lang.Iterable ) ( returnValue ) ) ) ; }
Source:
public java.lang.String getTemplate ( java.lang.String type , java.lang.String name ) { org.ovirt.engine.sdk.codegen.utils.StringTemplateWrapper templateWrapper = new org.ovirt.engine.sdk.codegen.utils.StringTemplateWrapper ( getTemplate ( ) , true ) ; templateWrapper.set ( "type" , type ) ; templateWrapper.set ( "name" , name ) ; return templateWrapper.toString ( ) ; }

Target:
public java.lang.String getTemplate ( java.lang.String type , java.lang.String name ) { org.ovirt.engine.sdk.codegen.utils.StringTemplateWrapper templateWrapper = new org.ovirt.engine.sdk.codegen.utils.StringTemplateWrapper ( getTemplate ( ) ) ; templateWrapper.set ( "type" , type ) ; templateWrapper.set ( "name" , name ) ; return templateWrapper.toString ( ) ; }
Source:
public void testList ( ) throws java.lang.Exception { javax.ws.rs.core.UriInfo uriInfo = setUpUriExpectations ( null ) ; setupGetStorageDomainExpectations ( StorageDomainType.ISO ) ; setUpQueryExpectations ( "" ) ; collection.setUriInfo ( uriInfo ) ; verifyCollection ( getCollection ( ) ) ; }

Target:
public void testList ( ) throws java.lang.Exception { javax.ws.rs.core.UriInfo uriInfo = setUpUriExpectations ( null ) ; collection.setUriInfo ( uriInfo ) ; setupGetStorageDomainExpectations ( StorageDomainType.ISO ) ; setUpQueryExpectations ( "" , null ) ; verifyCollection ( getCollection ( ) ) ; }
Source:
public java.lang.String getValue ( org.ovirt.engine.core.common.businessentities.network object ) { return object.getdescription ( ) ; }

Target:
public java.lang.String getValue ( org.ovirt.engine.core.common.businessentities.Network object ) { return object.getdescription ( ) ; }
Source:
private void localize ( ) { isPluggedEditor.setLabel ( org.ovirt.engine.ui.common.widget.uicommon.popup.vm.VmDiskAttachPopupWidget.constants.activateVmDiskPopup ( ) ) ; isPluggedEditor.setWidgetTooltip ( org.ovirt.engine.ui.common.widget.uicommon.popup.vm.VmDiskAttachPopupWidget.constants.activateVmDiskPopupToolTip ( ) ) ; isPluggedEditor.getContentWidgetContainer ( ) . setWidth ( "90px" ) ; }

Target:
private void localize ( ) { isPluggedEditor.setLabel ( org.ovirt.engine.ui.common.widget.uicommon.popup.vm.VmDiskAttachPopupWidget.constants.activateVmDiskPopup ( ) ) ; isPluggedEditor.setWidgetTooltip ( org.ovirt.engine.ui.common.widget.uicommon.popup.vm.VmDiskAttachPopupWidget.constants.activateVmDiskPopupToolTip ( ) ) ; }
Source:
public void testValidNonPatternName ( ) { junit.framework.Assert.assertTrue ( new org.ovirt.engine.ui.uicommonweb.validation.PoolNameValidationTest.TestablePoolNameValidation ( ) . Validate ( "pool-T4534f" ) . getSuccess ( ) ) ; }

Target:
public void testValidNonPatternName ( ) { junit.framework.Assert.assertTrue ( new org.ovirt.engine.ui.uicommonweb.validation.PoolNameValidationTest.TestablePoolNameValidation ( ) . validate ( "pool-T4534f" ) . getSuccess ( ) ) ; }
Source:
protected java.util.Map < org.ovirt.engine.core.compat.Guid , java.lang.String > getExclusiveLocks ( ) { return java.util.Collections.singletonMap ( ( ( org.ovirt.engine.core.compat.Guid ) ( org.ovirt.engine.core.bll.RemoveDiskCommand.getParameters ( ) . getEntityId ( ) ) ) , LockingGroup.DISK.name ( ) ) ; }

Target:
protected java.util.Map < java.lang.String , java.lang.String > getExclusiveLocks ( ) { return java.util.Collections.singletonMap ( org.ovirt.engine.core.bll.RemoveDiskCommand.getParameters ( ) . getEntityId ( ) . toString ( ) , LockingGroup.DISK.name ( ) ) ; }
Source:
public void moveShareableDisk ( ) { initializeCommand ( ImageOperation.Move , new org.ovirt.engine.core.common.businessentities.storage.DiskImage ( ) ) ; initSrcStorageDomain ( ) ; initDestStorageDomain ( StorageType.NFS ) ; initVmDiskImage ( true ) ; org.junit.Assert.assertTrue ( command.canDoAction ( ) ) ; }

Target:
public void moveShareableDisk ( ) { initializeCommand ( ImageOperation.Move , new org.ovirt.engine.core.common.businessentities.storage.DiskImage ( ) ) ; initSrcStorageDomain ( ) ; initDestStorageDomain ( StorageType.NFS ) ; initVmDiskImage ( true ) ; org.junit.Assert.assertTrue ( command.validate ( ) ) ; }
Source:
public void run ( org.ovirt.engine.core.common.businessentities.StoragePool item , org.ovirt.engine.ui.uicommonweb.models.hosts.AsyncIteratorCallback callback ) { org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.getLocalStorageHost ( callback.getAsyncQuery ( ) , item.getName ( ) ) ; }

Target:
public void run ( org.ovirt.engine.core.common.businessentities.StoragePool item , org.ovirt.engine.ui.uicommonweb.models.hosts.AsyncIteratorCallback callback ) { org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.getInstance ( ) . getLocalStorageHost ( callback.getAsyncQuery ( ) , item.getName ( ) ) ; }
Source:
protected void verifyActionResponse ( javax.ws.rs.core.Response r , java.lang.String baseUri , boolean async ) throws java.lang.Exception { verifyActionResponse ( r , baseUri , async , null , null ) ; }

Target:
protected void verifyActionResponse ( javax.ws.rs.core.Response r , java.lang.String baseUri , boolean async ) throws java.lang.Exception { verifyActionResponse ( r , baseUri , async , null ) ; }
Source:
public static boolean isMultilevelAdministrationOn ( ) { return org.ovirt.engine.core.common.config.Config.< java.lang.Boolean > GetValue ( ConfigValues.IsMultilevelAdministrationOn ) ; }

Target:
public static boolean isMultilevelAdministrationOn ( ) { return org.ovirt.engine.core.common.config.Config.< java.lang.Boolean > getValue ( ConfigValues.IsMultilevelAdministrationOn ) ; }
Source:
public void testGet ( ) { org.ovirt.engine.core.common.scheduling.ClusterPolicy result = dao.get ( existingPolicy.getId ( ) , java.util.Collections.emptyMap ( ) ) ; org.junit.Assert.assertTrue ( result.equals ( existingPolicy ) ) ; }

Target:
public void testGet ( ) { org.ovirt.engine.core.common.scheduling.ClusterPolicy result = dao.get ( existingPolicy.getId ( ) , java.util.Collections.emptyMap ( ) ) ; org.junit.Assert.assertEquals ( result , existingPolicy ) ; }
Source:
public org.ovirt.engine.core.bll.ValidationResult validateUniqueId ( ) { if ( ( org.apache.commons.lang.StringUtils.isBlank ( vds.getUniqueId ( ) ) ) && ( org.ovirt.engine.core.common.config.Config.< java.lang.Boolean > GetValue ( ConfigValues.InstallVds ) ) ) { return new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.VdcBllMessages.VDS_NO_UUID ) ; } return ValidationResult.VALID ; }

Target:
public org.ovirt.engine.core.bll.ValidationResult validateUniqueId ( ) { if ( ( org.apache.commons.lang.StringUtils.isBlank ( vds.getUniqueId ( ) ) ) && ( org.ovirt.engine.core.common.config.Config.< java.lang.Boolean > getValue ( ConfigValues.InstallVds ) ) ) { return new org.ovirt.engine.core.bll.ValidationResult ( org.ovirt.engine.core.common.errors.VdcBllMessages.VDS_NO_UUID ) ; } return ValidationResult.VALID ; }
Source:
public void onSuccess ( java.lang.Object model , java.lang.Object result ) { final org.ovirt.engine.ui.uicommonweb.models.SystemTreeModel systemTreeModel = ( ( org.ovirt.engine.ui.uicommonweb.models.SystemTreeModel ) ( model ) ) ; systemTreeModel.setDataCenters ( ( ( java.util.List < org.ovirt.engine.core.common.businessentities.StoragePool > ) ( result ) ) ) ; doNetworksSearch ( ) ; }

Target:
public void onSuccess ( java.util.List < org.ovirt.engine.core.common.businessentities.StoragePool > result ) { setDataCenters ( result ) ; doNetworksSearch ( ) ; }
Source:
public static java.lang.String getTrustStorePath ( ) { java.io.File varDir = org.ovirt.engine.core.utils.EngineLocalConfig.getInstance ( ) . getVarDir ( ) ; return ( varDir + "/" ) + "external_truststore" ; }

Target:
private static java.lang.String getTrustStorePath ( ) { java.io.File varDir = org.ovirt.engine.core.utils.EngineLocalConfig.getInstance ( ) . getVarDir ( ) ; return ( varDir + "/" ) + "external_truststore" ; }
Source:
public void render ( com.google.gwt.cell.client.Cell.Context context , java.lang.Boolean value , com.google.gwt.safehtml.shared.SafeHtmlBuilder sb ) { super . render ( context , value , sb ) ; sb.append ( title ) ; }

Target:
public void render ( com.google.gwt.cell.client.Cell.Context context , java.lang.Boolean value , com.google.gwt.safehtml.shared.SafeHtmlBuilder sb , java.lang.String id ) { super . render ( context , value , sb , id ) ; sb.append ( title ) ; }
Source:
private java.lang.String clusterVersion ( ) { return java.lang.String.format ( "$clusterVersion %s" , version ) ; }

Target:
protected java.lang.String clusterVersion ( ) { return java.lang.String.format ( "$clusterVersion %s" , version ) ; }
Source:
protected void executeQueryCommand ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.gluster.StorageDevice > storageDevices = org.ovirt.engine.core.bll.gluster.GetGlusterStorageDevicesQuery.getDbFacade ( ) . getStorageDeviceDao ( ) . getStorageDevicesInHost ( org.ovirt.engine.core.bll.gluster.GetGlusterStorageDevicesQuery.getParameters ( ) . getVdsId ( ) ) ; org.ovirt.engine.core.bll.gluster.GetGlusterStorageDevicesQuery.getQueryReturnValue ( ) . setReturnValue ( filterStorageDevices ( storageDevices ) ) ; }

Target:
protected void executeQueryCommand ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.gluster.StorageDevice > storageDevices = org.ovirt.engine.core.bll.gluster.GetGlusterStorageDevicesQuery.getDbFacade ( ) . getStorageDeviceDao ( ) . getStorageDevicesInHost ( org.ovirt.engine.core.bll.gluster.GetGlusterStorageDevicesQuery.getParameters ( ) . getId ( ) ) ; org.ovirt.engine.core.bll.gluster.GetGlusterStorageDevicesQuery.getQueryReturnValue ( ) . setReturnValue ( filterStorageDevices ( storageDevices ) ) ; }
Source:
public void formatStringTest ( ) { testMessages.addFallback ( DynamicMessageKey.APPLICATION_TITLE , "Testing 123: {0}" ) ; java.lang.String result = testMessages.formatString ( DynamicMessageKey.APPLICATION_TITLE , "1.1.1" ) ; org.junit.Assert.assertEquals ( "Result should be 'Testing 123: 1.1.1'" , "Testing 123: 1.1.1" , result ) ; }

Target:
public void formatStringTest ( ) { testMessages.addFallback ( DynamicMessageKey.APPLICATION_TITLE , "Testing 123: {0}" ) ; java.lang.String result = testMessages.formatString ( DynamicMessageKey.APPLICATION_TITLE , "1.1.1" ) ; org.junit.Assert.assertEquals ( "Testing 123: 1.1.1" , result ) ; }
Source:
private java.util.List < org.ovirt.engine.core.common.businessentities.DiskImage > getSourceImages ( ) { if ( ( _sourceImages ) == null ) { _sourceImages = org.ovirt.engine.core.bll.RemoveSnapshotCommand.getDiskImageDAO ( ) . getAllSnapshotsForVmSnapshot ( org.ovirt.engine.core.bll.RemoveSnapshotCommand.getParameters ( ) . getSnapshotId ( ) ) ; } return _sourceImages ; }

Target:
protected java.util.List < org.ovirt.engine.core.common.businessentities.DiskImage > getSourceImages ( ) { if ( ( _sourceImages ) == null ) { _sourceImages = org.ovirt.engine.core.bll.RemoveSnapshotCommand.getDiskImageDAO ( ) . getAllSnapshotsForVmSnapshot ( org.ovirt.engine.core.bll.RemoveSnapshotCommand.getParameters ( ) . getSnapshotId ( ) ) ; } return _sourceImages ; }
Source:
protected void setVmName ( final java.lang.String value ) { vmName = value ; }

Target:
public void setVmName ( final java.lang.String value ) { vmName = value ; }
Source:
public void testAddDefaultQuota ( ) { org.ovirt.engine.core.bll.AddQuotaCommand command = createCommand ( ) ; command.getParameters ( ) . getQuota ( ) . setDefault ( true ) ; org.ovirt.engine.core.bll.ValidateTestUtils.runAndAssertValidateFailure ( command , EngineMessage.ACTION_TYPE_FAILED_QUOTA_IS_NOT_VALID ) ; }

Target:
public void testAddDefaultQuota ( ) { command.getParameters ( ) . getQuota ( ) . setDefault ( true ) ; org.ovirt.engine.core.bll.ValidateTestUtils.runAndAssertValidateFailure ( command , EngineMessage.ACTION_TYPE_FAILED_QUOTA_IS_NOT_VALID ) ; }
Source:
protected void onEntityContentChanged ( ) { startProgress ( null ) ; super . onEntityContentChanged ( ) ; }

Target:
protected void onEntityContentChanged ( ) { startProgress ( ) ; super . onEntityContentChanged ( ) ; }
Source:
public void getUsbPolicyOnUpdateCurrentlyDisabledGotEnabledNativePolicyUsb ( ) { org.ovirt.engine.api.model.Usb usb = new org.ovirt.engine.api.model.Usb ( ) ; usb.setEnabled ( true ) ; usb.setType ( "native" ) ; assertEquals ( org.ovirt.engine.api.restapi.types.VmMapper.getUsbPolicyOnUpdate ( usb , UsbPolicy.DISABLED , null ) , UsbPolicy.ENABLED_NATIVE ) ; }

Target:
public void getUsbPolicyOnUpdateCurrentlyDisabledGotEnabledNativePolicyUsb ( ) { org.ovirt.engine.api.model.Usb usb = new org.ovirt.engine.api.model.Usb ( ) ; usb.setEnabled ( true ) ; usb.setType ( "native" ) ; assertEquals ( org.ovirt.engine.api.restapi.types.VmMapper.getUsbPolicyOnUpdate ( usb , UsbPolicy.DISABLED ) , UsbPolicy.ENABLED_NATIVE ) ; }
Source:
public void runMultipleAction ( final org.ovirt.engine.core.common.action.VdcActionType actionType , final java.util.List < org.ovirt.engine.core.common.action.VdcActionParametersBase > parameters , final org.ovirt.engine.ui.uicompat.IFrontendMultipleActionAsyncCallback callback ) { runMultipleAction ( actionType , parameters , callback , null , true , false ) ; }

Target:
public void runMultipleAction ( final org.ovirt.engine.core.common.action.VdcActionType actionType , final java.util.List < org.ovirt.engine.core.common.action.VdcActionParametersBase > parameters ) { runMultipleAction ( actionType , parameters , null , null ) ; }
Source:
public static synchronized boolean isImageDomain ( org.ovirt.engine.api.model.StorageDomain storageDomain ) { org.ovirt.engine.api.model.StorageDomainType type = org.ovirt.engine.api.model.StorageDomainType.fromValue ( storageDomain.getType ( ) ) ; return ( type != null ) && ( type == ( org.ovirt.engine.api.model.StorageDomainType.IMAGE ) ) ; }

Target:
public static synchronized boolean isImageDomain ( org.ovirt.engine.api.model.StorageDomain storageDomain ) { org.ovirt.engine.api.model.StorageDomainType type = storageDomain.getType ( ) ; return ( type != null ) && ( type == ( org.ovirt.engine.api.model.StorageDomainType.IMAGE ) ) ; }
Source:
protected org.ovirt.engine.api.model.VM getVmConfiguration ( java.lang.String snapshotId ) { org.ovirt.engine.api.model.VM vmConfiguration = getEntity ( org.ovirt.engine.api.model.VM.class , VdcQueryType.GetVmConfigurationBySnapshot , new org.ovirt.engine.core.common.queries.GetVmConfigurationBySnapshotQueryParams ( asGuid ( snapshotId ) ) , "" ) ; return vmConfiguration ; }

Target:
protected org.ovirt.engine.api.model.VM getVmConfiguration ( java.lang.String snapshotId ) { org.ovirt.engine.api.model.VM vmConfiguration = getEntity ( org.ovirt.engine.api.model.VM.class , VdcQueryType.GetVmConfigurationBySnapshot , new org.ovirt.engine.core.common.queries.IdQueryParameters ( asGuid ( snapshotId ) ) , "" ) ; return vmConfiguration ; }
Source:
public void testGetAllAttachableDisksByPoolWithPermissions ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.Disk > result = dao.getAllAttachableDisksByPoolId ( null , org.ovirt.engine.core.dao.PRIVILEGED_USER_ID , true ) ; org.ovirt.engine.core.dao.DiskDaoTest.assertFullGetAllAttachableDisksByPoolId ( result ) ; }

Target:
public void testGetAllAttachableDisksByPoolWithPermissions ( ) { java.util.List < org.ovirt.engine.core.common.businessentities.Disk > result = dao.getAllAttachableDisksByPoolId ( null , null , org.ovirt.engine.core.dao.PRIVILEGED_USER_ID , true ) ; org.ovirt.engine.core.dao.DiskDaoTest.assertFullGetAllAttachableDisksByPoolId ( result ) ; }
Source:
protected void setValue ( com.google.gwt.safehtml.shared.SafeHtml headerText ) { this . headerText = headerText ; setHeaderTooltipStyle ( this . tooltipText ) ; }

Target:
protected void setValue ( com.google.gwt.safehtml.shared.SafeHtml headerText ) { this . headerText = headerText ; }
Source:
public void testGet ( ) throws java.lang.Exception { setUriInfo ( setUpBasicUriExpectations ( ) ) ; setUpGetEntityExpectations ( false ) ; control.replay ( ) ; verifyModel ( resource.get ( ) , 2 ) ; }

Target:
public void testGet ( ) throws java.lang.Exception { setUriInfo ( setUpBasicUriExpectations ( ) ) ; setUpGetEntityExpectations ( false ) ; verifyModel ( resource.get ( ) , 2 ) ; }
Source:
private void handleFinalizingFailure ( final org.ovirt.engine.core.bll.storage.disk.image.UploadImageCommand < T > . StateContext context ) { log.error ( "Finalizing failed upload to {}" , getUploadDescription ( ) ) ; org.ovirt.engine.core.bll.storage.disk.image.UploadImageCommand.unLockImage ( ) ; setImageStatus ( ImageStatus.ILLEGAL ) ; stopImageTransferSession ( context.entity ) ; updateEntityPhase ( ImageTransferPhase.FINISHED_FAILURE ) ; }

Target:
private void handleFinalizingFailure ( final org.ovirt.engine.core.bll.storage.disk.image.UploadImageCommand < T > . StateContext context ) { log.error ( "Finalizing failed upload to {}" , getUploadDescription ( ) ) ; setImageStatus ( ImageStatus.ILLEGAL ) ; stopImageTransferSession ( context.entity ) ; updateEntityPhase ( ImageTransferPhase.FINISHED_FAILURE ) ; }
Source:
public static void addNetworkFiltersToNic ( org.ovirt.engine.core.vdsbroker.xmlrpc.XmlRpcStruct struct , org.ovirt.engine.core.compat.Version clusterVersion ) { if ( org.ovirt.engine.core.common.FeatureSupported.antiMacSpoofing ( clusterVersion ) ) { struct.add ( VdsProperties.NW_FILTER , NetworkFilters.NO_MAC_SPOOFING.getFilterName ( ) ) ; } }

Target:
public static void addNetworkFiltersToNic ( java.util.Map < java.lang.String , java.lang.Object > struct , org.ovirt.engine.core.compat.Version clusterVersion ) { if ( org.ovirt.engine.core.common.FeatureSupported.antiMacSpoofing ( clusterVersion ) ) { struct.put ( VdsProperties.NW_FILTER , NetworkFilters.NO_MAC_SPOOFING.getFilterName ( ) ) ; } }
Source:
public void setEnabled ( boolean enabled ) { getLabel ( ) . setEnabled ( enabled ) ; if ( enabled ) { tooltip.setText ( "" ) ; tooltip.reconfigure ( ) ; } }

Target:
public void setEnabled ( boolean enabled ) { getLabel ( ) . setEnabled ( enabled ) ; if ( enabled ) { tooltip.setText ( "" ) ; } }
Source:
public void updateCallBackNotified ( final org.ovirt.engine.core.compat.Guid commandId ) { commandsCache.updateCallbackNotified ( commandId ) ; }

Target:
public void updateCallbackNotified ( final org.ovirt.engine.core.compat.Guid commandId ) { commandsCache.updateCallbackNotified ( commandId ) ; }
Source:
public org.ovirt.optimizer.solver.test.TestOptimizer enablePolicyUnit ( org.ovirt.optimizer.solver.facts.PolicyUnit unit ) { bestSolution.getFixedFacts ( ) . add ( new org.ovirt.optimizer.solver.facts.PolicyUnitEnabled ( unit.getUuid ( ) . toString ( ) , 1 ) ) ; return this ; }

Target:
public org.ovirt.optimizer.solver.test.TestOptimizer enablePolicyUnit ( org.ovirt.optimizer.solver.facts.PolicyUnit unit ) { bestSolution.getFixedFacts ( ) . add ( new org.ovirt.optimizer.solver.facts.PolicyUnitEnabled ( unit.getUuid ( ) , 1 ) ) ; return this ; }
Source:
private void initializeCommand ( ) { org.ovirt.engine.core.common.action.AdElementParametersBase parameters = createParameters ( ) ; command = org.powermock.api.mockito.PowerMockito.spy ( new org.ovirt.engine.core.bll.RemoveAdGroupCommand < org.ovirt.engine.core.common.action.AdElementParametersBase > ( parameters ) ) ; org.powermock.api.mockito.PowerMockito.mockStatic ( org.ovirt.engine.core.bll.MultiLevelAdministrationHandler.class ) ; }

Target:
public void initializeCommand ( ) { org.ovirt.engine.core.common.action.AdElementParametersBase parameters = createParameters ( ) ; command = org.mockito.Mockito.spy ( new org.ovirt.engine.core.bll.RemoveAdGroupCommand < org.ovirt.engine.core.common.action.AdElementParametersBase > ( parameters ) ) ; }
Source:
public void testGetAllNamesPinnedToHostReturnsNothingForHostButNotPinned ( ) throws java.lang.Exception { org.junit.Assert.assertTrue ( dao.getAllNamesPinnedToHost ( org.ovirt.engine.core.compat.Guid.createGuidFromStringDefaultEmpty ( "afce7a39-8e8c-4819-ba9c-796d316592e7" ) ) . isEmpty ( ) ) ; }

Target:
public void testGetAllNamesPinnedToHostReturnsNothingForHostButNotPinned ( ) throws java.lang.Exception { org.junit.Assert.assertTrue ( dao.getAllNamesPinnedToHost ( new org.ovirt.engine.core.compat.Guid ( "afce7a39-8e8c-4819-ba9c-796d316592e7" ) ) . isEmpty ( ) ) ; }
Source:
public boolean isCrossReferece ( java.lang.String text , java.lang.String obj ) { org.ovirt.engine.core.searchbackend.IAutoCompleter completer = getCrossRefAutoCompleter ( obj ) ; boolean retval = false ; if ( completer != null ) { retval = completer.validate ( text ) ; } return retval ; }

Target:
public boolean isCrossReferece ( java.lang.String text , java.lang.String obj ) { org.ovirt.engine.core.searchbackend.IAutoCompleter completer = getCrossRefAutoCompleter ( obj ) ; if ( completer != null ) { return completer.validate ( text ) ; } return false ; }
Source:
public void setis_stateless ( boolean value ) { mVmStatic.setis_stateless ( value ) ; OnPropertyChanged ( new org.ovirt.engine.core.compat.PropertyChangedEventArgs ( "is_stateless" ) ) ; }

Target:
public void setis_stateless ( boolean value ) { mVmStatic.setis_stateless ( value ) ; }
Source:
public void init ( ) { super . init ( ) ; setIsHostTabVisible ( false ) ; setIsCustomPropertiesSheetVisible ( false ) ; getCustomProperties ( ) . setEntity ( vm.getCustomProperties ( ) ) ; }

Target:
public void init ( ) { super . init ( ) ; setIsHostTabVisible ( false ) ; setIsCustomPropertiesSheetVisible ( false ) ; }
Source:
protected javax.ws.rs.core.Response performRemove ( java.lang.String id ) { getEntity ( id ) ; return performAction ( VdcActionType.RemoveDisk , new org.ovirt.engine.core.common.action.RemoveDiskParameters ( asGuid ( id ) ) ) ; }

Target:
protected javax.ws.rs.core.Response performRemove ( java.lang.String id ) { return performAction ( VdcActionType.RemoveDisk , new org.ovirt.engine.core.common.action.RemoveDiskParameters ( asGuid ( id ) ) ) ; }
Source:
public void testExecuteCommand ( ) throws java.lang.Exception { org.ovirt.engine.core.bll.AddQuotaCommand addQuotaCommand = createCommand ( ) ; addQuotaCommand.executeCommand ( ) ; }

Target:
public void testExecuteCommand ( ) throws java.lang.Exception { command.executeCommand ( ) ; }
Source:
public abstract java.lang.String getString ( ) ;

Target:
public java.lang.String getString ( ) { return toString ( ) ; }
Source:
public void handleFailure ( ) ;

Target:
default void handleFailure ( ) { }
Source:
public void defaultClusterInLocalFs ( ) { prepareManagementNetworkMocks ( ) ; mcr.mockConfigValue ( ConfigValues.AutoRegistrationDefaultClusterID , org.ovirt.engine.core.bll.UpdateClusterCommandTest.DEFAULT_CLUSTER_ID ) ; createCommandWithDefaultCluster ( ) ; oldGroupIsDetachedDefault ( ) ; storagePoolIsLocalFS ( ) ; setupCpu ( ) ; allQueriesForVms ( ) ; architectureIsUpdatable ( ) ; validateFailedWithReason ( EngineMessage.DEFAULT_CLUSTER_CANNOT_BE_ON_LOCALFS ) ; }

Target:
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 ) ; }
Source:
public void toByteArray ( ) { final byte [ ] byteArray = org.ovirt.engine.core.utils.GuidUtils.ToByteArray ( java.util.UUID.randomUUID ( ) ) ; org.junit.Assert.assertNotNull ( byteArray ) ; org.junit.Assert.assertEquals ( 16 , byteArray.length ) ; }

Target:
public void toByteArray ( ) { final byte [ ] byteArray = org.ovirt.engine.core.utils.GuidUtils.toByteArray ( java.util.UUID.randomUUID ( ) ) ; org.junit.Assert.assertNotNull ( byteArray ) ; org.junit.Assert.assertEquals ( 16 , byteArray.length ) ; }
Source:
public void canRunVmFailStatelessWhenVmHAwithNullStatelessParam ( ) { org.ovirt.engine.core.bll.RunVmCommandTest.canRunStatelessVmTest ( true , true , null , false ) ; }

Target:
public void canRunVmFailStatelessWhenVmHAwithNullStatelessParam ( ) { canRunStatelessVmTest ( true , true , null , false ) ; }
Source:
private org.ovirt.engine.core.bll.validator.StorageDomainValidator getValidator ( org.ovirt.engine.core.compat.Guid imageId , org.ovirt.engine.core.compat.Guid domainId ) { org.ovirt.engine.core.common.businessentities.DiskImage diskImage = getDiskImageById ( imageId ) ; return new org.ovirt.engine.core.bll.validator.StorageDomainValidator ( getStorageDomainById ( domainId , diskImage.getstorage_pool_id ( ) . getValue ( ) ) ) ; }

Target:
private org.ovirt.engine.core.bll.validator.StorageDomainValidator getValidator ( org.ovirt.engine.core.compat.Guid imageId , org.ovirt.engine.core.compat.Guid domainId ) { org.ovirt.engine.core.common.businessentities.DiskImage diskImage = getDiskImageById ( imageId ) ; return new org.ovirt.engine.core.bll.validator.StorageDomainValidator ( getStorageDomainById ( domainId , diskImage.getStoragePoolId ( ) . getValue ( ) ) ) ; }
Source:
public boolean isAutoStartup ( ) { return vmStatic.getauto_startup ( ) ; }

Target:
public boolean isAutoStartup ( ) { return vmStatic.isAutoStartup ( ) ; }
Source:
public boolean eval ( org.ovirt.engine.core.common.businessentities.VM v ) { return ( ( v.getMigrationSupport ( ) ) == ( org.ovirt.engine.core.common.businessentities.MigrationSupport.MIGRATABLE ) ) && ( ( v.getDedicatedVmForVdsList ( ) . contains ( hostId ) ) == false ) ; }

Target:
public boolean eval ( org.ovirt.engine.core.common.businessentities.VM v ) { return ( v.getMigrationSupport ( ) ) == ( org.ovirt.engine.core.common.businessentities.MigrationSupport.MIGRATABLE ) ; }
Source:
public java.lang.String getText ( org.ovirt.engine.core.common.businessentities.StoragePool storage ) { return storage.getname ( ) ; }

Target:
public java.lang.String getText ( org.ovirt.engine.core.common.businessentities.StoragePool storage ) { return storage.getName ( ) ; }
Source:
protected void undoActionOnSourceAndDestination ( ) { if ( ( getDestinationDiskImage ( ) ) != null ) { removeSnapshot ( getDestinationDiskImage ( ) ) ; } if ( ( getRelevantDiskImage ( ) ) != null ) { unLockImage ( ) ; } }

Target:
protected void undoActionOnSourceAndDestination ( ) { if ( ( getDestinationDiskImage ( ) ) != null ) { removeSnapshot ( getDestinationDiskImage ( ) ) ; } unLockImage ( ) ; }
Source:
private org.ovirt.engine.core.common.businessentities.VdsNetworkInterface createBond ( ) { return createVdsInterface ( "bond0" , true , null , org.ovirt.engine.core.utils.RandomUtils.instance ( ) . nextString ( 100 ) , null , null , null ) ; }

Target:
private org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface createBond ( ) { return createVdsInterface ( "bond0" , true , null , org.ovirt.engine.core.utils.RandomUtils.instance ( ) . nextString ( 100 ) , null , null , null ) ; }
Source:
public boolean contains ( org.ovirt.engine.core.searchbackend.SyntaxContainer res , java.lang.String item ) { boolean returnValue = java.util.Arrays.asList ( res.getCompletionArray ( ) ) . contains ( item ) ; if ( ! returnValue ) { this . dumpCompletionArray ( res ) ; } return returnValue ; }

Target:
public boolean contains ( org.ovirt.engine.core.searchbackend.SyntaxContainer res , java.lang.String item ) { return java.util.Arrays.asList ( res.getCompletionArray ( ) ) . contains ( item ) ; }
Source:
void runMultipleActionFailed ( org.ovirt.engine.core.common.action.VdcActionType action , java.util.List < org.ovirt.engine.core.common.action.VdcReturnValueBase > returnValues , java.util.List < org.ovirt.engine.core.common.errors.VdcFault > faults ) ;

Target:
void runMultipleActionFailed ( org.ovirt.engine.core.common.action.VdcActionType action , java.util.List < org.ovirt.engine.core.common.action.VdcReturnValueBase > returnValues ) ;
Source:
public static org.ovirt.engine.core.common.businessentities.VmDevice addDiskDevice ( org.ovirt.engine.core.compat.Guid vmId , org.ovirt.engine.core.compat.Guid deviceId ) { return org.ovirt.engine.core.bll.utils.VmDeviceUtils.addDiskDevice ( vmId , deviceId , true , false , "" , false ) ; }

Target:
public org.ovirt.engine.core.common.businessentities.VmDevice addDiskDevice ( org.ovirt.engine.core.compat.Guid vmId , org.ovirt.engine.core.compat.Guid deviceId ) { return addDiskDevice ( vmId , deviceId , true , false , "" , false ) ; }
Source:
protected java.lang.String imageName ( java.lang.Integer value ) { return ( ( org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.getOsUniqueOsNames ( ) . get ( value ) ) + ( nameUniquePart ) ) + ( org.ovirt.engine.ui.userportal.widget.basic.OsTypeImage.IMAGE ) ; }

Target:
protected java.lang.String imageName ( java.lang.Integer value ) { return ( ( org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.getInstance ( ) . getOsUniqueOsNames ( ) . get ( value ) ) + ( nameUniquePart ) ) + ( org.ovirt.engine.ui.userportal.widget.basic.OsTypeImage.IMAGE ) ; }
Source:
public void getJobsByCorrelationID ( ) { java.util.List < org.ovirt.engine.core.common.job.Job > jobsList = dao.getJobsByCorrelationId ( org.ovirt.engine.core.dao.JobDaoTest.EXISTING_CORRELATION_ID ) ; org.junit.Assert.assertTrue ( "Verify a job is associated with the correlation-ID" , ( ( jobsList.size ( ) ) == ( org.ovirt.engine.core.dao.JobDaoTest.NUMBER_OF_JOBS_FOR_EXISTING_CORRELATION_ID ) ) ) ; }

Target:
public void getJobsByCorrelationID ( ) { java.util.List < org.ovirt.engine.core.common.job.Job > jobsList = dao.getJobsByCorrelationId ( org.ovirt.engine.core.dao.JobDaoTest.EXISTING_CORRELATION_ID ) ; org.junit.Assert.assertEquals ( "Verify a job is associated with the correlation-ID" , org.ovirt.engine.core.dao.JobDaoTest.NUMBER_OF_JOBS_FOR_EXISTING_CORRELATION_ID , jobsList.size ( ) ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.StorageDomainType getRawValue ( org.ovirt.engine.core.common.businessentities.storage_domains object ) { return object.getstorage_domain_type ( ) ; }

Target:
protected org.ovirt.engine.core.common.businessentities.StorageDomainType getRawValue ( org.ovirt.engine.core.common.businessentities.StorageDomain object ) { return object.getstorage_domain_type ( ) ; }
Source:
public void OnSuccess ( java.lang.Object model , java.lang.Object ReturnValue ) { this . setItems ( ( ( java.util.List < org.ovirt.engine.core.common.utils.PairQueryable < org.ovirt.engine.core.common.businessentities.network.VmNetworkInterface , org.ovirt.engine.core.common.businessentities.VmTemplate > > ) ( ( ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue ) ( ReturnValue ) ) . getReturnValue ( ) ) ) ) ; }

Target:
public void onSuccess ( java.lang.Object model , java.lang.Object ReturnValue ) { this . setItems ( ( ( java.util.List < org.ovirt.engine.core.common.utils.PairQueryable < org.ovirt.engine.core.common.businessentities.network.VmNetworkInterface , org.ovirt.engine.core.common.businessentities.VmTemplate > > ) ( ( ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue ) ( ReturnValue ) ) . getReturnValue ( ) ) ) ) ; }
Source:
public void vdsMovedToMaintanance ( org.ovirt.engine.core.compat.Guid vdsId ) { org.ovirt.engine.core.common.businessentities.VDS vds = org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getVdsDao ( ) . get ( vdsId ) ; org.ovirt.engine.core.bll.MaintananceVdsCommand.ProcessStorageOnVdsInactive ( vds ) ; org.ovirt.engine.core.bll.job.ExecutionHandler.updateSpecificActionJobCompleted ( vdsId , VdcActionType.MaintananceVds , true ) ; }

Target:
public void vdsMovedToMaintanance ( org.ovirt.engine.core.common.businessentities.VDS vds ) { try { org.ovirt.engine.core.bll.MaintananceVdsCommand.ProcessStorageOnVdsInactive ( vds ) ; } finally { org.ovirt.engine.core.bll.job.ExecutionHandler.updateSpecificActionJobCompleted ( vds.getId ( ) , VdcActionType.MaintananceVds , true ) ; } }
Source:
protected void onNicsChanged ( ) { operationFactory = new org.ovirt.engine.ui.uicommonweb.models.hosts.network.NetworkOperationFactory ( getNetworks ( ) , getNics ( ) ) ; validate ( ) ; getNetworksChangedEvent ( ) . raise ( this , EventArgs.EMPTY ) ; }

Target:
protected void onNicsChanged ( ) { operationFactory = new org.ovirt.engine.ui.uicommonweb.models.hosts.network.NetworkOperationFactory ( getNetworks ( ) , getNics ( ) ) ; validate ( ) ; }
Source:
public void runningSucceded ( ) { setFlow ( org.ovirt.engine.core.bll.RunVmCommand.RunVmFlow.RUNNING_SUCCEEDED ) ; removeMemoryFromActiveSnapshot ( ) ; super . runningSucceded ( ) ; }

Target:
public void runningSucceded ( ) { removeMemoryFromActiveSnapshot ( ) ; setFlow ( org.ovirt.engine.core.bll.RunVmCommand.RunVmFlow.RUNNING_SUCCEEDED ) ; super . runningSucceded ( ) ; }
Source:
public java.util.List < org.ovirt.engine.sdk.entities.Boot > getBoot ( ) { if ( ( boot ) == null ) { boot = new java.util.ArrayList < org.ovirt.engine.sdk.entities.Boot > ( ) ; } return this . boot ; }

Target:
public org.ovirt.engine.sdk.entities.Boot getBoot ( ) { return boot ; }
Source:
void initListBoxEditors ( ) { vncKeyboardLayoutEditor = new org.ovirt.engine.ui.common.widget.editor.ListModelListBoxEditor < java.lang.String > ( new org.ovirt.engine.ui.common.widget.editor.VncKeyMapRenderer ( messages ) ) ; }

Target:
void initListBoxEditors ( ) { vncKeyboardLayoutEditor = new org.ovirt.engine.ui.common.widget.editor.ListModelListBoxEditor ( new org.ovirt.engine.ui.common.widget.editor.VncKeyMapRenderer ( messages ) ) ; }
Source:
protected void fillImagesMapBasedOnTemplate ( ) { org.ovirt.engine.core.bll.ImagesHandler.fillImagesMapBasedOnTemplate ( org.ovirt.engine.core.bll.AddVmCommand.getVmTemplate ( ) , org.ovirt.engine.core.bll.AddVmCommand.getStorageDomainDAO ( ) . getAllForStoragePool ( org.ovirt.engine.core.bll.AddVmCommand.getVmTemplate ( ) . getStoragePoolId ( ) . getValue ( ) ) , diskInfoDestinationMap , destStorages , false ) ; }

Target:
protected void fillImagesMapBasedOnTemplate ( ) { org.ovirt.engine.core.bll.ImagesHandler.fillImagesMapBasedOnTemplate ( org.ovirt.engine.core.bll.AddVmCommand.getVmTemplate ( ) , org.ovirt.engine.core.bll.AddVmCommand.getStorageDomainDAO ( ) . getAllForStoragePool ( org.ovirt.engine.core.bll.AddVmCommand.getVmTemplate ( ) . getStoragePoolId ( ) ) , diskInfoDestinationMap , destStorages , false ) ; }
Source:
public boolean eval ( org.ovirt.engine.core.common.businessentities.network network ) { return network.getname ( ) . equals ( networkName ) ; }

Target:
public boolean eval ( org.ovirt.engine.core.common.businessentities.Network network ) { return network.getname ( ) . equals ( networkName ) ; }
Source:
public void setIsExecutionAllowed ( boolean value ) { if ( ( isExecutionAllowed ) != value ) { isExecutionAllowed = value ; if ( value ) { getExecuteProhibitionReasons ( ) . clear ( ) ; } onPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "IsExecutionAllowed" ) ) ; } }

Target:
public org.ovirt.engine.ui.uicommonweb.UICommand setIsExecutionAllowed ( boolean value ) { if ( ( isExecutionAllowed ) != value ) { isExecutionAllowed = value ; if ( value ) { getExecuteProhibitionReasons ( ) . clear ( ) ; } onPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "IsExecutionAllowed" ) ) ; } return this ; }
Source:
protected void asyncSearch ( ) { super . asyncSearch ( ) ; setAsyncResult ( org.ovirt.engine.ui.frontend.Frontend.RegisterQuery ( VdcQueryType.GetStorageDomainsByStoragePoolId , new org.ovirt.engine.core.common.queries.StoragePoolQueryParametersBase ( getEntity ( ) . getId ( ) ) ) ) ; setItems ( getAsyncResult ( ) . getData ( ) ) ; }

Target:
protected void asyncSearch ( ) { super . asyncSearch ( ) ; setAsyncResult ( null ) ; setItems ( getAsyncResult ( ) . getData ( ) ) ; }
Source:
public void setvm_os ( org.ovirt.engine.core.common.businessentities.VmOsType value ) { this . mVmStatic.setos ( value ) ; OnPropertyChanged ( new org.ovirt.engine.core.compat.PropertyChangedEventArgs ( "vm_os" ) ) ; }

Target:
public void setvm_os ( org.ovirt.engine.core.common.businessentities.VmOsType value ) { this . mVmStatic.setos ( value ) ; }
Source:
static org.ovirt.engine.core.common.businessentities.VM setUpEntityExpectations ( org.ovirt.engine.core.common.businessentities.VM entity , org.ovirt.engine.core.common.businessentities.VmStatic staticVm , int index ) { return org.ovirt.engine.api.restapi.resource.AbstractBackendCdRomsResourceTest.setUpEntityExpectations ( entity , staticVm , null , index ) ; }

Target:
static org.ovirt.engine.core.common.businessentities.VM setUpEntityExpectations ( ) { return org.ovirt.engine.api.restapi.resource.AbstractBackendCdRomsResourceTest.setUpEntityExpectations ( null ) ; }
Source:
protected static org.ovirt.engine.core.dao.LunDAO getLunDao ( ) { return org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getLunDao ( ) ; }

Target:
protected org.ovirt.engine.core.dao.LunDAO getLunDao ( ) { return org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getLunDao ( ) ; }
Source:
public java.util.List < org.ovirt.engine.core.compat.Guid > getCommandIdsByEntityId ( org.ovirt.engine.core.compat.Guid entityId ) { return commandsRepository.getCommandsCache ( ) . getCommandIdsByEntityId ( entityId ) ; }

Target:
public java.util.List < org.ovirt.engine.core.compat.Guid > getCommandIdsByEntityId ( org.ovirt.engine.core.compat.Guid entityId ) { return commandsRepository.getCommandIdsByEntityId ( entityId ) ; }
Source:
private void setUpGetEntityWithNoCertificateInfoExpectations ( int times ) throws java.lang.Exception { setUpGetEntityWithNoCertificateInfoExpectations ( 1 , false , getEntity ( 0 ) ) ; }

Target:
private void setUpGetEntityWithNoCertificateInfoExpectations ( ) throws java.lang.Exception { setUpGetEntityWithNoCertificateInfoExpectations ( 1 , false , getEntity ( 0 ) ) ; }
Source:
private void initSubtabTable ( org.ovirt.engine.ui.webadmin.ApplicationConstants constants ) { detailTable = new org.ovirt.engine.ui.common.widget.uicommon.popup.instancetypes.InstanceTypeGeneralModelForm ( instanceTypeGeneralModelProvider , constants ) ; }

Target:
private void initSubtabTable ( ) { detailTable = new org.ovirt.engine.ui.common.widget.uicommon.popup.instancetypes.InstanceTypeGeneralModelForm ( instanceTypeGeneralModelProvider ) ; }
Source:
public void canRunVmPassStatelessWhenVmHAwithNullStatelessParam ( ) { org.ovirt.engine.core.bll.RunVmCommandTest.canRunStatelessVmTest ( true , false , null , true ) ; }

Target:
public void canRunVmPassStatelessWhenVmHAwithNullStatelessParam ( ) { canRunStatelessVmTest ( true , false , null , true ) ; }
Source:
private java.util.List < org.ovirt.engine.core.common.businessentities.DiskImage > createDiskList ( ) { return new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.DiskImage > ( ) { { add ( new org.ovirt.engine.core.common.businessentities.DiskImage ( ) { { setId ( GUIDS [ 0 ] ) ; setinternal_drive_mapping ( "1" ) ; } } ) ; } } ; }

Target:
private java.util.List < org.ovirt.engine.core.common.businessentities.DiskImage > createDiskList ( ) { return new java.util.ArrayList < org.ovirt.engine.core.common.businessentities.DiskImage > ( ) { { add ( new org.ovirt.engine.core.common.businessentities.DiskImage ( ) { { setId ( GUIDS [ 0 ] ) ; } } ) ; } } ; }