auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public boolean isSkippable ( @ javax.annotation.Nonnull com.android.sched.scheduler.ComponentFilterSet current ) { return ( skipAdapter ) && ( ! ( current.containsOne ( adapterFilters ) ) ) ; }

Target:
public boolean isSkippable ( @ javax.annotation.Nonnull com.android.sched.scheduler.ComponentFilterSet current ) { return ( canBeSkipped ) && ( ! ( current.containsOne ( adapterFilters ) ) ) ; }
Source:
public int getItemCount ( ) { return ( callDetailsEntries.size ( ) ) + 2 ; }

Target:
public int getItemCount ( ) { return callDetailsEntries.isEmpty ( ) ? 0 : ( callDetailsEntries.size ( ) ) + 2 ; }
Source:
java.util.Collection < com.intellij.ide.externalComponents.UpdatableExternalComponent > getAvailableVersions ( @ org.jetbrains.annotations.Nullable com.intellij.openapi.progress.ProgressIndicator indicator ) ;

Target:
java.util.Collection < com.intellij.ide.externalComponents.UpdatableExternalComponent > getAvailableVersions ( @ org.jetbrains.annotations.Nullable com.intellij.openapi.progress.ProgressIndicator indicator , @ org.jetbrains.annotations.Nullable com.intellij.openapi.updateSettings.impl.UpdateSettings updateSettings ) ;
Source:
public boolean isMobileNumberPortableRegion ( java.lang.String regionCode ) { com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata metadata = getMetadataForRegion ( regionCode ) ; if ( metadata == null ) { com.google.i18n.phonenumbers.PhoneNumberUtil.logger.log ( java.util.logging.Level.WARNING , ( "Invalid or unknown region code provided: " + regionCode ) ) ; return false ; } return metadata.isMobileNumberPortableRegion ( ) ; }

Target:
public boolean isMobileNumberPortableRegion ( java.lang.String regionCode ) { com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneMetadata metadata = getMetadataForRegion ( regionCode ) ; if ( metadata == null ) { com.google.i18n.phonenumbers.PhoneNumberUtil.logger.log ( java.util.logging.Level.WARNING , ( "Invalid or unknown region code provided: " + regionCode ) ) ; return false ; } return metadata.mobileNumberPortableRegion ; }
Source:
protected boolean canInstrument ( org.jetbrains.jps.incremental.CompiledClass compiledClass , int classFileVersion ) { return classFileVersion >= ( org.jetbrains.asm4.Opcodes.V1_5 ) ; }

Target:
protected boolean canInstrument ( org.jetbrains.jps.incremental.CompiledClass compiledClass , int classFileVersion ) { return classFileVersion >= ( org.jetbrains.org.objectweb.asm.Opcodes.V1_5 ) ; }
Source:
public void deleteSmsOnRuim ( int index , android.os.Message response ) { android.util.Log.d ( com.android.internal.telephony.test.SimulatedCommands.LOG_TAG , ( "Delete RUIM message at index " + index ) ) ; unimplemented ( response ) ; }

Target:
public void deleteSmsOnRuim ( int index , android.os.Message response ) { android.telephony.Rlog.d ( com.android.internal.telephony.test.SimulatedCommands.LOG_TAG , ( "Delete RUIM message at index " + index ) ) ; unimplemented ( response ) ; }
Source:
public void onConfigurationChanged ( ) { mSpTexts.update ( ) ; }

Target:
public void onConfigurationChanged ( ) { mSpTexts.update ( ) ; com.android.systemui.volume.Util.setText ( mEndNowButton , mContext.getString ( R.string.volume_zen_end_now ) ) ; }
Source:
public void createDataPathInterface ( java.lang.String interfaceName ) { android.os.Message msg = mSm.obtainMessage ( com.android.server.wifi.nan.WifiNanStateManager.MESSAGE_TYPE_COMMAND ) ; msg.arg1 = com.android.server.wifi.nan.WifiNanStateManager.COMMAND_TYPE_CREATE_DATA_PATH_INTERFACE ; msg.obj = interfaceName ; mSm.sendMessage ( msg ) ; }

Target:
public void createDataPathInterface ( java.lang.String interfaceName ) { android.os.Message msg = mSm.obtainMessage ( com.android.server.wifi.aware.WifiAwareStateManager.MESSAGE_TYPE_COMMAND ) ; msg.arg1 = com.android.server.wifi.aware.WifiAwareStateManager.COMMAND_TYPE_CREATE_DATA_PATH_INTERFACE ; msg.obj = interfaceName ; mSm.sendMessage ( msg ) ; }
Source:
public boolean isEmpty ( ) { return entrySet ( ) . isEmpty ( ) ; }

Target:
protected A doBackward ( B b ) { return com.google.common.collect.Maps.BiMapConverter.convert ( bimap.inverse ( ) , b ) ; }
Source:
public void setOnBufferAvailableListener ( android.renderscript.Allocation.OnBufferAvailableListener callback ) { synchronized ( android.renderscript.Allocation.mAllocationMap ) { android.renderscript.Allocation.mAllocationMap.put ( new java.lang.Integer ( getID ( mRS ) ) , this ) ; mBufferNotifier = callback ; } }

Target:
public void setOnBufferAvailableListener ( android.renderscript.Allocation.OnBufferAvailableListener callback ) { synchronized ( android.renderscript.Allocation.mAllocationMap ) { android.renderscript.Allocation.mAllocationMap.put ( new java.lang.Long ( getID ( mRS ) ) , this ) ; mBufferNotifier = callback ; } }
Source:
public int getDSTSavings ( ) { return mUseDst ? mDstSavings : 0 ; }

Target:
public boolean inDaylightTime ( java.util.Date time ) { long when = time.getTime ( ) ; int offsetIndex = findOffsetIndexForTimeInMilliseconds ( when ) ; if ( offsetIndex == ( - 1 ) ) { return false ; } return ( mIsDsts [ offsetIndex ] ) == 1 ; }
Source:
public static int intReverseConditionNaN ( int i ) { return 42 != ( java.lang.Math.sqrt ( i ) ) ? 13 : 54 ; }

Target:
public static int $noinline$intReverseConditionNaN ( int i ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return 42 != ( java.lang.Math.sqrt ( i ) ) ? 13 : 54 ; }
Source:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , long [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationRead1D ( long con , long id , int off , int mip , int count , java.lang.Object d , int sizeBytes , int dt ) ;
Source:
public void check ( android.view.View view , android.support.test.espresso.NoMatchingViewException noViewFoundException ) { assertFalse ( true ) ; }

Target:
public void check ( android.view.View view , android.support.test.espresso.NoMatchingViewException noViewFoundException ) { org.junit.Assert.assertFalse ( true ) ; }
Source:
public com.android.tools.lint.client.api.Configuration getConfiguration ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Project project ) { return getConfigurationFor ( project ) ; }

Target:
public com.android.tools.lint.client.api.Configuration getConfiguration ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Project project , @ com.android.annotations.Nullable com.android.tools.lint.client.api.LintDriver driver ) { return getConfigurationFor ( project ) ; }
Source:
public void currentSignalStrength ( int var1 , com.android.internal.telephony.V1_0.SignalStrength var2 ) { }

Target:
public void currentSignalStrength ( int indicationType , com.android.internal.telephony.V1_0.SignalStrength signalStrength ) { mRil.processIndication ( indicationType ) ; }
Source:
public long getSize ( com.android.ahat.Site element , com.android.tools.perflib.heap.Heap heap ) { return element.getSize ( heap.getName ( ) ) ; }

Target:
public long getSize ( com.android.ahat.heapdump.Site element , com.android.ahat.heapdump.AhatHeap heap ) { return element.getSize ( heap ) ; }
Source:
public java.util.Collection < com.android.jack.ir.ast.JAnnotationType > getAnnotationTypes ( ) { return com.android.jack.Jack.getUnmodifiableCollections ( ) . getUnmodifiableCollection ( com.android.jack.util.AnnotationUtils.getAnnotationTypes ( annotations ) ) ; }

Target:
public java.util.Set < com.android.jack.ir.ast.JAnnotationType > getAnnotationTypes ( ) { return com.android.jack.Jack.getUnmodifiableCollections ( ) . getUnmodifiableSet ( com.android.jack.util.AnnotationUtils.getAnnotationTypes ( annotations ) ) ; }
Source:
public void controlResized ( org.eclipse.swt.events.ControlEvent e ) { org.eclipse.swt.graphics.Rectangle rect = shell.getBounds ( ) ; org.eclipse.jface.preference.PreferenceStore prefs = com.android.ddms.PrefsDialog.getStore ( ) ; prefs.setValue ( PrefsDialog.EXPLORER_SHELL_WIDTH , rect.width ) ; prefs.setValue ( PrefsDialog.EXPLORER_SHELL_HEIGHT , rect.height ) ; }

Target:
public void controlResized ( org.eclipse.swt.events.ControlEvent e ) { org.eclipse.swt.graphics.Rectangle controlBounds = shell.getBounds ( ) ; org.eclipse.jface.preference.PreferenceStore currentPrefs = com.android.ddms.PrefsDialog.getStore ( ) ; currentPrefs.setValue ( PrefsDialog.EXPLORER_SHELL_WIDTH , controlBounds.width ) ; currentPrefs.setValue ( PrefsDialog.EXPLORER_SHELL_HEIGHT , controlBounds.height ) ; }
Source:
public void setUiTtyMode ( int mode , android.os.Message onCompleteMessage ) { try { mCompatFeature.setUiTTYMode ( mode , onCompleteMessage ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e.getMessage ( ) ) ; } }

Target:
public android.telephony.ims.ImsCallProfile createCallProfile ( int callSessionType , int callType ) { try { return mCompatFeature.createCallProfile ( mSessionId , callSessionType , callType ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e.getMessage ( ) ) ; } }
Source:
public void test_SSL_CTX_free ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.SSL_CTX_free ( org.conscrypt.NativeCryptoTest.NULL ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } org.conscrypt.NativeCrypto.SSL_CTX_free ( org.conscrypt.NativeCrypto.SSL_CTX_new ( ) ) ; }

Target:
public void EVP_PKEY_cmp_BothNullParameters ( ) throws java.lang.Exception { org.conscrypt.NativeCrypto.EVP_PKEY_cmp ( null , null ) ; }
Source:
public int getSimStateForSlotIdx ( int slotIdx ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }

Target:
public int getSimStateForSlotIndex ( int slotIndex ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }
Source:
protected void onPreExecute ( ) { mLogSubsession = com.android.server.telecom.Log.createSubsession ( ) ; }

Target:
protected void onPreExecute ( ) { mLogSubsession = android.telecom.Log.createSubsession ( ) ; }
Source:
public void testVFE13 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.invoke_virtual_range.d.T_invoke_virtual_range_18" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE13 ( ) { try { new dot.junit.opcodes.invoke_virtual_range.d.T_invoke_virtual_range_18 ( ) . run ( new dot.junit.opcodes.invoke_virtual_range.TestStubs ( ) ) ; fail ( "expected IllegalAccessError" ) ; } catch ( java.lang.IllegalAccessError t ) { } }
Source:
public void doesNotContainClass ( java.lang.String className ) throws com.android.ide.common.process.ProcessException , java.io.IOException { java.io.File apk = getSubject ( ) ; if ( com.android.build.gradle.integration.common.utils.ApkHelper.checkForClass ( apk , className ) ) { failWithRawMessage ( "'%s' unexpectedly contain '%s'" , apk.getName ( ) , className ) ; } }

Target:
public void containsClass ( java.lang.String className ) throws com.android.ide.common.process.ProcessException , java.io.IOException { if ( ! ( checkForClass ( className ) ) ) { failWithRawMessage ( "'%s' does not contain '%s'" , getDisplaySubject ( ) , className ) ; } }
Source:
private void handleVoicePrivacyClickRequest ( boolean value ) { mPhone.enableEnhancedVoicePrivacy ( value , android.os.Message.obtain ( mSetOptionComplete , com.android.phone.CallFeaturesSetting.EVENT_ENHANCED_VP_EXECUTED ) ) ; }

Target:
private void handleVoicePrivacyClickRequest ( boolean value ) { mPhone.enableEnhancedVoicePrivacy ( value , android.os.Message.obtain ( mSetVoicePrivacyComplete , com.android.phone.CallFeaturesSetting.EVENT_ENHANCED_VP_EXECUTED ) ) ; }
Source:
public static void showErrors ( org.eclipse.swt.widgets.Shell shell , final org.eclipse.core.resources.IFile file ) { com.android.ide.eclipse.adt.internal.lint.LintListDialog dialog = new com.android.ide.eclipse.adt.internal.lint.LintListDialog ( shell , file ) ; dialog.open ( ) ; }

Target:
public static void showErrors ( @ com.android.annotations.NonNull org.eclipse.swt.widgets.Shell shell , @ com.android.annotations.NonNull org.eclipse.core.resources.IFile file , @ com.android.annotations.Nullable org.eclipse.ui.IEditorPart editor ) { com.android.ide.eclipse.adt.internal.lint.LintListDialog dialog = new com.android.ide.eclipse.adt.internal.lint.LintListDialog ( shell , file , editor ) ; dialog.open ( ) ; }
Source:
public void testOnSetUpAdapterFailed ( ) throws java.lang.Exception { java.io.File testAdapter = new java.io.File ( mTestDir , ( ( VTS_NATIVE_TEST_DIR ) + ( TEST_HAL_ADAPTER_BINARY ) ) ) ; testAdapter.createNewFile ( ) ; java.lang.String output = "android.hardware.foo@1.1::IFoo/default" ; doReturn ( output ) . when ( mDevice ) . executeShellCommand ( java.lang.String.format ( LIST_HAL_CMD , TEST_HAL_PACKAGE ) ) ; mCmdUtil.mCmdSuccess = false ; try { mPreparer.setUp ( mDevice , mBuildInfo ) ; } catch ( com.android.tradefed.targetprep.TargetSetupError e ) { org.junit.Assert.assertEquals ( "HAL adapter setup failed." , e.getMessage ( ) ) ; return ; } org.junit.Assert.fail ( ) ; }

Target:
public void testOnSetUpAdapterFailed ( ) throws java.lang.Exception { java.io.File testAdapter = createTestAdapter ( ) ; java.lang.String output = "android.hardware.foo@1.1::IFoo/default" ; doReturn ( output ) . when ( mDevice ) . executeShellCommand ( java.lang.String.format ( LIST_HAL_CMD , TEST_HAL_PACKAGE ) ) ; mCmdUtil.mCmdSuccess = false ; try { mPreparer.setUp ( mDevice , mBuildInfo ) ; } catch ( com.android.tradefed.targetprep.TargetSetupError e ) { org.junit.Assert.assertEquals ( "HAL adapter setup failed." , e.getMessage ( ) ) ; return ; } org.junit.Assert.fail ( ) ; }
Source:
public static java.util.Locale toLocale ( com.ibm.icu.util.ULocale uloc ) { return com.ibm.icu.util.ULocale.JDKLocaleHelper.isJava7orNewer ? com.ibm.icu.util.ULocale.JDKLocaleHelper.toLocale7 ( uloc ) : com.ibm.icu.util.ULocale.JDKLocaleHelper.toLocale6 ( uloc ) ; }

Target:
public static java.util.Locale toLocale ( com.ibm.icu.util.ULocale uloc ) { return com.ibm.icu.util.ULocale.JDKLocaleHelper.hasScriptsAndUnicodeExtensions ? com.ibm.icu.util.ULocale.JDKLocaleHelper.toLocale7 ( uloc ) : com.ibm.icu.util.ULocale.JDKLocaleHelper.toLocale6 ( uloc ) ; }
Source:
public void execute ( java.io.OutputStream stdout , java.lang.String ... tasks ) { execute ( java.util.Collections.< java.lang.String > emptyList ( ) , stdout , tasks ) ; }

Target:
public com.android.builder.model.AndroidProject executeAndReturnModel ( java.lang.String ... tasks ) { return execute ( java.util.Collections.< java.lang.String > emptyList ( ) , null , true , tasks ) ; }
Source:
void onAmbiguousContactClicked ( java.util.List < com.android.dialer.speeddial.database.SpeedDialEntry.Channel > channels ) ;

Target:
void onAmbiguousContactClicked ( com.android.dialer.speeddial.loader.SpeedDialUiItem speedDialUiItem ) ;
Source:
public java.lang.invoke.MethodHandle findStatic ( java.lang.Class < ? > refc , java.lang.String name , java.lang.invoke.MethodType type ) throws java.lang.IllegalAccessException , java.lang.NoSuchMethodException { throw new java.lang.UnsupportedOperationException ( "MethodHandles.Lookup.findStatic is not implemented" ) ; }

Target:
private java.lang.invoke.MethodHandle findVirtualForMH ( java.lang.String name , java.lang.invoke.MethodType type ) { if ( "invoke" . equals ( name ) ) return java.lang.invoke.MethodHandles.invoker ( type ) ; if ( "invokeExact" . equals ( name ) ) return java.lang.invoke.MethodHandles.exactInvoker ( type ) ; return null ; }
Source:
public void onConnectionServiceChanged ( com.android.server.telecom.Call call , com.android.server.telecom.ConnectionServiceWrapper oldService , com.android.server.telecom.ConnectionServiceWrapper newService ) { updateCall ( call ) ; }

Target:
public void onConnectionServiceChanged ( com.android.server.telecom.Call call , com.android.server.telecom.ConnectionServiceWrapper oldService , com.android.server.telecom.ConnectionServiceWrapper newService ) { if ( call.isSelfManaged ( ) ) { android.telecom.Log.i ( this , "onConnectionServiceChanged: skipped self-managed %s" , call ) ; return ; } updateCall ( call ) ; }
Source:
public boolean test ( int flag ) { return flag != ( com.android.jack.optimizations.DefUsesChainsSimplifier.CfgHelper.BB_ASSIGNS_OR_READS_B ) ; }

Target:
boolean isCondition4Violated ( @ javax.annotation.Nonnull java.util.List < com.android.jack.ir.ast.JStatement > startStmts ) { return traverse ( startStmts , com.android.jack.optimizations.DefUsesChainsSimplifier.CfgHelper.BB_ASSIGNS_A , com.android.jack.optimizations.DefUsesChainsSimplifier.CfgHelper.BB_ASSIGNS_OR_READS_B ) ; }
Source:
private static void writeValue ( java.io.OutputStreamWriter writer , java.lang.String value ) throws java.io.IOException { writer.append ( value ) . append ( ',' ) ; }

Target:
private void write ( java.lang.StringBuilder sb , java.lang.String name , java.lang.Object value ) { sb.append ( ( name + "=" ) ) . append ( value ) . append ( ';' ) ; }
Source:
public void onHandoverToWifiFailed ( com.android.incallui.call.DialerCall call ) { if ( ( inCallActivity ) != null ) { inCallActivity.showDialogOrToastForWifiHandoverFailure ( call ) ; } }

Target:
public void onHandoverToWifiFailed ( com.android.incallui.call.DialerCall call ) { if ( ( inCallActivity ) != null ) { inCallActivity.showDialogOrToastForWifiHandoverFailure ( call ) ; } else { android.widget.Toast.makeText ( context , R.string.video_call_lte_to_wifi_failed_message , Toast.LENGTH_SHORT ) . show ( ) ; } }
Source:
public void testNotifyPrimaryUse ( ) { notifyDexLoad ( mFooUser0 , mFooUser0.getBaseAndSplitDexPaths ( ) , mUser0 ) ; org.junit.Assert.assertNull ( getPackageUseInfo ( mFooUser0 ) ) ; }

Target:
public void testNotifyPrimaryUse ( ) { notifyDexLoad ( mFooUser0 , mFooUser0.getBaseAndSplitDexPaths ( ) , mUser0 ) ; assertNoUseInfo ( mFooUser0 ) ; }
Source:
public java.lang.String parseCurrency ( android.icu.dev.test.format.NumberFormatTestData tuple ) { return null ; }

Target:
public java.lang.String parse ( android.icu.dev.test.format.DataDrivenNumberFormatTestData tuple ) { if ( ( ( tuple.output ) != null ) && ( tuple.output.equals ( "fail" ) ) ) return "fail" ; return null ; }
Source:
public void run ( ) { notifyFindDialogDismissed ( ) ; }

Target:
public void run ( ) { clearMatches ( ) ; }
Source:
public void testSubjectAltNameWithWildcard ( ) { assertTrue ( verifyWithServerCertificate ( "imap.g.com" , new libcore.javax.net.ssl.DefaultHostnameVerifierTest.StubX509Certificate ( "" ) . addSubjectAlternativeName ( libcore.javax.net.ssl.DefaultHostnameVerifierTest.ALT_DNS_NAME , "*.g.com" ) ) ) ; }

Target:
public void testSubjectAltNameWithWildcard ( ) { assertTrue ( verifyWithServerCertificate ( "imap.g.com" , libcore.javax.net.ssl.DefaultHostnameVerifierTest.StubX509Certificate.dns ( "*.g.com" ) ) ) ; }
Source:
public void setFullscreenMode ( boolean fullScreen ) { mFullscreenMode = fullScreen ; }

Target:
public void onReportFullscreenMode ( boolean fullScreen , boolean calledInBackground , java.lang.String inputMethodId ) { synchronized ( mH ) { if ( ( ! calledInBackground ) || ( android.text.TextUtils.equals ( mCurId , inputMethodId ) ) ) { mFullscreenMode = fullScreen ; } } }
Source:
public void updateCallType ( com.android.ims.ImsCallProfile profile ) { mCallType = profile.mCallType ; }

Target:
public void updateCallType ( android.telephony.ims.ImsCallProfile profile ) { mCallType = profile.mCallType ; }
Source:
public java.lang.String toString ( ) { return ( "Or(" + ( com.google.common.base.Predicates.COMMA_JOINER.join ( components ) ) ) + ")" ; }

Target:
public java.lang.String toString ( ) { return ( "Predicates.or(" + ( com.google.common.base.Predicates.COMMA_JOINER.join ( components ) ) ) + ")" ; }
Source:
public static void computeHalfRsqrt ( android.renderscript.cts.TestHalfRsqrt.ArgumentsFloatFloat args ) { args.ulf = 128000 ; args.ulfRelaxed = 128000 ; args.out = ( ( float ) ( java.lang.StrictMath.pow ( args.inV , ( - 0.5 ) ) ) ) ; }

Target:
public static void computeAcospi ( android.renderscript.cts.TestAcospi.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( ( ( android.renderscript.cts.CoreMathVerifier.acos ( args.inV ) ) / ( ( float ) ( java.lang.Math.PI ) ) ) , 5 , 128 ) ; }
Source:
public void handleMessage ( android.os.Message msg ) { if ( android.telephony.SubscriptionManager.DBG ) { log ( "handleMessage: invoke the overriden onSubscriptionsChanged()" ) ; } this . onSubscriptionsChanged ( ) ; }

Target:
public void onSubscriptionsChanged ( ) { if ( android.telephony.SubscriptionManager.DBG ) log ( "callback: received, sendEmptyMessage(0) to handler" ) ; mHandler.sendEmptyMessage ( 0 ) ; }
Source:
public com.android.tv.data.Channel.Builder setDisplayNumber ( java.lang.String displayNumber ) { mChannel.mDisplayNumber = displayNumber ; return this ; }

Target:
public com.android.tv.data.Channel.Builder setDisplayNumber ( java.lang.String displayNumber ) { mChannel.mDisplayNumber = com.android.tv.data.Channel.normalizeDisplayNumber ( displayNumber ) ; return this ; }
Source:
protected void createPages ( ) { com.android.sdkuilib.internal.repository.PackagesPage pkgPage = new com.android.sdkuilib.internal.repository.PackagesPage ( getPagesRootComposite ( ) , getUpdaterData ( ) ) ; addPage ( pkgPage , "Packages List" ) ; addExtraPages ( ) ; }

Target:
private void initializeSettings ( ) { com.android.sdkuilib.internal.repository.SettingsController c = mUpdaterData.getSettingsController ( ) ; c.loadSettings ( ) ; c.applySettings ( ) ; }
Source:
public android.accounts.AuthenticatorDescription [ ] getAuthenticatorTypes ( ) { try { return mService.getAuthenticatorTypes ( ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public android.accounts.Account [ ] getAccounts ( ) { try { return mService.getAccounts ( null , mContext.getOpPackageName ( ) ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public java.util.Iterator charsets ( ) { java.util.Vector v = new java.util.Vector ( ) ; v.add ( new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mockCharset00" , new java.lang.String [ ] { "mockCharset01" , "mockCharset02" } ) ) ; return v.iterator ( ) ; }

Target:
public java.util.Iterator charsets ( ) { java.util.Vector v = new java.util.Vector ( ) ; v.add ( tests.api.java.nio.charset.CharsetTest.charset1 ) ; v.add ( tests.api.java.nio.charset.CharsetTest.charset2 ) ; return v.iterator ( ) ; }
Source:
public com.android.sched.util.config.AsapConfigBuilder setStandardInput ( @ javax.annotation.Nonnull java.io.InputStream in ) { context.setStandardInput ( in ) ; return this ; }

Target:
public com.android.sched.util.config.AsapConfigBuilder setCodecContext ( @ javax.annotation.Nonnull com.android.sched.util.codec.CodecContext context ) { this . context = context ; return this ; }
Source:
private boolean shouldTurnOffDormancyUpdate ( ) { return ( mIsPowerSaveOn ) || ( ( ( ! ( mIsCharging ) ) && ( ! ( mIsTetheringOn ) ) ) && ( ! ( mIsScreenOn ) ) ) ; }

Target:
private boolean shouldTurnOffLinkCapacityEstimate ( ) { if ( ( ( ( mIsCharging ) || ( mIsScreenOn ) ) || ( mIsTetheringOn ) ) || ( ( mUpdateModes.get ( TelephonyManager.INDICATION_FILTER_LINK_CAPACITY_ESTIMATE ) ) == ( android.telephony.TelephonyManager.INDICATION_UPDATE_MODE_IGNORE_SCREEN_OFF ) ) ) { return false ; } return true ; }
Source:
void processFile ( java.io.File sourceFile ) throws com.android.ide.common.internal.LoggedErrorException , java.io.IOException , java.lang.InterruptedException ;

Target:
void processFile ( @ com.android.annotations.NonNull java.io.File sourceFolder , @ com.android.annotations.NonNull java.io.File sourceFile ) throws com.android.ide.common.internal.LoggedErrorException , java.io.IOException , java.lang.InterruptedException ;
Source:
public void queryCapabilityConfiguration ( int capability , int radioTech , android.telephony.ims.internal.aidl.IImsCapabilityCallback c ) { queryCapabilityConfigurationInternal ( capability , radioTech , c ) ; }

Target:
public void queryCapabilityConfiguration ( int capability , int radioTech , android.telephony.ims.aidl.IImsCapabilityCallback c ) { queryCapabilityConfigurationInternal ( capability , radioTech , c ) ; }
Source:
public static native float hypot ( float x , float y ) ;

Target:
public static float pow ( float x , float y ) { return ( ( float ) ( java.lang.Math.pow ( x , y ) ) ) ; }
Source:
protected com.android.build.gradle.internal.variant.LibVariantOutputData doCreateOutput ( ) { return new com.android.build.gradle.internal.variant.LibVariantOutputData ( ) ; }

Target:
protected com.android.build.gradle.internal.variant.LibVariantOutputData doCreateOutput ( @ com.android.annotations.Nullable java.lang.String densityFilter , @ com.android.annotations.Nullable java.lang.String abiFilter ) { return new com.android.build.gradle.internal.variant.LibVariantOutputData ( densityFilter , abiFilter , this ) ; }
Source:
public com.android.jack.test.toolchain.JackApiV01Toolchain build ( ) { return new com.android.jack.test.toolchain.JackApiV01Toolchain ( com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jack" ) ) ; }

Target:
public com.android.jack.test.toolchain.JackApiV01Toolchain build ( ) { java.io.File jackPrebuilt = ( com.android.jack.test.toolchain.AbstractTestTools.isPrebuiltAvailable ( "jack" ) ) ? com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jack" ) : null ; return new com.android.jack.test.toolchain.JackApiV01Toolchain ( jackPrebuilt ) ; }
Source:
private boolean isSubInfoReady ( ) { return ( com.android.internal.telephony.SubscriptionController.sSlotIdxToSubId.size ( ) ) > 0 ; }

Target:
private boolean isSubInfoReady ( ) { return ( com.android.internal.telephony.SubscriptionController.sSlotIndexToSubId.size ( ) ) > 0 ; }
Source:
boolean isPrime ( int certainty ) { return java.math.NativeBN.BN_is_prime_ex ( bignum , certainty , 0 ) ; }

Target:
boolean isPrime ( int certainty ) { return java.math.NativeBN.BN_primality_test ( bignum , certainty , false ) ; }
Source:
private void throwIfNestedTransaction ( ) { if ( ( ( mTransactionStack ) == null ) && ( ( mTransactionStack.mParent ) != null ) ) { throw new java.lang.IllegalStateException ( ( "Cannot perform this operation because " + "a nested transaction is in progress." ) ) ; } }

Target:
private void throwIfNestedTransaction ( ) { if ( hasNestedTransaction ( ) ) { throw new java.lang.IllegalStateException ( ( "Cannot perform this operation because " + "a nested transaction is in progress." ) ) ; } }
Source:
public void cleanup ( ) { validateMockitoUsage ( ) ; }

Target:
public void cleanup ( ) { org.mockito.Mockito.validateMockitoUsage ( ) ; }
Source:
public java.util.List < java.lang.String > applicableSuperClasses ( ) { return null ; }

Target:
public java.util.List < java.lang.String > getApplicableMethodNames ( ) { return null ; }
Source:
public static boolean allowGetCallerClass ( ) { return sun.misc.VM.allowGetCallerClass ; }

Target:
public static void awaitBooted ( ) throws java.lang.InterruptedException { synchronized ( sun.misc.VM.lock ) { while ( ! ( sun.misc.VM.booted ) ) { sun.misc.VM.lock.wait ( ) ; } } }
Source:
public java.lang.String toString ( ) { return ( ( ( super . toString ( ) ) + "(wraps " ) + ( mDelegate ) ) + ")" ; }

Target:
public java.lang.String toString ( ) { android.media.MediaMetadata data = getMetadata ( ) ; android.media.MediaDescription desc = ( data == null ) ? null : data.getDescription ( ) ; return ( ( ( ( "MediaController (" + ( getPackageName ( ) ) ) + "@" ) + ( java.lang.Integer.toHexString ( mDelegate.hashCode ( ) ) ) ) + ") " ) + desc ; }
Source:
public static native byte [ ] SSL_get_tls_channel_id ( int ssl ) throws javax.net.ssl.SSLException ;

Target:
public static native java.lang.String [ ] get_X509_CRL_ext_oids ( long x509ctx , int critical ) ;
Source:
void onAdvertiseDataUpdated ( int status , int advertiserId ) { if ( com.android.bluetooth.gatt.GattService.DBG ) android.util.Log.d ( com.android.bluetooth.gatt.GattService.TAG , ( ( ( "onAdvertiseDataUpdated() - advertiserId=" + advertiserId ) + ", status=" ) + status ) ) ; }

Target:
void onAdvertiseParamsSet ( int status , int advertiserId ) { if ( com.android.bluetooth.gatt.GattService.DBG ) android.util.Log.d ( com.android.bluetooth.gatt.GattService.TAG , ( ( ( "onAdvertiseParamsSet() - advertiserId=" + advertiserId ) + ", status=" ) + status ) ) ; mAdvertiseManager.callbackDone ( advertiserId , status ) ; }
Source:
public int size ( ) { int result = ( list.size ( ) ) / ( size ) ; if ( ( result * ( size ) ) != ( list.size ( ) ) ) { result ++ ; } return result ; }

Target:
public int size ( ) { return com.google.common.math.IntMath.divide ( list.size ( ) , size , java.math.RoundingMode.CEILING ) ; }
Source:
public com.android.ims.internal.IImsMMTelFeature createMMTelFeature ( int slotId , com.android.ims.internal.IImsFeatureStatusCallback c ) { return createMMTelFeatureInternal ( slotId , c ) ; }

Target:
public android.telephony.ims.aidl.IImsMmTelFeature createMmTelFeature ( int slotId , com.android.ims.internal.IImsFeatureStatusCallback c ) { return createMmTelFeatureInternal ( slotId , c ) ; }
Source:
public void testStringOverlay ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.string.phoneTypeCar ; setLocale ( "sv_SE" ) ; assertResource ( resId , "Bil" , "Bil" ) ; }

Target:
private int getExpected ( int no , int so , int mo ) { switch ( mMode ) { case com.android.overlaytest.OverlayBaseTest.MODE_NO_OVERLAY : return no ; case com.android.overlaytest.OverlayBaseTest.MODE_SINGLE_OVERLAY : return so ; case com.android.overlaytest.OverlayBaseTest.MODE_MULTIPLE_OVERLAYS : return mo ; default : fail ( "Unknown mode!" ) ; return no ; } }
Source:
public void broadcastP2pInvitationResult ( java.lang.String iface , com.android.server.wifi.p2p.WifiP2pServiceImpl.P2pStatus result ) { sendMessage ( iface , com.android.server.wifi.WifiMonitor.P2P_INVITATION_RESULT_EVENT , result ) ; }

Target:
public void broadcastPnoScanResultEvent ( java.lang.String iface ) { sendMessage ( iface , com.android.server.wifi.WifiMonitor.PNO_SCAN_RESULTS_EVENT ) ; }
Source:
private static int setEcho ( boolean on , int previousState ) { try { return java.io.Console.setEchoImpl ( on , previousState ) ; } catch ( java.io.IOException ex ) { throw new java.io.IOError ( ex ) ; } }

Target:
public char [ ] readPassword ( java.lang.String format , java.lang.Object ... args ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
synchronized void nScriptGroupSetInput ( int group , int kernel , int alloc ) { validate ( ) ; rsnScriptGroupSetInput ( mContext , group , kernel , alloc ) ; }

Target:
synchronized void nScriptSetVarVE ( long id , int slot , byte [ ] val , long e , int [ ] dims ) { validate ( ) ; rsnScriptSetVarVE ( mContext , id , slot , val , e , dims ) ; }
Source:
protected android.widget.RemoteViews createPresentation ( java.lang.String message ) { final android.widget.RemoteViews presentation = new android.widget.RemoteViews ( android.autofillservice.cts.Helper.getContext ( ) . getPackageName ( ) , R.layout.list_item ) ; presentation.setTextViewText ( R.id.text1 , message ) ; return presentation ; }

Target:
protected static android.widget.RemoteViews createPresentation ( java.lang.String message ) { final android.widget.RemoteViews presentation = new android.widget.RemoteViews ( android.autofillservice.cts.AutoFillServiceTestCase.getContext ( ) . getPackageName ( ) , R.layout.list_item ) ; presentation.setTextViewText ( R.id.text1 , message ) ; return presentation ; }
Source:
public boolean isOpened ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . isOpened ( mSlotId , mSupportedFeature ) ; } }

Target:
public void addRegistrationListener ( com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; getServiceInterface ( mBinder ) . addRegistrationListener ( listener ) ; } }
Source:
public org.junit.runner.Description childlessCopy ( ) { return new org.junit.runner.Description ( fDisplayName , fAnnotations ) ; }

Target:
public org.junit.runner.Description childlessCopy ( ) { return new org.junit.runner.Description ( fTestClass , fDisplayName , fAnnotations ) ; }
Source:
public void periodicAdvertisingEnable ( boolean enable ) { try { gatt.periodicAdvertisingEnable ( this . advertiserId , enable ) ; } catch ( android.os.RemoteException e ) { android.util.Log.e ( android.bluetooth.le.AdvertisingSet.TAG , "remote exception - " , e ) ; } }

Target:
public void setPeriodicAdvertisingEnable ( boolean enable ) { try { gatt.setPeriodicAdvertisingEnable ( this . advertiserId , enable ) ; } catch ( android.os.RemoteException e ) { android.util.Log.e ( android.bluetooth.le.AdvertisingSet.TAG , "remote exception - " , e ) ; } }
Source:
public java.lang.String getCookie ( java.lang.String url , boolean privateBrowsing ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract boolean hasCookies ( boolean privateBrowsing ) ;
Source:
public static void init ( final android.content.Context context ) { com.android.mms.data.Contact.sContactCache = new com.android.mms.data.Contact.ContactsCache ( context ) ; com.android.mms.data.RecipientIdCache.init ( context ) ; }

Target:
public static void init ( final android.content.Context context ) { if ( ( com.android.mms.data.Contact.sContactCache ) != null ) { com.android.mms.data.Contact.sContactCache.mTaskQueue.mWorkerThread.interrupt ( ) ; } com.android.mms.data.Contact.sContactCache = new com.android.mms.data.Contact.ContactsCache ( context ) ; com.android.mms.data.RecipientIdCache.init ( context ) ; }
Source:
public void testInheritLocal ( ) throws java.lang.Exception { assertEquals ( ( "CustomViewTest.java: Warning: Custom view test/pkg/CustomViewTest is missing " + ( "constructor used by tools: (Context) or (Context,AttributeSet) or " + "(Context,AttributeSet,int)" ) ) , lintProject ( "bytecode/.classpath=>.classpath" , "bytecode/AndroidManifest.xml=>AndroidManifest.xml" , "apicheck/Intermediate.java.txt=>src/test/pkg/Intermediate.java.txt" , "src/test/pkg/CustomViewTest.java.txt=>src/test/pkg/CustomViewTest.java" , "bytecode/CustomViewTest.class.data=>bin/classes/test/pkg/CustomViewTest.class" , "apicheck/Intermediate.class.data=>bin/classes/test/pkg/Intermediate.class" , ( "apicheck/Intermediate$IntermediateCustomV.class.data=>" + "bin/classes/test/pkg/Intermediate$IntermediateCustomV.class" ) ) ) ; }

Target:
public void testInheritLocal ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/CustomViewTest.java: Warning: Custom view test/pkg/CustomViewTest is missing constructor used by tools: (Context) or (Context,AttributeSet) or (Context,AttributeSet,int) [ViewConstructor]\n" + ( "0 errors, 1 warnings\n" + "" ) ) , lintProject ( "bytecode/.classpath=>.classpath" , "bytecode/AndroidManifest.xml=>AndroidManifest.xml" , "apicheck/Intermediate.java.txt=>src/test/pkg/Intermediate.java.txt" , "src/test/pkg/CustomViewTest.java.txt=>src/test/pkg/CustomViewTest.java" , "bytecode/CustomViewTest.class.data=>bin/classes/test/pkg/CustomViewTest.class" , "apicheck/Intermediate.class.data=>bin/classes/test/pkg/Intermediate.class" , ( "apicheck/Intermediate$IntermediateCustomV.class.data=>" + "bin/classes/test/pkg/Intermediate$IntermediateCustomV.class" ) ) ) ; }
Source:
private void handleSystemReady ( ) { synchronized ( mLock ) { resetIfReadyAndConnectedLocked ( ) ; } com.android.server.MountServiceIdler.scheduleIdlePass ( mContext ) ; }

Target:
private void handleSystemReady ( ) { initIfReadyAndConnected ( ) ; resetIfReadyAndConnected ( ) ; com.android.server.MountServiceIdler.scheduleIdlePass ( mContext ) ; }
Source:
static byte $opt$ShortToByte ( short a ) { return ( ( byte ) ( a ) ) ; }

Target:
static byte $opt$ShortToByte ( short a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( byte ) ( a ) ) ; }
Source:
void sendScanResultsAvailableBroadcast ( boolean scanSucceeded ) { android.content.Intent intent = new android.content.Intent ( android.net.wifi.WifiManager.SCAN_RESULTS_AVAILABLE_ACTION ) ; intent.addFlags ( Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT ) ; intent.putExtra ( WifiManager.EXTRA_RESULTS_UPDATED , scanSucceeded ) ; mContext.sendBroadcastAsUser ( intent , UserHandle.ALL ) ; }

Target:
public void setIpReachabilityDisconnectEnabled ( boolean enabled ) { mIpReachabilityDisconnectEnabled = enabled ; }
Source:
public void stopScan ( ) { mBLEScanner.stopScan ( mScanCallback ) ; }

Target:
public void stopScan ( ) { if ( ( mBLEScanner ) != null ) { mBLEScanner.stopScan ( mScanCallback ) ; } else { android.util.Log.e ( com.android.pmc.GattClientListener.TAG , "BLEScanner is null" ) ; } }
Source:
public void clearPackages ( ) { mPackages = null ; }

Target:
public void clearPackages ( ) { setPackages ( null ) ; }
Source:
public void testThatMethodWithAnnotationIsReportedAsBeingAnnotated ( ) throws java.lang.Exception { assertTrue ( hasExampleAnnotation ( android.test.suitebuilder.annotation.HasAnnotationTest.ClassWithAnnotation.class , "testWithAnnotation" ) ) ; assertTrue ( hasExampleAnnotation ( android.test.suitebuilder.annotation.HasAnnotationTest.ClassWithoutAnnotation.class , "testWithAnnotation" ) ) ; }

Target:
public void testThatMethodWithAnnotationIsReportedAsBeingAnnotated ( ) throws java.lang.Exception { assertTrue ( hasExampleAnnotation ( android.test.suitebuilder.TestPredicatesTest.ClassWithAnnotation.class , "testWithAnnotation" ) ) ; assertTrue ( hasExampleAnnotation ( android.test.suitebuilder.TestPredicatesTest.ClassWithoutAnnotation.class , "testWithAnnotation" ) ) ; }
Source:
public void recordLoadSuccess ( long loadTime ) ;

Target:
void recordLoadException ( long loadTime ) ;
Source:
public static java.util.Map < java.lang.String , java.lang.Integer > retrieveJavaTimeFieldValueNames ( java.lang.String id , int field , int style , java.util.Locale locale ) { return null ; }

Target:
public static java.util.Map < java.lang.String , java.lang.Integer > retrieveJavaTimeFieldValueNames ( java.lang.String id , int field , int style , java.util.Locale locale ) { return sun.util.locale.provider.CalendarDataUtility.retrieveFieldValueNames ( id , field , style , locale ) ; }
Source:
protected void engineUpdate ( byte [ ] input , int offset , int len ) { final org.conscrypt.NativeRef.EVP_MD_CTX ctxLocal = ctx ; org.conscrypt.NativeCrypto.EVP_DigestUpdate ( ctxLocal , input , offset , len ) ; }

Target:
protected void engineUpdate ( byte [ ] input , int offset , int len ) { final org.conscrypt.NativeRef.HMAC_CTX ctxLocal = ctx ; org.conscrypt.NativeCrypto.HMAC_Update ( ctxLocal , input , offset , len ) ; }
Source:
public void onCallStateChanged ( android.content.Context context , int newState ) { if ( newState == ( android.telecom.Call.STATE_DISCONNECTING ) ) { duo.unregisterListener ( this ) ; } callState = newState ; }

Target:
public void onCallStateChanged ( android.content.Context context , int newState , android.telecom.PhoneAccountHandle phoneAccountHandle ) { if ( newState == ( android.telecom.Call.STATE_DISCONNECTING ) ) { duo.unregisterListener ( this ) ; } callState = newState ; }
Source:
public void setNoCrunch ( boolean nocrunch ) { mUseCrunchCache = nocrunch ; }

Target:
public void setNoCrunch ( boolean usecrunch ) { mUseCrunchCache = usecrunch ; }
Source:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Arrays.asList ( com.android.SdkConstants.TAG_STYLE , com.android.SdkConstants.TAG_RESOURCES , com.android.SdkConstants.TAG_ARRAY , com.android.SdkConstants.TAG_STRING_ARRAY , com.android.SdkConstants.TAG_PLURALS ) ; }

Target:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Arrays.asList ( com.android.SdkConstants.TAG_STYLE , com.android.SdkConstants.TAG_RESOURCES , com.android.SdkConstants.TAG_ARRAY , com.android.SdkConstants.TAG_STRING_ARRAY , com.android.SdkConstants.TAG_INTEGER_ARRAY , com.android.SdkConstants.TAG_PLURALS ) ; }
Source:
public java.lang.String toString ( ) { return ( ( ( ( ( ( "ReplaceCommentText{" + "oldText='" ) + ( oldText ) ) + '\'' ) + ", newText='" ) + ( newText ) ) + '\'' ) + '}' ; }

Target:
public java.lang.String toString ( ) { return ( ( ( ( ( ( "ReplaceTextCommentScanner{" + "oldText='" ) + ( oldText ) ) + '\'' ) + ", newText='" ) + ( newText ) ) + '\'' ) + '}' ; }
Source:
private void removeImsServiceFeatureListener ( ) { synchronized ( mLock ) { mImsStatusCallbacks.clear ( ) ; } }

Target:
public void removeImsServiceFeatureCallbacks ( ) { synchronized ( mLock ) { mImsStatusCallbacks.clear ( ) ; } }
Source:
void srcToExe ( @ javax.annotation.CheckForNull java.lang.String classpath , @ javax.annotation.Nonnull java.io.File out , boolean zipFile , @ javax.annotation.Nonnull java.io.File ... sources ) throws java.lang.Exception ;

Target:
void libToExe ( @ javax.annotation.Nonnull java.io.File [ ] in , @ javax.annotation.Nonnull java.io.File out , boolean zipFile ) throws java.lang.Exception ;
Source:
public void onError ( final int errorCode , final java.lang.String message ) { try { callback.onError ( errorCode , message ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }

Target:
public void onStreamingServicesUpdated ( final java.util.List < android.telephony.mbms.StreamingServiceInfo > services ) { try { callback.onStreamingServicesUpdated ( services ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }
Source:
public com.android.ide.common.rendering.api.ResourceValue findItemInTheme ( java.lang.String itemName ) { if ( ( getTheme ( ) ) != null ) { return findItemInStyle ( getTheme ( ) , itemName ) ; } return null ; }

Target:
public com.android.ide.common.rendering.api.ResourceValue findItemInTheme ( java.lang.String itemName ) { com.android.ide.common.rendering.api.StyleResourceValue currentTheme = getCurrentTheme ( ) ; if ( currentTheme != null ) { return findItemInStyle ( currentTheme , itemName ) ; } return null ; }
Source:
public void addFailure ( junit.framework.Test test , junit.framework.AssertionFailedError error ) { java.lang.System.out.println ( java.lang.String.format ( "failure:%s" , stringify ( error ) ) ) ; }

Target:
public void addFailure ( junit.framework.Test test , junit.framework.AssertionFailedError error ) { java.lang.System.out.println ( java.lang.String.format ( "failure:%s" , com.android.compatibility.dalvik.DalvikTestRunner.DalvikTestListener.stringify ( error ) ) ) ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { finish ( ) ; }

Target:
public void onDismiss ( android.content.DialogInterface dialog ) { finish ( ) ; }
Source:
public void test_plusWeeks_negativeOverYears ( ) { java.time.LocalDate t = TEST_2007_07_15.plusWeeks ( ( - 104 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2005 , 7 , 17 ) ) ; }

Target:
public void test_plusWeeks_negativeOverYears ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.plusWeeks ( ( - 104 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2005 , 7 , 17 ) ) ; }
Source:
public static java.lang.String findAddress ( java.lang.String addr ) { return android.webkit.WebView.getFactory ( ) . getStatics ( ) . findAddress ( addr ) ; }

Target:
public static java.lang.String findAddress ( java.lang.String addr ) { if ( addr == null ) { throw new java.lang.NullPointerException ( "addr is null" ) ; } return android.webkit.FindAddress.findAddress ( addr ) ; }
Source:
protected void onPostExecute ( java.lang.Boolean result ) { super . onPostExecute ( result ) ; setPassState ( mVerifyGlobalSearchItem , result ) ; mGlobalSearchVerified = result ; goToNextState ( postTarget , failCallback ) ; }

Target:
public void run ( ) { postTarget.removeCallbacks ( failCallback ) ; setPassState ( mVerifyOverlayViewItem , true ) ; mOverlayViewVerified = true ; goToNextState ( postTarget , failCallback ) ; }
Source:
public void testConstructor_NullStartDate_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , null , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when startDate is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_NullSerial_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , "RSA" , 1024 , null , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , null , android.security.KeyPairGeneratorSpecTest.NOW , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when startDate is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
private static native long getNumAllocations ( ) ;

Target:
private static native long getNumNativeBytesAllocated ( ) ;
Source:
public com.android.jack.test.toolchain.JackCliToolchain setVerbose ( boolean isVerbose ) { super . setVerbose ( isVerbose ) ; verbosityLevel = ( isVerbose ) ? com.android.jack.Options.VerbosityLevel.DEBUG : com.android.jack.Options.VerbosityLevel.WARNING ; return this ; }

Target:
protected com.android.jack.test.toolchain.JackCliToolchain setVerbosityLevel ( @ javax.annotation.Nonnull com.android.jack.Options.VerbosityLevel level ) { verbosityLevel = level ; return this ; }
Source:
private void doRedraw ( ) { org.eclipse.swt.widgets.Display.getDefault ( ) . asyncExec ( new java.lang.Runnable ( ) { public void run ( ) { canvas.redraw ( ) ; } } ) ; }

Target:
private void doRedraw ( ) { org.eclipse.swt.widgets.Display.getDefault ( ) . syncExec ( new java.lang.Runnable ( ) { public void run ( ) { canvas.redraw ( ) ; } } ) ; }
Source:
public void testE1 ( ) { dot.junit.opcodes.div_int.d.T_div_int_1 t = new dot.junit.opcodes.div_int.d.T_div_int_1 ( ) ; try { t.run ( 1 , 0 ) ; fail ( "expected ArithmeticException" ) ; } catch ( java.lang.ArithmeticException ae ) { } }

Target:
public void testVFE1 ( ) { load ( "dot.junit.opcodes.div_int.d.T_div_int_2" , java.lang.VerifyError.class ) ; }
Source:
public void testE2 ( ) { dot.junit.opcodes.aput_boolean.d.T_aput_boolean_1 t = new dot.junit.opcodes.aput_boolean.d.T_aput_boolean_1 ( ) ; try { t.run ( null , 2 , true ) ; fail ( "expected NullPointerException" ) ; } catch ( java.lang.NullPointerException aie ) { } }

Target:
public void testVFE1 ( ) { load ( "dot.junit.opcodes.aput_boolean.d.T_aput_boolean_2" , java.lang.VerifyError.class ) ; }
Source:
private void onRilConnected ( ) { log ( "RIL connected." , true ) ; sendDeviceState ( android.hardware.radio.V1_0.DeviceStateType.CHARGING_STATE , mIsCharging ) ; sendDeviceState ( android.hardware.radio.V1_0.DeviceStateType.LOW_DATA_EXPECTED , mIsLowDataExpected ) ; sendDeviceState ( android.hardware.radio.V1_0.DeviceStateType.POWER_SAVE_MODE , mIsPowerSaveOn ) ; setUnsolResponseFilter ( mUnsolicitedResponseFilter , true ) ; }

Target:
private void onRilConnected ( ) { log ( "RIL connected." , true ) ; sendDeviceState ( android.hardware.radio.V1_0.DeviceStateType.CHARGING_STATE , mIsCharging ) ; sendDeviceState ( android.hardware.radio.V1_0.DeviceStateType.LOW_DATA_EXPECTED , mIsLowDataExpected ) ; sendDeviceState ( android.hardware.radio.V1_0.DeviceStateType.POWER_SAVE_MODE , mIsPowerSaveOn ) ; setUnsolResponseFilter ( mUnsolicitedResponseFilter , true ) ; setSignalStrengthReportingCriteria ( ) ; setLinkCapacityReportingCriteria ( ) ; }
Source:
private void makeValid ( ) { if ( ( this . bignum ) == 0 ) { this . bignum = java.math.NativeBN.BN_new ( ) ; } }

Target:
private void makeValid ( ) { if ( ( this . bignum ) == 0 ) { this . bignum = java.math.NativeBN.BN_new ( ) ; java.math.BigInt.registry.registerNativeAllocation ( this , this . bignum ) ; } }