auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void testAospPropertyContexts ( ) throws java.lang.Exception { devicePcFile = java.io.File.createTempFile ( "property_contexts" , ".tmp" ) ; devicePcFile.deleteOnExit ( ) ; mDevice.pullFile ( "/plat_property_contexts" , devicePcFile ) ; aospPcFile = copyResourceToTempFile ( "/plat_property_contexts" ) ; assertFileEquals ( aospPcFile , devicePcFile ) ; }

Target:
public void testAospPropertyContexts ( ) throws java.lang.Exception { devicePcFile = java.io.File.createTempFile ( "property_contexts" , ".tmp" ) ; devicePcFile.deleteOnExit ( ) ; mDevice.pullFile ( "/property_contexts" , devicePcFile ) ; aospPcFile = copyResourceToTempFile ( "/general_property_contexts" ) ; assertFileStartsWith ( aospPcFile , devicePcFile ) ; }
Source:
public com.android.jack.tools.merger.JackMerger current ( ) { return mergers.get ( getCurrentMergerIdx ( ) ) ; }

Target:
public void remove ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
protected void textChanged ( javax.swing.event.DocumentEvent e ) { if ( myUpdating ) { return ; } myUpdating = true ; try { synchronizePackageName ( updatePackageName ) ; updateDataModel ( ) ; myUpdateListener.update ( ) ; } finally { myUpdating = false ; } }

Target:
public void actionPerformed ( java.awt.event.ActionEvent actionEvent ) { updateDataModel ( ) ; }
Source:
synchronized void nAllocationRead ( int id , int [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }

Target:
native void rsnAllocationRead ( long con , long id , int [ ] d ) ;
Source:
public static double ReturnDouble33 ( ) { int imm = 33 ; return ( ( double ) ( imm ) ) ; }

Target:
public static double ReturnDouble33 ( ) { int imm = Main.$inline$int ( 33 ) ; return ( ( double ) ( imm ) ) ; }
Source:
public void traverse ( @ javax.annotation.Nonnull final com.android.sched.scheduler.ScheduleInstance < ? super com.android.sched.item.Component > schedule ) throws java.lang.Exception { schedule.process ( this ) ; for ( com.android.jack.ir.ast.cfg.JBasicBlock block : getBlocksDepthFirst ( false ) ) { block.traverse ( schedule ) ; } }

Target:
public void traverse ( @ javax.annotation.Nonnull final com.android.jack.ir.ast.JVisitor visitor ) { if ( visitor.visit ( this ) ) { for ( com.android.jack.ir.ast.cfg.JBasicBlock block : getAllBlocksUnordered ( ) ) { visitor.accept ( block ) ; } } visitor.endVisit ( this ) ; }
Source:
public TestCaseBuilder addCanvasClient ( java.lang.String debugString , android.uirendering.cts.testinfrastructure.CanvasClient canvasClient ) { }

Target:
public android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder addCanvasClient ( java.lang.String debugString , android.uirendering.cts.testinfrastructure.CanvasClient canvasClient ) { return addCanvasClient ( debugString , canvasClient , false ) . addCanvasClient ( debugString , canvasClient , true ) ; }
Source:
void onBluetoothDisable ( ) { com.android.bluetooth.btservice.AdapterProperties.debugLog ( "onBluetoothDisable()" ) ; if ( ( getState ( ) ) == ( android.bluetooth.BluetoothAdapter.STATE_TURNING_OFF ) ) { mService.cancelDiscovery ( ) ; setScanMode ( AbstractionLayer.BT_SCAN_MODE_NONE ) ; } }

Target:
boolean setLeIoCapability ( int capability ) { synchronized ( mObject ) { boolean result = mService.setAdapterPropertyNative ( AbstractionLayer.BT_PROPERTY_LOCAL_IO_CAPS_BLE , com.android.bluetooth.Utils.intToByteArray ( capability ) ) ; if ( result ) { mLocalIOCapabilityBLE = capability ; } return result ; } }
Source:
public short uint16 ( ) throws java.io.IOException { return int16 ( ) ; }

Target:
public short int16 ( ) throws java.io.IOException { return ( ( short ) ( intv ( ) ) ) ; }
Source:
public org.eclipse.swt.graphics.Color getForeground ( java.lang.Object element ) { org.eclipse.swt.widgets.Display display = mTable.getDisplay ( ) ; if ( mCheckboxTableViewer.getGrayed ( element ) ) { return display.getSystemColor ( SWT.COLOR_DARK_GRAY ) ; } return display.getSystemColor ( SWT.COLOR_LIST_FOREGROUND ) ; }

Target:
protected java.lang.Object getValue ( java.lang.Object element ) { com.android.ide.eclipse.adt.internal.wizards.newproject.ImportedProject project = ( ( com.android.ide.eclipse.adt.internal.wizards.newproject.ImportedProject ) ( element ) ) ; return project.getProjectName ( ) ; }
Source:
public boolean isFloatingWindow ( ) { return true ; }

Target:
public boolean isAlphaChannelImage ( ) { return true ; }
Source:
native void rsnAllocationRead2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , java.lang.Object d , int sizeBytes , int dt ) ;

Target:
native void rsnAllocationElementRead ( long con , long id , int xoff , int yoff , int zoff , int mip , int compIdx , byte [ ] d , int sizeBytes ) ;
Source:
public boolean getDataEnabled ( ) { return getDataEnabled ( android.telephony.SubscriptionManager.getDefaultDataSubId ( ) ) ; }

Target:
public android.telephony.NetworkScan requestNetworkScan ( android.telephony.NetworkScanRequest request , android.telephony.TelephonyScanManager.NetworkScanCallback callback ) { synchronized ( this ) { if ( ( mTelephonyScanManager ) == null ) { mTelephonyScanManager = new android.telephony.TelephonyScanManager ( ) ; } } return mTelephonyScanManager.requestNetworkScan ( getSubId ( ) , request , callback ) ; }
Source:
public void getAllProfiles ( java.lang.String callingPackage , com.android.internal.telephony.euicc.IGetAllProfilesCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onResult ( android.service.euicc.EuiccProfileInfo [ ] result ) { try { callback.onComplete ( EuiccCardManager.RESULT_OK , result ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public void test_F32_1_SCALE05_20_inRectangle ( ) { testReszie ( inX , inY , Element.DataType.FLOAT_32 , 1 , 0.5F , 2.0F ) ; }

Target:
public void test_F32_1_SCALE05_20_inRectangle ( ) { testResize ( inX , inY , Element.DataType.FLOAT_32 , 1 , 0.5F , 2.0F ) ; }
Source:
public boolean onCreate ( ) { android.util.Log.d ( com.android.providers.telephony.CarrierIdProvider.TAG , "onCreate" ) ; mDbHelper = new com.android.providers.telephony.CarrierIdProvider.CarrierIdDatabaseHelper ( getContext ( ) ) ; mDbHelper.getReadableDatabase ( ) ; return true ; }

Target:
public boolean onCreate ( ) { android.util.Log.d ( com.android.providers.telephony.CarrierIdProvider.TAG , "onCreate" ) ; mDbHelper = new com.android.providers.telephony.CarrierIdProvider.CarrierIdDatabaseHelper ( getContext ( ) ) ; mDbHelper.getReadableDatabase ( ) ; updateFromAssetsIfNeeded ( mDbHelper.getWritableDatabase ( ) ) ; return true ; }
Source:
public void sendErrorResponse ( android.os.Message onComplete , java.lang.Throwable e ) { android.telephony.Rlog.d ( com.android.internal.telephony.imsphone.ImsPhone.LOG_TAG , "sendErrorResponse" ) ; if ( onComplete != null ) { android.os.AsyncResult.forMessage ( onComplete , null , getCommandException ( e ) ) ; onComplete.sendToTarget ( ) ; } }

Target:
public void sendErrorResponse ( android.os.Message onComplete , java.lang.Throwable e ) { logd ( "sendErrorResponse" ) ; if ( onComplete != null ) { android.os.AsyncResult.forMessage ( onComplete , null , getCommandException ( e ) ) ; onComplete.sendToTarget ( ) ; } }
Source:
private void killApplication ( java.lang.String pkgName , int uid ) { android.app.IActivityManager am = android.app.ActivityManagerNative.getDefault ( ) ; if ( am != null ) { try { am.killApplicationWithUid ( pkgName , uid ) ; } catch ( android.os.RemoteException e ) { } } }

Target:
private void killApplication ( java.lang.String pkgName , int appId ) { android.app.IActivityManager am = android.app.ActivityManagerNative.getDefault ( ) ; if ( am != null ) { try { am.killApplicationWithAppId ( pkgName , appId ) ; } catch ( android.os.RemoteException e ) { } } }
Source:
public java.util.Collection < V > get ( java.lang.Object key ) { return containsKey ( key ) ? multimap ( ) . get ( ( ( K ) ( key ) ) ) : null ; }

Target:
public java.util.Collection < V > remove ( java.lang.Object key ) { return containsKey ( key ) ? multimap.removeAll ( key ) : null ; }
Source:
protected boolean nestedStatementPush ( com.android.jack.ir.ast.JStatement statement ) { boolean push = ! ( statement instanceof com.android.jack.ir.ast.JBlock ) ; if ( push ) { indentIn ( ) ; newline ( ) ; } else { space ( ) ; } return push ; }

Target:
protected void nestedStatementPop ( com.android.jack.ir.ast.JStatement statement ) { if ( ! ( statement instanceof com.android.jack.ir.ast.JBlock ) ) { indentOut ( ) ; } }
Source:
public void onConfigChanged ( int item , java.lang.String value ) { sendConfigChangedIntent ( item , value ) ; }

Target:
public void connectionReady ( com.android.ims.ImsManager manager ) throws com.android.ims.ImsException { mImsManager = manager ; startListeningForCalls ( ) ; }
Source:
public java.lang.String getAgnosticAbsPath ( @ com.android.annotations.NonNull java.lang.String path ) { if ( ( com.android.SdkConstants.CURRENT_PLATFORM ) == ( com.android.SdkConstants.PLATFORM_WINDOWS ) ) { path = path.replace ( '\\' , '/' ) ; path = path.replace ( "C:" , "" ) ; } return path ; }

Target:
public java.lang.String getAgnosticAbsPath ( @ com.android.annotations.NonNull java.lang.String path ) { if ( ( com.android.SdkConstants.CURRENT_PLATFORM ) == ( com.android.SdkConstants.PLATFORM_WINDOWS ) ) { path = path.replace ( '\\' , '/' ) ; path = path.replaceAll ( "^[A-Z]:" , "" ) ; } return path ; }
Source:
public void onChange ( boolean selfChange ) { updateShowImeWithHardKeyboard ( ) ; }

Target:
public void onChange ( boolean selfChange , android.net.Uri uri ) { if ( mShowImeWithHardKeyboardUri.equals ( uri ) ) { updateShowImeWithHardKeyboard ( ) ; } else if ( mDisplayInversionEnabledUri.equals ( uri ) ) { updateCircularDisplayMaskIfNeeded ( ) ; } }
Source:
public com.android.builder.DefaultProductFlavor getConfig ( ) { return getVariantData ( ) . getVariantConfiguration ( ) . getDefaultConfig ( ) ; }

Target:
public com.android.builder.DefaultProductFlavor getMergedFlavor ( ) { return getVariantData ( ) . getVariantConfiguration ( ) . getMergedFlavor ( ) ; }
Source:
public void showLocationPermissionRequest ( android.view.View.OnClickListener allowClickListener , android.view.View.OnClickListener dismissClickListener ) { this . allowClickListener = com.android.dialer.common.Assert.isNotNull ( allowClickListener ) ; this . dismissClickListener = com.android.dialer.common.Assert.isNotNull ( dismissClickListener ) ; if ( searchCursorManager.showLocationPermissionRequest ( true ) ) { notifyItemRemoved ( 0 ) ; } }

Target:
public void showLocationPermissionRequest ( android.view.View.OnClickListener allowClickListener , android.view.View.OnClickListener dismissClickListener ) { this . allowClickListener = com.android.dialer.common.Assert.isNotNull ( allowClickListener ) ; this . dismissClickListener = com.android.dialer.common.Assert.isNotNull ( dismissClickListener ) ; if ( searchCursorManager.showLocationPermissionRequest ( true ) ) { notifyItemInserted ( 0 ) ; } }
Source:
public void enter ( ) { com.android.server.telecom.Log.i ( com.android.server.telecom.CallAudioModeStateMachine.LOG_TAG , "Audio focus entering SIM CALL state" ) ; mAudioManager.requestAudioFocusForCall ( AudioManager.STREAM_VOICE_CALL , AudioManager.AUDIOFOCUS_GAIN_TRANSIENT ) ; mAudioManager.setMode ( AudioManager.MODE_IN_CALL ) ; mMostRecentMode = android.media.AudioManager.MODE_IN_CALL ; mCallAudioManager.setCallAudioRouteFocusState ( CallAudioRouteStateMachine.HAS_FOCUS ) ; }

Target:
public void enter ( ) { android.telecom.Log.i ( com.android.server.telecom.CallAudioModeStateMachine.LOG_TAG , "Audio focus entering SIM CALL state" ) ; mAudioManager.requestAudioFocusForCall ( AudioManager.STREAM_VOICE_CALL , AudioManager.AUDIOFOCUS_GAIN_TRANSIENT ) ; mAudioManager.setMode ( AudioManager.MODE_IN_CALL ) ; mMostRecentMode = android.media.AudioManager.MODE_IN_CALL ; mCallAudioManager.setCallAudioRouteFocusState ( CallAudioRouteStateMachine.HAS_FOCUS ) ; }
Source:
static com.android.jack.transformations.lambda.LambdaInterfaceSignature forLambda ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JLambda lambda ) { return new com.android.jack.transformations.lambda.LambdaInterfaceSignature ( lambda ) ; }

Target:
static com.android.jack.transformations.lambda.LambdaInterfaceSignature forLambda ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JLambda lambda , boolean normalize ) { return new com.android.jack.transformations.lambda.LambdaInterfaceSignature ( lambda , normalize ) ; }
Source:
public void testKeyStore_DeleteEntry_EmptyStore_Success ( ) throws java.lang.Exception { mKeyStore.load ( null , null ) ; mKeyStore.deleteEntry ( android.security.AndroidKeyStoreTest.TEST_ALIAS_1 ) ; }

Target:
public void testKeyStore_DeleteEntry_EmptyStore_Encrypted_Success ( ) throws java.lang.Exception { setupPassword ( ) ; mKeyStore.load ( null , null ) ; mKeyStore.deleteEntry ( android.security.AndroidKeyStoreTest.TEST_ALIAS_1 ) ; }
Source:
public void callSessionMergeComplete ( com.android.ims.internal.ImsCallSession newSession ) throws android.os.RemoteException { mListener.callSessionMergeComplete ( ( newSession != null ? newSession.getSession ( ) : null ) ) ; }

Target:
public void callSessionMergeComplete ( android.telephony.ims.stub.ImsCallSessionImplBase newSession ) { try { mListener.callSessionMergeComplete ( ( newSession != null ? newSession.getServiceImpl ( ) : null ) ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public void waitForIdle ( int timeoutMs ) { ( ( com.android.server.ConnectivityServiceTest.IdleableHandlerThread ) ( mHandlerThread ) ) . waitForIdle ( timeoutMs ) ; }

Target:
public void waitForIdle ( int timeoutMs ) { com.android.server.ConnectivityServiceTest.waitForIdleHandler ( mHandlerThread , timeoutMs ) ; }
Source:
public com.ibm.icu.impl.UResource.ArraySink getOrCreateArraySink ( int index , int size ) { return null ; }

Target:
public void enter ( int size ) { }
Source:
public void testIDEA110947 ( ) { doTest5 ( false ) ; }

Target:
public void _testIDEA110947 ( ) { doTest5 ( false ) ; }
Source:
public void error ( org.xml.sax.SAXParseException e ) { validationError ( e.getMessage ( ) ) ; }

Target:
public void fatalError ( org.xml.sax.SAXParseException e ) { validationError ( e.getMessage ( ) ) ; }
Source:
public java.util.List < com.android.ahat.heapdump.AhatInstance > getSoftReverseReferences ( ) { return java.util.Arrays.asList ( mSoftReverseReferences ) ; }

Target:
public void setDominator ( com.android.ahat.dominators.DominatorsComputation.Node dominator ) { mImmediateDominator = ( ( com.android.ahat.heapdump.AhatInstance ) ( dominator ) ) ; mImmediateDominator.mDominated.add ( this ) ; }
Source:
public java.util.Map < com.android.resources.ResourceType , java.util.Map < java.lang.String , com.android.ide.common.rendering.api.ResourceValue > > getConfiguredResources ( com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration referenceConfig ) { return doGetConfiguredResources ( referenceConfig ) ; }

Target:
public java.util.Map < com.android.resources.ResourceType , java.util.Map < java.lang.String , com.android.ide.common.rendering.api.ResourceValue > > getConfiguredResources ( com.android.ide.common.resources.configuration.FolderConfiguration referenceConfig ) { return doGetConfiguredResources ( referenceConfig ) ; }
Source:
public void broadcastP2pGroupFormationFailure ( java.lang.String iface , java.lang.String reason ) { sendMessage ( iface , com.android.server.wifi.WifiMonitor.P2P_GROUP_FORMATION_FAILURE_EVENT , p2pError ( reason ) ) ; }

Target:
public void broadcastP2pGroupFormationFailure ( java.lang.String iface , java.lang.String reason ) { com.android.server.wifi.p2p.WifiP2pServiceImpl.P2pStatus err = com.android.server.wifi.p2p.WifiP2pServiceImpl.P2pStatus.UNKNOWN ; if ( reason.equals ( "FREQ_CONFLICT" ) ) { err = com.android.server.wifi.p2p.WifiP2pServiceImpl.P2pStatus.NO_COMMON_CHANNEL ; } sendMessage ( iface , com.android.server.wifi.WifiMonitor.P2P_GROUP_FORMATION_FAILURE_EVENT , err ) ; }
Source:
public com.android.layoutlib.api.SceneResult createResult ( java.lang.Object data ) { com.android.layoutlib.api.SceneResult res = createResult ( ) ; if ( data != null ) { res = res.getCopyWithData ( data ) ; } return res ; }

Target:
public com.android.ide.common.rendering.api.Result createResult ( java.lang.Object data ) { com.android.ide.common.rendering.api.Result res = createResult ( ) ; if ( data != null ) { res = res.getCopyWithData ( data ) ; } return res ; }
Source:
public void removeTransportModeTransforms ( @ android.annotation.NonNull java.net.Socket socket ) throws java.io.IOException { removeTransportModeTransforms ( socket.getFileDescriptor$ ( ) ) ; }

Target:
public void removeTransportModeTransforms ( @ android.annotation.NonNull java.net.Socket socket ) throws java.io.IOException { socket.getSoLinger ( ) ; removeTransportModeTransforms ( socket.getFileDescriptor$ ( ) ) ; }
Source:
public int getTypeIndex ( ) { com.android.dx.io.EncodedValueReader reader = getReader ( ) ; reader.readAnnotation ( ) ; return reader.getAnnotationType ( ) ; }

Target:
public int getTypeIndex ( ) { com.android.dex.EncodedValueReader reader = getReader ( ) ; reader.readAnnotation ( ) ; return reader.getAnnotationType ( ) ; }
Source:
public final void requestBluetoothAudio ( @ android.annotation.NonNull java.lang.String bluetoothAddress ) { if ( ( mPhone ) != null ) { mPhone.requestBluetoothAudio ( bluetoothAddress ) ; } }

Target:
public final void requestBluetoothAudio ( @ android.annotation.NonNull android.bluetooth.BluetoothDevice bluetoothDevice ) { if ( ( mPhone ) != null ) { mPhone.requestBluetoothAudio ( bluetoothDevice.getAddress ( ) ) ; } }
Source:
public java.lang.Object getCarrierActionValue ( int action ) { java.lang.Object val = getCarrierAction ( action ) ; if ( val == null ) { throw new java.lang.IllegalArgumentException ( ( "invalid carrier action: " + action ) ) ; } return val ; }

Target:
public void carrierActionReportDefaultNetworkStatus ( boolean report ) { sendMessage ( obtainMessage ( com.android.internal.telephony.CarrierActionAgent.CARRIER_ACTION_REPORT_DEFAULT_NETWORK_STATUS , report ) ) ; }
Source:
protected boolean assertSame ( java.lang.String message , java.lang.Object expected , java.lang.Object actual ) { return handleAssert ( ( expected == actual ) , message , stringFor ( expected ) , stringFor ( actual ) , "==" , false ) ; }

Target:
protected boolean assertSame ( java.lang.String message , java.lang.Object expected , java.lang.Object actual ) { return android.icu.dev.test.TestFmwk.handleAssert ( ( expected == actual ) , message , android.icu.dev.test.TestFmwk.stringFor ( expected ) , android.icu.dev.test.TestFmwk.stringFor ( actual ) , "==" , false ) ; }
Source:
void setBits ( com.google.common.base.CharMatcher.LookupTable table ) { }

Target:
public java.lang.String trimTrailingFrom ( java.lang.CharSequence sequence ) { return sequence.toString ( ) ; }
Source:
public void add ( android.hardware.cts.helpers.sensoroperations.ISensorOperation ... operations ) { for ( android.hardware.cts.helpers.sensoroperations.ISensorOperation operation : operations ) { if ( operation == null ) { throw new java.lang.IllegalArgumentException ( "Arguments cannot be null" ) ; } mOperations.add ( operation ) ; } }

Target:
public void add ( android.hardware.cts.helpers.sensoroperations.SensorOperation ... operations ) { for ( android.hardware.cts.helpers.sensoroperations.SensorOperation operation : operations ) { if ( operation == null ) { throw new java.lang.IllegalArgumentException ( "Arguments cannot be null" ) ; } mOperations.add ( operation ) ; } }
Source:
public android.net.NetworkCapabilities removeCapability ( @ android.net.NetworkCapabilities.NetCapability int capability ) { if ( ( capability < ( android.net.NetworkCapabilities.MIN_NET_CAPABILITY ) ) || ( capability > ( android.net.NetworkCapabilities.MAX_NET_CAPABILITY ) ) ) { throw new java.lang.IllegalArgumentException ( "NetworkCapability out of range" ) ; } mNetworkCapabilities &= ~ ( 1 << capability ) ; return this ; }

Target:
public void addUnwantedCapability ( @ android.net.NetworkCapabilities.NetCapability int capability ) { android.net.NetworkCapabilities.checkValidCapability ( capability ) ; mUnwantedNetworkCapabilities |= 1 << capability ; mNetworkCapabilities &= ~ ( 1 << capability ) ; }
Source:
public void contextInitialized ( javax.servlet.ServletContextEvent servletContextEvent ) { com.googlecode.objectify.ObjectifyService.init ( ) ; com.googlecode.objectify.ObjectifyService.register ( com.android.vts.entity.TestLogSummaryEntity.class ) ; com.android.vts.config.ObjectifyListener.logger.log ( java.util.logging.Level.INFO , "Value Initialized from context." ) ; }

Target:
public void contextInitialized ( javax.servlet.ServletContextEvent servletContextEvent ) { com.googlecode.objectify.ObjectifyFactory objectifyFactory = com.googlecode.objectify.ObjectifyService.factory ( ) ; objectifyFactory.register ( com.android.vts.entity.TestSuiteResultEntity.class ) ; objectifyFactory.begin ( ) ; com.android.vts.config.ObjectifyListener.logger.log ( java.util.logging.Level.INFO , "Value Initialized from context." ) ; }
Source:
protected org.bouncycastle.crypto.tls.TlsKeyExchange createSRPKeyExchange ( int keyExchange ) { return new org.bouncycastle.crypto.tls.TlsSRPKeyExchange ( keyExchange , supportedSignatureAlgorithms , identity , password ) ; }

Target:
protected org.bouncycastle.crypto.tls.TlsKeyExchange createSRPKeyExchange ( int keyExchange ) { return new org.bouncycastle.crypto.tls.TlsSRPKeyExchange ( keyExchange , supportedSignatureAlgorithms , groupVerifier , identity , password ) ; }
Source:
public com.google.common.base.Objects.ToStringHelper addValue ( float value ) { addHolder ( ) . builder.append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , double value ) { return addHolder ( name , java.lang.String.valueOf ( value ) ) ; }
Source:
public void setRetainedSize ( com.android.tools.perflib.heap.Heap heap , long size ) { mRetainedSizes.put ( heap , size ) ; }

Target:
public void addRetainedSize ( int heapIndex , long size ) { mRetainedSizes [ heapIndex ] += size ; }
Source:
public synchronized void assertRemoved ( boolean expected ) throws java.lang.InterruptedException { wait ( 100 ) ; assertEquals ( expected , flagRemoved ) ; }

Target:
public synchronized void assertAdded ( boolean expected ) throws java.lang.InterruptedException { if ( ! ( flagAdded ) ) { wait ( ( expected ? libcore.java.util.prefs.OldAbstractPreferencesTest.ACTION_EXPECTED_TIMEOUT : libcore.java.util.prefs.OldAbstractPreferencesTest.NO_ACTION_EXPECTED_TIMEOUT ) ) ; } assertEquals ( expected , flagAdded ) ; }
Source:
public void write ( java.io.DataOutput out ) throws java.io.IOException { super . write ( out ) ; com.intellij.util.io.DataInputOutputUtil.writeINT ( out , myChildren.size ( ) ) ; for ( com.intellij.history.core.tree.Entry child : myChildren ) { com.intellij.history.core.StreamUtil.writeEntry ( out , child ) ; } }

Target:
public void write ( java.io.DataOutput out ) throws java.io.IOException { super . write ( out ) ; out.writeInt ( myChildren.size ( ) ) ; for ( com.intellij.history.core.tree.Entry child : myChildren ) { com.intellij.history.core.StreamUtil.writeEntry ( out , child ) ; } }
Source:
public native void setBoolean ( java.lang.Object object , boolean value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native void setBoolean ( java.lang.Object object , boolean value , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public final void init ( java.security.Key key ) throws java.security.InvalidKeyException { spiImpl.engineInit ( key , javax.crypto.KeyAgreement.RANDOM ) ; }

Target:
public final void init ( java.security.Key key ) throws java.security.InvalidKeyException { getSpi ( key ) . engineInit ( key , javax.crypto.KeyAgreement.RANDOM ) ; }
Source:
public boolean equals ( java.lang.Object obj ) { return ( this ) == obj ; }

Target:
public boolean equals ( java.lang.Object other ) { return ( ( this ) == other ) || ( ( other instanceof org.bouncycastle.crypto.tls.ProtocolVersion ) && ( equals ( ( ( org.bouncycastle.crypto.tls.ProtocolVersion ) ( other ) ) ) ) ) ; }
Source:
public boolean equals ( java.lang.Object qualifier ) { if ( qualifier instanceof com.android.ide.eclipse.adt.internal.resources.configurations.DockModeQualifier ) { return ( mValue ) == ( ( ( com.android.ide.eclipse.adt.internal.resources.configurations.DockModeQualifier ) ( qualifier ) ) . mValue ) ; } return false ; }

Target:
public boolean isMatchFor ( com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier qualifier ) { if ( ( mValue ) == ( com.android.sdklib.resources.DockMode.NONE ) ) { return true ; } return ( ( ( com.android.ide.eclipse.adt.internal.resources.configurations.DockModeQualifier ) ( qualifier ) ) . mValue ) == ( mValue ) ; }
Source:
private static dalvik.system.DexPathList.Element [ ] makePathElements ( java.util.List < java.io.File > files , java.util.List < java.io.IOException > suppressedExceptions , java.lang.ClassLoader loader ) { return dalvik.system.DexPathList.makeElements ( files , null , suppressedExceptions , true , loader ) ; }

Target:
private static dalvik.system.DexPathList.Element [ ] makePathElements ( java.util.List < java.io.File > files , java.io.File optimizedDirectory , java.util.List < java.io.IOException > suppressedExceptions ) { return dalvik.system.DexPathList.makeDexElements ( files , optimizedDirectory , suppressedExceptions , null ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { try { Main.stackOverflowTestSub ( 0.0 , 0.0 , 0.0 ) ; } catch ( java.lang.StackOverflowError soe ) { java.lang.System.out.println ( "caught SOE" ) ; } java.lang.System.out.println ( "SOE test done" ) ; }

Target:
private static void testSelfRecursion ( ) { try { Main.stackOverflowTestSub ( 0.0 , 0.0 , 0.0 ) ; } catch ( java.lang.StackOverflowError soe ) { java.lang.System.out.println ( "caught SOE in testSelfRecursion" ) ; } }
Source:
public void testSyncFlushDisabled ( ) throws java.lang.Exception { java.util.zip.InflaterInputStream in = createInflaterStream ( false ) ; try { in.read ( ) ; fail ( ) ; } catch ( java.io.IOException expected ) { } in.close ( ) ; }

Target:
public void testSyncFlushDisabled ( ) throws java.lang.Exception { java.io.InputStream in = libcore.java.util.zip.DeflaterOutputStreamTest.createInflaterStream ( java.util.zip.DeflaterOutputStream.class , false ) ; try { in.read ( ) ; fail ( ) ; } catch ( java.io.IOException expected ) { } in.close ( ) ; }
Source:
private boolean handleImageDescriptor ( byte [ ] rawData ) { mId = com.android.internal.telephony.gsm.stk.ImageDescriptor.parse ( rawData , 1 ) ; if ( ( mId ) == null ) { return false ; } return true ; }

Target:
private boolean handleImageDescriptor ( byte [ ] rawData ) { mId = com.android.internal.telephony.cat.ImageDescriptor.parse ( rawData , 1 ) ; if ( ( mId ) == null ) { return false ; } return true ; }
Source:
com.android.build.gradle.internal.dsl.def all ( com.android.build.gradle.internal.dsl.Closure configClosure ) { testTasks.all = $missing$ ; org.gradle.api.tasks.testing.Test testTask ; org.gradle.util.ConfigureUtil.configure ( configClosure , testTask ) ; }

Target:
public void all ( final groovy.lang.Closure < org.gradle.api.tasks.testing.Test > configClosure ) { testTasks.all ( new org.gradle.api.Action < org.gradle.api.tasks.testing.Test > ( ) { @ java.lang.Override public void execute ( org.gradle.api.tasks.testing.Test testTask ) { org.gradle.util.ConfigureUtil.configure ( configClosure , testTask ) ; } } ) ; }
Source:
protected void unwanted ( ) { if ( com.android.server.wifi.nan.WifiNanDataPathStateManager.VDBG ) { android.util.Log.v ( com.android.server.wifi.nan.WifiNanDataPathStateManager.TAG , ( ( ( "WifiNanNetworkAgent.unwanted: networkSpecifier=" + ( mNetworkSpecifier ) ) + ", ndpId=" ) + ( mNdpId ) ) ) ; } mMgr.endDataPath ( mNdpId ) ; }

Target:
protected void unwanted ( ) { if ( com.android.server.wifi.aware.WifiAwareDataPathStateManager.VDBG ) { android.util.Log.v ( com.android.server.wifi.aware.WifiAwareDataPathStateManager.TAG , ( ( ( "WifiAwareNetworkAgent.unwanted: networkSpecifier=" + ( mNetworkSpecifier ) ) + ", ndpId=" ) + ( mNdpId ) ) ) ; } mMgr.endDataPath ( mNdpId ) ; }
Source:
public void callSessionMayHandover ( com.android.ims.internal.ImsCallSession session , int srcAccessTech , int targetAccessTech ) { }

Target:
public void callSessionMayHandover ( android.telephony.ims.ImsCallSession session , int srcAccessTech , int targetAccessTech ) { }
Source:
public static void fail ( java.lang.String message ) { throw new java.lang.RuntimeException ( ( "AssertionFailedError msg:" + message ) ) ; }

Target:
public static void fail ( java.lang.String message , java.lang.Throwable cause ) { throw new dot.junit.AssertionFailedException ( message , cause ) ; }
Source:
public synchronized void waitForEvent ( ) { try { wait ( 500 ) ; } catch ( java.lang.InterruptedException ignored ) { } }

Target:
public void waitForEvent ( int count ) { synchronized ( this ) { while ( ( eventCount ) < count ) { try { wait ( ) ; } catch ( java.lang.InterruptedException ignored ) { } } } }
Source:
public static java.lang.String getXmlString ( com.android.resources.ResourceType type , com.android.ide.eclipse.adt.internal.resources.manager.ResourceItem resourceItem , boolean system ) { if ( ( type == ( com.android.resources.ResourceType.ID ) ) && ( resourceItem.isDeclaredInline ( ) ) ) { return ( ( ( system ? "@android:" : "@+" ) + ( type.getName ( ) ) ) + "/" ) + ( resourceItem.getName ( ) ) ; } return ( ( ( system ? "@android:" : "@" ) + ( type.getName ( ) ) ) + "/" ) + ( resourceItem.getName ( ) ) ; }

Target:
public static org.eclipse.swt.graphics.Image getIcon ( java.lang.Class < ? extends com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier > theClass ) { org.eclipse.swt.graphics.Image image = com.android.ide.eclipse.adt.internal.resources.ResourceHelper.ICON_MAP.get ( theClass ) ; if ( image == null ) { image = com.android.ide.eclipse.adt.internal.resources.ResourceHelper.computeImage ( theClass ) ; com.android.ide.eclipse.adt.internal.resources.ResourceHelper.ICON_MAP.put ( theClass , image ) ; } return image ; }
Source:
public android.util.Pair < byte [ ] , byte [ ] > readOutOfBandData ( ) { if ( ( getState ( ) ) != ( android.bluetooth.BluetoothAdapter.STATE_ON ) ) return null ; return null ; }

Target:
public void onBrEdrDown ( ) { if ( android.bluetooth.BluetoothAdapter.VDBG ) android.util.Log.i ( android.bluetooth.BluetoothAdapter.TAG , ( "onBrEdrDown: " + ( mService ) ) ) ; }
Source:
boolean isLibrary ( ) { return true ; }

Target:
public boolean hasTestScope ( ) { return true ; }
Source:
public void testIntegerArray ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.array.config_virtualKeyVibePattern ; final int [ ] expected = new int [ ] { 0 , 10 , 20 , 30 } ; assertResource ( resId , expected , expected ) ; }

Target:
public void testMatrix110001 ( ) throws java.lang.Throwable { final int resId = R.integer.matrix_110001 ; setLocale ( "sv_SE" ) ; assertResource ( resId , 200 , 200 , 600 ) ; }
Source:
public void upgradeToVideo ( ) { }

Target:
public void upgradeToVideo ( @ android.support.annotation.NonNull android.content.Context context ) { }
Source:
public java.util.List < java.lang.String > getProjectDependenciesPath ( ) { return java.util.Collections.emptyList ( ) ; }

Target:
public java.util.List < java.lang.String > getProjects ( ) { return projects ; }
Source:
public void await ( java.util.concurrent.Semaphore semaphore ) { try { assertTrue ( semaphore.tryAcquire ( jsr166.JSR166TestCase.LONG_DELAY_MS , java.util.concurrent.TimeUnit.MILLISECONDS ) ) ; } catch ( java.lang.Throwable t ) { threadUnexpectedException ( t ) ; } }

Target:
public void await ( java.util.concurrent.CountDownLatch latch ) { try { assertTrue ( latch.await ( jsr166.JSR166TestCase.LONG_DELAY_MS , java.util.concurrent.TimeUnit.MILLISECONDS ) ) ; } catch ( java.lang.Throwable fail ) { threadUnexpectedException ( fail ) ; } }
Source:
public static void write ( int id , int field1 , int field2 ) { }

Target:
public static void write ( int id , int field1 , int field2 , int field3 ) { }
Source:
public void test_plusWeeks_overLeapYears ( ) { java.time.LocalDate t = TEST_2007_07_15.plusYears ( ( - 1 ) ) . plusWeeks ( 104 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2008 , 7 , 12 ) ) ; }

Target:
public void test_plusWeeks_overLeapYears ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.plusYears ( ( - 1 ) ) . plusWeeks ( 104 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2008 , 7 , 12 ) ) ; }
Source:
public static void rem ( ) { Main.remInt ( ) ; Main.remLong ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main.remInt ( ) ; Main.remLong ( ) ; }
Source:
synchronized void nAllocationData1D ( long id , int off , int mip , int count , long [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }

Target:
synchronized void nAllocationData1D ( long id , int off , int mip , int count , java.lang.Object d , int sizeBytes , android.support.v8.renderscript.Element.DataType dt ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes , dt.mID ) ; }
Source:
public static com.android.newbubble.NewBubbleInfo.Action.Builder builder ( ) { return new com.android.newbubble.AutoValue_NewBubbleInfo_Action.Builder ( ) . setCheckable ( true ) . setChecked ( false ) ; }

Target:
public static com.android.bubble.BubbleInfo.Action.Builder builder ( ) { return new com.android.bubble.AutoValue_BubbleInfo_Action.Builder ( ) . setCheckable ( true ) . setChecked ( false ) ; }
Source:
public void visitVarInsn ( int opcode , int var ) { printer.visitVarInsn ( opcode , var ) ; printTypeOfOperandStackTop ( ) ; super . visitVarInsn ( opcode , var ) ; }

Target:
public void visitTypeInsn ( int opcode , java.lang.String type ) { printer.visitTypeInsn ( opcode , type ) ; printTypeOfOperandStack ( ) ; super . visitTypeInsn ( opcode , type ) ; }
Source:
public void callSessionConferenceExtendReceived ( com.android.ims.internal.IImsCallSession i , com.android.ims.internal.IImsCallSession newSession , android.telephony.ims.ImsCallProfile imsCallProfile ) throws android.os.RemoteException { mNewListener.callSessionConferenceExtendReceived ( newSession , imsCallProfile ) ; }

Target:
public void callSessionMergeStarted ( com.android.ims.internal.IImsCallSession i , com.android.ims.internal.IImsCallSession newSession , android.telephony.ims.ImsCallProfile profile ) throws android.os.RemoteException { mNewListener.callSessionMergeStarted ( newSession , profile ) ; }
Source:
public static native void EC_GROUP_clear_free ( int ctx ) ;

Target:
public static native byte [ ] i2d_DSAPublicKey ( long dsa ) ;
Source:
public void onPause ( ) { super . onPause ( ) ; loaderCallback.unregisterContentObserver ( ) ; }

Target:
public void onResume ( ) { super . onResume ( ) ; getLoaderManager ( ) . restartLoader ( com.android.dialer.speeddial.SpeedDialFragment.STREQUENT_CONTACTS_LOADER_ID , null , loaderCallback ) ; }
Source:
private static int bits64 ( long x ) { return java.lang.Long.bitCount ( x ) ; }

Target:
private static int $noinline$BitCountLong ( long x ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return java.lang.Long.bitCount ( x ) ; }
Source:
public int uint32 ( ) throws java.io.IOException { return int32 ( ) ; }

Target:
public short uint16 ( ) throws java.io.IOException { return ( ( short ) ( uintv ( ) ) ) ; }
Source:
public void setRingerModeInternal ( int ringerMode ) { try { android.media.AudioManager.getService ( ) . setRingerModeInternal ( ringerMode , mApplicationContext.getOpPackageName ( ) ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.media.AudioManager.TAG , "Error calling setRingerModeInternal" , e ) ; } }

Target:
public void setRingerModeInternal ( int ringerMode ) { try { android.media.AudioManager.getService ( ) . setRingerModeInternal ( ringerMode , getContext ( ) . getOpPackageName ( ) ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.media.AudioManager.TAG , "Error calling setRingerModeInternal" , e ) ; } }
Source:
public void onSearchBarClicked ( ) { com.android.dialer.common.LogUtil.enterBlock ( "MainSearchController.onSearchBarClicked" ) ; com.android.dialer.logging.Logger.get ( mainActivity ) . logImpression ( DialerImpression.Type.NUI_CLICK_SEARCH_BAR ) ; openSearch ( com.google.common.base.Optional.absent ( ) ) ; }

Target:
public void onSearchBarClicked ( ) { com.android.dialer.common.LogUtil.enterBlock ( "MainSearchController.onSearchBarClicked" ) ; com.android.dialer.logging.Logger.get ( mainActivity ) . logImpression ( DialerImpression.Type.MAIN_CLICK_SEARCH_BAR ) ; openSearch ( com.google.common.base.Optional.absent ( ) ) ; }
Source:
public void autoRoamToNetwork ( int networkId , android.net.wifi.ScanResult scanResult ) { sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_AUTO_ROAM , networkId , 0 , scanResult ) ; }

Target:
public void startRoamToNetwork ( int networkId , android.net.wifi.ScanResult scanResult ) { sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_START_ROAM , networkId , 0 , scanResult ) ; }
Source:
public void testNonTranslatable1 ( ) throws java.lang.Exception { TranslationDetector.COMPLETE_REGIONS = true ; assertEquals ( ( "res/values-nb/nontranslatable.xml:3: Error: The resource string \"dummy\" has been marked as translatable=\"false\" [ExtraTranslation]\n" + ( ( ( " <string name=\"dummy\">Ignore Me</string>\n" + " ~~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) + "" ) ) , lintProject ( "res/values/nontranslatable.xml" , "res/values/nontranslatable2.xml=>res/values-nb/nontranslatable.xml" ) ) ; }

Target:
public void testNonTranslatable1 ( ) throws java.lang.Exception { TranslationDetector.sCompleteRegions = true ; assertEquals ( ( "res/values-nb/nontranslatable.xml:3: Error: The resource string \"dummy\" has been marked as translatable=\"false\" [ExtraTranslation]\n" + ( ( ( " <string name=\"dummy\">Ignore Me</string>\n" + " ~~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) + "" ) ) , lintProject ( "res/values/nontranslatable.xml" , "res/values/nontranslatable2.xml=>res/values-nb/nontranslatable.xml" ) ) ; }
Source:
public void writeOnImsCallReceive ( int phoneId , com.android.ims.internal.ImsCallSession session ) { com.android.internal.telephony.metrics.InProgressCallSession callSession = startNewCallSessionIfNeeded ( phoneId ) ; callSession.addEvent ( new com.android.internal.telephony.metrics.CallSessionEventBuilder ( com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.RilCall.Type.IMS_CALL_RECEIVE ) . setCallIndex ( getCallId ( session ) ) ) ; }

Target:
public void writeOnImsCallStart ( int phoneId , android.telephony.ims.ImsCallSession session ) { com.android.internal.telephony.metrics.InProgressCallSession callSession = startNewCallSessionIfNeeded ( phoneId ) ; callSession.addEvent ( new com.android.internal.telephony.metrics.CallSessionEventBuilder ( com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.RilCall.Type.IMS_COMMAND ) . setCallIndex ( getCallId ( session ) ) . setImsCommand ( TelephonyCallSession.Event.ImsCommand.IMS_CMD_START ) ) ; }
Source:
public boolean startTraceSeed ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField field ) { com.android.jack.shrob.seed.SeedMarker marker = field.getMarker ( com.android.jack.shrob.seed.SeedMarker.class ) ; return ( marker != null ) && ( ( marker.getModifier ( ) ) != ( com.android.jack.shrob.spec.KeepModifier.ALLOW_SHRINKING ) ) ; }

Target:
public boolean startTraceSeed ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField field ) { com.android.jack.shrob.seed.SeedMarker marker = field.getMarker ( com.android.jack.shrob.seed.SeedMarker.class ) ; return ( marker != null ) && ( ! ( marker.getModifier ( ) . allowShrinking ( ) ) ) ; }
Source:
public void onTargetChange ( ) { mConfigComposite.onXmlModelLoaded ( ) ; mConfigListener.onConfigurationChange ( ) ; }

Target:
public void onTargetChange ( ) { com.android.ide.eclipse.adt.internal.sdk.AndroidTargetData targetData = mConfigComposite.onXmlModelLoaded ( ) ; if ( targetData != null ) { com.android.ide.eclipse.adt.internal.sdk.AndroidTargetData.LayoutBridge bridge = targetData.getLayoutBridge ( ) ; setClippingSupport ( ( ( bridge.apiLevel ) >= 4 ) ) ; } mConfigListener.onConfigurationChange ( ) ; }
Source:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVFile file , boolean append ) throws com.android.sched.util.file.WrongPermissionException { return file.getEncodedFile ( ) . getOutputStream ( append ) ; }

Target:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVFile file , boolean append ) throws com.android.sched.util.file.WrongPermissionException { assert ! ( isClosed ( ) ) ; return file.getEncodedFile ( ) . getOutputStream ( append ) ; }
Source:
public void getConfig ( com.android.ide.common.resources.configuration.FolderConfiguration config ) { config.set ( mConfig ) ; }

Target:
public void getConfig ( com.android.ide.common.resources.configuration.FolderConfiguration config ) { config.set ( mConfig ) ; config.updateScreenWidthAndHeight ( ) ; }
Source:
public int getBasicConstraints ( ) { if ( ( extensions ) == null ) { return java.lang.Integer.MAX_VALUE ; } return extensions.valueOfBasicConstrains ( ) ; }

Target:
public int getBasicConstraints ( ) { if ( ( extensions ) == null ) { return - 1 ; } return extensions.valueOfBasicConstraints ( ) ; }
Source:
private void connectNativeNetdService ( ) { java.lang.Thread t = new java.lang.Thread ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { synchronized ( com.android.server.IpSecService.this ) { android.net.util.NetdService.get ( com.android.server.IpSecService.NETD_FETCH_TIMEOUT ) ; } } } ) ; t.run ( ) ; }

Target:
private void connectNativeNetdService ( ) { new java.lang.Thread ( ) { @ java.lang.Override public void run ( ) { synchronized ( com.android.server.IpSecService.this ) { android.net.util.NetdService.get ( com.android.server.IpSecService.NETD_FETCH_TIMEOUT_MS ) ; } } } . start ( ) ; }
Source:
private com.android.server.pm.dex.PackageDexUsage.PackageUseInfo getPackageUseInfo ( com.android.server.pm.dex.DexManagerTests.TestData testData ) { org.junit.Assert.assertTrue ( mDexManager.hasInfoOnPackage ( testData.mPackageInfo.packageName ) ) ; return mDexManager.getPackageUseInfoOrDefault ( testData.mPackageInfo.packageName ) ; }

Target:
private void assertNoUseInfo ( com.android.server.pm.dex.DexManagerTests.TestData testData ) { org.junit.Assert.assertFalse ( mDexManager.hasInfoOnPackage ( testData.getPackageName ( ) ) ) ; }
Source:
public static com.google.gct.testing.GoogleCloudTestingCustomPersistentConfigurations getInstance ( com.intellij.openapi.project.Project project ) { return com.google.gct.testing.ServiceManager.getService ( project , com.google.gct.testing.GoogleCloudTestingCustomPersistentConfigurations.class ) ; }

Target:
public static com.google.gct.testing.GoogleCloudTestingCustomPersistentConfigurations getInstance ( com.intellij.openapi.module.Module module ) { return com.intellij.openapi.module.ModuleServiceManager.getService ( module , com.google.gct.testing.GoogleCloudTestingCustomPersistentConfigurations.class ) ; }
Source:
public java.util.Collection < V > remove ( java.lang.Object key ) { java.util.Collection < V > collection = removeAll ( key ) ; return collection.isEmpty ( ) ? null : collection ; }

Target:
public java.util.Collection < V > remove ( java.lang.Object key ) { return containsKey ( key ) ? multimap.removeAll ( key ) : null ; }
Source:
public void setConnectionActive ( ) { mMediaPlayer.start ( ) ; setActive ( ) ; }

Target:
public void setConnectionActive ( ) { mMediaPlayer.start ( ) ; setActive ( ) ; if ( ( mListener ) != null ) { mListener.onConnectionStateChanged ( this ) ; } }
Source:
public void run ( ) { Main.FinalizerTest ft = new Main.FinalizerTest ( "wahoo" ) ; wimp.add ( new java.lang.ref.WeakReference < Main.FinalizerTest > ( ft ) ) ; ft = null ; }

Target:
public static java.lang.ref.WeakReference < Main.FinalizerTest > makeRef ( ) { Main.FinalizerTest ft = new Main.FinalizerTest ( "wahoo" ) ; java.lang.ref.WeakReference < Main.FinalizerTest > ref = new java.lang.ref.WeakReference < Main.FinalizerTest > ( ft ) ; ft = null ; return ref ; }
Source:
public static void addNoCache ( org.jetbrains.io.HttpResponse response ) { response.headers ( ) . add ( org.jetbrains.io.CACHE_CONTROL , "no-cache, no-store, must-revalidate, max-age=0" ) ; response.headers ( ) . add ( org.jetbrains.io.PRAGMA , "no-cache" ) ; }

Target:
public static void addNoCache ( org.jetbrains.io.HttpResponse response ) { response.headers ( ) . add ( HttpHeaders.Names.CACHE_CONTROL , "no-cache, no-store, must-revalidate, max-age=0" ) ; response.headers ( ) . add ( HttpHeaders.Names.PRAGMA , "no-cache" ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; validatePage ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; prefillWithDeviceConfig ( ) ; validatePage ( ) ; }
Source:
public void callSessionRemoveParticipantsRequestDelivered ( com.android.ims.internal.IImsCallSession i ) throws android.os.RemoteException { mNewListener.callSessionRemoveParticipantsRequestDelivered ( ) ; }

Target:
public void callSessionResumed ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsCallProfile imsCallProfile ) throws android.os.RemoteException { mNewListener.callSessionResumed ( imsCallProfile ) ; }
Source:
public void cancelSession ( java.lang.String callingPackage , byte [ ] transactionId , @ android.telephony.euicc.EuiccCardManager.CancelReason int reason , com.android.internal.telephony.euicc.ICancelSessionCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onException ( java.lang.Throwable e ) { try { callback.onComplete ( getResultCode ( e ) , null ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public void test_formatToCharacterIteratorLjava_lang_Object ( ) { try { new java.text.DecimalFormat ( ) . formatToCharacterIterator ( null ) ; fail ( "NullPointerException expected" ) ; } catch ( java.lang.NullPointerException e ) { } new org.apache.harmony.tests.java.text.Support_DecimalFormat ( "test_formatToCharacterIteratorLjava_lang_Object" ) . t_formatToCharacterIterator ( ) ; }

Target:
public void test_formatToCharacterIterator_original ( ) { new org.apache.harmony.tests.java.text.Support_DecimalFormat ( "test_formatToCharacterIteratorLjava_lang_Object" ) . t_formatToCharacterIterator ( ) ; }
Source:
public boolean hasResourcesOfType ( @ com.android.annotations.NonNull com.android.resources.ResourceType type ) { java.util.Map < java.lang.String , com.android.ide.common.resources.ResourceItem > items = mResourceMap.get ( type ) ; return ( items != null ) && ( ( items.size ( ) ) > 0 ) ; }

Target:
public boolean hasResourcesOfType ( @ com.android.annotations.NonNull com.android.resources.ResourceType type ) { ensureInitialized ( ) ; java.util.Map < java.lang.String , com.android.ide.common.resources.ResourceItem > items = mResourceMap.get ( type ) ; return ( items != null ) && ( ( items.size ( ) ) > 0 ) ; }
Source:
public void onResult ( android.os.Bundle data ) { android.net.RecommendationResult result = data.getParcelable ( android.net.NetworkRecommendationProvider.EXTRA_RECOMMENDATION_RESULT ) ; callback.onRecommendationAvailable ( result ) ; }

Target:
public void onResult ( android.os.Bundle data ) { android.net.RecommendationResult result = data.getParcelable ( android.net.NetworkRecommendationProvider.EXTRA_RECOMMENDATION_RESULT ) ; futureResult.complete ( result ) ; }