auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void testRefactor1_noreferences ( ) throws java.lang.Exception { renameType ( com.android.ide.eclipse.adt.internal.refactorings.core.TEST_PROJECT , "com.example.refactoringtest.MainActivity" , false , "NewActivityName" , ( "CHANGES:\n" + ( "-------\n" + "* Rename compilation unit 'MainActivity.java' to 'NewActivityName.java'" ) ) ) ; }

Target:
public void testRefactor1_noreferences ( ) throws java.lang.Exception { renameType ( com.android.ide.eclipse.adt.internal.refactorings.core.TEST_PROJECT , "com.example.refactoringtest.MainActivity" , false , "NewActivityName" , ( "CHANGES:\n" + ( "-------\n" + "[x] Rename compilation unit 'MainActivity.java' to 'NewActivityName.java'" ) ) ) ; }
Source:
public boolean matches ( java.lang.Object obj ) { return ! ( ( ( android.hardware.camera2.impl.CameraMetadataNative ) ( obj ) ) . isEmpty ( ) ) ; }

Target:
public boolean matchesObject ( java.lang.Object obj ) { return ! ( ( ( android.hardware.camera2.impl.CameraMetadataNative ) ( obj ) ) . isEmpty ( ) ) ; }
Source:
public void testVFE7 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.check_cast.d.T_check_cast_9" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.check_cast.d.T_check_cast_1" , java.lang.ClassCastException.class , new java.lang.Integer ( 1 ) ) ; }
Source:
public byte readByte ( ) { checkType ( com.android.dx.io.EncodedValueReader.ENCODED_BYTE ) ; type = com.android.dx.io.EncodedValueReader.MUST_READ ; return ( ( byte ) ( com.android.dx.util.EncodedValueUtils.readSignedInt ( in , arg ) ) ) ; }

Target:
public byte readByte ( ) { checkType ( com.android.dex.EncodedValueReader.ENCODED_BYTE ) ; type = com.android.dex.EncodedValueReader.MUST_READ ; return ( ( byte ) ( com.android.dex.EncodedValueCodec.readSignedInt ( in , arg ) ) ) ; }
Source:
private static void setShuttingDown ( android.content.Context context , boolean value ) { android.preference.PreferenceManager.getDefaultSharedPreferences ( context ) . edit ( ) . putBoolean ( com.android.voicemail.impl.OmtpService.IS_SHUTTING_DOWN , value ) . apply ( ) ; }

Target:
private static void setShuttingDown ( android.content.Context context , boolean value ) { android.preference.PreferenceManager.getDefaultSharedPreferences ( context.getApplicationContext ( ) ) . edit ( ) . putBoolean ( com.android.voicemail.impl.OmtpService.IS_SHUTTING_DOWN , value ) . apply ( ) ; }
Source:
public int intValue ( ) { return sun.util.logging.PlatformLogger.Level.levelValues [ this . ordinal ( ) ] ; }

Target:
public int intValue ( ) { return sun.util.logging.PlatformLogger.Level.LEVEL_VALUES [ this . ordinal ( ) ] ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setTargetBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 8 ; target_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBranchBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 8 ; branch_ = value ; onChanged ( ) ; return this ; }
Source:
public void enforceTetherChangePermission ( android.content.Context context ) { android.net.ConnectivityManager.enforceTetherChangePermission ( context ) ; }

Target:
public void enforceTetherChangePermission ( android.content.Context context ) { java.lang.String pkgName = context.getOpPackageName ( ) ; android.net.ConnectivityManager.enforceTetherChangePermission ( context , pkgName ) ; }
Source:
public void shutdown ( ) { wifiLockRelease ( ) ; if ( ( mTrackingWifiStateChange ) == true ) { wifiStopTrackingStateChange ( ) ; } }

Target:
public void shutdown ( ) { wifiLockRelease ( ) ; if ( ( mTrackingWifiStateChange ) == true ) { wifiStopTrackingStateChange ( ) ; } if ( ( mTrackingTetherStateChange ) == true ) { wifiStopTrackingTetherStateChange ( ) ; } }
Source:
public void checkValidity ( ) { if ( ! ( ( ( parent ) instanceof com.android.jack.ir.ast.JExpression ) || ( ( parent ) instanceof com.android.jack.ir.ast.JStatement ) ) ) { throw new com.android.jack.ir.JNodeInternalError ( this , "Invalid parent" ) ; } }

Target:
public void checkValidity ( ) { if ( ! ( ( ( ( parent ) instanceof com.android.jack.ir.ast.JExpression ) || ( ( parent ) instanceof com.android.jack.ir.ast.JStatement ) ) || ( ( parent ) instanceof com.android.jack.ir.ast.cfg.JBasicBlockElement ) ) ) { throw new com.android.jack.ir.JNodeInternalError ( this , "Invalid parent" ) ; } }
Source:
public void testFindView_Exists ( ) { android.view.View root = setUpViewHierarchy ( ) ; android.view.View foundView = android.support.test.espresso.assertion.PositionAssertions.findView ( android.support.test.espresso.matcher.ViewMatchers.withText ( text1 ) , root ) ; assertNotNull ( foundView ) ; }

Target:
public void findView_Exists ( ) { android.view.View root = setUpViewHierarchy ( ) ; android.view.View foundView = android.support.test.espresso.assertion.PositionAssertions.findView ( android.support.test.espresso.matcher.ViewMatchers.withText ( text1 ) , root ) ; org.junit.Assert.assertNotNull ( foundView ) ; }
Source:
private com.android.draw9patch.ui.ImageViewer.UpdateRegionInfo getVerticalPatchLeft ( int y ) { return getContainingPatch ( patchInfo.verticalPatchMarkers , y , com.android.draw9patch.ui.ImageViewer.UpdateRegion.LEFT_PATCH ) ; }

Target:
private void updateDrawMode ( java.awt.event.MouseEvent event ) { if ( event.isShiftDown ( ) ) { currentMode = com.android.draw9patch.ui.ImageViewer.DrawMode.ERASE ; } else if ( event.isControlDown ( ) ) { currentMode = com.android.draw9patch.ui.ImageViewer.DrawMode.LAYOUT_BOUND ; } else { currentMode = com.android.draw9patch.ui.ImageViewer.DrawMode.PATCH ; } }
Source:
public void setSingleResponse ( boolean singleResponse ) { this . singleResponse = singleResponse ; }

Target:
public void setDispatcher ( com.google.mockwebserver.Dispatcher dispatcher ) { if ( dispatcher == null ) { throw new java.lang.NullPointerException ( ) ; } this . dispatcher = dispatcher ; }
Source:
public com.android.tools.lint.client.api.IDomParser getDomParser ( ) { return mDelegate.getDomParser ( ) ; }

Target:
public com.android.tools.lint.client.api.JavaParser getJavaParser ( @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Project project ) { return mDelegate.getJavaParser ( project ) ; }
Source:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback , int timeoutMs , int legacyType ) { sendRequestForNetwork ( request.networkCapabilities , networkCallback , timeoutMs , android.net.ConnectivityManager.REQUEST , legacyType ) ; }

Target:
public void registerNetworkCallback ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback , android.os.Handler handler ) { android.net.ConnectivityManager.CallbackHandler cbHandler = new android.net.ConnectivityManager.CallbackHandler ( handler ) ; android.net.NetworkCapabilities nc = request.networkCapabilities ; sendRequestForNetwork ( nc , networkCallback , 0 , android.net.ConnectivityManager.LISTEN , android.net.ConnectivityManager.TYPE_NONE , cbHandler ) ; }
Source:
public void setOutput ( com.android.builder.AndroidDependency output ) { mOutput = output ; }

Target:
public com.android.builder.VariantConfiguration setOutput ( com.android.builder.AndroidDependency output ) { mOutput = output ; return this ; }
Source:
public void testResOverlay ( ) { assertFalse ( "FA" . equals ( mResOverLay.getText ( ) ) ) ; assertEquals ( "FA" , mResOverLay2.getText ( ) ) ; }

Target:
public void testResOverlay ( ) { assertFalse ( "fa" . equals ( mResOverLay.getText ( ) ) ) ; assertEquals ( "fa" , mResOverLay2.getText ( ) ) ; }
Source:
public com.android.sdklib.repository.local.LocalExtraPkgInfo getExtra ( java.lang.String vendorPath ) { return ( ( com.android.sdklib.repository.local.LocalExtraPkgInfo ) ( getPkgInfo ( com.android.sdklib.repository.local.LocalSdk.PKG_EXTRAS , vendorPath ) ) ) ; }

Target:
public com.android.sdklib.repository.local.LocalExtraPkgInfo getExtra ( @ com.android.annotations.NonNull java.lang.String vendorPath ) { return ( ( com.android.sdklib.repository.local.LocalExtraPkgInfo ) ( getPkgInfo ( PkgType.PKG_EXTRAS , vendorPath ) ) ) ; }
Source:
public void answerVideo ( java.lang.String callId , int videoState ) throws android.os.RemoteException { }

Target:
public void abort ( java.lang.String callId , android.telecom.Logging.Session.Info info ) throws android.os.RemoteException { }
Source:
protected synchronized void create ( ) { mCreated = true ; }

Target:
protected void create ( ) { android.util.Log.i ( com.android.bluetooth.hfp.HeadsetService.TAG , "create()" ) ; if ( mCreated ) { throw new java.lang.IllegalStateException ( "create() called twice" ) ; } mCreated = true ; }
Source:
public void test_WeekFields_week_based_year ( ) { java.util.Locale locale = java.util.Locale.US ; java.time.temporal.TemporalField weekOfYearField = java.time.temporal.WeekFields.SUNDAY_START.weekOfYear ( ) ; java.lang.String name = weekOfYearField.getDisplayName ( locale ) ; org.testng.Assert.assertEquals ( name , "Week" ) ; }

Target:
public void test_WeekFields_week_based_year ( ) { java.util.Locale locale = java.util.Locale.US ; java.time.temporal.TemporalField weekOfYearField = java.time.temporal.WeekFields.SUNDAY_START.weekOfYear ( ) ; java.lang.String name = weekOfYearField.getDisplayName ( locale ) ; org.testng.Assert.assertEquals ( name , "week" ) ; }
Source:
public void unplug ( long batteryUptime , long batteryRealtime ) { mUnpluggedUserTime = mUserTime ; mUnpluggedSystemTime = mSystemTime ; mUnpluggedStarts = mStarts ; mUnpluggedForegroundTime = mForegroundTime ; }

Target:
public void unplug ( long elapsedRealtime , long batteryUptime , long batteryRealtime ) { mUnpluggedUserTime = mUserTime ; mUnpluggedSystemTime = mSystemTime ; mUnpluggedStarts = mStarts ; mUnpluggedForegroundTime = mForegroundTime ; }
Source:
public boolean catchesAll ( ) { int size = size ( ) ; if ( size == 0 ) { return false ; } com.android.jack.dx.dex.code.CatchHandlerList.Entry last = get ( ( size - 1 ) ) ; return last.getExceptionType ( ) . equals ( CstType.OBJECT ) ; }

Target:
public boolean catchesAll ( ) { int size = size ( ) ; if ( size == 0 ) { return false ; } com.android.jack.dx.dex.code.CatchHandlerList.Entry last = get ( ( size - 1 ) ) ; return last.getExceptionType ( ) . equals ( Type.OBJECT ) ; }
Source:
synchronized int nScriptFieldIDCreate ( int sid , int slot ) { validate ( ) ; return rsnScriptFieldIDCreate ( mContext , sid , slot ) ; }

Target:
synchronized void nScriptSetVarF ( long id , int slot , float val ) { validate ( ) ; rsnScriptSetVarF ( mContext , id , slot , val ) ; }
Source:
public int compare ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFile file1 , com.android.ide.eclipse.adt.internal.resources.manager.ResourceFile file2 ) { com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration fc1 = file1.getFolder ( ) . getConfiguration ( ) ; com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration fc2 = file2.getFolder ( ) . getConfiguration ( ) ; return fc1.compareTo ( fc2 ) ; }

Target:
public int compare ( com.android.ide.common.resources.ResourceFile file1 , com.android.ide.common.resources.ResourceFile file2 ) { com.android.ide.common.resources.configuration.FolderConfiguration fc1 = file1.getFolder ( ) . getConfiguration ( ) ; com.android.ide.common.resources.configuration.FolderConfiguration fc2 = file2.getFolder ( ) . getConfiguration ( ) ; return fc1.compareTo ( fc2 ) ; }
Source:
com.android.ide.common.blame.SourcePosition getNodePosition ( com.android.manifmerger.XmlNode node ) { return getNodePosition ( node.getXml ( ) ) ; }

Target:
static com.android.ide.common.blame.SourcePosition getNodePosition ( com.android.manifmerger.XmlNode node ) { return com.android.manifmerger.XmlDocument.getNodePosition ( node.getXml ( ) ) ; }
Source:
public long setupIncomingEnrichedCall ( java.lang.String number ) { return - 1 ; }

Target:
public com.google.common.util.concurrent.ListenableFuture < java.lang.Void > setupIncomingEnrichedCall ( java.lang.String number ) { return com.google.common.util.concurrent.Futures.immediateFuture ( null ) ; }
Source:
public void testCallMethodOnCreatedFeature ( ) throws android.os.RemoteException { com.android.ims.internal.IImsMMTelFeature f = mTestImsServiceBinder.createMMTelFeature ( android.telephony.ims.ImsServiceTest.TEST_SLOT_0 , mTestCallback ) ; f.isConnected ( 0 , 0 ) ; junit.framework.Assert.assertTrue ( mTestImsService.mTestMMTelFeature.isConnectedCalled ) ; }

Target:
public void testCallMethodOnCreatedFeature ( ) throws android.os.RemoteException { android.telephony.ims.aidl.IImsMmTelFeature f = mTestImsServiceBinder.createMmTelFeature ( android.telephony.ims.ImsServiceTest.TEST_SLOT_0 , mTestCallback ) ; f.getUtInterface ( ) ; junit.framework.Assert.assertTrue ( mTestImsService.mTestMmTelFeature.isUtInterfaceCalled ) ; }
Source:
public void visitRuntimeInvisibleParameterAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeInvisibleParameterAnnotationsAttribute runtimeInvisibleParameterAnnotationsAttribute ) { if ( accepted ( clazz , runtimeInvisibleParameterAnnotationsAttribute ) ) { runtimeInvisibleParameterAnnotationsAttribute.accept ( clazz , method , attributeVisitor ) ; } }

Target:
public void visitRuntimeVisibleParameterAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeVisibleParameterAnnotationsAttribute runtimeVisibleParameterAnnotationsAttribute ) { if ( accepted ( clazz , runtimeVisibleParameterAnnotationsAttribute ) ) { attributeVisitor.visitRuntimeVisibleParameterAnnotationsAttribute ( clazz , method , runtimeVisibleParameterAnnotationsAttribute ) ; } }
Source:
public com.google.common.hash.Hasher putString ( java.lang.CharSequence charSequence ) { for ( int i = 0 , len = charSequence.length ( ) ; i < len ; i ++ ) { putChar ( charSequence.charAt ( i ) ) ; } return this ; }

Target:
public com.google.common.hash.Hasher putUnencodedChars ( java.lang.CharSequence charSequence ) { for ( int i = 0 , len = charSequence.length ( ) ; i < len ; i ++ ) { putChar ( charSequence.charAt ( i ) ) ; } return this ; }
Source:
private int getCountryCodeForValidRegion ( java.lang.String regionCode ) { com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata metadata = getMetadataForRegion ( regionCode ) ; if ( metadata == null ) { throw new java.lang.IllegalArgumentException ( ( "Invalid region code: " + regionCode ) ) ; } return metadata.getCountryCode ( ) ; }

Target:
private int getCountryCodeForValidRegion ( java.lang.String regionCode ) { com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneMetadata metadata = getMetadataForRegion ( regionCode ) ; if ( metadata == null ) { throw new java.lang.IllegalArgumentException ( ( "Invalid region code: " + regionCode ) ) ; } return metadata.countryCode ; }
Source:
synchronized void nScriptSetVarVE ( long id , int slot , byte [ ] val , long e , int [ ] dims ) { validate ( ) ; rsnScriptSetVarVE ( mContext , id , slot , val , e , dims ) ; }

Target:
synchronized long nScriptFieldIDCreate ( long sid , int slot , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } return rsnScriptFieldIDCreate ( curCon , sid , slot , mUseInc ) ; }
Source:
private boolean visitThrowingRValue ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JExpression expr ) { assert expr.canThrow ( ) ; confirmBlockElement ( expr ) ; confirmThrowingPosition ( expr ) ; confirmVarAsgValue ( expr , com.android.jack.ir.ast.cfg.JVariableAsgBlockElement.class ) ; return true ; }

Target:
private boolean visitNonThrowingTriviaRValue ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JExpression expr ) { assert ! ( expr.canThrow ( ) ) ; confirmBlockElement ( expr ) ; confirmParentForTrivia ( expr ) ; confirmNotAssignmentTarget ( expr ) ; return true ; }
Source:
public java.lang.Object [ ] toArray ( ) { java.lang.Object [ ] newArray = new java.lang.Object [ size ( ) ] ; return toArray ( newArray ) ; }

Target:
public com.google.common.collect.UnmodifiableIterator < com.google.common.collect.Multiset.Entry < E > > iterator ( ) { return asList ( ) . iterator ( ) ; }
Source:
public void perform ( android.support.test.espresso.UiController uiController , android.view.View view ) { ( ( android.support.v4.widget.DrawerLayout ) ( view ) ) . closeDrawer ( gravity ) ; }

Target:
protected void performAction ( android.support.v4.widget.DrawerLayout view ) { view.closeDrawer ( gravity ) ; }
Source:
public java.util.regex.Matcher reset ( ) { return reset ( input , 0 , input.length ( ) ) ; }

Target:
public java.util.regex.Matcher reset ( ) { return reset ( originalInput , 0 , originalInput.length ( ) ) ; }
Source:
public boolean isVideoTelephonyAvailable ( ) { try { return getITelephony ( ) . isVideoTelephonyAvailable ( ) ; } catch ( android.os.RemoteException ex ) { return false ; } catch ( java.lang.NullPointerException ex ) { return false ; } }

Target:
public boolean isVolteAvailable ( ) { try { return getITelephony ( ) . isVolteAvailable ( getSubId ( ) ) ; } catch ( android.os.RemoteException | java.lang.NullPointerException ex ) { return false ; } }
Source:
public int import_key ( java.lang.String name , byte [ ] data , int uid ) throws android.os.RemoteException ;

Target:
public int generate ( java.lang.String name , int uid , int flags ) throws android.os.RemoteException ;
Source:
private static void onDisabledEvent ( int status ) { if ( com.android.server.wifi.aware.WifiAwareNative.VDBG ) android.util.Log.v ( com.android.server.wifi.aware.WifiAwareNative.TAG , ( "onDisabledEvent: status=" + status ) ) ; com.android.server.wifi.aware.WifiAwareStateManager.getInstance ( ) . onAwareDownNotification ( status ) ; }

Target:
private static void onDisabledEvent ( int status ) { if ( com.android.server.wifi.aware.WifiAwareNative.VDBG ) android.util.Log.v ( com.android.server.wifi.aware.WifiAwareNative.TAG , ( "onDisabledEvent: status=" + status ) ) ; com.android.server.wifi.aware.WifiAwareNative.sWifiAwareStateManager.onAwareDownNotification ( status ) ; }
Source:
public void unregisterMediaButtonEventReceiverForCalls ( ) { mMediaFocusControl.unregisterMediaButtonEventReceiverForCalls ( ) ; }

Target:
private void saveMusicActiveMs ( ) { mAudioHandler.obtainMessage ( android.media.AudioService.MSG_PERSIST_MUSIC_ACTIVE_MS , mMusicActiveMs , 0 ) . sendToTarget ( ) ; }
Source:
public void doImport ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) { for ( com.android.sched.vfs.InputVDir resourceDir : resourceDirs ) { importResourceDirElement ( resourceDir , session , "" ) ; } }

Target:
public void doImport ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) { for ( com.android.sched.vfs.InputVDir resourceDir : resourceDirs ) { importResourceDirElement ( resourceDir.list ( ) , session , "" ) ; } }
Source:
public void callSessionRttModifyResponseReceived ( int status ) throws android.os.RemoteException { mNewListener.callSessionRttModifyResponseReceived ( status ) ; }

Target:
public void callSessionInviteParticipantsRequestDelivered ( com.android.ims.internal.IImsCallSession i ) throws android.os.RemoteException { mNewListener.callSessionInviteParticipantsRequestDelivered ( ) ; }
Source:
public static java.lang.String getString ( ) { return "F1" ; }

Target:
public static java.lang.String getString ( ) { return "f1" ; }
Source:
public static boolean isRunningInTest ( ) { try { java.lang.Class.forName ( "com.android.tv.testing.Utils" ) ; return true ; } catch ( java.lang.ClassNotFoundException e ) { return false ; } }

Target:
public static synchronized boolean isRunningInTest ( ) { if ( ( com.android.tv.common.TvCommonUtils.sRunningInTest ) == null ) { try { java.lang.Class.forName ( "com.android.tv.testing.Utils" ) ; com.android.tv.common.TvCommonUtils.sRunningInTest = true ; } catch ( java.lang.ClassNotFoundException e ) { com.android.tv.common.TvCommonUtils.sRunningInTest = false ; } } return com.android.tv.common.TvCommonUtils.sRunningInTest ; }
Source:
protected char [ ] getAcceptedChars ( ) { return android.text.method.cts.NumberKeyListenerTest.MockNumberKeyListener.CHARACTERS ; }

Target:
protected char [ ] getAcceptedChars ( ) { return mAcceptedChars ; }
Source:
public void addI32 ( android.support.v8.renderscript.Int2 v ) { mN.addI32 ( new android.support.v8.renderscript.Int2 ( v.x , v.y ) ) ; }

Target:
public void addI32 ( android.support.v8.renderscript.Int2 v ) { mN.addI32 ( new android.support.v8.renderscript.Int2 ( v.x , v.y ) ) ; mPos += 8 ; }
Source:
public void testExact ( ) { org.junit.Assert.assertTrue ( new org.jacoco.core.runtime.WildcardMatcher ( "abc/def.txt" ) . matches ( "abc/def.txt" ) ) ; }

Target:
public void testExact ( ) { org.junit.Assert.assertTrue ( new org.jacoco.core.matcher.WildcardMatcher ( "abc/def.txt" ) . matches ( "abc/def.txt" ) ) ; }
Source:
protected java.util.List < java.time.temporal.TemporalAccessor > samples ( ) { java.time.temporal.TemporalAccessor [ ] array = new java.time.temporal.TemporalAccessor [ ] { TEST_12345_123456789 , java.time.Instant.MIN , java.time.Instant.MAX , java.time.Instant.EPOCH } ; return java.util.Arrays.asList ( array ) ; }

Target:
protected java.util.List < java.time.temporal.TemporalAccessor > samples ( ) { java.time.temporal.TemporalAccessor [ ] array = new java.time.temporal.TemporalAccessor [ ] { tck.java.time.TCKInstant.TEST_12345_123456789 , java.time.Instant.MIN , java.time.Instant.MAX , java.time.Instant.EPOCH } ; return java.util.Arrays.asList ( array ) ; }
Source:
public void onCustomAction ( java.lang.String action , android.os.Bundle extras ) { android.util.Log.d ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.TAG , ( ( ( "onCustomAction action=" + action ) + " extras=" ) + extras ) ) ; }

Target:
public void onRewind ( ) { android.util.Log.d ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.TAG , "onRewind" ) ; mAvrcpCommandQueue.obtainMessage ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.MSG_AVRCP_PASSTHRU , AvrcpControllerService.PASS_THRU_CMD_ID_REWIND ) . sendToTarget ( ) ; }
Source:
public static android.content.SyncStatusInfo getSyncStatus ( android.accounts.Account account , java.lang.String authority ) { try { return android.content.ContentResolver.getContentService ( ) . getSyncStatus ( account , authority ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( "the ContentService should always be reachable" , e ) ; } }

Target:
public static java.lang.String [ ] getSyncAdapterPackagesForAuthorityAsUser ( java.lang.String authority , int userId ) { try { return android.content.ContentResolver.getContentService ( ) . getSyncAdapterPackagesForAuthorityAsUser ( authority , userId ) ; } catch ( android.os.RemoteException e ) { } return com.android.internal.util.ArrayUtils.emptyArray ( java.lang.String.class ) ; }
Source:
public void onClick ( android.view.View v ) { toggleRecentApps ( ) ; }

Target:
public void onClick ( android.view.View v ) { awakenDreams ( ) ; toggleRecentApps ( ) ; }
Source:
public int hashCode ( ) { return java.util.Objects.hash ( fileServiceId , sourceUri , subscriptionId , serializedResultIntentForApp , version ) ; }

Target:
public int hashCode ( ) { return java.util.Objects.hash ( fileServiceId , sourceUri , destinationUri , subscriptionId , serializedResultIntentForApp , version ) ; }
Source:
public void test_SingletonMap_computeIfPresent ( ) { try { java.util.Collections.singletonMap ( 1 , 11.0 ) . computeIfPresent ( 1 , ( k , v ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }

Target:
public void test_EmptyMap_compute ( ) { try { java.util.Collections.emptyMap ( ) . compute ( 1 , ( k , v ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }
Source:
public void showDvrManager ( ) { android.content.Intent intent = new android.content.Intent ( mMainActivity , com.android.tv.dvr.ui.DvrActivity.class ) ; mMainActivity.startActivity ( intent ) ; }

Target:
public void showDvrManager ( ) { android.content.Intent intent = new android.content.Intent ( mMainActivity , com.android.tv.dvr.ui.browse.DvrBrowseActivity.class ) ; mMainActivity.startActivity ( intent ) ; }
Source:
public void test_F32_2_SCALE05_20_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 2 , 0.5F , 2.0F ) ; checkError ( ) ; }

Target:
public void test_F32_2_SCALE05_20_inSquare ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 2 , 0.5F , 2.0F ) ; checkError ( ) ; }
Source:
public boolean isFulfilled ( android.icu.text.PluralRules.FixedDecimal n ) { return ( a.isFulfilled ( n ) ) && ( b.isFulfilled ( n ) ) ; }

Target:
public boolean isFulfilled ( android.icu.text.PluralRules.IFixedDecimal n ) { return ( a.isFulfilled ( n ) ) && ( b.isFulfilled ( n ) ) ; }
Source:
public void onSelected ( boolean newState ) { mUseExplodeMode = newState ; recomputeLayout ( ) ; }

Target:
public void onSelected ( boolean newState ) { rescale ( ( + 1 ) ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { if ( mCheckSortApi.getSelection ( ) ) { refreshViewerInput ( ) ; copySelection ( true ) ; syncViewerSelection ( ) ; } }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; boolean selectNew = ( ( e.text ) == null ) || ( e.text.equals ( strLinkNew ) ) ; onSelectNewUpdates ( selectNew , ( ! selectNew ) , false ) ; }
Source:
public void stopRtt ( ) { try { mAdapter.stopRtt ( ) ; } catch ( android.os.RemoteException ignored ) { } }

Target:
public void respondToRttRequest ( java.lang.String callId , int id , boolean accept ) { try { mAdapter.respondToRttRequest ( callId , id , accept ) ; } catch ( android.os.RemoteException ignored ) { } }
Source:
protected java.lang.ClassLoader loader ( ) { java.lang.ClassLoader cl = getClass ( ) . getClassLoader ( ) ; if ( cl == null ) { cl = com.ibm.icu.impl.Utility.getFallbackClassLoader ( ) ; } return cl ; }

Target:
protected java.lang.ClassLoader loader ( ) { return com.ibm.icu.impl.ClassLoaderUtil.getClassLoader ( getClass ( ) ) ; }
Source:
public boolean isSigningReady ( ) { com.android.builder.SigningConfig signingConfig = getSigningConfig ( ) ; return ( signingConfig != null ) && ( signingConfig.isSigningReady ( ) ) ; }

Target:
public boolean isSigningReady ( ) { com.android.builder.signing.SigningConfig signingConfig = getSigningConfig ( ) ; return ( signingConfig != null ) && ( signingConfig.isSigningReady ( ) ) ; }
Source:
public void testMoveAppInternalToInternal ( ) { int installFlags = PackageManager.INSTALL_INTERNAL ; int moveFlags = PackageManager.MOVE_INTERNAL ; boolean fail = true ; int result = PackageManager.MOVE_FAILED_INVALID_LOCATION ; sampleMoveFromRawResource ( installFlags , moveFlags , fail , result ) ; }

Target:
public void testMoveAppInternalToInternal ( ) { int installFlags = android.content.pm.PackageManager.INSTALL_INTERNAL ; int moveFlags = android.content.pm.PackageManager.MOVE_INTERNAL ; boolean fail = true ; int result = android.content.pm.PackageManager.MOVE_FAILED_INVALID_LOCATION ; sampleMoveFromRawResource ( installFlags , moveFlags , fail , result ) ; }
Source:
public java.lang.String prefix ( java.lang.String typeName ) { if ( ( ( prefix.length ( ) ) > 0 ) && ( com.google.devtools.build.android.desugar.CoreLibraryRewriter.shouldPrefix ( typeName ) ) ) { return ( prefix ) + typeName ; } return typeName ; }

Target:
public org.objectweb.asm.ClassReader reader ( java.io.InputStream content ) throws java.io.IOException { if ( prefix.isEmpty ( ) ) { return new org.objectweb.asm.ClassReader ( content ) ; } else { return new com.google.devtools.build.android.desugar.CoreLibraryRewriter.PrefixingClassReader ( content , prefix ) ; } }
Source:
public void setPictureListener ( android.webkit.WebView.PictureListener listener ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "setPictureListener=" + listener ) ) ; mProvider.setPictureListener ( listener ) ; }

Target:
public void setPictureListener ( android.webkit.WebView.PictureListener listener ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "setPictureListener=" + listener ) ) ; mProvider.setPictureListener ( listener ) ; }
Source:
static long $opt$ByteToLong ( byte a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( long ) ( a ) ) ; }

Target:
static long $opt$noinline$ByteToLong ( byte a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( long ) ( a ) ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; }

Target:
private void runWebViewBootPreparationOnMainSync ( ) { android.support.test.InstrumentationRegistry.getInstrumentation ( ) . runOnMainSync ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { mWebViewUpdateServiceImpl.prepareWebViewInSystemServer ( ) ; } } ) ; }
Source:
static java.lang.String getFlagName ( java.lang.reflect.Field field , com.google.devtools.common.options.OptionsData optionsData ) { java.lang.String name = field.getAnnotation ( com.google.devtools.common.options.Option.class ) . name ( ) ; return optionsData.isBooleanField ( field ) ? "[no]" + name : name ; }

Target:
static java.lang.String getFlagName ( com.google.devtools.common.options.OptionDefinition optionDefinition , com.google.devtools.common.options.OptionsData optionsData ) { java.lang.String name = optionDefinition.getOptionName ( ) ; return optionsData.isBooleanField ( optionDefinition ) ? "[no]" + name : name ; }
Source:
public void onAudioStateChanged ( android.telecom.CallAudioState audioState ) { if ( ( statusBarNotifier ) != null ) { statusBarNotifier.updateNotification ( ) ; } }

Target:
public void onAudioStateChanged ( android.telecom.CallAudioState audioState ) { if ( ( ! ( audioRouteSetForBubbleMode ) ) && ( shouldStartInBubbleMode ) ) { setAudioRouteForBubbleMode ( audioState ) ; audioRouteSetForBubbleMode = true ; } if ( ( statusBarNotifier ) != null ) { statusBarNotifier.updateNotification ( ) ; } }
Source:
public static void computeNextafter ( android.renderscript.cts.TestNextafter.ArgumentsFloatFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( float ) ( java.lang.StrictMath.nextAfter ( args.inX , args.inY ) ) ) ; }

Target:
public static void computeNextafter ( android.renderscript.cts.TestNextafter.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( java.lang.Math.nextAfter ( args.inX , args.inY ) , 0 , 0 ) ; }
Source:
public void prepare ( ) { prepare ( java.util.Collections.< com.android.jack.dx.rop.cst.CstString > emptyList ( ) , java.util.Collections.< com.android.jack.dx.rop.cst.CstFieldRef > emptyList ( ) , java.util.Collections.< com.android.jack.dx.rop.cst.CstMethodRef > emptyList ( ) , java.util.Collections.< com.android.jack.dx.rop.cst.CstType > emptyList ( ) ) ; }

Target:
public void prepare ( ) { prepare ( java.util.Collections.< com.android.jack.dx.rop.cst.CstString > emptyList ( ) , java.util.Collections.< com.android.jack.dx.rop.cst.CstFieldRef > emptyList ( ) , java.util.Collections.< com.android.jack.dx.rop.cst.CstMethodRef > emptyList ( ) , java.util.Collections.< com.android.jack.dx.rop.cst.CstType > emptyList ( ) , java.util.Collections.< com.android.jack.dx.rop.cst.CstPrototypeRef > emptyList ( ) ) ; }
Source:
public void getCdmaSubscriptionSourceResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int var2 ) { }

Target:
public void writeSmsToSimResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int index ) { responseInts ( responseInfo , index ) ; }
Source:
public void testRunDevice ( ) { mTest.setDevice ( null ) ; try { mTest.run ( mMockInvocationListener ) ; fail ( ) ; } catch ( java.lang.IllegalArgumentException e ) { fail ( ) ; } catch ( com.android.tradefed.device.DeviceNotAvailableException e ) { } }

Target:
public void testRunDeviceNotAvailable ( ) { mTest.setDevice ( null ) ; try { mTest.run ( mMockInvocationListener ) ; fail ( ) ; } catch ( java.lang.IllegalArgumentException e ) { fail ( ) ; } catch ( com.android.tradefed.device.DeviceNotAvailableException e ) { } }
Source:
public void close ( ) { mResourceId = android.net.IpSecManager.INVALID_RESOURCE_ID ; mCloseGuard.close ( ) ; }

Target:
public void close ( ) { try { mService.deleteTunnelInterface ( mResourceId ) ; mResourceId = android.net.IpSecManager.INVALID_RESOURCE_ID ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } mCloseGuard.close ( ) ; }
Source:
public void testInstallId ( ) throws java.lang.Exception { java.util.Properties props = createProps ( ) ; com.android.sdklib.internal.repository.packages.SourcePackage p = createSourcePackageTest ( props ) ; assertEquals ( "source-5" , p.installId ( ) ) ; }

Target:
public void testInstallId ( ) throws java.lang.Exception { java.util.Properties props = createExpectedProps ( ) ; com.android.sdklib.internal.repository.packages.SourcePackage p = createSourcePackageTest ( props ) ; assertEquals ( "source-5" , p.installId ( ) ) ; }
Source:
public static synchronized java.util.ArrayList < java.security.Provider.Service > getServices ( java.lang.String key ) { return org.apache.harmony.security.fortress.Services.services.get ( key ) ; }

Target:
private static synchronized java.security.Provider.Service getFirstServiceOfType ( java.lang.String type ) { for ( java.security.Provider p : org.apache.harmony.security.fortress.Services.providers ) { java.security.Provider.Service s = Engine.door.getService ( p , type ) ; if ( s != null ) { return s ; } } return null ; }
Source:
private native boolean nativeFocusNodeWantsKeyEvents ( ) ;

Target:
private native int nativeCursorFramePointer ( ) ;
Source:
public java.lang.String test4SensorPeriod ( ) throws java.lang.Throwable { loadOpenCVSuccessfulOrSkip ( ) ; recordSuccessfulOrSkip ( ) ; analyzeSuccessfulOrSkip ( ) ; java.lang.String message = "Test Sensor Period" ; junit.framework.Assert.assertEquals ( "Sensor sample period stdev." , 0.0 , mReport.sensor_period_stdev , com.android.cts.verifier.sensors.RVCVXCheckTestActivity.Criterion.sensor_period_stdev ) ; return message ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int id ) { dialog.dismiss ( ) ; }
Source:
public com.android.internal.telephony.Connection dial ( java.lang.String dialString , int videoState ) throws com.android.internal.telephony.CallStateException { return dial ( dialString , null , videoState , null ) ; }

Target:
public int getCarrierId ( ) { return mCarrerIdentifier.getCarrierId ( ) ; }
Source:
public V setValue ( V value ) { com.google.common.base.Preconditions.checkArgument ( apply ( entry.getKey ( ) , value ) ) ; return super . setValue ( value ) ; }

Target:
public V2 getValue ( ) { return transformer.transformEntry ( entry.getKey ( ) , entry.getValue ( ) ) ; }
Source:
private java.lang.String getHostCoreImagePath ( ) { return ( androidHostOut ) + "/framework/core.art" ; }

Target:
private java.lang.String getHostCoreImagePathNoArch ( ) { return ( androidHostOut ) + "/framework/core.art" ; }
Source:
protected void onResume ( ) { super . onResume ( ) ; registerReceiver ( mConnectivityReceiver , mConnectivityIntentFilter , android.Manifest.permission.CHANGE_NETWORK_STATE , null ) ; registerReceiver ( mBatteryInfoReceiver , new android.content.IntentFilter ( android.content.Intent.ACTION_BATTERY_CHANGED ) ) ; mHandler.sendEmptyMessage ( com.android.settings.deviceinfo.Status.EVENT_UPDATE_STATS ) ; }

Target:
public void onPause ( ) { super . onPause ( ) ; getContext ( ) . unregisterReceiver ( mBatteryInfoReceiver ) ; getContext ( ) . unregisterReceiver ( mConnectivityReceiver ) ; mHandler.removeMessages ( com.android.settings.deviceinfo.Status.EVENT_UPDATE_STATS ) ; }
Source:
public void TestArabic ( ) throws java.io.IOException { long start = java.lang.System.currentTimeMillis ( ) ; new com.ibm.icu.dev.test.translit.RoundTripTest.Test ( "Latin-Arabic" ) . test ( "[a-zA-Zʾʿ]" , com.ibm.icu.dev.test.translit.RoundTripTest.ARABIC , "[a-zA-Zʾʿⁿ]" , null , this , new com.ibm.icu.dev.test.translit.RoundTripTest.Legal ( ) ) ; showElapsed ( start , "TestArabic" ) ; }

Target:
public void TestArabic ( ) throws java.io.IOException { long start = java.lang.System.currentTimeMillis ( ) ; new com.ibm.icu.dev.test.translit.RoundTripTest.TransliterationTest ( "Latin-Arabic" ) . test ( "[a-zA-Zʾʿ]" , com.ibm.icu.dev.test.translit.RoundTripTest.ARABIC , "[a-zA-Zʾʿⁿ]" , null , this , new com.ibm.icu.dev.test.translit.RoundTripTest.Legal ( ) ) ; showElapsed ( start , "TestArabic" ) ; }
Source:
private static void setPreference ( android.content.Context context , java.lang.String key , int value ) { com.android.tv.tuner.TunerPreferences.sPreferenceValues.putInt ( key , value ) ; com.android.tv.tuner.TunerPreferences.setPreference ( context , key , java.lang.Integer.toString ( value ) ) ; }

Target:
private static synchronized void setPreference ( android.content.Context context , java.lang.String key , int value ) { com.android.tv.tuner.TunerPreferences.sPreferenceValues.putInt ( key , value ) ; com.android.tv.tuner.TunerPreferences.savePreference ( context , key , java.lang.Integer.toString ( value ) ) ; }
Source:
public final void onIncomingCall ( com.android.ims.internal.IImsCallSession c ) { onIncomingCall ( new com.android.ims.internal.ImsCallSession ( c ) ) ; }

Target:
public void onIncomingCall ( com.android.ims.internal.IImsCallSession c , android.os.Bundle extras ) { }
Source:
java.lang.String getNativeLibraryPath ( ) { return libraryPath ; }

Target:
java.lang.String getNativeLibraryPath ( ) { if ( ( libraryPath ) == null ) { libraryPath = getLibraryPathFromCodePath ( ) ; } return libraryPath ; }
Source:
public void reportSimUnlocked ( int subId ) { if ( com.android.keyguard.KeyguardUpdateMonitor.DEBUG_SIM_STATES ) android.util.Log.v ( com.android.keyguard.KeyguardUpdateMonitor.TAG , ( ( "reportSimUnlocked(subId=" + subId ) + ")" ) ) ; int slotId = android.telephony.SubscriptionManager.getSlotId ( subId ) ; handleSimStateChange ( subId , slotId , State.READY ) ; }

Target:
public void reportSimUnlocked ( int subId ) { if ( com.android.keyguard.KeyguardUpdateMonitor.DEBUG_SIM_STATES ) android.util.Log.v ( com.android.keyguard.KeyguardUpdateMonitor.TAG , ( ( "reportSimUnlocked(subId=" + subId ) + ")" ) ) ; int slotId = android.telephony.SubscriptionManager.getSlotIndex ( subId ) ; handleSimStateChange ( subId , slotId , State.READY ) ; }
Source:
private boolean isTestActivity ( int position ) { java.util.Map < java.lang.String , ? > item = getItem ( position ) ; return ( item.get ( com.android.cts.verifier.TestListActivity.TestListAdapter.INTENT ) ) != null ; }

Target:
private android.content.Intent getIntent ( int position ) { com.android.cts.verifier.TestListAdapter adapter = getListAdapter ( ) ; com.android.cts.verifier.TestListAdapter.TestListItem item = adapter.getItem ( position ) ; return item.intent ; }
Source:
public void notifyANQPDone ( boolean success , com.android.server.wifi.hotspot2.AnqpEvent anqpResult ) { mHandler.notifyANQPDone ( success , anqpResult ) ; }

Target:
public void setProviders ( java.util.List < com.android.server.wifi.hotspot2.PasspointProvider > providers ) { mProviders.clear ( ) ; for ( com.android.server.wifi.hotspot2.PasspointProvider provider : providers ) { mProviders.put ( provider.getConfig ( ) . getHomeSp ( ) . getFqdn ( ) , provider ) ; } }
Source:
public com.android.dx.io.EncodedValue adjustEncodedArray ( com.android.dx.io.EncodedValue encodedArray ) { com.android.dx.util.ByteArrayAnnotatedOutput out = new com.android.dx.util.ByteArrayAnnotatedOutput ( 32 ) ; new com.android.dx.merge.IndexMap.EncodedValueTransformer ( out ) . transformArray ( new com.android.dx.io.EncodedValueReader ( encodedArray.asByteInput ( ) , ENCODED_ARRAY ) ) ; return new com.android.dx.io.EncodedValue ( out.toByteArray ( ) ) ; }

Target:
public com.android.dx.io.EncodedValue adjustEncodedArray ( com.android.dx.io.EncodedValue encodedArray ) { com.android.dx.util.ByteArrayAnnotatedOutput out = new com.android.dx.util.ByteArrayAnnotatedOutput ( 32 ) ; new com.android.dx.merge.IndexMap.EncodedValueTransformer ( out ) . transformArray ( new com.android.dx.io.EncodedValueReader ( encodedArray , com.android.dx.io.EncodedValueReader.ENCODED_ARRAY ) ) ; return new com.android.dx.io.EncodedValue ( out.toByteArray ( ) ) ; }
Source:
private static void sourceIfExist ( org.gradle.platform.base.BinarySpec binary , com.android.build.gradle.model.AndroidComponentModelSourceSet projectSourceSet , java.lang.String sourceSetName ) { org.gradle.language.base.FunctionalSourceSet sourceSet = projectSourceSet.findByName ( sourceSetName ) ; if ( sourceSet != null ) { binary.source ( sourceSet ) ; } }

Target:
public void execute ( org.gradle.language.base.LanguageSourceSet source ) { source.getSource ( ) . setSrcDirs ( jni.getSource ( ) . getSrcDirs ( ) ) ; source.getSource ( ) . include ( "**/*.c" ) ; }
Source:
public static void initNanHalMockLibrary ( com.android.server.wifi.nan.WifiNanNative instance ) throws java.lang.Exception { java.lang.reflect.Field field = com.android.server.wifi.nan.WifiNanNative.class . getDeclaredField ( "mNativeHandlersIsInitialized" ) ; field.setAccessible ( true ) ; field.setBoolean ( instance , true ) ; com.android.server.wifi.nan.WifiNanHalMock.initNanHalMock ( ) ; }

Target:
public static void initAwareHalMockLibrary ( com.android.server.wifi.aware.WifiAwareNative instance ) throws java.lang.Exception { java.lang.reflect.Field field = com.android.server.wifi.aware.WifiAwareNative.class . getDeclaredField ( "mNativeHandlersIsInitialized" ) ; field.setAccessible ( true ) ; field.setBoolean ( instance , true ) ; com.android.server.wifi.aware.WifiAwareHalMock.initAwareHalMock ( ) ; }
Source:
public void testExtract2 ( ) throws java.lang.Exception { checkRefactoring ( "sample3.xml" , "newlayout2" , false , null , 2 , "@+id/button2" , "@+id/android_logo" ) ; }

Target:
public void testExtract1 ( ) throws java.lang.Exception { checkRefactoring ( "sample3.xml" , "newlayout1" , false , null , 2 , false , "@+id/button2" ) ; }
Source:
public boolean put ( K key , V value ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
java.util.Map.Entry < K , V > output ( K key , V value ) { return com.google.common.collect.Maps.immutableEntry ( key , value ) ; }
Source:
synchronized long nScriptIntrinsicCreate ( int id , long eid ) { validate ( ) ; return rsnScriptIntrinsicCreate ( mContext , id , eid ) ; }

Target:
synchronized void nScriptSetVarF ( long id , int slot , float val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarF ( curCon , id , slot , val , mUseInc ) ; }
Source:
public void touch ( com.android.monkeyrunner.easy.By selector , com.android.monkeyrunner.core.IMonkeyDevice.TouchPressType type ) { org.eclipse.swt.graphics.Point p = getElementCenter ( selector ) ; mDevice.getImpl ( ) . touch ( p.x , p.y , type ) ; }

Target:
public void touch ( com.android.monkeyrunner.easy.By selector , com.android.monkeyrunner.core.TouchPressType type ) { org.eclipse.swt.graphics.Point p = getElementCenter ( selector ) ; mDevice.getImpl ( ) . touch ( p.x , p.y , type ) ; }
Source:
public static java.awt.image.BufferedImage getClipartImage ( java.lang.String name ) throws java.io.IOException { java.io.InputStream is = com.android.assetstudiolib.GraphicGenerator.class . getResourceAsStream ( ( "/images/clipart/big/" + name ) ) ; return javax.imageio.ImageIO.read ( is ) ; }

Target:
public static java.awt.image.BufferedImage getClipartImage ( java.lang.String name ) throws java.io.IOException { java.io.InputStream is = com.android.assetstudiolib.GraphicGenerator.class . getResourceAsStream ( ( "/images/clipart/big/" + name ) ) ; try { return javax.imageio.ImageIO.read ( is ) ; } finally { com.google.common.io.Closeables.closeQuietly ( is ) ; } }
Source:
public void setClassesConfiguration ( org.gradle.api.artifacts.Configuration configuration ) { this . classesConfiguration = configuration ; dependsOn ( configuration ) ; }

Target:
public void setVariantConfiguration ( com.android.builder.core.VariantConfiguration variantConfiguration ) { this . variantConfiguration = variantConfiguration ; }
Source:
public java.util.List < java.security.cert.X509Certificate > checkServerTrusted ( java.security.cert.X509Certificate [ ] chain , java.lang.String authType , java.lang.String host ) throws java.security.cert.CertificateException { return checkTrusted ( chain , authType , host , false ) ; }

Target:
public java.util.List < java.security.cert.X509Certificate > checkClientTrusted ( java.security.cert.X509Certificate [ ] chain , java.lang.String authType , java.lang.String hostname ) throws java.security.cert.CertificateException { return checkTrusted ( chain , authType , hostname , true ) ; }
Source:
protected void startTestImpl ( ) { new com.android.cts.verifier.jobscheduler.IdleConstraintTestActivity.TestIdleModeTask ( ) . execute ( ) ; }

Target:
protected void onPostExecute ( java.lang.Void result ) { mTestState = com.android.cts.verifier.jobscheduler.IdleConstraintTestActivity.IDLE_ON_TEST_STATE_WAITING_FOR_SCREEN_OFF ; mContinueInstructionTextView.setVisibility ( View.VISIBLE ) ; }
Source:
public void testSize ( ) { java.util.concurrent.CopyOnWriteArraySet empty = new java.util.concurrent.CopyOnWriteArraySet ( ) ; java.util.concurrent.CopyOnWriteArraySet full = jsr166.CopyOnWriteArraySetTest.populatedSet ( 3 ) ; assertEquals ( 3 , full.size ( ) ) ; assertEquals ( 0 , empty.size ( ) ) ; }

Target:
public void testRemove ( ) { java.util.Collection full = jsr166.CopyOnWriteArraySetTest.populatedSet ( 3 ) ; full.remove ( one ) ; assertFalse ( full.contains ( one ) ) ; assertEquals ( 2 , full.size ( ) ) ; }
Source:
public final void registerContentObserver ( android.net.Uri uri , boolean notifyForDescendents , android.database.ContentObserver observer ) { registerContentObserver ( uri , notifyForDescendents , observer , android.os.UserHandle.myUserId ( ) ) ; }

Target:
public static void setSyncAutomatically ( android.accounts.Account account , java.lang.String authority , boolean sync ) { android.content.ContentResolver.setSyncAutomaticallyAsUser ( account , authority , sync , android.os.UserHandle.myUserId ( ) ) ; }
Source:
public void visitAnyMember ( proguard.optimize.info.Clazz clazz , proguard.optimize.info.Member member ) { if ( ( ( member.getAccessFlags ( ) ) & ( ( ClassConstants.INTERNAL_ACC_PRIVATE ) | ( ClassConstants.INTERNAL_ACC_PUBLIC ) ) ) == 0 ) { proguard.optimize.info.PackageVisibleMemberContainingClassMarker.setPackageVisibleMembers ( clazz ) ; } }

Target:
public void visitAnyMember ( proguard.optimize.info.Clazz clazz , proguard.optimize.info.Member member ) { if ( ( ( member.getAccessFlags ( ) ) & ( ( ClassConstants.ACC_PRIVATE ) | ( ClassConstants.ACC_PUBLIC ) ) ) == 0 ) { proguard.optimize.info.PackageVisibleMemberContainingClassMarker.setPackageVisibleMembers ( clazz ) ; } }
Source:
public int getStatusCode ( ) { return myStatusCode ; }

Target:
public java.lang.String getLogin ( ) { return myLogin ; }
Source:
public void run ( ) { goForward ( ) ; }

Target:
public java.lang.Boolean call ( ) { return canGoForward ( ) ; }