auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public int onStartCommand ( android.content.Intent intent , int flags , int startId ) { return START_NOT_STICKY ; }

Target:
public void run ( ) { onTestFinish ( intent.getAction ( ) ) ; }
Source:
public static void checkDeprecated ( com.intellij.codeInspection.deprecation.PsiElement refElement , com.intellij.codeInspection.deprecation.PsiElement elementToHighlight , @ org.jetbrains.annotations.Nullable com.intellij.openapi.util.TextRange rangeInElement , com.intellij.codeInspection.ProblemsHolder holder ) { com.intellij.codeInspection.deprecation.DeprecationInspection.checkDeprecated ( refElement , elementToHighlight , rangeInElement , false , false , true , holder ) ; }

Target:
public static void checkDeprecated ( com.intellij.codeInspection.deprecation.PsiElement refElement , com.intellij.codeInspection.deprecation.PsiElement elementToHighlight , @ org.jetbrains.annotations.Nullable com.intellij.openapi.util.TextRange rangeInElement , com.intellij.codeInspection.deprecation.ProblemsHolder holder ) { com.intellij.codeInspection.deprecation.DeprecationInspection.checkDeprecated ( refElement , elementToHighlight , rangeInElement , false , false , true , holder ) ; }
Source:
public X apply ( java.lang.Exception e ) { return exception ; }

Target:
public void onFailure ( java.lang.Throwable t ) { if ( running.isCancelled ( ) ) { cancel ( false ) ; } else { setException ( t ) ; } }
Source:
public void addDevice ( com.android.ddmlib.IDevice device , com.android.hierarchyviewerlib.device.Window [ ] windows ) { synchronized ( mDeviceMap ) { mDeviceMap.put ( device , windows ) ; mDeviceList.add ( device ) ; } notifyDeviceConnected ( device ) ; }

Target:
public void addDevice ( com.android.ddmlib.IDevice device , com.android.hierarchyviewerlib.device.Window [ ] windows , com.android.hierarchyviewerlib.device.DeviceBridge.ViewServerInfo info ) { synchronized ( mDeviceMap ) { mDeviceMap.put ( device , new com.android.hierarchyviewerlib.models.DeviceSelectionModel.DeviceInfo ( windows , info ) ) ; mDeviceList.add ( device ) ; } notifyDeviceConnected ( device ) ; }
Source:
public void onClick ( android.view.View v ) { com.android.dialer.telecom.TelecomUtil.placeCall ( context , new com.android.dialer.callintent.CallIntentBuilder ( number , CallInitiationType.Type.REGULAR_SEARCH ) . build ( ) ) ; }

Target:
public void onClick ( android.view.View v ) { com.android.dialer.precall.PreCall.start ( context , new com.android.dialer.callintent.CallIntentBuilder ( number , CallInitiationType.Type.REGULAR_SEARCH ) ) ; }
Source:
protected boolean shouldApplyOn ( java.io.File toFile ) { return toFile.exists ( ) ; }

Target:
protected boolean doShouldApply ( java.io.File toDir ) { return getFile ( toDir ) . exists ( ) ; }
Source:
void addGeneratedSourceFolders ( @ com.android.annotations.NonNull org.gradle.api.Task task , @ com.android.annotations.NonNull java.lang.Iterable < java.io.File > sourceFolders ) ;

Target:
void addJavaSourceFoldersToModel ( @ com.android.annotations.NonNull java.util.Collection < java.io.File > sourceFolders ) ;
Source:
protected boolean markIfNecessary ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNode node ) { return ( node.addMarkerIfAbsent ( createMarkerFor ( node ) ) ) == null ; }

Target:
protected boolean markIfNecessary ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNode node ) { synchronized ( node ) { if ( ! ( node.containsMarker ( markerClass ) ) ) { node.addMarker ( createMarkerFor ( node ) ) ; return true ; } } return false ; }
Source:
public final native int [ ] readInt32Vector ( ) ;

Target:
private final native int [ ] readInt32VectorAsArray ( ) ;
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { onButtonDelete ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { if ( mCheckSortSource.getSelection ( ) ) { refreshViewerInput ( ) ; copySelection ( false ) ; syncViewerSelection ( ) ; } }
Source:
public void getCallWaiting ( android.os.Message onComplete ) { mCM.queryCallWaiting ( CommandsInterface.SERVICE_CLASS_VOICE , onComplete ) ; }

Target:
public void getCallWaiting ( android.os.Message onComplete ) { mCi.queryCallWaiting ( CommandsInterface.SERVICE_CLASS_VOICE , onComplete ) ; }
Source:
public void accept ( final org.objectweb.asm.MethodVisitor mv ) { mv.visitInvokeDynamicInsn ( name , desc , bsm , bsmArgs ) ; }

Target:
public void accept ( final org.objectweb.asm.MethodVisitor mv ) { mv.visitInvokeDynamicInsn ( name , desc , bsm , bsmArgs ) ; acceptAnnotations ( mv ) ; }
Source:
public void run ( ) { long token = android.os.Binder.clearCallingIdentity ( ) ; try { mAppCallback.onProgressUpdated ( request , fileInfo , currentDownloadSize , fullDownloadSize , currentDecodedSize , fullDecodedSize ) ; } finally { android.os.Binder.restoreCallingIdentity ( token ) ; } }

Target:
public void run ( ) { long token = android.os.Binder.clearCallingIdentity ( ) ; try { mAppListener.onProgressUpdated ( request , fileInfo , currentDownloadSize , fullDownloadSize , currentDecodedSize , fullDecodedSize ) ; } finally { android.os.Binder.restoreCallingIdentity ( token ) ; } }
Source:
public java.lang.Integer call ( ) { return computeHorizontalScrollRange ( ) ; }

Target:
public void run ( ) { setLayerType ( layerType , paint ) ; }
Source:
public void run ( ) { if ( commandName != null ) { com.intellij.codeInspection.ex.GlobalInspectionContextImpl.NOTIFICATION_GROUP.createNotification ( com.intellij.codeInspection.ex.InspectionsBundle.message ( "inspection.no.problems.message" ) , MessageType.INFO ) . notify ( getProject ( ) ) ; } if ( postRunnable != null ) { postRunnable.run ( ) ; } }

Target:
public void run ( @ org.jetbrains.annotations.NotNull com.intellij.codeInspection.ex.ProgressIndicator indicator ) { cleanup ( scope , profile , project , postRunnable , commandName ) ; }
Source:
private boolean isShorterThanPossibleNormalNumber ( com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata regionMetadata , java.lang.String number ) { java.util.regex.Pattern possibleNumberPattern = regexCache.getPatternForRegex ( regionMetadata.getGeneralDesc ( ) . getPossibleNumberPattern ( ) ) ; return ( testNumberLengthAgainstPattern ( possibleNumberPattern , number ) ) == ( com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT ) ; }

Target:
private boolean isShorterThanPossibleNormalNumber ( com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneMetadata regionMetadata , java.lang.String number ) { java.util.regex.Pattern possibleNumberPattern = regexCache.getPatternForRegex ( regionMetadata.generalDesc.possibleNumberPattern ) ; return ( testNumberLengthAgainstPattern ( possibleNumberPattern , number ) ) == ( com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT ) ; }
Source:
public android.os.PersistableBundle getConfig ( ) { return getConfigForSubId ( android.telephony.SubscriptionManager.getDefaultSubId ( ) ) ; }

Target:
public android.os.PersistableBundle getConfig ( ) { return getConfigForSubId ( android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ) ; }
Source:
public void run ( ) { mMessageCallback.mData = mData ; mMessageCallback.mID = mID ; mMessageCallback.mLength = mLength ; mMessageCallback.run ( ) ; }

Target:
public void setMessageHandler ( android.support.v8.renderscript.RenderScript.RSMessageHandler msg ) { mMessageCallback = msg ; if ( android.support.v8.renderscript.RenderScript.isNative ) { android.support.v8.renderscript.RenderScriptThunker rst = ( ( android.support.v8.renderscript.RenderScriptThunker ) ( this ) ) ; rst.setMessageHandler ( msg ) ; } }
Source:
public int getDuplexMode ( ) { return android.telephony.ServiceState.DUPLEX_MODE_UNKNOWN ; }

Target:
public int getDuplexMode ( ) { if ( ! ( android.telephony.ServiceState.isLte ( mRilDataRadioTechnology ) ) ) { return android.telephony.ServiceState.DUPLEX_MODE_UNKNOWN ; } int band = android.telephony.AccessNetworkUtils.getOperatingBandForEarfcn ( mChannelNumber ) ; return android.telephony.AccessNetworkUtils.getDuplexModeForEutranBand ( band ) ; }
Source:
public com.android.layoutlib.api.SceneResult moveChild ( java.lang.Object parentView , java.lang.Object childView , int index , com.android.layoutlib.api.LayoutScene.IAnimationListener listener ) { return SceneStatus.NOT_IMPLEMENTED.getResult ( ) ; }

Target:
public com.android.layoutlib.api.SceneResult moveChild ( java.lang.Object parentView , java.lang.Object childView , int index , java.util.Map < java.lang.String , java.lang.String > layoutParams , com.android.layoutlib.api.LayoutScene.IAnimationListener listener ) { return SceneStatus.NOT_IMPLEMENTED.getResult ( ) ; }
Source:
public boolean startVendorHal ( ) { kilroy ( ) ; throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public boolean initialize ( ) { mHalDeviceManager.initialize ( ) ; mHalDeviceManager.registerStatusListener ( mHalDeviceManagerStatusCallbacks , mWifiStateMachineHandlerThread.getLooper ( ) ) ; return true ; }
Source:
public void testBoolean ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.bool.config_annoy_dianne ; assertResource ( resId , true , true ) ; }

Target:
public void testFrameworkBooleanOverlay ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.bool.config_annoy_dianne ; assertResource ( resId , true , false , false ) ; }
Source:
public android.telephony.mbms.DownloadStatus getDownloadStatus ( android.telephony.mbms.DownloadRequest downloadRequest ) throws android.os.RemoteException { return null ; }

Target:
public int getDownloadStatus ( android.telephony.mbms.DownloadRequest downloadRequest , android.telephony.mbms.FileInfo fileInfo ) throws android.os.RemoteException { return 0 ; }
Source:
public static final java.util.Locale [ ] getAvailableLocales ( ) { return android.icu.impl.ICUResourceBundle.getAvailEntry ( android.icu.impl.ICUResourceBundle.ICU_BASE_NAME , android.icu.impl.ICUResourceBundle.ICU_DATA_CLASS_LOADER ) . getLocaleList ( ) ; }

Target:
public static final java.util.Locale [ ] getAvailableLocales ( ) { return android.icu.impl.ICUResourceBundle.getAvailEntry ( ICUData.ICU_BASE_NAME , android.icu.impl.ICUResourceBundle.ICU_DATA_CLASS_LOADER ) . getLocaleList ( ) ; }
Source:
public boolean isHideOnMouseDown ( ) { return false ; }

Target:
private boolean isMessageAccepted ( com.android.ddmuilib.logcat.LogCatMessage msg , java.util.List < com.android.ddmuilib.logcat.LogCatFilter > filters ) { for ( com.android.ddmuilib.logcat.LogCatFilter f : filters ) { if ( ! ( f.matches ( msg ) ) ) { return false ; } } return true ; }
Source:
private java.io.InputStream loadResource ( ) { return getClass ( ) . getResourceAsStream ( "resource.txt" ) ; }

Target:
private java.io.InputStream loadResource ( ) throws java.io.FileNotFoundException { java.io.InputStream is = new java.io.BufferedInputStream ( new java.io.FileInputStream ( mFile ) ) ; assertNotNull ( "test.txt not found" , is ) ; return is ; }
Source:
long getLastModified ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVFile file ) { return vfs.getLastModified ( file.getWrappedFile ( ) ) ; }

Target:
java.nio.file.attribute.FileTime getLastModified ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVFile file ) throws com.android.sched.util.file.CannotGetModificationTimeException { return vfs.getLastModified ( file.getWrappedFile ( ) ) ; }
Source:
protected void onProgressUpdate ( java.lang.Integer ... values ) { mProgressBar.setProgress ( values [ 0 ] ) ; }

Target:
protected void onProgressUpdate ( java.lang.Integer ... values ) { if ( ( Build.VERSION.SDK_INT ) >= ( Build.VERSION_CODES.N ) ) { mProgressBar.setProgress ( values [ 0 ] , true ) ; } else { mProgressBar.setProgress ( values [ 0 ] ) ; } }
Source:
, @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "ActivityGroup" , args = { boolean . class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onCreate" , args = { android.os.Bundle.class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onResume" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onSaveInstanceState" , args = { android.os.Bundle.class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onPause" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onStop" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onDestroy" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "getCurrentActivity" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "getLocalActivityManager" , args = { } ) } ) public void testTabDialog ( ) throws java.lang.Exception { mIntent = mTabIntent ; runMultipleLaunchpads ( "testTabDialog" , getClass ( ) , LaunchpadActivity.LIFECYCLE_DIALOG_ON_RESUME , LaunchpadActivity.LIFECYCLE_DIALOG_ON_STOP ) ; }

Target:
, @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "ActivityGroup" , args = { boolean . class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onCreate" , args = { android.os.Bundle.class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onResume" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onSaveInstanceState" , args = { android.os.Bundle.class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onPause" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onStop" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onDestroy" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "getCurrentActivity" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "getLocalActivityManager" , args = { } ) } ) public void testTabDialog ( ) throws java.lang.Exception { mIntent = mTabIntent ; runLaunchpad ( LaunchpadActivity.LIFECYCLE_DIALOG ) ; }
Source:
public static java.lang.String decode ( java.lang.String s ) { if ( s == null ) { return null ; } return libcore.net.UriCodec.decode ( s , false , Charsets.UTF_8 , false ) ; }

Target:
public static java.lang.String decode ( java.lang.String s ) { if ( s == null ) { return null ; } return libcore.net.UriCodec.decode ( s , false , java.nio.charset.StandardCharsets.UTF_8 , false ) ; }
Source:
synchronized void nScriptReduceNew ( long id , int slot , long [ ] ains , long aout , int [ ] limits ) { validate ( ) ; rsnScriptReduceNew ( mContext , id , slot , ains , aout , limits ) ; }

Target:
synchronized void nScriptReduce ( long id , int slot , long [ ] ains , long aout , int [ ] limits ) { validate ( ) ; rsnScriptReduce ( mContext , id , slot , ains , aout , limits ) ; }
Source:
public void run ( ) { com.intellij.openapi.module.Module module = com.intellij.openapi.module.ModuleManager.getInstance ( project ) . findModuleByName ( moduleName ) ; com.google.gct.idea.appengine.wizard.NewAppEngineModuleAction.createRunConfiguration ( project , module ) ; }

Target:
public void run ( ) { final com.intellij.openapi.module.Module module = com.intellij.openapi.module.ModuleManager.getInstance ( project ) . findModuleByName ( moduleName ) ; com.google.gct.idea.appengine.wizard.CloudModuleUtils.createRunConfiguration ( project , module ) ; }
Source:
public < T > void applyTiming ( com.google.common.util.concurrent.ListenableFuture < T > future , java.lang.String eventName ) { applyTiming ( future , eventName , com.android.dialer.metrics.FutureTimer.LogCatMode.DONT_LOG_VALUES ) ; }

Target:
public < T > void applyTiming ( com.google.common.util.concurrent.ListenableFuture < T > future , java.lang.String eventName ) { applyTiming ( future , ( unused ) -> eventName , com.android.dialer.metrics.FutureTimer.LogCatMode.DONT_LOG_VALUES ) ; }
Source:
public void testBug181 ( ) { java.util.regex.Pattern.compile ( "[\\t-\\r]" ) ; }

Target:
public void test_bug_181 ( ) { java.util.regex.Pattern.compile ( "[\\t-\\r]" ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mAudioManager = ( ( android.media.AudioManager ) ( mContext.getSystemService ( Context.AUDIO_SERVICE ) ) ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mAudioManager = ( ( android.media.AudioManager ) ( mContext.getSystemService ( Context.AUDIO_SERVICE ) ) ) ; mSession = new android.media.session.MediaSession ( getContext ( ) , android.media.cts.MediaSessionTest.TEST_SESSION_TAG ) ; }
Source:
private static void writeOutImage ( com.android.ddmlib.RawImage screenshot , java.lang.String name ) throws java.io.IOException { java.io.ObjectOutputStream out = new java.io.ObjectOutputStream ( new java.io.FileOutputStream ( name ) ) ; out.writeObject ( new com.android.chimpchat.adb.image.CaptureRawAndConvertedImage.ChimpRunnerRawImage ( screenshot ) ) ; out.close ( ) ; }

Target:
private static void writeOutImage ( com.android.ddmlib.RawImage screenshot , java.lang.String name ) throws java.io.IOException { java.io.ObjectOutputStream out = new java.io.ObjectOutputStream ( new java.io.FileOutputStream ( name ) ) ; out.writeObject ( new com.android.chimpchat.adb.image.CaptureRawAndConvertedImage.ChimpRawImage ( screenshot ) ) ; out.close ( ) ; }
Source:
public void onRestoreInstanceState ( android.os.Bundle savedInstanceState ) { android.app.stubs.TestDialog.isOnRestoreInstanceStateCalled = true ; this . savedInstanceState = savedInstanceState ; super . onRestoreInstanceState ( savedInstanceState ) ; }

Target:
public void onRestoreInstanceState ( android.os.Bundle savedInstanceState ) { this . savedInstanceState = savedInstanceState ; android.app.stubs.TestDialog.onRestoreInstanceStateObserver.onObserved ( ) ; super . onRestoreInstanceState ( savedInstanceState ) ; }
Source:
void registerProfileIntentReceiver ( ) { mContext.registerReceiver ( mBroadcastReceiver , mProfileIntentFilter , null , mReceiverHandler ) ; }

Target:
void registerProfileIntentReceiver ( ) { mContext.registerReceiver ( mProfileBroadcastReceiver , mProfileIntentFilter , null , mReceiverHandler ) ; }
Source:
public boolean isValidOn ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { return ! ( method.getEnclosingType ( ) . isExternal ( ) ) ; }

Target:
public boolean isValidOn ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { return method.getEnclosingType ( ) . isToEmit ( ) ; }
Source:
public native java.io.FileDescriptor [ ] pipe ( ) throws android.system.ErrnoException ;

Target:
public native java.io.FileDescriptor [ ] pipe2 ( int flags ) throws android.system.ErrnoException ;
Source:
private static int [ ] zzUnpackRowMap ( ) { int [ ] result = new int [ 1260 ] ; int offset = 0 ; offset = org.jf.smali.smaliFlexLexer.zzUnpackRowMap ( org.jf.smali.smaliFlexLexer.ZZ_ROWMAP_PACKED_0 , offset , result ) ; return result ; }

Target:
private static int [ ] zzUnpackRowMap ( ) { int [ ] result = new int [ 1209 ] ; int offset = 0 ; offset = org.jf.smali.smaliFlexLexer.zzUnpackRowMap ( org.jf.smali.smaliFlexLexer.ZZ_ROWMAP_PACKED_0 , offset , result ) ; return result ; }
Source:
public void onLooperPrepared ( ) { mEuiccCard = new com.android.internal.telephony.uicc.euicc.EuiccCard ( mContextFixture.getTestDouble ( ) , mMockCi , mMockIccCardStatus , 0 ) ; mHandler = new android.os.Handler ( mTestHandlerThread.getLooper ( ) ) ; setReady ( true ) ; }

Target:
protected byte [ ] getDeviceId ( ) { return com.android.internal.telephony.uicc.IccUtils.bcdToBytes ( "987654321012345" ) ; }
Source:
public void testAssumptionFailure ( com.android.ddmlib.testrunner.TestIdentifier test , java.lang.String trace ) ;

Target:
void testIgnored ( com.android.ddmlib.testrunner.TestIdentifier test ) ;
Source:
public com.android.jack.ir.ast.cfg.JBasicBlockElement lastElement ( ) { assert ( elements.size ( ) ) > 0 ; return elements.get ( ( ( elements.size ( ) ) - 1 ) ) ; }

Target:
public com.android.jack.ir.ast.cfg.JBasicBlockElement getLastElement ( ) { assert ( elements.size ( ) ) > 0 ; return elements.get ( ( ( elements.size ( ) ) - 1 ) ) ; }
Source:
public void close ( ) throws java.io.IOException { if ( ! ( closed ) ) { closeEntry ( ) ; super . close ( ) ; } }

Target:
public void close ( ) throws java.io.IOException { if ( ! ( closed ) ) { try { closeEntry ( ) ; } catch ( java.io.IOException ignored ) { } super . close ( ) ; } }
Source:
public static long NegNeg3 ( long arg ) { return 0 - ( - arg ) ; }

Target:
public static long $noinline$NegNeg3 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return 0 - ( - arg ) ; }
Source:
boolean isNumberMatchingDesc ( java.lang.String nationalNumber , com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneNumberDesc numberDesc ) { java.util.regex.Matcher nationalNumberPatternMatcher = regexCache.getPatternForRegex ( numberDesc.nationalNumberPattern ) . matcher ( nationalNumber ) ; return ( isNumberPossibleForDesc ( nationalNumber , numberDesc ) ) && ( nationalNumberPatternMatcher.matches ( ) ) ; }

Target:
boolean isNumberPossibleForDesc ( java.lang.String nationalNumber , com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc numberDesc ) { java.util.regex.Matcher possibleNumberPatternMatcher = regexCache.getPatternForRegex ( numberDesc.getPossibleNumberPattern ( ) ) . matcher ( nationalNumber ) ; return possibleNumberPatternMatcher.matches ( ) ; }
Source:
public void testString ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.string.phoneTypeHome ; setLocale ( "en_US" ) ; assertResource ( resId , "Home" , "Home" ) ; setLocale ( "sv_SE" ) ; assertResource ( resId , "Hem" , "Hem" ) ; }

Target:
public void testMatrix100110 ( ) throws java.lang.Throwable { final int resId = R.integer.matrix_100110 ; setLocale ( "sv_SE" ) ; assertResource ( resId , 100 , 400 , 400 ) ; }
Source:
public void executeShellCommand ( java.lang.String command , com.android.ddmlib.IShellOutputReceiver receiver , int maxTimeToOutputResponse ) throws com.android.ddmlib.AdbCommandRejectedException , com.android.ddmlib.ShellCommandUnresponsiveException , com.android.ddmlib.TimeoutException , java.io.IOException { java.lang.System.out.println ( java.lang.String.format ( "EXECSHELL(%S) CALLED" , name ) ) ; execShellCalled = true ; }

Target:
public void executeShellCommand ( java.lang.String command , com.android.ddmlib.IShellOutputReceiver receiver , int maxTimeToOutputResponse ) throws com.android.ddmlib.AdbCommandRejectedException , com.android.ddmlib.ShellCommandUnresponsiveException , com.android.ddmlib.TimeoutException , java.io.IOException { throw new java.lang.UnsupportedOperationException ( "Wrong executeShellCommand" ) ; }
Source:
public boolean connect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.mapclient.MceStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.mapclient.MceStateMachine.TAG , ( "Connect Request " + ( device.getAddress ( ) ) ) ) ; } sendMessage ( com.android.bluetooth.mapclient.MceStateMachine.MSG_CONNECT , device ) ; return true ; }

Target:
protected void onQuitting ( ) { if ( ( mService ) != null ) { mService.cleanupDevice ( mDevice ) ; } }
Source:
public void startNetworkScan ( android.os.Message response ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }

Target:
public void startNetworkScan ( android.telephony.NetworkScanRequest nsr , android.os.Message response ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }
Source:
public java.util.Iterator < com.android.jack.ir.ast.cfg.JBasicBlock > adapt ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JControlFlowGraph cfg ) { return cfg.getBlocksDepthFirst ( true ) . iterator ( ) ; }

Target:
public java.util.Iterator < com.android.jack.ir.ast.cfg.JBasicBlock > adapt ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JControlFlowGraph cfg ) { return com.google.common.collect.Lists.newArrayList ( cfg.getBlocksDepthFirst ( true ) ) . iterator ( ) ; }
Source:
public libcore.tzdata.update2.BundleVersion getInstalledBundleVersion ( ) throws java.io.IOException , libcore.tzdata.update2.BundleException { if ( ! ( currentTzDataDir.exists ( ) ) ) { return null ; } return readBundleVersion ( currentTzDataDir ) ; }

Target:
public libcore.tzdata.update2.DistroVersion getInstalledDistroVersion ( ) throws java.io.IOException , libcore.tzdata.update2.DistroException { if ( ! ( currentTzDataDir.exists ( ) ) ) { return null ; } return readDistroVersion ( currentTzDataDir ) ; }
Source:
synchronized void nScriptSetVarF ( long id , int slot , float val ) { validate ( ) ; rsnScriptSetVarF ( mContext , id , slot , val ) ; }

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 final void update ( byte input ) throws java.lang.IllegalStateException { if ( ! ( isInitMac ) ) { throw new java.lang.IllegalStateException ( ) ; } spiImpl.engineUpdate ( input ) ; }

Target:
public final void update ( byte input ) throws java.lang.IllegalStateException { if ( ! ( isInitMac ) ) { throw new java.lang.IllegalStateException ( ) ; } getSpi ( ) . engineUpdate ( input ) ; }
Source:
public static int getUid ( java.lang.String path ) { try { return Libcore.os.stat ( path ) . st_uid ; } catch ( libcore.io.ErrnoException e ) { return - 1 ; } }

Target:
public static int getUid ( java.lang.String path ) { try { return android.system.Os.stat ( path ) . st_uid ; } catch ( android.system.ErrnoException e ) { return - 1 ; } }
Source:
public int modifyPasspointManagementObject ( java.lang.String fqdn , java.util.List < android.net.wifi.PasspointManagementObjectDefinition > mos ) { return mWifiStateMachine.syncModifyPasspointManagementObject ( mWifiStateMachineChannel , fqdn , mos ) ; }

Target:
public boolean removePasspointConfiguration ( java.lang.String fqdn ) { enforceChangePermission ( ) ; return mPasspointManager.removeProvider ( fqdn ) ; }
Source:
public static int intConditionEqualZero ( int i ) { return ( i > 42 ) != false ? 13 : 54 ; }

Target:
private static boolean $inline$false ( ) { return false ; }
Source:
public void put ( android.icu.impl.UResource.Key key , android.icu.impl.UResource.Value value ) { if ( key.contentEquals ( "per" ) ) { cacheData.styleToPerPattern.put ( width , android.icu.impl.SimpleFormatterImpl.compileToStringMinMaxArguments ( value.getString ( ) , sb , 2 , 2 ) ) ; } }

Target:
void consumeCompoundPattern ( android.icu.impl.UResource.Key key , android.icu.impl.UResource.Value value ) { if ( key.contentEquals ( "per" ) ) { cacheData.styleToPerPattern.put ( width , android.icu.impl.SimpleFormatterImpl.compileToStringMinMaxArguments ( value.getString ( ) , sb , 2 , 2 ) ) ; } }
Source:
public void testFailed ( com.android.cts.appsecurity.TestFailure status , com.android.ddmlib.testrunner.TestIdentifier test , java.lang.String trace ) { com.android.ddmlib.Log.w ( com.android.cts.appsecurity.AppSecurityTests.LOG_TAG , java.lang.String.format ( "%s#%s failed: %s" , test.getClassName ( ) , test.getTestName ( ) , trace ) ) ; mAllTestsPassed = false ; }

Target:
public void testFailed ( com.android.cts.appsecurity.TestFailure status , com.android.ddmlib.testrunner.TestIdentifier test , java.lang.String trace ) { com.android.ddmlib.Log.logAndDisplay ( LogLevel.WARN , com.android.cts.appsecurity.AppSecurityTests.LOG_TAG , java.lang.String.format ( "%s#%s failed: %s" , test.getClassName ( ) , test.getTestName ( ) , trace ) ) ; mAllTestsPassed = false ; }
Source:
private static android.content.res.AssetFileDescriptor getAssetFileDescriptor ( android.content.Context context , java.lang.String uriString ) { android.content.ContentResolver resolver = context.getContentResolver ( ) ; android.net.Uri uri = android.net.Uri.parse ( uriString ) ; try { if ( org.chromium.base.ContentUriUtils.isVirtualDocument ( uri , context ) ) { java.lang.String [ ] streamTypes = resolver.getStreamTypes ( uri , "*/*" ) ; if ( ( streamTypes != null ) && ( ( streamTypes.length ) > 0 ) ) { android.content.res.AssetFileDescriptor afd = resolver.openTypedAssetFileDescriptor ( uri , streamTypes [ 0 ] , null ) ; if ( ( afd.getStartOffset ( ) ) != 0 ) { try { afd.close ( ) ; } catch ( java.io.IOException e ) { } throw new java.lang.SecurityException ( "Cannot open files with non-zero offset type." ) ; } return afd ; } } else { android.os.ParcelFileDescriptor pfd = resolver.openFileDescriptor ( uri , "r" ) ; if ( pfd != null ) { return new android.content.res.AssetFileDescriptor ( pfd , 0 , android.content.res.AssetFileDescriptor.UNKNOWN_LENGTH ) ; } } } catch ( java.io.FileNotFoundException e ) { android.util.Log.w ( org.chromium.base.ContentUriUtils.TAG , ( "Cannot find content uri: " + uriString ) , e ) ; } catch ( java.lang.SecurityException e ) { android.util.Log.w ( org.chromium.base.ContentUriUtils.TAG , ( "Cannot open content uri: " + uriString ) , e ) ; } catch ( java.lang.IllegalArgumentException e ) { android.util.Log.w ( org.chromium.base.ContentUriUtils.TAG , ( "Unknown content uri: " + uriString ) , e ) ; } catch ( java.lang.IllegalStateException e ) { android.util.Log.w ( org.chromium.base.ContentUriUtils.TAG , ( "Unknown content uri: " + uriString ) , e ) ; } return null ; }

Target:
public static int openContentUriForRead ( android.content.Context context , java.lang.String uriString ) { android.os.ParcelFileDescriptor pfd = org.chromium.base.ContentUriUtils.getParcelFileDescriptor ( context , uriString ) ; if ( pfd != null ) { return pfd.detachFd ( ) ; } return - 1 ; }
Source:
protected org.w3c.dom.Document getDomDocument ( ) { return mEditor.getUiRootNode ( ) . getXmlDocument ( ) ; }

Target:
protected org.w3c.dom.Document getDomDocument ( ) { if ( ( mEditor.getUiRootNode ( ) ) != null ) { return mEditor.getUiRootNode ( ) . getXmlDocument ( ) ; } else { return getElements ( ) . get ( 0 ) . getOwnerDocument ( ) ; } }
Source:
public java.util.List < com.android.build.gradle.internal.dependency.ManifestDependencyImpl > getManifestDependenciesForInput ( ) { return ( ( java.util.List < com.android.build.gradle.internal.dependency.ManifestDependencyImpl > ) ( dependencies ) ) ; }

Target:
public java.util.List < ? extends com.android.builder.dependency.ManifestDependency > getManifestDependencies ( ) { return dependencies ; }
Source:
public static boolean checkCallingOrSelfReadPhoneNumber ( android.content.Context context , java.lang.String callingPackage , java.lang.String message ) { return com.android.internal.telephony.TelephonyPermissions.checkReadPhoneNumber ( context , android.os.Binder.getCallingPid ( ) , android.os.Binder.getCallingUid ( ) , callingPackage , message ) ; }

Target:
public static boolean checkCallingOrSelfReadPhoneNumber ( android.content.Context context , int subId , java.lang.String callingPackage , java.lang.String message ) { return com.android.internal.telephony.TelephonyPermissions.checkReadPhoneNumber ( context , com.android.internal.telephony.TelephonyPermissions.TELEPHONY_SUPPLIER , subId , android.os.Binder.getCallingPid ( ) , android.os.Binder.getCallingUid ( ) , callingPackage , message ) ; }
Source:
public int hashCode ( ) { return com.google.common.collect.Sets.hashCodeImpl ( this ) ; }

Target:
java.util.Iterator < com.google.common.collect.Table.Cell < R , C , V2 > > cellIterator ( ) { return com.google.common.collect.Iterators.transform ( fromTable.cellSet ( ) . iterator ( ) , cellFunction ( ) ) ; }
Source:
public void test ( ) throws java.lang.Exception { assertEquals ( ( "res/menu/titles.xml:3: Warning: Menu items should specify a title [MenuTitle]\n" + ( ( ( ( ( " <item android:id=\"@+id/action_bar_progress_spinner\"\n" + " ^\n" ) + "res/menu/titles.xml:12: Warning: Menu items should specify a title [MenuTitle]\n" ) + " <item android:id=\"@+id/menu_plus_one\"\n" ) + " ^\n" ) + "0 errors, 2 warnings\n" ) ) , lintProject ( "apicheck/minsdk14.xml=>AndroidManifest.xml" , "res/menu/titles.xml" ) ) ; }

Target:
public void test ( ) throws java.lang.Exception { assertEquals ( ( "res/menu/titles.xml:3: Error: Menu items should specify a title [MenuTitle]\n" + ( ( ( ( ( " <item android:id=\"@+id/action_bar_progress_spinner\"\n" + " ^\n" ) + "res/menu/titles.xml:12: Error: Menu items should specify a title [MenuTitle]\n" ) + " <item android:id=\"@+id/menu_plus_one\"\n" ) + " ^\n" ) + "2 errors, 0 warnings\n" ) ) , lintProject ( "apicheck/minsdk14.xml=>AndroidManifest.xml" , "res/menu/titles.xml" ) ) ; }
Source:
public void test_EmptyMap_computeIfAbsent ( ) { try { java.util.Collections.emptyMap ( ) . computeIfAbsent ( 1 , ( k ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }

Target:
public void test_EmptyMap_merge ( ) { try { java.util.Collections.emptyMap ( ) . merge ( 1 , 5.0 , ( k , v ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }
Source:
public com.android.ims.internal.IImsMMTelFeature createEmergencyMMTelFeature ( int slotId , com.android.ims.internal.IImsFeatureStatusCallback c ) throws android.os.RemoteException { mStatusCallback = c ; return this . createEmergencyMMTelFeature ( slotId ) ; }

Target:
public void setListener ( android.telephony.ims.aidl.IImsServiceControllerListener l ) { }
Source:
public static long UShr0 ( long arg ) { return arg > > > 0 ; }

Target:
public static long $noinline$UShr0 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg > > > 0 ; }
Source:
protected void resetRecords ( ) { countVoiceMessages = 0 ; mncLength = UNINITIALIZED ; iccid = null ; adnCache.reset ( ) ; recordsRequested = false ; }

Target:
protected void resetRecords ( ) { mCountVoiceMessages = 0 ; mMncLength = UNINITIALIZED ; mIccId = null ; mAdnCache.reset ( ) ; mRecordsRequested = false ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClass x ) { return visit ( ( ( com.android.jack.ir.ast.JDefinedClassOrInterface ) ( x ) ) ) ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClass definedClass ) { return visit ( ( ( com.android.jack.ir.ast.JDefinedClassOrInterface ) ( definedClass ) ) ) ; }
Source:
public boolean areOutputFilesPresent ( ) { boolean filesOk = true ; for ( java.io.File outputFile : mOutputFiles ) { filesOk &= outputFile.isFile ( ) ; } return filesOk ; }

Target:
public boolean areOutputFilesPresent ( ) { boolean filesOk = ! ( mOutputFiles.isEmpty ( ) ) ; for ( java.io.File outputFile : mOutputFiles ) { filesOk &= outputFile.isFile ( ) ; } return filesOk ; }
Source:
final void performRestartActivity ( android.os.IBinder token ) { android.app.ActivityThread.ActivityClientRecord r = mActivities.get ( token ) ; if ( r.stopped ) { r.activity.performRestart ( ) ; r.stopped = false ; } }

Target:
final android.os.Bundle performPauseActivity ( android.os.IBinder token , boolean finished , boolean saveState ) { android.app.ActivityThread.ActivityClientRecord r = mActivities.get ( token ) ; return r != null ? performPauseActivity ( r , finished , saveState ) : null ; }
Source:
public proguard.evaluation.value.IntegerValue compare ( proguard.evaluation.value.ParticularFloatValue other ) { return ( this . value ) < ( other.value ) ? SpecificValueFactory.INTEGER_VALUE_M1 : ( this . value ) == ( other.value ) ? SpecificValueFactory.INTEGER_VALUE_0 : SpecificValueFactory.INTEGER_VALUE_1 ; }

Target:
public proguard.evaluation.value.IntegerValue compare ( proguard.evaluation.value.ParticularFloatValue other ) { return ( this . value ) < ( other.value ) ? ParticularValueFactory.INTEGER_VALUE_M1 : ( this . value ) == ( other.value ) ? ParticularValueFactory.INTEGER_VALUE_0 : ParticularValueFactory.INTEGER_VALUE_1 ; }
Source:
native int socketAvailable ( ) throws java.io.IOException ;

Target:
int socketAvailable ( ) throws java.io.IOException { return libcore.io.IoBridge.available ( fd ) ; }
Source:
private void checkFormat ( java.lang.String baseLocation , java.lang.String xml , java.lang.String expected ) throws java.lang.Exception { com.android.ide.eclipse.adt.internal.editors.formatting.XmlFormatPreferences prefs = com.android.ide.eclipse.adt.internal.editors.formatting.XmlFormatPreferences.create ( ) ; checkFormat ( prefs , baseLocation , xml , expected ) ; }

Target:
private void checkFormat ( java.lang.String baseLocation , java.lang.String xml , java.lang.String expected ) throws java.lang.Exception { com.android.ide.eclipse.adt.internal.editors.formatting.EclipseXmlFormatPreferences prefs = com.android.ide.eclipse.adt.internal.editors.formatting.EclipseXmlFormatPreferences.create ( ) ; checkFormat ( prefs , baseLocation , xml , expected ) ; }
Source:
public V2 transformEntry ( K key , V1 value ) { return function.apply ( value ) ; }

Target:
java.util.List < V2 > transform ( K key , java.util.Collection < V1 > values ) { return com.google.common.collect.Lists.transform ( ( ( java.util.List < V1 > ) ( values ) ) , com.google.common.collect.Maps.asValueToValueFunction ( transformer , key ) ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearStartTime ( ) { bitField0_ = ( bitField0_ ) & ( ~ 256 ) ; startTime_ = 0L ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearEndTime ( ) { bitField0_ = ( bitField0_ ) & ( ~ 1024 ) ; endTime_ = 0L ; onChanged ( ) ; return this ; }
Source:
public boolean hasCarrierSupport ( android.content.Context context , android.telecom.PhoneAccountHandle phoneAccountHandle ) { return new com.android.voicemail.impl.OmtpVvmCarrierConfigHelper ( context , phoneAccountHandle ) . isValid ( ) ; }

Target:
public boolean hasCarrierSupport ( android.content.Context context , android.telecom.PhoneAccountHandle phoneAccountHandle ) { com.android.voicemail.impl.OmtpVvmCarrierConfigHelper config = new com.android.voicemail.impl.OmtpVvmCarrierConfigHelper ( context , phoneAccountHandle ) ; return ( config.isValid ( ) ) && ( ! ( config.isCarrierAppInstalled ( ) ) ) ; }
Source:
public java.lang.String getName ( ) { return com.android.compatibility.common.util.ModuleResult.parseId ( mId ) [ 1 ] ; }

Target:
public java.lang.String getName ( ) { return com.android.compatibility.common.util.AbiUtils.parseTestName ( mId ) ; }
Source:
public java.lang.String getId ( ) { return ( getKey ( ) ) == null ? getName ( ) . toString ( ) : ( ( getName ( ) . toString ( ) ) + "#" ) + ( getKey ( ) ) ; }

Target:
public java.lang.String getId ( ) { return com.google.common.base.Strings.isNullOrEmpty ( getKey ( ) ) ? getName ( ) . toString ( ) : ( ( getName ( ) . toString ( ) ) + "#" ) + ( getKey ( ) ) ; }
Source:
private boolean isGprsConsistant ( int gprsState , int serviceState ) { return ! ( ( serviceState == ( android.telephony.ServiceState.STATE_IN_SERVICE ) ) && ( gprsState != ( android.telephony.ServiceState.STATE_IN_SERVICE ) ) ) ; }

Target:
private boolean isGprsConsistent ( int gprsState , int serviceState ) { return ! ( ( serviceState == ( android.telephony.ServiceState.STATE_IN_SERVICE ) ) && ( gprsState != ( android.telephony.ServiceState.STATE_IN_SERVICE ) ) ) ; }
Source:
public abstract com.android.jack.test.toolchain.JackBasedToolchain addProperty ( @ javax.annotation.Nonnull java.lang.String propertyName , @ javax.annotation.Nonnull java.lang.String propertyValue ) ;

Target:
public final com.android.jack.test.toolchain.JackBasedToolchain addProperty ( @ javax.annotation.Nonnull java.lang.String propertyName , @ javax.annotation.Nonnull java.lang.String propertyValue ) { properties.put ( propertyName , propertyValue ) ; return this ; }
Source:
public void onChildInserted ( com.android.ide.common.api.INode node , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { }

Target:
public void onChildInserted ( com.android.ide.common.api.INode child , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { }
Source:
private void notifyCharacteristicChanged ( ) { showMessage ( "Characteristic changed" ) ; android.content.Intent intent = new android.content.Intent ( com.android.cts.verifier.bluetooth.BleClientService.BLE_CHARACTERISTIC_CHANGED ) ; sendBroadcast ( intent ) ; }

Target:
private void notifyCharacteristicChanged ( java.lang.String value ) { showMessage ( ( "Characteristic changed: " + value ) ) ; android.content.Intent intent = new android.content.Intent ( com.android.cts.verifier.bluetooth.BleClientService.BLE_CHARACTERISTIC_CHANGED ) ; intent.putExtra ( com.android.cts.verifier.bluetooth.BleClientService.EXTRA_CHARACTERISTIC_VALUE , value ) ; sendBroadcast ( intent ) ; }
Source:
java.lang.reflect.Type [ ] getGenericParameterTypes ( ) { return libcore.reflect.Types.getTypeArray ( getMethodOrConstructorGenericInfo ( ) . genericParameterTypes , false ) ; }

Target:
public java.lang.annotation.Annotation [ ] [ ] getParameterAnnotations ( ) { java.lang.annotation.Annotation [ ] [ ] parameterAnnotations = getParameterAnnotationsNative ( ) ; if ( parameterAnnotations == null ) { parameterAnnotations = new java.lang.annotation.Annotation [ getParameterTypes ( ) . length ] [ 0 ] ; } return parameterAnnotations ; }
Source:
public int getColumnCount ( ) { return com.android.sched.util.log.stats.Alloc.HEADER.length ; }

Target:
public long getSize ( ) { return 0 ; }
Source:
public void onDestroyView ( ) { mList = null ; mHandler.removeCallbacks ( mRequestFocus ) ; mHandler.removeMessages ( android.preference.PreferenceFragment.MSG_BIND_PREFERENCES ) ; super . onDestroyView ( ) ; }

Target:
public void onDestroyView ( ) { if ( ( mList ) != null ) { mList.setOnKeyListener ( null ) ; } mList = null ; mHandler.removeCallbacks ( mRequestFocus ) ; mHandler.removeMessages ( android.preference.PreferenceFragment.MSG_BIND_PREFERENCES ) ; super . onDestroyView ( ) ; }
Source:
public void setVar ( int index , long v ) { mRS.nScriptSetVarD ( getID ( mRS ) , index , v , mUseIncSupp ) ; }

Target:
public void setVar ( int index , long v ) { mRS.nScriptSetVarJ ( getID ( mRS ) , index , v , mUseIncSupp ) ; }
Source:
private void initSideFragments ( ) { com.android.tv.ui.sidepanel.SideFragment.preloadRecycledViews ( this ) ; }

Target:
private void initSideFragments ( ) { com.android.tv.ui.sidepanel.SideFragment.preloadItemViews ( this ) ; }
Source:
public void visitTableSwitchInsn ( int min , int max , org.objectweb.asm.Label dflt , org.objectweb.asm.Label ... labels ) { printer.visitTableSwitchInsn ( min , max , dflt , labels ) ; printTypeOfOperandStack ( ) ; super . visitTableSwitchInsn ( min , max , dflt , labels ) ; }

Target:
public void visitIincInsn ( int var , int increment ) { printer.visitIincInsn ( var , increment ) ; printTypeOfOperandStackTop ( ) ; super . visitIincInsn ( var , increment ) ; }
Source:
private void notifyListeners ( ) { synchronized ( com.android.sdklib.devices.DeviceManager.listeners ) { for ( com.android.sdklib.devices.DeviceManager.DevicesChangeListener listener : com.android.sdklib.devices.DeviceManager.listeners ) { listener.onDevicesChange ( ) ; } } }

Target:
private void notifyListeners ( ) { synchronized ( com.android.sdklib.devices.DeviceManager.sListeners ) { for ( com.android.sdklib.devices.DeviceManager.DevicesChangeListener listener : com.android.sdklib.devices.DeviceManager.sListeners ) { listener.onDevicesChange ( ) ; } } }
Source:
public static com.android.manifmerger.Actions load ( java.lang.String xml ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { return com.android.manifmerger.Actions.load ( new com.android.utils.PositionXmlParser ( ) . parse ( xml ) ) ; }

Target:
public static com.android.manifmerger.Actions load ( java.lang.String xml ) { return com.android.manifmerger.Actions.getGsonParser ( ) . fromJson ( xml , com.android.manifmerger.Actions.class ) ; }
Source:
public void testHasSchemeDoesNotMatch ( ) { android.net.Uri schemeUri = android.net.Uri.parse ( "market://details?id=com.google.android.apps.plus" ) ; assertFalse ( "HasPath Matched, But it shouldn't have" , android.support.test.espresso.intent.matcher.UriMatchers.hasScheme ( "details" ) . matches ( schemeUri ) ) ; assertFalse ( "HasPath Matched, But it shouldn't have" , android.support.test.espresso.intent.matcher.UriMatchers.hasScheme ( org.hamcrest.CoreMatchers.equalTo ( "details" ) ) . matches ( schemeUri ) ) ; }

Target:
public void hasSchemeDoesNotMatch ( ) { android.net.Uri schemeUri = android.net.Uri.parse ( "market://details?id=com.google.android.apps.plus" ) ; org.junit.Assert.assertFalse ( "HasPath Matched, But it shouldn't have" , android.support.test.espresso.intent.matcher.UriMatchers.hasScheme ( "details" ) . matches ( schemeUri ) ) ; org.junit.Assert.assertFalse ( "HasPath Matched, But it shouldn't have" , android.support.test.espresso.intent.matcher.UriMatchers.hasScheme ( org.hamcrest.CoreMatchers.equalTo ( "details" ) ) . matches ( schemeUri ) ) ; }
Source:
public void onSuccess ( ) { android.telecom.Log.d ( this , "Adding simService %s" , currentSimService.getComponentName ( ) ) ; simServiceComponentNames.add ( currentSimService.getComponentName ( ) ) ; simServiceBinders.add ( currentSimService.mServiceInterface.asBinder ( ) ) ; maybeComplete ( ) ; }

Target:
public void onSuccess ( ) { try { mServiceInterface.connectionServiceFocusLost ( android.telecom.Log.getExternalSession ( ) ) ; } catch ( android.os.RemoteException ignored ) { android.telecom.Log.d ( this , "failed to inform the focus lost event" ) ; } }
Source:
public static double longToIntToDouble ( long value ) { return ( ( double ) ( ( int ) ( value ) ) ) ; }

Target:
public static long $noinline$longToIntToLong ( long value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( long ) ( ( int ) ( value ) ) ) ; }
Source:
public int read ( byte [ ] buffer , int offset , int byteCount ) throws java.io.IOException { return socketImpl.read ( buffer , offset , byteCount ) ; }

Target:
public int read ( byte [ ] buffer , int byteOffset , int byteCount ) throws java.io.IOException { return socketImpl.read ( buffer , byteOffset , byteCount ) ; }
Source:
public static int floatToDoubleToInt ( float value ) { return ( ( int ) ( ( double ) ( value ) ) ) ; }

Target:
public static int $noinline$floatToDoubleToInt ( float value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( double ) ( value ) ) ) ; }
Source:
public void setup ( ) { put ( "Cipher.FOO" , MockCipherSpi.AllKeyTypes.class . getName ( ) ) ; put ( "Cipher.FOO SupportedKeyClasses" , libcore.javax.crypto.MockKey.class . getName ( ) ) ; }

Target:
public void setup ( ) { put ( "Cipher.BAR" , MockCipherSpi.AllKeyTypes.class . getName ( ) ) ; put ( "Alg.Alias.Cipher.FOO" , "BAR" ) ; }
Source:
public void onCreate ( android.os.Bundle arguments ) { io.appium.droiddriver.helpers.DroidDrivers.initInstrumentation ( this , arguments ) ; super . onCreate ( arguments ) ; }

Target:
public void onCreate ( android.os.Bundle arguments ) { io.appium.droiddriver.util.InstrumentationUtils.init ( this , arguments ) ; super . onCreate ( arguments ) ; }
Source:
private boolean isScoAcceptable ( ) { return ( mAudioRouteAllowed ) && ( ( mVoiceRecognitionStarted ) || ( isInCall ( ) ) ) ; }

Target:
private boolean isScoAcceptable ( ) { return ( mAudioRouteAllowed ) && ( ( ( mVoiceRecognitionStarted ) || ( isInCall ( ) ) ) || ( ( android.bluetooth.BluetoothHeadset.isInbandRingingSupported ( mService ) ) && ( isRinging ( ) ) ) ) ; }
Source:
public native float getFloat ( long address ) ;

Target:
public native float getFloat$ ( long address ) ;