auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
org.ovirt.engine.ui.webadmin.widget.host.BondPanel createBondPanel ( org.ovirt.engine.ui.uicommonweb.models.hosts.HostInterfaceLineModel lineModel ) { org.ovirt.engine.ui.webadmin.widget.host.BondPanel panel = new org.ovirt.engine.ui.webadmin.widget.host.BondPanel ( lineModel ) ; panel.setWidth ( "100%" ) ; panel.setHeight ( "100%" ) ; return panel ; }

Target:
org.ovirt.engine.ui.webadmin.widget.host.BondPanel createBondPanel ( org.ovirt.engine.ui.uicommonweb.models.hosts.HostInterfaceLineModel lineModel , org.ovirt.engine.core.common.businessentities.VDS vds ) { org.ovirt.engine.ui.webadmin.widget.host.BondPanel panel = new org.ovirt.engine.ui.webadmin.widget.host.BondPanel ( lineModel , vds ) ; panel.setWidth ( "100%" ) ; panel.setHeight ( "100%" ) ; return panel ; }
Source:
private void addVolumeToDb ( final org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity createdVolume ) { createdVolume.setClusterId ( getVdsGroupId ( ) ) ; org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) . getGlusterVolumeDao ( ) . save ( createdVolume ) ; }

Target:
private void addVolumeToDb ( final org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity createdVolume ) { createdVolume.setClusterId ( getVdsGroupId ( ) ) ; getGlusterVolumeDao ( ) . save ( createdVolume ) ; }
Source:
protected org.ovirt.engine.api.model.Network getEntity ( int index ) { return org.ovirt.engine.api.restapi.resource.AbstractBackendNetworksResourceTest.setUpEntityExpectations ( control.createMock ( org.ovirt.engine.api.model.Network.class ) , false , index ) ; }

Target:
protected org.ovirt.engine.api.model.Network getEntity ( int index ) { return org.ovirt.engine.api.restapi.resource.AbstractBackendNetworksResourceTest.setUpEntityExpectations ( control.createMock ( org.ovirt.engine.api.model.Network.class ) , false , false , index ) ; }
Source:
private boolean isVmMigratingToThisVds ( ) { return ( ( dbVm.getStatus ( ) ) == ( org.ovirt.engine.core.common.businessentities.VMStatus.MigratingFrom ) ) && ( getVdsManager ( ) . getVdsId ( ) . equals ( dbVm.getMigratingToVds ( ) ) ) ; }

Target:
private boolean isVmMigratingToThisVds ( ) { return isVmMigratingToThisVds ( dbVm.getStatus ( ) , dbVm.getMigratingToVds ( ) ) ; }
Source:
private void stubDaos ( ) { mockStatistics ( ) ; mockVmDynamic ( ) ; mockVmStatic ( true ) ; mockVdsDao ( ) ; }

Target:
private void stubDaos ( ) { mockVmDynamic ( ) ; mockVmStatic ( true ) ; mockVdsDao ( ) ; }
Source:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { java.util.Collection < org.ovirt.engine.core.common.businessentities.VmTemplate > vmTemplates = ( ( java.util.Collection < org.ovirt.engine.core.common.businessentities.VmTemplate > ) ( returnValue ) ) ; prefetchIcons ( vmTemplates ) ; }

Target:
public void onSuccess ( java.util.List < org.ovirt.engine.core.common.businessentities.VmTemplate > vmTemplates ) { prefetchIcons ( vmTemplates ) ; }
Source:
protected boolean isSlave ( org.ovirt.engine.core.common.businessentities.VdsNetworkInterface iface , java.lang.String masterName ) { return ( ( iface.getBondName ( ) ) != null ) && ( iface.getBondName ( ) . equals ( masterName ) ) ; }

Target:
protected boolean isSlave ( org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface iface , java.lang.String masterName ) { return ( ( iface.getBondName ( ) ) != null ) && ( iface.getBondName ( ) . equals ( masterName ) ) ; }
Source:
protected boolean canDoAction ( ) { Q validator = getProfileValidator ( ) ; return ( ( validate ( validator.profileIsSet ( ) ) ) && ( validate ( validator.profileExists ( ) ) ) ) && ( validate ( validator.isLastProfileInParentEntity ( ) ) ) ; }

Target:
protected boolean validate ( ) { Q validator = getProfileValidator ( ) ; return ( ( validate ( validator.profileIsSet ( ) ) ) && ( validate ( validator.profileExists ( ) ) ) ) && ( validate ( validator.isLastProfileInParentEntity ( ) ) ) ; }
Source:
public void setTitle ( java.lang.String title ) { org.ovirt.engine.ui.common.view.popup.AbstractModelBoundPopupView.asWidget ( ) . setHeader ( new com.google.gwt.user.client.ui.Label ( title ) ) ; }

Target:
public void setTitle ( java.lang.String title ) { org.ovirt.engine.ui.common.view.popup.AbstractModelBoundPopupView.asWidget ( ) . setHeader ( title ) ; }
Source:
public void setUpBase ( ) { org.mockito.MockitoAnnotations.initMocks ( this ) ; org.ovirt.engine.core.bll.BaseCommandTest.injectorRule.bind ( javax.transaction.TransactionManager.class , transactionManager ) ; org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil.setExecutorService ( java.util.concurrent.Executors.newFixedThreadPool ( 1 ) ) ; }

Target:
public void setUpBase ( ) { org.mockito.MockitoAnnotations.initMocks ( this ) ; org.ovirt.engine.core.bll.BaseCommandTest.injectorRule.bind ( javax.transaction.TransactionManager.class , transactionManager ) ; }
Source:
public void excuteCommandTest ( ) { command.executeCommand ( ) ; org.junit.Assert.assertEquals ( command.getAuditLogTypeValue ( ) , AuditLogType.USER_ADDED_AFFINITY_GROUP ) ; }

Target:
public void excuteCommandTest ( ) { command.executeCommand ( ) ; org.junit.Assert.assertEquals ( AuditLogType.USER_ADDED_AFFINITY_GROUP , command.getAuditLogTypeValue ( ) ) ; }
Source:
protected org.ovirt.engine.core.common.businessentities.VmStatic getUpdatable ( java.lang.String isoPath ) { org.ovirt.engine.core.common.businessentities.VmStatic updatable = getEntity ( org.ovirt.engine.core.common.businessentities.VM.class , VdcQueryType.GetVmByVmId , new org.ovirt.engine.core.common.queries.GetVmByVmIdParameters ( parentId ) , parentId.toString ( ) ) . getStaticData ( ) ; updatable.setIsoPath ( isoPath ) ; return updatable ; }

Target:
protected org.ovirt.engine.core.common.businessentities.VmStatic getUpdatable ( java.lang.String isoPath ) { org.ovirt.engine.core.common.businessentities.VmStatic updatable = getEntity ( org.ovirt.engine.core.common.businessentities.VM.class , VdcQueryType.GetVmByVmId , new org.ovirt.engine.core.common.queries.IdQueryParameters ( parentId ) , parentId.toString ( ) ) . getStaticData ( ) ; updatable.setIsoPath ( isoPath ) ; return updatable ; }
Source:
public void init ( javax.servlet.ServletConfig config ) throws javax.servlet.ServletException { super . init ( config ) ; pkiResources = org.ovirt.engine.core.utils.PKIResources.getInstance ( ) ; }

Target:
public void init ( ) throws javax.servlet.ServletException { pkiResources = org.ovirt.engine.core.utils.PKIResources.getInstance ( ) ; }
Source:
public org.ovirt.engine.ui.uicommonweb.models.datacenters.EditNetworkModel flush ( ) { org.ovirt.engine.ui.uicommonweb.models.datacenters.EditNetworkModel model = driver.flush ( ) ; model.getProfiles ( ) . setItems ( profilesEditor.flush ( ) . getItems ( ) ) ; return model ; }

Target:
public org.ovirt.engine.ui.uicommonweb.models.datacenters.EditNetworkModel flush ( ) { return driver.flush ( ) ; }
Source:
public void init ( ) { startProgress ( null ) ; setTitle ( org.ovirt.engine.ui.uicompat.ConstantsManager.getInstance ( ) . getConstants ( ) . importVirtualMachinesTitle ( ) ) ; setHelpTag ( HelpTag.import_virtual_machine ) ; setHashName ( "import_virtual_machine" ) ; initDataCenters ( ) ; }

Target:
public void init ( ) { startProgress ( null ) ; setTitle ( constants.importVirtualMachinesTitle ( ) ) ; setHelpTag ( HelpTag.import_virtual_machine ) ; setHashName ( "import_virtual_machine" ) ; initDataCenters ( ) ; }
Source:
private void initDestStorageDomain ( ) { org.ovirt.engine.core.common.businessentities.storage_domains destDomain = new org.ovirt.engine.core.common.businessentities.storage_domains ( ) ; destDomain.setstatus ( StorageDomainStatus.Active ) ; destDomain.setstorage_type ( StorageType.NFS ) ; org.mockito.Mockito.doReturn ( destDomain ) . when ( command ) . getStorageDomain ( ) ; }

Target:
private void initDestStorageDomain ( ) { org.ovirt.engine.core.common.businessentities.StorageDomain destDomain = new org.ovirt.engine.core.common.businessentities.StorageDomain ( ) ; destDomain.setstatus ( StorageDomainStatus.Active ) ; destDomain.setstorage_type ( StorageType.NFS ) ; org.mockito.Mockito.doReturn ( destDomain ) . when ( command ) . getStorageDomain ( ) ; }
Source:
private void createDummyPolicyUnit ( ) { dummyPolicyUnit = new org.ovirt.engine.core.common.scheduling.PolicyUnit ( ) ; dummyPolicyUnit.setId ( org.ovirt.engine.core.compat.Guid.newGuid ( ) ) ; dummyPolicyUnit.setName ( "Dummy policy unit" ) ; dummyPolicyUnit.setBalanceImplemeted ( true ) ; }

Target:
private void createDummyPolicyUnit ( ) { dummyPolicyUnit = new org.ovirt.engine.core.common.scheduling.PolicyUnit ( ) ; dummyPolicyUnit.setId ( org.ovirt.engine.core.compat.Guid.newGuid ( ) ) ; dummyPolicyUnit.setName ( "Dummy policy unit" ) ; }
Source:
private void expectGetLunsMap ( ) { for ( org.ovirt.engine.core.compat.Guid GUID : org.ovirt.engine.core.bll.GetLunsByVgIdQueryTest.GUIDS ) { expectGetLunsMap ( GUID.toString ( ) , GUID.toString ( ) ) ; } }

Target:
private void expectGetLunsMap ( ) { for ( java.lang.String GUID : org.ovirt.engine.core.bll.GetLunsByVgIdQueryTest.GUIDS ) { expectGetLunsMap ( GUID , GUID ) ; } }
Source:
protected org.ovirt.engine.core.common.businessentities.DiskImage CloneDiskImage ( org.ovirt.engine.core.compat.Guid newImageGuid ) { return cloneDiskImage ( newImageGuid , getDiskImage ( ) ) ; }

Target:
protected org.ovirt.engine.core.common.businessentities.DiskImage cloneDiskImage ( org.ovirt.engine.core.compat.Guid newImageGuid ) { return cloneDiskImage ( newImageGuid , getDiskImage ( ) ) ; }
Source:
java.util.Map < java.lang.String , java.lang.String > allocate ( org.ovirt.engine.core.common.businessentities.network.Network network , org.ovirt.engine.core.common.businessentities.network.VnicProfile vnicProfile , org.ovirt.engine.core.common.businessentities.network.VmNic nic ) ;

Target:
java.util.Map < java.lang.String , java.lang.String > allocate ( org.ovirt.engine.core.common.businessentities.network.Network network , org.ovirt.engine.core.common.businessentities.network.VnicProfile vnicProfile , org.ovirt.engine.core.common.businessentities.network.VmNic nic , org.ovirt.engine.core.common.businessentities.VDS host ) ;
Source:
public void add ( ) { runAddAndVerify ( org.ovirt.engine.core.bll.network.VmInterfaceManagerTest.createNewInterface ( ) , org.ovirt.engine.core.bll.network.VmInterfaceManagerTest.OS_ID , true ) ; }

Target:
public void add ( ) { runAddAndVerify ( org.ovirt.engine.core.bll.network.VmInterfaceManagerTest.createNewInterface ( ) , true ) ; }
Source:
protected java.lang.String getActiveTabHistoryToken ( ) { return this . activeTabHistoryToken ; }

Target:
protected java.lang.String getActiveTabHistoryToken ( ) { return activeTabHistoryToken ; }
Source:
public void setVmOs ( org.ovirt.engine.core.common.businessentities.VmOsType value ) { this . vmStatic.setOs ( value ) ; }

Target:
public java.lang.String getName ( ) { return this . vmStatic.getName ( ) ; }
Source:
org.ovirt.engine.core.compat.Guid persistAsyncTaskPlaceHolder ( org.ovirt.engine.core.common.action.VdcActionType parentCommand ) ;

Target:
org.ovirt.engine.core.compat.Guid persistAsyncTaskPlaceHolder ( ) ;
Source:
protected void vdsNonOperational ( org.ovirt.engine.core.common.businessentities.VDS vds , org.ovirt.engine.core.common.businessentities.NonOperationalReason reason , java.util.Map < java.lang.String , java.lang.String > customLogValues ) { org.ovirt.engine.core.vdsbroker.ResourceManager.getInstance ( ) . getEventListener ( ) . vdsNonOperational ( vds.getId ( ) , reason , true , Guid.Empty , customLogValues ) ; }

Target:
protected void vdsNonOperational ( org.ovirt.engine.core.common.businessentities.VDS vds , org.ovirt.engine.core.common.businessentities.NonOperationalReason reason , java.util.Map < java.lang.String , java.lang.String > customLogValues ) { getEventListener ( ) . vdsNonOperational ( vds.getId ( ) , reason , true , Guid.Empty , customLogValues ) ; }
Source:
public void setElapsedTime ( java.lang.Double elapsedTime ) { this . elapsedTime = elapsedTime ; setRoundedElapsedTime ( elapsedTime ) ; }

Target:
public void setElapsedTime ( java.lang.Double elapsedTime ) { this . elapsedTime = elapsedTime ; }
Source:
public java.lang.String getCandidateDisplayName ( ) { return getVmTemplateData ( ) . getname ( ) ; }

Target:
public java.lang.String getCandidateDisplayName ( ) { return getVmTemplateData ( ) . getName ( ) ; }
Source:
private void isAutoAssign_EntityChanged ( java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { if ( ( getIsAutoAssign ( ) . getEntity ( ) ) == false ) { getDefaultHost ( ) . setIsChangeable ( true ) ; } }

Target:
private void isAutoAssign_EntityChanged ( java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { if ( ! ( getIsAutoAssign ( ) . getEntity ( ) ) ) { getDefaultHost ( ) . setIsChangeable ( true ) ; } }
Source:
private java.util.List < org.ovirt.engine.core.common.businessentities.StoragePool > searchStoragePool ( ) { return genericSearch ( org.ovirt.engine.core.bll.SearchQuery.getDbFacade ( ) . getStoragePoolDao ( ) , true , null ) ; }

Target:
private java.util.List < org.ovirt.engine.core.common.businessentities.StoragePool > searchStoragePool ( ) { return genericSearch ( org.ovirt.engine.core.bll.SearchQuery.getDbFacade ( ) . getStoragePoolDao ( ) , true ) ; }
Source:
private org.ovirt.engine.core.common.businessentities.Network createNewNetwork ( boolean isVmNetwork , java.lang.String networkName ) { org.ovirt.engine.core.common.businessentities.Network network = new org.ovirt.engine.core.common.businessentities.Network ( ) ; network.setVmNetwork ( isVmNetwork ) ; network.setname ( networkName ) ; return network ; }

Target:
private org.ovirt.engine.core.common.businessentities.network.Network createNewNetwork ( boolean isVmNetwork , java.lang.String networkName ) { org.ovirt.engine.core.common.businessentities.network.Network network = new org.ovirt.engine.core.common.businessentities.network.Network ( ) ; network.setVmNetwork ( isVmNetwork ) ; network.setname ( networkName ) ; return network ; }
Source:
protected abstract void initHeader ( org.ovirt.engine.ui.webadmin.ApplicationConstants constants ) ;

Target:
protected abstract void initHeader ( ) ;
Source:
protected org.ovirt.engine.core.common.vdscommands.CreateVmVDSCommandParameters buildCreateVmParameters ( ) { org.ovirt.engine.core.common.vdscommands.CreateVmVDSCommandParameters parameters = new org.ovirt.engine.core.common.vdscommands.CreateVmVDSCommandParameters ( org.ovirt.engine.core.bll.RunVmCommand.getVdsId ( ) , org.ovirt.engine.core.bll.RunVmCommand.getVm ( ) ) ; return parameters ; }

Target:
protected org.ovirt.engine.core.common.vdscommands.CreateVmVDSCommandParameters buildCreateVmParameters ( ) { return new org.ovirt.engine.core.common.vdscommands.CreateVmVDSCommandParameters ( org.ovirt.engine.core.bll.RunVmCommand.getVdsId ( ) , org.ovirt.engine.core.bll.RunVmCommand.getVm ( ) ) ; }
Source:
public void testJsonDiskDescription ( ) throws java.io.IOException { disk.setDiskAlias ( "DiskAlias" ) ; disk.setDiskDescription ( "DiskDescription" ) ; org.ovirt.engine.core.bll.MetadataDiskDescriptionHandlerTest.assertDiskDescriptionMap ( disk ) ; }

Target:
public void testJsonDiskDescription ( ) throws java.io.IOException { disk.setDiskAlias ( "DiskAlias" ) ; disk.setDiskDescription ( "DiskDescription" ) ; assertDiskDescriptionMap ( disk ) ; }
Source:
public void defaultEndtime ( ) { final long epochOffset = 0 ; final org.ovirt.engine.core.dal.dbbroker.auditloghandling.TimeoutBaseTest.TestTimeoutBase t = new org.ovirt.engine.core.dal.dbbroker.auditloghandling.TimeoutBaseTest.TestTimeoutBase ( ) ; org.junit.Assert.assertEquals ( epochOffset , t.getEndTime ( ) . getTime ( ) ) ; }

Target:
public void defaultEndtime ( ) { final long epochOffset = 0 ; final org.ovirt.engine.core.dal.dbbroker.auditloghandling.TimeoutBaseTest.TestTimeoutBase t = new org.ovirt.engine.core.dal.dbbroker.auditloghandling.TimeoutBaseTest.TestTimeoutBase ( ) ; org.junit.Assert.assertEquals ( epochOffset , t.getEndTime ( ) ) ; }
Source:
public void onSuccess ( java.lang.Object model , java.lang.Object ReturnValue ) { setItems ( ( ( java.util.Collection < org.ovirt.engine.core.common.businessentities.VM > ) ( ( ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue ) ( ReturnValue ) ) . getReturnValue ( ) ) ) ) ; }

Target:
public void onSuccess ( java.lang.Object ReturnValue ) { setItems ( ( ( java.util.Collection < org.ovirt.engine.core.common.businessentities.VM > ) ( ( ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue ) ( ReturnValue ) ) . getReturnValue ( ) ) ) ) ; }
Source:
public void setEntity ( org.ovirt.engine.core.common.businessentities.network.NetworkView value ) { super . setEntity ( value ) ; }

Target:
public void setEntity ( org.ovirt.engine.core.common.businessentities.network.NetworkView value ) { if ( ( value == null ) || ( ! ( value.equals ( getEntity ( ) ) ) ) ) { super . setEntity ( value ) ; } }
Source:
public void OnSuccess ( java.lang.Object target , java.lang.Object returnValue ) { if ( ! ( org.ovirt.engine.ui.uicommonweb.models.vms.DiskModel.maxDiskSizeInited ) ) { org.ovirt.engine.ui.uicommonweb.models.vms.DiskModel.maxDiskSizeInited = true ; org.ovirt.engine.ui.uicommonweb.models.vms.DiskModel.maxDiskSize = ( ( java.lang.Integer ) ( returnValue ) ) ; } }

Target:
public void OnSuccess ( java.lang.Object target , java.lang.Object returnValue ) { org.ovirt.engine.ui.uicommonweb.models.vms.DiskModel.maxDiskSize = ( ( java.lang.Integer ) ( returnValue ) ) ; }
Source:
public void getUsbPolicyUsbTypeNative ( ) { org.ovirt.engine.api.model.Usb usb = new org.ovirt.engine.api.model.Usb ( ) ; usb.setEnabled ( true ) ; usb.setType ( UsbType.NATIVE ) ; assertEquals ( org.ovirt.engine.api.restapi.types.VmMapper.getUsbPolicyOnCreate ( usb ) , UsbPolicy.ENABLED_NATIVE ) ; }

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 ) ; assertEquals ( UsbPolicy.ENABLED_NATIVE , org.ovirt.engine.api.restapi.types.VmMapper.getUsbPolicyOnCreate ( usb ) ) ; }
Source:
public void setActualSize ( double value ) { actualSize = value ; }

Target:
public void setActualSize ( double size ) { actualSize = size ; }
Source:
public boolean disconnectStorageFromDomainByVdsId ( org.ovirt.engine.core.common.businessentities.storage_domains storageDomain , org.ovirt.engine.core.compat.Guid vdsId ) { return runConnectionStorageToDomain ( storageDomain , vdsId , VDSCommandType.DisconnectStorageServer.getValue ( ) ) ; }

Target:
public boolean disconnectStorageFromDomainByVdsId ( org.ovirt.engine.core.common.businessentities.StorageDomain storageDomain , org.ovirt.engine.core.compat.Guid vdsId ) { return runConnectionStorageToDomain ( storageDomain , vdsId , VDSCommandType.DisconnectStorageServer.getValue ( ) ) ; }
Source:
public void setVdsGroupCompatibilityVersion ( org.ovirt.engine.core.compat.Version value ) { this . vdsGroupCompatibilityVersion = value ; }

Target:
public void setVdsGroupCompatibilityVersion ( org.ovirt.engine.core.compat.Version value ) { vdsGroupCompatibilityVersion = value ; }
Source:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { networkProfiles = ( ( java.util.List < org.ovirt.engine.core.common.businessentities.network.VnicProfileView > ) ( returnValue ) ) ; initNetworksList ( ) ; initClusterAndStorage ( dataCenter ) ; }

Target:
public void onSuccess ( java.util.List < org.ovirt.engine.core.common.businessentities.network.VnicProfileView > returnValue ) { networkProfiles = returnValue ; initNetworksList ( ) ; initClusterAndStorage ( dataCenter ) ; }
Source:
public abstract < T > T GetValue ( org.ovirt.engine.core.common.config.ConfigValues configValue , java.lang.String version ) ;

Target:
public abstract < T > T getValue ( org.ovirt.engine.core.common.config.ConfigValues configValue , java.lang.String version ) ;
Source:
private org.ovirt.engine.core.bll.validator.NetworkAttachmentValidator createNetworkAttachmentValidator ( org.ovirt.engine.core.common.businessentities.network.NetworkAttachment attachmentToValidate ) { return new org.ovirt.engine.core.bll.validator.NetworkAttachmentValidator ( attachmentToValidate , host , new org.ovirt.engine.core.bll.network.VmInterfaceManager ( ) , networkClusterDao , networkDao , vdsDao , vmDao ) ; }

Target:
private org.ovirt.engine.core.bll.validator.NetworkAttachmentValidator createNetworkAttachmentValidator ( org.ovirt.engine.core.common.businessentities.network.NetworkAttachment attachmentToValidate ) { return new org.ovirt.engine.core.bll.validator.NetworkAttachmentValidator ( attachmentToValidate , host , networkClusterDao , networkDao , vdsDao , vmDao ) ; }
Source:
public void init ( final java.util.List < org.ovirt.engine.core.common.businessentities.VM > externalVms , final org.ovirt.engine.core.compat.Guid storageDomainId ) { super . setItems ( new org.ovirt.engine.ui.frontend.INewAsyncCallback ( ) { @ java.lang.Override public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { doInit ( storageDomainId ) ; } } , externalVms ) ; }

Target:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { setItems ( new org.ovirt.engine.ui.frontend.INewAsyncCallback ( ) { @ java.lang.Override public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { doInit ( ) ; } } , externalVms ) ; }
Source:
public void onSuccess ( java.lang.Object result ) { java.util.ArrayList < org.ovirt.engine.core.common.businessentities.ExternalDiscoveredHost > hosts = ( ( java.util.ArrayList < org.ovirt.engine.core.common.businessentities.ExternalDiscoveredHost > ) ( result ) ) ; org.ovirt.engine.ui.uicommonweb.models.ListModel externalDiscoveredHostsListModel = getExternalDiscoveredHosts ( ) ; externalDiscoveredHostsListModel.setItems ( hosts ) ; externalDiscoveredHostsListModel.setIsChangeable ( true ) ; }

Target:
public void onSuccess ( java.util.List < org.ovirt.engine.core.common.businessentities.ExternalDiscoveredHost > hosts ) { org.ovirt.engine.ui.uicommonweb.models.ListModel externalDiscoveredHostsListModel = getExternalDiscoveredHosts ( ) ; externalDiscoveredHostsListModel.setItems ( hosts ) ; externalDiscoveredHostsListModel.setIsChangeable ( true ) ; }
Source:
public boolean isInitialized ( ) { return this . vmStatic.getis_initialized ( ) ; }

Target:
public boolean isInitialized ( ) { return this . vmStatic.isInitialized ( ) ; }
Source:
public void updateAll ( java.lang.String procedureName , java.util.Collection < T > entities ) { for ( T entity : entities ) { update ( entity , ( procedureName == null ? org.ovirt.engine.core.dao.MassOperationsGenericDaoDbFacade.getProcedureNameForUpdate ( ) : procedureName ) ) ; } }

Target:
public void updateAll ( java.lang.String procedureName , java.util.Collection < T > entities ) { if ( procedureName == null ) { procedureName = org.ovirt.engine.core.dao.MassOperationsGenericDaoDbFacade.getProcedureNameForUpdate ( ) ; } for ( T entity : entities ) { org.ovirt.engine.core.dao.MassOperationsGenericDaoDbFacade.update ( entity , procedureName ) ; } }
Source:
public java.util.Collection < java.lang.String > findProblematicMacs ( org.ovirt.engine.core.common.businessentities.VM vm ) { vm.setClusterId ( clusterId ) ; return externalVmMacsFinder.findExternalMacAddresses ( vm , null ) ; }

Target:
public java.util.Collection < java.lang.String > findProblematicMacs ( org.ovirt.engine.core.common.businessentities.VM vm ) { vm.setClusterId ( clusterId ) ; return externalVmMacsFinder.findExternalMacAddresses ( vm ) ; }
Source:
public void areAllVfsFreeFalseHasNetwork ( ) { freeVfCommon ( 2 , 0 , 0 , 3 , 0 ) ; org.junit.Assert.assertFalse ( networkDeviceHelper.areAllVfsFree ( nic ) ) ; }

Target:
public void areAllVfsFreeFalseHasNetwork ( ) { freeVfCommon ( 2 , 0 , 0 , 3 , 0 , 0 ) ; org.junit.Assert.assertFalse ( networkDeviceHelper.areAllVfsFree ( nic ) ) ; }
Source:
public void setStorage ( java.lang.String storage ) { getStorageStaticData ( ) . setstorage ( storage ) ; }

Target:
public void setStorage ( java.lang.String storage ) { getStorageStaticData ( ) . setStorage ( storage ) ; }
Source:
public void setUp ( ) throws java.lang.Exception { org.ovirt.engine.core.utils.ThreadLocalParamsContainer.setHttpSessionId ( "session" ) ; setUpMockQueryParameters ( ) ; setUpSpyQuery ( ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { setUpMockQueryParameters ( ) ; setUpSpyQuery ( ) ; }
Source:
public static java.lang.String getDefaultBondingOption ( ) { return "mode=802.3ad miimon=150" ; }

Target:
public java.lang.String getDefaultBondingOption ( ) { return "mode=802.3ad miimon=150" ; }
Source:
public void OnSuccess ( java.lang.Object target , java.lang.Object returnValue ) { org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel model = ( ( org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel ) ( target ) ) ; java.util.ArrayList < java.lang.String > images = ( ( java.util.ArrayList < java.lang.String > ) ( returnValue ) ) ; setImagesToModel ( model , images ) ; }

Target:
public void onSuccess ( java.lang.Object target , java.lang.Object returnValue ) { org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel model = ( ( org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel ) ( target ) ) ; java.util.ArrayList < java.lang.String > images = ( ( java.util.ArrayList < java.lang.String > ) ( returnValue ) ) ; setImagesToModel ( model , images ) ; }
Source:
public void setup ( ) { dbFacade = org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) ; initAgents ( ) ; mockDbFacades ( ) ; initCommand ( ) ; mockBackend ( ) ; }

Target:
public void setup ( ) { dbFacade = org.ovirt.engine.core.dal.dbbroker.DbFacade.getInstance ( ) ; initAgents ( ) ; mockDbFacades ( ) ; initCommand ( ) ; }
Source:
public org.ovirt.engine.api.model.StorageConnection update ( org.ovirt.engine.api.model.StorageConnection connection ) { validateEnums ( org.ovirt.engine.api.model.StorageConnection.class , connection ) ; return performUpdate ( connection , new org.ovirt.engine.api.restapi.resource.QueryIdResolver ( org.ovirt.engine.core.common.queries.VdcQueryType.GetStorageServerConnectionById , org.ovirt.engine.core.common.queries.StorageServerConnectionQueryParametersBase.class ) , VdcActionType.UpdateStorageServerConnection , new org.ovirt.engine.api.restapi.resource.BackendStorageServerConnectionResource.UpdateParametersProvider ( ) ) ; }

Target:
public org.ovirt.engine.api.model.StorageConnection update ( org.ovirt.engine.api.model.StorageConnection connection ) { return performUpdate ( connection , new org.ovirt.engine.api.restapi.resource.QueryIdResolver ( org.ovirt.engine.core.common.queries.VdcQueryType.GetStorageServerConnectionById , org.ovirt.engine.core.common.queries.StorageServerConnectionQueryParametersBase.class ) , VdcActionType.UpdateStorageServerConnection , new org.ovirt.engine.api.restapi.resource.BackendStorageServerConnectionResource.UpdateParametersProvider ( ) ) ; }
Source:
private void addStorageDomainOvfInfoToDb ( org.ovirt.engine.core.compat.Guid diskId ) { org.ovirt.engine.core.common.businessentities.StorageDomainOvfInfo storageDomainOvfInfo = new org.ovirt.engine.core.common.businessentities.StorageDomainOvfInfo ( org.ovirt.engine.core.bll.CreateOvfVolumeForStorageDomainCommand.getStorageDomainId ( ) , null , diskId , org.ovirt.engine.core.common.businessentities.StorageDomainOvfInfoStatus.DISABLED , null ) ; getStorageDomainOvfInfoDao ( ) . save ( storageDomainOvfInfo ) ; }

Target:
private void addStorageDomainOvfInfoToDb ( org.ovirt.engine.core.compat.Guid diskId ) { org.ovirt.engine.core.common.businessentities.StorageDomainOvfInfo storageDomainOvfInfo = new org.ovirt.engine.core.common.businessentities.StorageDomainOvfInfo ( org.ovirt.engine.core.bll.CreateOvfVolumeForStorageDomainCommand.getStorageDomainId ( ) , null , diskId , org.ovirt.engine.core.common.businessentities.StorageDomainOvfInfoStatus.DISABLED , null ) ; org.ovirt.engine.core.bll.CreateOvfVolumeForStorageDomainCommand.getStorageDomainOvfInfoDao ( ) . save ( storageDomainOvfInfo ) ; }
Source:
public void testGet ( ) throws java.lang.Exception { setUriInfo ( setUpBasicUriExpectations ( ) ) ; setUpEntityQueryExpectations ( 1 ) ; control.replay ( ) ; org.ovirt.engine.api.model.Watchdog watchdog = resource.get ( ) ; verifyModel ( watchdog ) ; }

Target:
public void testGet ( ) throws java.lang.Exception { setUriInfo ( setUpBasicUriExpectations ( ) ) ; setUpEntityQueryExpectations ( 1 ) ; org.ovirt.engine.api.model.Watchdog watchdog = resource.get ( ) ; verifyModel ( watchdog ) ; }
Source:
void setTooltipText ( java.lang.String tooltipText ) { tooltip.setText ( tooltipText ) ; tooltip.reconfigure ( ) ; }

Target:
void setTooltipText ( java.lang.String tooltipText ) { tooltip.setText ( tooltipText ) ; }
Source:
public void testCleanNotExpiredUsersSessionsNoUsers ( ) { org.ovirt.engine.core.dao.DbUserDAO dbUserDAOMcok = initDataForClearTest ( org.ovirt.engine.core.bll.session.SessionDataContainerTest.TEST_KEY ) ; container.cleanExpiredUsersSessions ( ) ; org.junit.Assert.assertNotNull ( "Get should return the value since the session was not removed" , container.GetData ( org.ovirt.engine.core.bll.session.SessionDataContainerTest.TEST_SESSION_ID , org.ovirt.engine.core.bll.session.SessionDataContainerTest.TEST_KEY ) ) ; org.mockito.Mockito.verifyZeroInteractions ( dbUserDAOMcok ) ; }

Target:
public void testCleanNotExpiredUsersSessionsNoUsers ( ) { org.ovirt.engine.core.dao.DbUserDAO dbUserDAOMcok = initDataForClearTest ( org.ovirt.engine.core.bll.session.SessionDataContainerTest.TEST_KEY ) ; container.cleanExpiredUsersSessions ( ) ; org.junit.Assert.assertNotNull ( "Get should return the value since the session was not removed" , container.GetData ( org.ovirt.engine.core.bll.session.SessionDataContainerTest.TEST_SESSION_ID , org.ovirt.engine.core.bll.session.SessionDataContainerTest.TEST_KEY , false ) ) ; org.mockito.Mockito.verifyZeroInteractions ( dbUserDAOMcok ) ; }
Source:
public void setTotalDiskSize ( java.lang.Integer value ) { value = ( value == null ) ? 0 : value ; if ( ! ( totalDiskSize.equals ( value ) ) ) { totalDiskSize = value ; OnPropertyChanged ( new org.ovirt.engine.core.compat.PropertyChangedEventArgs ( "TotalDiskSize" ) ) ; } }

Target:
public void setTotalDiskSize ( java.lang.Integer value ) { value = ( value == null ) ? 0 : value ; if ( ! ( totalDiskSize.equals ( value ) ) ) { totalDiskSize = value ; } }
Source:
public boolean eval ( org.ovirt.engine.core.common.businessentities.Network n ) { return n.getname ( ) . equals ( getInterface ( ) . getNetworkName ( ) ) ; }

Target:
public boolean eval ( org.ovirt.engine.core.common.businessentities.network.Network n ) { return n.getname ( ) . equals ( getInterface ( ) . getNetworkName ( ) ) ; }
Source:
protected void updateDisksFromDb ( org.ovirt.engine.core.common.businessentities.VmTemplate t ) { org.ovirt.engine.core.bll.VmTemplateHandler.UpdateDisksFromDb ( t ) ; }

Target:
protected void updateDisksFromDb ( org.ovirt.engine.core.common.businessentities.VmTemplate t ) { org.ovirt.engine.core.bll.VmTemplateHandler.updateDisksFromDb ( t ) ; }
Source:
public void finalize ( ) { close ( ) ; }

Target:
protected void finalize ( ) { close ( ) ; }
Source:
public void setClientIp ( java.lang.String clientIp ) { if ( ! ( java.util.Objects.equals ( clientIp , clientIp ) ) ) { this . clientIp = clientIp ; onPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "ClientIp" ) ) ; } }

Target:
public void setClientIp ( java.lang.String clientIp ) { if ( ! ( java.util.Objects.equals ( this . clientIp , clientIp ) ) ) { this . clientIp = clientIp ; onPropertyChanged ( new org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs ( "ClientIp" ) ) ; } }
Source:
protected boolean isDiskExist ( org.ovirt.engine.core.common.businessentities.storage.Disk disk ) { org.ovirt.engine.core.bll.validator.storage.DiskValidator diskValidator = getDiskValidator ( disk ) ; return ( validate ( diskValidator.isDiskExists ( ) ) ) && ( validate ( diskValidator.isDiskAttachedToVm ( org.ovirt.engine.core.bll.storage.disk.AbstractDiskVmCommand.getVmId ( ) ) ) ) ; }

Target:
protected boolean isDiskExist ( org.ovirt.engine.core.common.businessentities.storage.Disk disk ) { org.ovirt.engine.core.bll.validator.storage.DiskValidator diskValidator = getDiskValidator ( disk ) ; return ( validate ( diskValidator.isDiskExists ( ) ) ) && ( validate ( diskValidator.isDiskAttachedToVm ( org.ovirt.engine.core.bll.storage.disk.AbstractDiskVmCommand.getVm ( ) ) ) ) ; }
Source:
protected com.google.gwt.editor.client.EditorVisitor getEditorVisitor ( ) { if ( ( visitor ) == null ) { visitor = new org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor < T > ( getEventMap ( ) , getOwnerModels ( ) ) ; } return visitor ; }

Target:
protected com.google.gwt.editor.client.EditorVisitor getEditorVisitor ( ) { if ( ( visitor ) == null ) { visitor = new org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor ( getEventMap ( ) , getOwnerModels ( ) ) ; } return visitor ; }
Source:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { java.util.List < org.ovirt.engine.core.common.businessentities.gluster.StorageDevice > devices = ( ( java.util.List < org.ovirt.engine.core.common.businessentities.gluster.StorageDevice > ) ( returnValue ) ) ; java.util.Collections.sort ( devices , new org.ovirt.engine.ui.uicommonweb.Linq.StorageDeviceComparer ( ) ) ; setItems ( devices ) ; }

Target:
public void onSuccess ( java.util.List < org.ovirt.engine.core.common.businessentities.gluster.StorageDevice > devices ) { java.util.Collections.sort ( devices , new org.ovirt.engine.ui.uicommonweb.Linq.StorageDeviceComparer ( ) ) ; setItems ( devices ) ; }
Source:
public void formatStringTest4 ( ) { testMessages.addFallback ( DynamicMessageKey.APPLICATION_TITLE , "Testing 123: {0}.{1}.{0}" ) ; java.lang.String result = testMessages.formatString ( DynamicMessageKey.APPLICATION_TITLE , "1" , "2" , "3" ) ; org.junit.Assert.assertNotNull ( "There should be a result" ) ; org.junit.Assert.assertEquals ( "Result should be 'Testing 123: 1.1.1'" , "Testing 123: 1.2.1" , result ) ; }

Target:
public void formatStringTest4 ( ) { testMessages.addFallback ( DynamicMessageKey.APPLICATION_TITLE , "Testing 123: {0}.{1}.{0}" ) ; java.lang.String result = testMessages.formatString ( DynamicMessageKey.APPLICATION_TITLE , "1" , "2" , "3" ) ; org.junit.Assert.assertEquals ( "Result should be 'Testing 123: 1.1.1'" , "Testing 123: 1.2.1" , result ) ; }
Source:
public void setBalloonEnabled ( boolean isBallonEnabled ) { balloonEnabled = isBallonEnabled ; OnPropertyChanged ( new org.ovirt.engine.core.compat.PropertyChangedEventArgs ( "is_balloon_enabled" ) ) ; }

Target:
public void setBalloonEnabled ( boolean isBallonEnabled ) { balloonEnabled = isBallonEnabled ; }
Source:
public void setForceHelp ( java.lang.String forceHelpText ) { boolean isForceHelpNonEmpty = forceHelpText != null ; if ( isForceHelpNonEmpty ) { geoRepForceHelpIcon.setText ( org.ovirt.engine.ui.webadmin.section.main.view.popup.gluster.GeoRepActionConfirmPopUpView.templates.italicText ( forceHelpText ) ) ; } geoRepForceHelpIcon.setVisible ( isForceHelpNonEmpty ) ; }

Target:
public void setForceHelp ( java.lang.String forceHelpText ) { boolean isForceHelpNonEmpty = forceHelpText != null ; if ( isForceHelpNonEmpty ) { geoRepForceHelpIcon.setTitle ( forceHelpText ) ; } geoRepForceHelpIcon.setVisible ( isForceHelpNonEmpty ) ; }
Source:
protected boolean isVisible ( org.ovirt.engine.core.common.businessentities.gluster.GlusterTaskSupport value ) { return ( value.getAsyncTask ( ) . getType ( ) ) == ( org.ovirt.engine.core.common.asynctasks.gluster.GlusterTaskType.REMOVE_BRICK ) ; }

Target:
protected boolean isVisible ( org.ovirt.engine.core.common.businessentities.gluster.GlusterTaskSupport value ) { return ( super . isVisible ( value ) ) && ( ( value.getAsyncTask ( ) . getType ( ) ) == ( org.ovirt.engine.core.common.asynctasks.gluster.GlusterTaskType.REMOVE_BRICK ) ) ; }
Source:
protected void onUpdateDocumentationBaseURL ( ) { }

Target:
protected abstract void onUpdateDocumentationBaseURL ( ) ;
Source:
protected boolean canDoAction ( ) { org.ovirt.engine.core.bll.validator.UpgradeHostValidator validator = new org.ovirt.engine.core.bll.validator.UpgradeHostValidator ( org.ovirt.engine.core.bll.hostdeploy.UpgradeHostInternalCommand.getDbFacade ( ) , org.ovirt.engine.core.bll.hostdeploy.UpgradeHostInternalCommand.getVds ( ) ) ; return ( validate ( validator.hostExists ( ) ) ) && ( validate ( validator.statusSupportedForHostUpgradeInternal ( ) ) ) ; }

Target:
protected boolean canDoAction ( ) { org.ovirt.engine.core.bll.validator.UpgradeHostValidator validator = new org.ovirt.engine.core.bll.validator.UpgradeHostValidator ( org.ovirt.engine.core.bll.hostdeploy.UpgradeHostInternalCommand.getVds ( ) ) ; return ( validate ( validator.hostExists ( ) ) ) && ( validate ( validator.statusSupportedForHostUpgradeInternal ( ) ) ) ; }
Source:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { updateTabsData ( snapshotModel ) ; }

Target:
public void onSuccess ( java.lang.Object model , java.lang.Object returnValue ) { updateTabsData ( snapshotModel ) ; }
Source:
protected void processImages ( ) { processImages ( ( ! ( org.ovirt.engine.core.bll.ImportVmCommand.isImagesAlreadyOnTarget ( ) ) ) ) ; if ( getReturnValue ( ) . getVdsmTaskIdList ( ) . isEmpty ( ) ) { endVmRelatedOps ( ) ; } }

Target:
protected void processImages ( ) { processImages ( ( ! ( org.ovirt.engine.core.bll.ImportVmCommand.isImagesAlreadyOnTarget ( ) ) ) ) ; if ( org.ovirt.engine.core.bll.ImportVmCommand.getReturnValue ( ) . getVdsmTaskIdList ( ) . isEmpty ( ) ) { endVmRelatedOps ( ) ; } }
Source:
public void canDoActionFails ( ) { cmd = org.mockito.Mockito.spy ( createTestCommand ( volumeId1 , getBricks ( volumeId1 , 2 ) , 0 , 4 ) ) ; prepareMocks ( cmd ) ; org.junit.Assert.assertFalse ( cmd.canDoAction ( ) ) ; }

Target:
public void canDoActionFails ( ) { cmd = org.mockito.Mockito.spy ( createTestCommand ( volumeId1 , getBricks ( volumeId1 , 2 ) , 0 , 4 , false ) ) ; prepareMocks ( cmd ) ; org.junit.Assert.assertFalse ( cmd.canDoAction ( ) ) ; }
Source:
private void mockDaos ( ) { mockVmDao ( ) ; mockDiskImageDao ( ) ; mockStorageDomainDao ( ) ; mockStoragePoolDao ( ) ; mockValidators ( ) ; }

Target:
private void mockDaos ( ) { mockVmDao ( ) ; mockDiskImageDao ( ) ; mockStoragePoolDao ( ) ; mockValidators ( ) ; }
Source:
public void setvds_group_id ( org.ovirt.engine.core.compat.Guid value ) { this . mVdsStatic.setvds_group_id ( value ) ; OnPropertyChanged ( new org.ovirt.engine.core.compat.PropertyChangedEventArgs ( "vds_group_id" ) ) ; }

Target:
public void setvds_group_id ( org.ovirt.engine.core.compat.Guid value ) { this . mVdsStatic.setvds_group_id ( value ) ; }
Source:
protected org.ovirt.engine.core.bll.validator.storage.DiskValidator getDiskValidator ( org.ovirt.engine.core.common.businessentities.storage.Disk disk ) { return new org.ovirt.engine.core.bll.validator.storage.DiskValidator ( disk , org.ovirt.engine.core.bll.storage.disk.AbstractDiskVmCommand.getVmDeviceUtils ( ) ) ; }

Target:
protected org.ovirt.engine.core.bll.validator.storage.DiskValidator getDiskValidator ( org.ovirt.engine.core.common.businessentities.storage.Disk disk ) { return new org.ovirt.engine.core.bll.validator.storage.DiskValidator ( disk ) ; }
Source:
public void calculateNetworkImplementationDetailsEmptyNetworkName ( ) throws java.lang.Exception { org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface iface = createNetworkDevice ( ) ; iface.setNetworkName ( "" ) ; org.junit.Assert.assertNull ( "Network implementation details should not be filled." , org.ovirt.engine.core.utils.NetworkUtils.calculateNetworkImplementationDetails ( java.util.Collections.< java.lang.String , org.ovirt.engine.core.common.businessentities.network.Network > emptyMap ( ) , iface ) ) ; }

Target:
public void calculateNetworkImplementationDetailsEmptyNetworkName ( ) throws java.lang.Exception { org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface iface = createNetworkDevice ( ) ; iface.setNetworkName ( "" ) ; org.junit.Assert.assertNull ( "Network implementation details should not be filled." , org.ovirt.engine.core.utils.NetworkUtils.calculateNetworkImplementationDetails ( null , null , iface ) ) ; }
Source:
public static void getVmWatchdogTypes ( int osId , org.ovirt.engine.core.compat.Version version , org.ovirt.engine.ui.frontend.AsyncQuery asyncQuery ) { org.ovirt.engine.ui.frontend.Frontend.getInstance ( ) . runQuery ( VdcQueryType.OsRepository , new org.ovirt.engine.core.common.queries.OsQueryParameters ( org.ovirt.engine.core.common.queries.OsQueryParameters.OsRepositoryVerb.GetVmWatchdogTypes , osId , version ) , asyncQuery ) ; }

Target:
public void getVmWatchdogTypes ( int osId , org.ovirt.engine.core.compat.Version version , org.ovirt.engine.ui.frontend.AsyncQuery asyncQuery ) { org.ovirt.engine.ui.frontend.Frontend.getInstance ( ) . runQuery ( VdcQueryType.OsRepository , new org.ovirt.engine.core.common.queries.OsQueryParameters ( org.ovirt.engine.core.common.queries.OsQueryParameters.OsRepositoryVerb.GetVmWatchdogTypes , osId , version ) , asyncQuery ) ; }
Source:
public org.ovirt.engine.core.common.businessentities.NonOperationalReason getNonOperationalReason ( ) { return org.ovirt.engine.core.common.businessentities.NonOperationalReason.forValue ( nonOperationalReason ) ; }

Target:
public org.ovirt.engine.core.common.businessentities.NonOperationalReason getNonOperationalReason ( ) { return nonOperationalReason ; }
Source:
public org.ovirt.engine.core.common.action.VdcReturnValueBase logOff ( org.ovirt.engine.core.common.businessentities.aaa.DbUser userToLogoff ) { org.ovirt.engine.core.common.action.VdcActionParametersBase params = new org.ovirt.engine.core.common.action.VdcActionParametersBase ( ) ; params.setSessionId ( getEngineSessionId ( ) ) ; org.ovirt.engine.core.common.action.VdcReturnValueBase returnValue = getBackend ( ) . logoff ( params ) ; return returnValue ; }

Target:
public org.ovirt.engine.core.common.action.VdcReturnValueBase logOff ( ) { org.ovirt.engine.core.common.action.VdcActionParametersBase params = new org.ovirt.engine.core.common.action.VdcActionParametersBase ( ) ; params.setSessionId ( getEngineSessionId ( ) ) ; org.ovirt.engine.core.common.action.VdcReturnValueBase returnValue = getBackend ( ) . logoff ( params ) ; return returnValue ; }
Source:
private java.lang.String getProtocol ( ) { return urlobj.getProtocol ( ) ; }

Target:
protected java.lang.String getProtocol ( ) { return urlobj.getProtocol ( ) ; }
Source:
public void setSELinuxEnforceMode ( java.lang.Integer value ) { this . selinuxEnforceMode = org.ovirt.engine.core.common.businessentities.SELinuxMode.fromValue ( value ) ; }

Target:
public void setSELinuxEnforceMode ( java.lang.Integer value ) { selinuxEnforceMode = org.ovirt.engine.core.common.businessentities.SELinuxMode.fromValue ( value ) ; }
Source:
private void setEditPolicyCommand ( org.ovirt.engine.ui.uicommonweb.UICommand value ) { privateEditPolicyCommand = value ; }

Target:
public void setEditPolicyCommand ( org.ovirt.engine.ui.uicommonweb.UICommand value ) { privateEditPolicyCommand = value ; }
Source:
org.ovirt.engine.core.aaa.AuthenticationResult authenticate ( java.lang.String name , java.lang.String password ) ;

Target:
public abstract org.ovirt.engine.core.aaa.AuthenticationResult authenticate ( java.lang.String name , java.lang.String password ) ;
Source:
private void localize ( org.ovirt.engine.ui.common.CommonApplicationConstants constants ) { isPluggedEditor.setLabel ( constants.activateVmDiskPopup ( ) ) ; }

Target:
private void localize ( ) { isPluggedEditor.setLabel ( constants.activateVmDiskPopup ( ) ) ; }
Source:
public java.lang.Object call ( ) throws java.lang.Exception { _parser.cliEnvironmentSet ( "OVIRT_ENGINE/correlationId" , _correlationId ) ; return null ; }

Target:
public java.lang.Boolean call ( ) throws java.lang.Exception { _parser.cliEnvironmentSet ( "OVIRT_ENGINE/correlationId" , _correlationId ) ; return true ; }
Source:
public void setvms_cores_count ( java.lang.Integer value ) { this . mVdsDynamic.setvms_cores_count ( value ) ; OnPropertyChanged ( new org.ovirt.engine.core.compat.PropertyChangedEventArgs ( "vms_cores_count" ) ) ; }

Target:
public void setvms_cores_count ( java.lang.Integer value ) { this . mVdsDynamic.setvms_cores_count ( value ) ; }
Source:
public boolean match ( org.ovirt.engine.core.common.businessentities.StoragePool source ) { return ( source.getstatus ( ) ) == ( status ) ; }

Target:
public boolean match ( org.ovirt.engine.core.common.businessentities.StoragePool source ) { return ( source.getStatus ( ) ) == ( status ) ; }
Source:
public void setDiskStorageMap ( java.util.HashMap < org.ovirt.engine.core.compat.Guid , java.util.ArrayList < org.ovirt.engine.core.compat.Guid > > value ) { diskStorageMap = value ; OnPropertyChanged ( new org.ovirt.engine.core.compat.PropertyChangedEventArgs ( "DiskStorageMap" ) ) ; }

Target:
public void setDiskStorageMap ( java.util.HashMap < org.ovirt.engine.core.compat.Guid , java.util.ArrayList < org.ovirt.engine.core.compat.Guid > > value ) { diskStorageMap = value ; }
Source:
public void onSuccess ( java.lang.Object innerModel , java.lang.Object value ) { this . setDiskProfilesList ( ( ( java.util.List < org.ovirt.engine.core.common.businessentities.profiles.DiskProfile > ) ( ( ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue ) ( value ) ) . getReturnValue ( ) ) ) ) ; }

Target:
public void onSuccess ( org.ovirt.engine.core.common.queries.VdcQueryReturnValue value ) { setDiskProfilesList ( ( ( java.util.List < org.ovirt.engine.core.common.businessentities.profiles.DiskProfile > ) ( value.getReturnValue ( ) ) ) ) ; }
Source:
protected void init ( ) { if ( ( org.ovirt.engine.core.bll.RunVmCommand.getVm ( ) ) != null ) { needsHostDevices = hostDeviceManager.checkVmNeedsDirectPassthrough ( org.ovirt.engine.core.bll.RunVmCommand.getVm ( ) ) ; } loadVmInit ( ) ; }

Target:
protected void init ( ) { super . init ( ) ; if ( ( org.ovirt.engine.core.bll.RunVmCommand.getVm ( ) ) != null ) { needsHostDevices = hostDeviceManager.checkVmNeedsDirectPassthrough ( org.ovirt.engine.core.bll.RunVmCommand.getVm ( ) ) ; } loadVmInit ( ) ; }
Source:
public void testGet ( ) { setUriInfo ( setUpBasicUriExpectations ( ) ) ; resource.setParent ( getCollectionResourceMock ( ) ) ; control.replay ( ) ; org.ovirt.engine.api.model.Hook hook = resource.get ( ) ; assertEquals ( org.ovirt.engine.api.restapi.resource.BackendHostHookResourceTest.EVENT_2_NAME , hook.getEventName ( ) ) ; }

Target:
public void testGet ( ) { setUriInfo ( setUpBasicUriExpectations ( ) ) ; resource.setParent ( getCollectionResourceMock ( ) ) ; org.ovirt.engine.api.model.Hook hook = resource.get ( ) ; assertEquals ( org.ovirt.engine.api.restapi.resource.BackendHostHookResourceTest.EVENT_2_NAME , hook.getEventName ( ) ) ; }
Source:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { if ( handleItemsChangedEvent ( ) ) { updateData ( ) ; } }

Target:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { if ( ( ( getModel ( ) ) != null ) && ( handleItemsChangedEvent ( ) ) ) { updateData ( ) ; } }
Source:
public void eventRaised ( org.ovirt.engine.ui.uicompat.Event ev , java.lang.Object sender , org.ovirt.engine.ui.uicompat.EventArgs args ) { revealStorageView ( disk ) ; }

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 ) { revealStorageView ( disk ) ; }
Source:
public void setupMocks ( ) { mockGlobalParameters ( ) ; setUpCommand ( ) ; mockVds ( ) ; mockDbDao ( ) ; command.init ( ) ; }

Target:
public void setupMocks ( ) { setUpCommand ( ) ; mockVds ( ) ; mockDbDao ( ) ; command.init ( ) ; }