auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public synchronized void loadFromXML ( java.io.InputStream in ) throws java.io.IOException , java.util.InvalidPropertiesFormatException { if ( in == null ) throw new java.lang.NullPointerException ( ) ; java.util.XMLUtils.load ( this , in ) ; in.close ( ) ; }

Target:
public synchronized void loadFromXML ( java.io.InputStream in ) throws java.io.IOException , java.util.InvalidPropertiesFormatException { java.util.XMLUtils.load ( this , java.util.Objects.requireNonNull ( in ) ) ; in.close ( ) ; }
Source:
public static android.renderscript.RenderScript create ( android.content.Context ctx , android.renderscript.RenderScript.ContextType ct , int flags ) { int v = ctx.getApplicationInfo ( ) . targetSdkVersion ; return android.renderscript.RenderScript.create ( ctx , v , ct , flags ) ; }

Target:
public static android.renderscript.RenderScript createMultiContext ( android.content.Context ctx , android.renderscript.RenderScript.ContextType ct , int flags , int API_number ) { return android.renderscript.RenderScript.internalCreate ( ctx , API_number , ct , flags ) ; }
Source:
public void apply ( ) throws java.lang.UnsupportedOperationException { method.addParam ( parameter ) ; parameter.updateParents ( method ) ; }

Target:
public void apply ( ) throws java.lang.UnsupportedOperationException { method.addParam ( parameter ) ; method.getMethodIdWide ( ) . addParam ( parameter.getType ( ) ) ; parameter.updateParents ( method ) ; }
Source:
public void removeTransportModeTransform ( java.net.DatagramSocket socket , android.net.IpSecTransform transform ) { removeTransportModeTransform ( android.os.ParcelFileDescriptor.fromDatagramSocket ( socket ) , transform ) ; }

Target:
public void applyTransportModeTransform ( java.net.DatagramSocket socket , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.fromDatagramSocket ( socket ) ) { applyTransportModeTransform ( pfd , transform ) ; } }
Source:
public static void computeCospi ( android.renderscript.cts.TestCospi.ArgumentsFloatFloat args ) { args.ulf = 5 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.cos ( ( ( args.in ) * ( ( float ) ( java.lang.StrictMath.PI ) ) ) ) ) ) ; }

Target:
public static void computeTanpi ( android.renderscript.cts.TestTanpi.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.tan ( ( ( args.in ) * ( ( float ) ( java.lang.Math.PI ) ) ) ) , 6 , 128 ) ; }
Source:
public android.bluetooth.BluetoothCodecStatus getCodecStatus ( ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) { return null ; } return service.getCodecStatus ( ) ; }

Target:
public android.bluetooth.BluetoothDevice getActiveDevice ( ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) { return null ; } return service.getActiveDevice ( ) ; }
Source:
public void start ( org.osgi.framework.BundleContext context ) throws java.lang.Exception { super . start ( context ) ; com.android.ide.eclipse.hierarchyviewer.HierarchyViewerPlugin.plugin = this ; }

Target:
public void run ( ) { errorConsoleStream.setColor ( redColor ) ; }
Source:
private static native void native_drawCircle ( int nativeCanvas , float cx , float cy , float radius , int paint ) ;

Target:
private static native void native_drawCircle ( long nativeCanvas , float cx , float cy , float radius , long nativePaint ) ;
Source:
void onDropLeave ( com.android.ide.eclipse.adt.editors.layout.gscripts.INode targetNode , java.lang.String fqcn , com.android.ide.eclipse.adt.editors.layout.gscripts.DropFeedback feedback ) ;

Target:
void onDropLeave ( com.android.ide.eclipse.adt.editors.layout.gscripts.INode targetNode , com.android.ide.eclipse.adt.editors.layout.gscripts.IDragElement [ ] elements , com.android.ide.eclipse.adt.editors.layout.gscripts.DropFeedback feedback ) ;
Source:
public void visitIincInsn ( int var , int increment ) { printer.visitIincInsn ( var , increment ) ; printTypeOfOperandStack ( ) ; super . visitIincInsn ( var , increment ) ; }

Target:
public void visitLdcInsn ( java.lang.Object cst ) { printer.visitLdcInsn ( cst ) ; printTypeOfOperandStackTop ( ) ; super . visitLdcInsn ( cst ) ; }
Source:
public static int dayDistance ( java.util.Calendar c1 , java.util.Calendar c2 ) { return ( libcore.icu.DateIntervalFormat.julianDay ( c2 ) ) - ( libcore.icu.DateIntervalFormat.julianDay ( c1 ) ) ; }

Target:
public static int dayDistance ( com.ibm.icu.util.Calendar c1 , com.ibm.icu.util.Calendar c2 ) { return ( c2.get ( Calendar.JULIAN_DAY ) ) - ( c1.get ( Calendar.JULIAN_DAY ) ) ; }
Source:
void setAnalyzer ( com.android.tools.lint.checks.RecycleDetector.ResourceAnalyzer analyzer ) { mAnalyzer = analyzer ; }

Target:
void setAnalyzer ( com.android.tools.lint.checks.CleanupDetector.ResourceAnalyzer analyzer ) { mAnalyzer = analyzer ; }
Source:
public void clearPendingBackup ( ) { if ( DEBUG_BACKUP ) android.util.Slog.v ( com.android.server.am.ActivityManagerService.TAG_BACKUP , "clearPendingBackup" ) ; enforceCallingPermission ( "android.permission.BACKUP" , "clearPendingBackup" ) ; synchronized ( this ) { mBackupTarget = null ; mBackupAppName = null ; } }

Target:
public void clearPendingBackup ( ) { if ( com.android.server.am.ActivityManagerDebugConfig.DEBUG_BACKUP ) android.util.Slog.v ( com.android.server.am.ActivityManagerService.TAG_BACKUP , "clearPendingBackup" ) ; enforceCallingPermission ( "android.permission.BACKUP" , "clearPendingBackup" ) ; synchronized ( this ) { mBackupTarget = null ; mBackupAppName = null ; } }
Source:
public void apply ( java.util.zip.ZipFile patchFile , java.io.File toDir ) throws java.io.IOException { doApply ( patchFile , getFile ( toDir ) ) ; }

Target:
public void apply ( java.util.zip.ZipFile patchFile , java.io.File backupDir , java.io.File toDir ) throws java.io.IOException { doApply ( new com.intellij.updater.MultiZipFile ( patchFile ) , backupDir , getFile ( toDir ) ) ; }
Source:
public void testPassword ( ) throws java.lang.Exception { assertTrue ( mKeyStore.password ( android.security.KeyStoreTest.TEST_PASSWD ) ) ; assertEquals ( KeyStore.State.UNLOCKED , mKeyStore.state ( ) ) ; }

Target:
public void testPassword ( ) throws java.lang.Exception { assertTrue ( mKeyStore.onUserPasswordChanged ( android.security.KeyStoreTest.TEST_PASSWD ) ) ; assertEquals ( KeyStore.State.UNLOCKED , mKeyStore.state ( ) ) ; }
Source:
public int hashCode ( ) { K k = getKey ( ) ; V v = getValue ( ) ; return ( k == null ? 0 : k.hashCode ( ) ) ^ ( v == null ? 0 : v.hashCode ( ) ) ; }

Target:
public int hashCode ( ) { K k = getKey ( ) ; V v = getValue ( ) ; return ( java.util.Objects.hashCode ( k ) ) ^ ( java.util.Objects.hashCode ( v ) ) ; }
Source:
protected int computeSerializedSize ( ) { return 0 ; }

Target:
public int getSerializedSize ( ) { cachedSize = 0 ; return 0 ; }
Source:
public void dispatchDrawableHotspotChanged ( float x , float y ) { }

Target:
private void setBackgroundDisplayListProperties ( android.view.RenderNode displayList ) { displayList.setTranslationX ( mScrollX ) ; displayList.setTranslationY ( mScrollY ) ; }
Source:
public boolean addIfAbsent ( E e ) { java.lang.Object [ ] snapshot = getArray ( ) ; return ( java.util.concurrent.CopyOnWriteArrayList.indexOf ( e , snapshot , 0 , snapshot.length ) ) >= 0 ? false : addIfAbsent ( e , snapshot ) ; }

Target:
public int indexOf ( java.lang.Object object ) { java.lang.Object [ ] snapshot = elements ; return java.util.concurrent.CopyOnWriteArrayList.indexOf ( object , snapshot , 0 , snapshot.length ) ; }
Source:
public void getNameEmpty ( ) { org.junit.Assert.assertEquals ( "" , new com.android.build.gradle.internal.ProductFlavorCombo ( ) . getName ( ) ) ; }

Target:
public void getNameEmpty ( ) { org.junit.Assert.assertEquals ( "" , new com.android.build.gradle.internal.ProductFlavorCombo < com.android.build.gradle.internal.dsl.CoreProductFlavor > ( ) . getName ( ) ) ; }
Source:
public void test_destroy ( ) { try { new java.lang.Thread ( ) . destroy ( ) ; } catch ( java.lang.NoSuchMethodError e ) { } }

Target:
public void test_destroy_throwsUnsupportedOperationException ( ) { try { new java.lang.Thread ( ) . destroy ( ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }
Source:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , byte [ ] data ) { validateIsInt8 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data ) ; }

Target:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , float [ ] data ) { validateIsFloat32 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data , Element.DataType.FLOAT_32 , data.length ) ; }
Source:
public void test_toURL3 ( ) throws java.net.MalformedURLException { java.io.File dir = new java.io.File ( "" ) ; java.lang.String newDirURL = dir.toURL ( ) . toString ( ) ; assertTrue ( "Test 1: URL does not end with slash." , newDirURL.endsWith ( "/" ) ) ; }

Target:
public void test_toURL3 ( ) throws java.net.MalformedURLException { java.io.File dir = new java.io.File ( "" ) ; java.lang.String newDirURL = dir.toURL ( ) . toString ( ) ; assertTrue ( "Test 1: URL does not end with slash." , newDirURL.endsWith ( java.io.File.separator ) ) ; }
Source:
public static long BoolCond_LongVarVar ( boolean cond , long x , long y ) { return cond ? x : y ; }

Target:
public static float BoolCond_FloatVarVar ( boolean cond , float x , float y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return cond ? x : y ; }
Source:
public static long AndIntLong ( ) { int lhs = 10 ; long rhs = 3 ; return lhs & rhs ; }

Target:
public static long AndIntLong ( ) { int lhs = Main.$inline$int ( 10 ) ; long rhs = Main.$inline$long ( 3L ) ; return lhs & rhs ; }
Source:
public final void testFindNewId ( ) { com.android.ide.common.layout.BaseLayout baseLayout = new com.android.ide.common.layout.BaseLayout ( ) ; java.util.Set < java.lang.String > existing = new java.util.HashSet < java.lang.String > ( ) ; assertEquals ( "@+id/Widget01" , baseLayout.findNewId ( "a.w.Widget" , existing ) ) ; existing.add ( "@+id/Widget01" ) ; assertEquals ( "@+id/Widget02" , baseLayout.findNewId ( "a.w.Widget" , existing ) ) ; existing.add ( "@+id/Widget02" ) ; assertEquals ( "@+id/Widget03" , baseLayout.findNewId ( "a.w.Widget" , existing ) ) ; existing.remove ( "@+id/Widget02" ) ; assertEquals ( "@+id/Widget02" , baseLayout.findNewId ( "a.w.Widget" , existing ) ) ; }

Target:
public final void testFindNewId ( ) { com.android.ide.common.layout.BaseLayoutRule baseLayout = new com.android.ide.common.layout.BaseLayoutRule ( ) ; java.util.Set < java.lang.String > existing = new java.util.HashSet < java.lang.String > ( ) ; assertEquals ( "@+id/Widget01" , baseLayout.findNewId ( "a.w.Widget" , existing ) ) ; existing.add ( "@+id/Widget01" ) ; assertEquals ( "@+id/Widget02" , baseLayout.findNewId ( "a.w.Widget" , existing ) ) ; existing.add ( "@+id/Widget02" ) ; assertEquals ( "@+id/Widget03" , baseLayout.findNewId ( "a.w.Widget" , existing ) ) ; existing.remove ( "@+id/Widget02" ) ; assertEquals ( "@+id/Widget02" , baseLayout.findNewId ( "a.w.Widget" , existing ) ) ; }
Source:
public boolean visible ( com.android.monkeyrunner.easy.By selector ) { com.android.hierarchyviewerlib.device.ViewNode node = selector.findView ( mHierarchyViewer ) ; return mHierarchyViewer.visible ( node ) ; }

Target:
public boolean visible ( com.android.monkeyrunner.easy.By selector ) { com.android.hierarchyviewerlib.models.ViewNode node = selector.findView ( mHierarchyViewer ) ; return mHierarchyViewer.visible ( node ) ; }
Source:
public abstract void libToExe ( @ javax.annotation.Nonnull java.io.File in , @ javax.annotation.Nonnull java.io.File out , boolean zipFile ) throws java.lang.Exception ;

Target:
public final void libToExe ( @ javax.annotation.Nonnull java.util.List < java.io.File > in , @ javax.annotation.Nonnull java.io.File out , boolean zipFile ) throws java.lang.Exception { libToExe ( in.toArray ( new java.io.File [ in.size ( ) ] ) , out , zipFile ) ; }
Source:
native void rsnAllocationRead1D ( long con , long id , int off , int mip , int count , java.lang.Object d , int sizeBytes , int dt ) ;

Target:
native void rsnAllocationRead1D ( long con , long id , int off , int mip , int count , java.lang.Object d , int sizeBytes , int dt , int mSize , boolean usePadding ) ;
Source:
public native void putOrderedObject ( java.lang.Object obj , long offset , java.lang.Object newValue ) ;

Target:
public native void putObject ( java.lang.Object obj , long offset , java.lang.Object newValue ) ;
Source:
public com.android.apksig.DefaultApkSignerEngine.Builder setSigningCertificateLineage ( com.android.apksig.SigningCertificateLineage signingCertificateLineage ) { mV3SigningEnabled = true ; throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public com.android.apksig.DefaultApkSignerEngine.Builder setSigningCertificateLineage ( com.android.apksig.SigningCertificateLineage signingCertificateLineage ) { if ( signingCertificateLineage != null ) { mV3SigningEnabled = true ; mSigningCertificateLineage = signingCertificateLineage ; } return this ; }
Source:
public native java.lang.reflect.Field [ ] getDeclaredFieldsUnchecked ( boolean publicOnly ) ;

Target:
public native java.lang.Class < ? > [ ] getDeclaredClasses ( ) ;
Source:
public java.io.File getZipAlign ( ) { return getTool ( SdkConstants.FN_ZIPALIGN ) ; }

Target:
public com.android.sdklib.BuildToolInfo getBuildTools ( ) { if ( ( mManager ) == null ) { throw new java.lang.IllegalStateException ( "SdkParser was not initialized." ) ; } return mBuildToolInfo ; }
Source:
synchronized void nAllocationData1D ( long id , int off , int mip , int count , short [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }

Target:
synchronized void nScriptSetTimeZone ( long script , byte [ ] timeZone , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetTimeZone ( curCon , script , timeZone , mUseInc ) ; }
Source:
public boolean dexoptSecondaryDex ( java.lang.String packageName , int compilerReason , boolean force ) { return dexoptSecondaryDex ( packageName , com.android.server.pm.PackageManagerServiceCompilerMapping.getCompilerFilterForReason ( compilerReason ) , force ) ; }

Target:
public boolean dexoptSecondaryDex ( java.lang.String packageName , int compilerReason , boolean force , boolean downgrade ) { return dexoptSecondaryDex ( packageName , com.android.server.pm.PackageManagerServiceCompilerMapping.getCompilerFilterForReason ( compilerReason ) , force , false , downgrade ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { cs = tests.api.java.nio.charset.ISOCharsetEncoderTest.CS ; super . setUp ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { cs = org.apache.harmony.tests.java.nio.charset.ISOCharsetEncoderTest.CS ; super . setUp ( ) ; }
Source:
protected void applyAdditionalHints ( @ org.jetbrains.annotations.NotNull java.awt.Graphics g ) { com.intellij.util.ui.GraphicsUtil.setupAntialiasing ( g ) ; }

Target:
protected void applyAdditionalHints ( @ org.jetbrains.annotations.NotNull java.awt.Graphics2D g ) { com.intellij.util.ui.GraphicsUtil.setupAntialiasing ( g ) ; }
Source:
public void run ( ) { onPaste ( ) ; }

Target:
public void run ( ) { pasteSelection ( new java.util.ArrayList < com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasSelection > ( mSelections ) ) ; }
Source:
private void skipFully ( long numBytes ) throws java.io.IOException { while ( numBytes > 0 ) { long skipped = mInput.skip ( numBytes ) ; numBytes -= skipped ; } }

Target:
private void skipFully ( long numBytes ) throws java.io.IOException { mInput.setPosition ( ( ( mInput.position ( ) ) + numBytes ) ) ; }
Source:
public android.telephony.CellLocation getCellLocation ( ) { return mSST.cellLoc ; }

Target:
public android.telephony.ServiceState getServiceState ( ) { if ( ( mSST ) != null ) { return mSST.mSS ; } else { return new android.telephony.ServiceState ( ) ; } }
Source:
public org.gradle.api.file.SourceDirectorySet getJavaResources ( ) { return javaResources ; }

Target:
public org.gradle.api.file.SourceDirectorySet getResources ( ) { return javaResources ; }
Source:
public void test_plus_Period_negativeDays ( ) { test.java.time.MockSimplePeriod period = test.java.time.MockSimplePeriod.of ( ( - 25 ) , java.time.temporal.ChronoUnit.DAYS ) ; java.time.LocalDate t = TEST_2007_07_15.plus ( period ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 6 , 20 ) ) ; }

Target:
public void test_plus_Period_negativeDays ( ) { test.java.time.MockSimplePeriod period = test.java.time.MockSimplePeriod.of ( ( - 25 ) , java.time.temporal.ChronoUnit.DAYS ) ; java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.plus ( period ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 6 , 20 ) ) ; }
Source:
private void setExpires ( java.util.Date expires ) { maxAge = ( ( expires.getTime ( ) ) - ( java.lang.System.currentTimeMillis ( ) ) ) / 1000 ; }

Target:
private void setExpires ( java.util.Date expires ) { maxAge = ( ( expires.getTime ( ) ) - ( maxAgeBaseTimeMillis ) ) / 1000 ; }
Source:
protected void classSetUp ( ) { io.appium.droiddriver.helpers.BaseDroidDriverTest.DroidDriversInitializer.get ( io.appium.droiddriver.helpers.BaseDroidDriverTest.getInstrumentation ( ) ) . singleRun ( ) ; }

Target:
protected void classSetUp ( ) { io.appium.droiddriver.helpers.DroidDriversInitializer.get ( io.appium.droiddriver.helpers.DroidDrivers.newDriver ( ) ) . singleRun ( ) ; }
Source:
protected int peek ( java.net.InetAddress arg0 ) throws java.io.IOException { return 0 ; }

Target:
protected int getTimeToLive ( ) throws java.io.IOException { return 0 ; }
Source:
public static int UShrIntLong ( ) { int lhs = - 7 ; long rhs = 2 ; return lhs > > > rhs ; }

Target:
public static int UShrIntLong ( ) { int lhs = Main.$inline$int ( ( - 7 ) ) ; long rhs = Main.$inline$long ( 2L ) ; return lhs > > > rhs ; }
Source:
public static int mulPow2Plus1 ( int arg ) { return arg * 9 ; }

Target:
public static int $noinline$mulPow2Plus1 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg * 9 ; }
Source:
public void visitInvokeDynamicInsn ( java.lang.String name , java.lang.String desc , org.objectweb.asm.Handle bsm , java.lang.Object ... bsmArgs ) { printer.visitInvokeDynamicInsn ( name , desc , bsm , bsmArgs ) ; printTypeOfOperandStackTop ( ) ; super . visitInvokeDynamicInsn ( name , desc , bsm , bsmArgs ) ; }

Target:
public void visitJumpInsn ( int opcode , org.objectweb.asm.Label label ) { printer.visitJumpInsn ( opcode , label ) ; printTypeOfOperandStack ( ) ; super . visitJumpInsn ( opcode , label ) ; }
Source:
public proguard.evaluation.value.ReferenceValue createArrayReferenceValue ( java.lang.String type , proguard.evaluation.value.Clazz referencedClass , proguard.evaluation.value.IntegerValue arrayLength , proguard.evaluation.value.Value elementValue ) { return createReferenceValue ( ( ( ClassConstants.INTERNAL_TYPE_ARRAY ) + type ) , referencedClass , false ) ; }

Target:
public proguard.evaluation.value.ReferenceValue createArrayReferenceValue ( java.lang.String type , proguard.evaluation.value.Clazz referencedClass , proguard.evaluation.value.IntegerValue arrayLength ) { return createReferenceValue ( ( ( ClassConstants.TYPE_ARRAY ) + type ) , referencedClass , false ) ; }
Source:
public static void setRandomSeedInternal ( long seed ) { java.lang.Math.INSTANCE.setSeed ( seed ) ; }

Target:
public static void setRandomSeedInternal ( long seed ) { java.lang.Math.NoImagePreloadHolder.INSTANCE.setSeed ( seed ) ; }
Source:
public void turnScreenOnWhenWifiInDisconnectedState ( ) { mWifiConnectivityManager.handleConnectionStateChanged ( WifiConnectivityManager.WIFI_STATE_DISCONNECTED ) ; mWifiConnectivityManager.handleScreenStateChanged ( true ) ; verify ( mWifiStateMachine , atLeastOnce ( ) ) . autoConnectToNetwork ( com.android.server.wifi.WifiConnectivityManagerTest.CANDIDATE_NETWORK_ID , com.android.server.wifi.WifiConnectivityManagerTest.CANDIDATE_BSSID ) ; }

Target:
public void turnScreenOnWhenWifiInDisconnectedState ( ) { mWifiConnectivityManager.handleConnectionStateChanged ( WifiConnectivityManager.WIFI_STATE_DISCONNECTED ) ; mWifiConnectivityManager.handleScreenStateChanged ( true ) ; verify ( mWifiStateMachine , atLeastOnce ( ) ) . startConnectToNetwork ( com.android.server.wifi.WifiConnectivityManagerTest.CANDIDATE_NETWORK_ID , com.android.server.wifi.WifiConnectivityManagerTest.CANDIDATE_BSSID ) ; }
Source:
public static java.io.BufferedReader newReader ( java.io.File file , java.nio.charset.Charset charset ) throws java.io.FileNotFoundException { return new java.io.BufferedReader ( new java.io.InputStreamReader ( new java.io.FileInputStream ( file ) , charset ) ) ; }

Target:
public static java.io.BufferedReader newReader ( java.io.File file , java.nio.charset.Charset charset ) throws java.io.FileNotFoundException { com.google.common.base.Preconditions.checkNotNull ( file ) ; com.google.common.base.Preconditions.checkNotNull ( charset ) ; return new java.io.BufferedReader ( new java.io.InputStreamReader ( new java.io.FileInputStream ( file ) , charset ) ) ; }
Source:
public com.android.internal.telephony.gsm.UsimServiceTable getUsimServiceTable ( ) { return mIccRecords.getUsimServiceTable ( ) ; }

Target:
public com.android.internal.telephony.gsm.UsimServiceTable getUsimServiceTable ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getUsimServiceTable ( ) : null ; }
Source:
public java.lang.String getOriginalApplicationId ( ) { if ( ( mType ) == ( com.android.builder.core.VariantConfiguration.Type.TEST ) ) { return getApplicationId ( ) ; } return getPackageFromManifest ( ) ; }

Target:
public java.lang.String getOriginalApplicationId ( ) { if ( mType.isForTesting ( ) ) { return getApplicationId ( ) ; } return getPackageFromManifest ( ) ; }
Source:
public void test_plusWeeks_negative ( ) { java.time.LocalDate t = TEST_2007_07_15.plusWeeks ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 7 , 8 ) ) ; }

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

Target:
static void confuseCompilerOptimization ( Main.InstanceMemEater instance ) { Main.InstanceMemEater.hook = instance ; }
Source:
public void decode ( @ org.jetbrains.annotations.NotNull com.android.tools.rpclib.binary.Decoder d ) throws java.io.IOException { com.android.tools.rpclib.rpccore.ObjectFactory.decode ( d , this ) ; }

Target:
public com.android.tools.rpclib.binary.BinaryClass klass ( ) { return com.android.tools.rpclib.rpccore.RpcError.Klass.INSTANCE ; }
Source:
public static native void registerAppInfo ( java.lang.String appDir , java.lang.String processName ) ;

Target:
public static native void registerAppInfo ( java.lang.String appDir , java.lang.String processName , java.lang.String pkgname ) ;
Source:
public native int addressSize ( ) ;

Target:
public native double getDouble ( long address ) ;
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_NullEndDate_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 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW , null , 0 ) ; fail ( "Should throw IllegalArgumentException when keystoreAlias is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBuildSystemFingerprint ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 4096 ; buildSystemFingerprint_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearModulesDone ( ) { bitField0_ = ( bitField0_ ) & ( ~ 131072 ) ; modulesDone_ = 0 ; onChanged ( ) ; return this ; }
Source:
private int updateEfForIccType ( int efid ) { if ( efid == ( IccConstants.EF_ADN ) ) { if ( phone.getIccCard ( ) . isApplicationOnIcc ( IccCardApplication.AppType.APPTYPE_USIM ) ) { return IccConstants.EF_PBR ; } } return efid ; }

Target:
private int updateEfForIccType ( int efid ) { if ( efid == ( IccConstants.EF_ADN ) ) { if ( phone.getIccCard ( ) . isApplicationOnIcc ( AppType.APPTYPE_USIM ) ) { return IccConstants.EF_PBR ; } } return efid ; }
Source:
public final java.lang.String internalType ( ) { return java.lang.String.valueOf ( ClassConstants.INTERNAL_TYPE_DOUBLE ) ; }

Target:
public final java.lang.String internalType ( ) { return java.lang.String.valueOf ( ClassConstants.TYPE_DOUBLE ) ; }
Source:
public void updateBtHandsfreeAfterRadioTechnologyChange ( ) throws android.os.RemoteException { com.android.server.telecom.Log.d ( com.android.server.telecom.BluetoothPhoneServiceImpl.TAG , "RAT change - deprecated" ) ; }

Target:
public void updateBtHandsfreeAfterRadioTechnologyChange ( ) throws android.os.RemoteException { android.telecom.Log.d ( com.android.server.telecom.BluetoothPhoneServiceImpl.TAG , "RAT change - deprecated" ) ; }
Source:
public void setPreferredNetworkTypeResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { }

Target:
public void getCdmaSubscriptionSourceResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int source ) { responseInts ( responseInfo , source ) ; }
Source:
public void invalidate ( ) { isValid = false ; }

Target:
public void invalidate ( ) { isValid = false ; sessionContext = null ; }
Source:
public native int getBlockCount ( ) ;

Target:
public int getBlockCount ( ) { return ( ( int ) ( mStat.f_blocks ) ) ; }
Source:
private boolean visitThrowingRValue ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JExpression expr ) { assert expr.canThrow ( ) ; confirmBlockElement ( expr ) ; confirmThrowingPosition ( expr ) ; confirmVarAsgValue ( expr , com.android.jack.ir.ast.cfg.JVariableAsgBlockElement.class ) ; return true ; }

Target:
private boolean visitThrowingRValue ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JExpression expr ) { assert expr.canThrow ( ) ; confirmBlockElement ( expr ) ; confirmThrowingIsAllowed ( expr ) ; confirmVariableAssignmentRhs ( expr , com.android.jack.ir.ast.cfg.JVariableAsgBlockElement.class ) ; return true ; }
Source:
public void onThemeChange ( ) { mConfigComposite.storeState ( ) ; recomputeLayout ( ) ; }

Target:
public void onThemeChange ( ) { mConfigComposite.storeState ( ) ; recomputeLayout ( ) ; reloadPalette ( ) ; }
Source:
public void doQuit ( ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , "doQuit" ) ; if ( ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.sAudioManager ) != null ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.routeHfpAudio ( false ) ; } quitNow ( ) ; }

Target:
public void doQuit ( ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , "doQuit" ) ; routeHfpAudio ( false ) ; returnAudioFocusIfNecessary ( ) ; quitNow ( ) ; }
Source:
public java.io.File getResourcesDir ( ) { return getResources ( ) . getDirectory ( ) ; }

Target:
public com.android.build.gradle.AndroidSourceSet res ( groovy.lang.Closure configureClosure ) { org.gradle.util.ConfigureUtil.configure ( configureClosure , getRes ( ) ) ; return this ; }
Source:
public void setDecimalFormatSymbols ( com.ibm.icu.text.DecimalFormatSymbols newSymbols ) { symbols = ( ( com.ibm.icu.text.DecimalFormatSymbols ) ( newSymbols.clone ( ) ) ) ; setCurrencyForSymbols ( ) ; expandAffixes ( null ) ; }

Target:
public synchronized void setDecimalFormatSymbols ( com.ibm.icu.text.DecimalFormatSymbols newSymbols ) { symbols = ( ( com.ibm.icu.text.DecimalFormatSymbols ) ( newSymbols.clone ( ) ) ) ; refreshFormatter ( ) ; }
Source:
private static long getMacSequenceNumber ( int epoch , long sequence_number ) { return ( ( ( long ) ( epoch ) ) << 48 ) | sequence_number ; }

Target:
private static long getMacSequenceNumber ( int epoch , long sequence_number ) { return ( ( epoch & 4294967295L ) << 48 ) | sequence_number ; }
Source:
public native void putByte$ ( long address , byte x ) ;

Target:
public native void putByte ( long address , byte x ) ;
Source:
public void startConference ( java.lang.String [ ] participants , com.android.ims.ImsCallProfile profile ) { }

Target:
public void removeParticipants ( java.lang.String [ ] participants ) { this . removeParticipants ( participants ) ; }
Source:
android.view.View inflate ( android.view.ViewGroup parent ) { return createAutoItem ( parent , R.string.nls_snooze ) ; }

Target:
android.view.View inflate ( android.view.ViewGroup parent ) { return createAutoItem ( parent , R.string.nls_unsnooze ) ; }
Source:
public java.util.EnumSet < com.android.layoutlib.api.Capabilities > getCapabilities ( ) { return java.util.EnumSet.noneOf ( com.android.layoutlib.api.Capabilities.class ) ; }

Target:
public java.util.EnumSet < com.android.layoutlib.api.Capability > getCapabilities ( ) { return java.util.EnumSet.noneOf ( com.android.layoutlib.api.Capability.class ) ; }
Source:
public boolean isMatchFor ( com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier qualifier ) { if ( ( mValue ) == ( com.android.sdklib.resources.DockMode.NONE ) ) { return true ; } return ( ( ( com.android.ide.eclipse.adt.internal.resources.configurations.DockModeQualifier ) ( qualifier ) ) . mValue ) == ( mValue ) ; }

Target:
public boolean isMatchFor ( com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier qualifier ) { if ( ( mValue ) == ( com.android.resources.DockMode.NONE ) ) { return true ; } return ( ( ( com.android.ide.eclipse.adt.internal.resources.configurations.DockModeQualifier ) ( qualifier ) ) . mValue ) == ( mValue ) ; }
Source:
synchronized void nScriptBindAllocation ( long script , long alloc , int slot ) { validate ( ) ; rsnScriptBindAllocation ( mContext , script , alloc , slot ) ; }

Target:
synchronized void nScriptSetTimeZone ( long script , byte [ ] timeZone , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetTimeZone ( curCon , script , timeZone , mUseInc ) ; }
Source:
void onDismissDialog ( ) ;

Target:
com.android.incallui.incalluilock.InCallUiLock acquireInCallUiLock ( java.lang.String tag ) ;
Source:
public void visitBootstrapMethodsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.BootstrapMethodsAttribute bootstrapMethodsAttribute ) { if ( ( bootstrapMethodsAttribute.u2bootstrapMethodsCount ) > 0 ) { bootstrapMethodsAttribute.accept ( clazz , attributeVisitor ) ; } }

Target:
public void visitSyntheticAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.SyntheticAttribute syntheticAttribute ) { attributeVisitor.visitSyntheticAttribute ( clazz , field , syntheticAttribute ) ; }
Source:
private void sendCallChangedIntent ( android.bluetooth.BluetoothHeadsetClientCall c ) { android.content.Intent intent = new android.content.Intent ( android.bluetooth.BluetoothHeadsetClient.ACTION_CALL_CHANGED ) ; intent.putExtra ( BluetoothHeadsetClient.EXTRA_CALL , c ) ; mService.sendBroadcast ( intent , ProfileService.BLUETOOTH_PERM ) ; }

Target:
private void sendCallChangedIntent ( android.bluetooth.BluetoothHeadsetClientCall c ) { android.content.Intent intent = new android.content.Intent ( android.bluetooth.BluetoothHeadsetClient.ACTION_CALL_CHANGED ) ; intent.addFlags ( Intent.FLAG_RECEIVER_FOREGROUND ) ; intent.putExtra ( BluetoothHeadsetClient.EXTRA_CALL , c ) ; mService.sendBroadcast ( intent , ProfileService.BLUETOOTH_PERM ) ; }
Source:
public void test_isValid_OnDropJoinWithoutSource ( ) throws java.lang.Exception { setup ( false ) ; test_isValid_OnDrop ( ) ; }

Target:
public void test_isValid_OnDropJoinWithoutSource ( ) throws java.lang.Exception { init ( false ) ; check_isValid_OnDrop ( ) ; }
Source:
java.lang.String get ( java.lang.String tableName , java.lang.String subTableName , java.lang.String code ) { return code ; }

Target:
java.lang.String get ( java.lang.String tableName , java.lang.String subTableName , java.lang.String code ) { return nullIfNotFound ? null : code ; }
Source:
public void enter ( ) { try { startObexServerSession ( ) ; } catch ( java.io.IOException ex ) { android.util.Log.e ( com.android.bluetooth.pbap.PbapStateMachine.TAG , ( "Caught exception starting OBEX server session" + ( ex.toString ( ) ) ) ) ; } }

Target:
public void enter ( ) { try { startObexServerSession ( ) ; } catch ( java.io.IOException ex ) { android.util.Log.e ( com.android.bluetooth.pbap.PbapStateMachine.TAG , ( "Caught exception starting OBEX server session" + ( ex.toString ( ) ) ) ) ; } broadcastStateTransitions ( ) ; }
Source:
public void streamStateChanged ( int state ) { }

Target:
public void streamStateUpdated ( int state ) { }
Source:
public void dup_x2 ( ) { super . dup_x2 ( ) ; producerPop ( ) ; producerPop ( ) ; producerPop ( ) ; producerPush ( ) ; producerPush ( ) ; producerPush ( ) ; producerPush ( ) ; }

Target:
public void dup ( ) { super . dup ( ) ; producerStack.pop ( ) ; producerStack.push ( producerValue ) ; producerStack.push ( producerValue ) ; actualProducerStack.dup ( ) ; }
Source:
public void onSetReport ( byte type , byte id , byte [ ] data ) { android.util.Log.d ( android.bluetooth.BluetoothHidDeviceCallback.TAG , ( ( ( "onSetReport: type=" + type ) + " id=" ) + id ) ) ; }

Target:
public void onSetReport ( android.bluetooth.BluetoothDevice device , byte type , byte id , byte [ ] data ) { android.util.Log.d ( android.bluetooth.BluetoothHidDeviceCallback.TAG , ( ( ( ( ( "onSetReport: device=" + device ) + " type=" ) + type ) + " id=" ) + id ) ) ; }
Source:
public void onAccuracyChanged ( android.hardware.Sensor sensor , int accuracy ) { }

Target:
public void testBatchAndFlush ( ) throws java.lang.Exception { java.util.ArrayList < java.lang.Throwable > errorsFound = new java.util.ArrayList < > ( ) ; for ( android.hardware.Sensor sensor : mSensorList ) { verifyRegisterListenerCallFlush ( sensor , null , errorsFound ) ; } assertOnErrors ( errorsFound ) ; }
Source:
public void exit ( ) { if ( mEnableBackgroundScan ) { android.net.wifi.WifiNative.enableBackgroundScanCommand ( false ) ; } setScanAlarm ( false ) ; }

Target:
public void exit ( ) { if ( mEnableBackgroundScan ) { mWifiNative.enableBackgroundScan ( false ) ; } setScanAlarm ( false ) ; }
Source:
public boolean onPreferenceClick ( android.support.v7.preference.Preference preference ) { refreshTags ( true ) ; android.widget.Toast.makeText ( getContext ( ) , "Default tags restored" , Toast.LENGTH_SHORT ) . show ( ) ; return true ; }

Target:
public boolean onPreferenceClick ( android.support.v7.preference.Preference preference ) { refreshTags ( true ) ; android.widget.Toast.makeText ( getContext ( ) , getContext ( ) . getString ( R.string.default_categories_restored ) , Toast.LENGTH_SHORT ) . show ( ) ; return true ; }
Source:
public void setName ( @ javax.annotation.CheckForNull java.lang.String name ) { this . name = name ; }

Target:
public void setName ( @ javax.annotation.CheckForNull java.lang.String name ) { this . name = ( name == null ) ? null : com.android.jack.ir.StringInterner.get ( ) . intern ( name ) ; }
Source:
public void testVFE13 ( ) { try { new dot.junit.opcodes.invoke_super_range.d.T_invoke_super_range_18 ( ) . run ( new dot.junit.opcodes.invoke_super_range.TestStubs ( ) ) ; fail ( "expected IllegalAccessError" ) ; } catch ( java.lang.IllegalAccessError t ) { } }

Target:
public void testVFE13 ( ) { loadAndRun ( "dot.junit.opcodes.invoke_super_range.d.T_invoke_super_range_18" , java.lang.IllegalAccessError.class , new dot.junit.opcodes.invoke_super_range.TestStubs ( ) ) ; }
Source:
public boolean hasPrevious ( ) { return ( previous ) != null ; }

Target:
public boolean hasPrevious ( ) { checkForConcurrentModification ( ) ; return ( previous ) != null ; }
Source:
public static native void EVP_DigestSignInit ( org.conscrypt.NativeRef.EVP_MD_CTX evp_md_ctx , long evp_md , org.conscrypt.NativeRef.EVP_PKEY evp_pkey ) ;

Target:
public static native long EVP_DigestSignInit ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , long evpMdRef , org.conscrypt.NativeRef.EVP_PKEY key ) ;
Source:
public static native int SSL_new ( int ssl_ctx ) throws javax.net.ssl.SSLException ;

Target:
public static native long [ ] d2i_PKCS7_bio ( long bioCtx , int which ) ;
Source:
public abstract Location.Handle createLocationHandle ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context , @ com.android.annotations.NonNull lombok.ast.Node node ) ;

Target:
public com.android.tools.lint.detector.api.Location getRangeLocation ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context , @ com.android.annotations.NonNull com.intellij.psi.PsiElement from , int fromDelta , int toDelta ) { return getRangeLocation ( context , from , fromDelta , from , ( - ( ( from.getTextRange ( ) . getLength ( ) ) - toDelta ) ) ) ; }
Source:
public static int shortToLongToInt ( short value ) { return ( ( int ) ( ( long ) ( value ) ) ) ; }

Target:
public static int $noinline$shortToLongToInt ( short value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( long ) ( value ) ) ) ; }
Source:
public boolean enableNetwork ( int netId ) { if ( com.android.server.wifi.WifiNative.DBG ) logDbg ( ( "enableNetwork nid=" + ( java.lang.Integer.toString ( netId ) ) ) ) ; return doBooleanCommand ( ( "ENABLE_NETWORK " + netId ) ) ; }

Target:
public boolean setConfiguredNetworkBSSID ( java.lang.String bssid ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.setCurrentNetworkBssid ( bssid ) ; } else { return mWifiSupplicantControl.setConfiguredNetworkBSSID ( bssid ) ; } }
Source:
public static int IntSubtraction ( ) { int a ; int b ; int c ; a = 6 ; b = 2 ; c = a - b ; return c ; }

Target:
public static int IntRemainder ( ) { int a ; int b ; int c ; a = Main.$inline$int ( 8 ) ; b = Main.$inline$int ( 3 ) ; c = a % b ; return c ; }
Source:
public android.net.wifi.nan.SubscribeConfig.Builder setMatchStyle ( @ android.net.wifi.nan.SubscribeConfig.MatchStyles int matchStyle ) { if ( ( matchStyle != ( android.net.wifi.nan.SubscribeConfig.MATCH_STYLE_FIRST_ONLY ) ) && ( matchStyle != ( android.net.wifi.nan.SubscribeConfig.MATCH_STYLE_ALL ) ) ) { throw new java.lang.IllegalArgumentException ( "Invalid matchType - must be MATCH_FIRST_ONLY or MATCH_ALL" ) ; } mMatchStyle = matchStyle ; return this ; }

Target:
public android.net.wifi.aware.SubscribeConfig.Builder setMatchStyle ( @ android.net.wifi.aware.SubscribeConfig.MatchStyles int matchStyle ) { if ( ( matchStyle != ( android.net.wifi.aware.SubscribeConfig.MATCH_STYLE_FIRST_ONLY ) ) && ( matchStyle != ( android.net.wifi.aware.SubscribeConfig.MATCH_STYLE_ALL ) ) ) { throw new java.lang.IllegalArgumentException ( "Invalid matchType - must be MATCH_FIRST_ONLY or MATCH_ALL" ) ; } mMatchStyle = matchStyle ; return this ; }
Source:
public void callSessionHoldFailed ( com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionHoldFailed ( reasonInfo ) ; }

Target:
public void callSessionHandoverFailed ( int srcAccessTech , int targetAccessTech , android.telephony.ims.ImsReasonInfo reasonInfo ) { try { mListener.callSessionHandoverFailed ( srcAccessTech , targetAccessTech , reasonInfo ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public static com.intellij.execution.testframework.ui.BaseTestsOutputConsoleView createConsoleWithCustomLocator ( @ org.jetbrains.annotations.NotNull final java.lang.String testFrameworkName , @ org.jetbrains.annotations.NotNull final com.intellij.execution.testframework.TestConsoleProperties consoleProperties , com.intellij.execution.runners.ExecutionEnvironment environment , @ org.jetbrains.annotations.Nullable final com.intellij.testIntegration.TestLocationProvider locator ) { return com.google.gct.testing.results.GoogleCloudTestResultsConnectionUtil.createConsoleWithCustomLocator ( testFrameworkName , consoleProperties , environment , new com.intellij.execution.testframework.sm.CompositeTestLocationProvider ( locator ) , false , null ) ; }

Target:
public static com.intellij.execution.testframework.ui.BaseTestsOutputConsoleView createConsoleWithCustomLocator ( @ org.jetbrains.annotations.NotNull final java.lang.String testFrameworkName , @ org.jetbrains.annotations.NotNull final com.intellij.execution.testframework.TestConsoleProperties consoleProperties , com.intellij.execution.runners.ExecutionEnvironment environment , @ org.jetbrains.annotations.Nullable final com.intellij.testIntegration.TestLocationProvider locator , @ org.jetbrains.annotations.NotNull final com.google.gct.testing.CloudMatrixExecutionCancellator matrixExecutionCancellator ) { return com.google.gct.testing.results.GoogleCloudTestResultsConnectionUtil.createConsoleWithCustomLocator ( testFrameworkName , consoleProperties , environment , new com.intellij.execution.testframework.sm.CompositeTestLocationProvider ( locator ) , false , null , matrixExecutionCancellator ) ; }
Source:
public void setCellBroadcastSmsConfig ( int [ ] configValuesArray , android.os.Message response ) { android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "[CDMAPhone] setCellBroadcastSmsConfig() is obsolete; use SmsManager" ) ; response.sendToTarget ( ) ; }

Target:
public void activateCellBroadcastSms ( int activate , android.os.Message response ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "[CDMAPhone] activateCellBroadcastSms() is obsolete; use SmsManager" ) ; response.sendToTarget ( ) ; }
Source:
public boolean importKey ( java.lang.String keyName , byte [ ] key ) { return importKey ( android.security.KeyStore.getBytes ( keyName ) , key ) ; }

Target:
public boolean importKey ( java.lang.String keyName , byte [ ] key ) { return importKey ( android.security.KeyStore.getKeyBytes ( keyName ) , key ) ; }
Source:
public < A extends java.lang.annotation.Annotation > A getAnnotation ( java.lang.Class < A > annotationType ) { if ( annotationType == null ) { throw new java.lang.NullPointerException ( "annotationType == null" ) ; } return getAnnotationNative ( annotationType ) ; }

Target:
public < T extends java.lang.annotation.Annotation > T getAnnotation ( java.lang.Class < T > annotationClass ) { java.util.Objects.requireNonNull ( annotationClass ) ; return getAnnotationNative ( annotationClass ) ; }
Source:
private android.net.wifi.WifiConfiguration getInternalConfiguredNetwork ( int networkId ) { android.net.wifi.WifiConfiguration internalConfig = mConfiguredNetworks.getForCurrentUser ( networkId ) ; if ( internalConfig == null ) { android.util.Log.e ( com.android.server.wifi.WifiConfigManagerNew.TAG , ( "Cannot find network with networkId " + networkId ) ) ; } return internalConfig ; }

Target:
private android.net.wifi.WifiConfiguration getInternalConfiguredNetwork ( int networkId ) { android.net.wifi.WifiConfiguration internalConfig = mConfiguredNetworks.getForCurrentUser ( networkId ) ; if ( internalConfig == null ) { android.util.Log.e ( com.android.server.wifi.WifiConfigManager.TAG , ( "Cannot find network with networkId " + networkId ) ) ; } return internalConfig ; }
Source:
public void setVideoProvider ( java.lang.String callId , com.android.internal.telecom.IVideoProvider videoProvider ) { android.telecom.RemoteConnection.VideoProvider remoteVideoProvider = null ; if ( videoProvider != null ) { remoteVideoProvider = new android.telecom.RemoteConnection.VideoProvider ( videoProvider ) ; } findConnectionForAction ( callId , "setVideoProvider" ) . setVideoProvider ( remoteVideoProvider ) ; }

Target:
public void setVideoProvider ( java.lang.String callId , com.android.internal.telecom.IVideoProvider videoProvider , android.telecom.Logging.Session.Info sessionInfo ) { android.telecom.RemoteConnection.VideoProvider remoteVideoProvider = null ; if ( videoProvider != null ) { remoteVideoProvider = new android.telecom.RemoteConnection.VideoProvider ( videoProvider ) ; } findConnectionForAction ( callId , "setVideoProvider" ) . setVideoProvider ( remoteVideoProvider ) ; }
Source:
public final com.google.common.util.concurrent.Service.State stopAndWait ( ) { return delegate.stopAndWait ( ) ; }

Target:
public final java.lang.Throwable failureCause ( ) { return delegate.failureCause ( ) ; }
Source:
public static int booleanFieldEqualZero ( ) { return ( Main.booleanField ) != ( Main.$inline$false ( ) ) ? 13 : 54 ; }

Target:
public static int $noinline$booleanFieldEqualZero ( ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( Main.booleanField ) != ( Main.$inline$false ( ) ) ? 13 : 54 ; }
Source:
public void run ( ) { mLabel.setText ( label ) ; for ( com.android.ddmuilib.SysinfoPanel.BugReportParser.DataValue d : data ) { mDataset.setValue ( d.name , d.value ) ; } }

Target:
public void run ( ) { mLabel.setText ( label ) ; mStackLayout.topControl = mPieChartComposite ; mChartComposite.layout ( ) ; for ( com.android.ddmuilib.SysinfoPanel.BugReportParser.DataValue d : data ) { mDataset.setValue ( d.name , d.value ) ; } }
Source:
public void writeToFile ( java.io.File file ) throws java.io.IOException { if ( ! ( file.exists ( ) ) ) { com.google.common.io.Files.createParentDirs ( file ) ; } com.google.common.io.Files.append ( content , file , com.google.common.base.Charsets.UTF_8 ) ; }

Target:
public void writeToFile ( java.io.File file ) throws java.io.IOException { if ( ! ( file.exists ( ) ) ) { com.google.common.io.Files.createParentDirs ( file ) ; } com.google.common.io.Files.write ( content , file ) ; }
Source:
public com.android.apksig.util.DataSink getDataSink ( ) { synchronized ( mLock ) { checkNotDone ( ) ; if ( ( mDataSink ) == null ) { mDataSink = new com.android.apksig.internal.util.MessageDigestSink ( new java.security.MessageDigest [ ] { getMessageDigest ( ) } ) ; } return mDataSink ; } }

Target:
public com.android.apksig.util.DataSink getDataSink ( ) { synchronized ( mLock ) { checkNotDone ( ) ; if ( ( mDataSink ) == null ) { mDataSink = com.android.apksig.util.DataSinks.asDataSink ( getMessageDigest ( ) ) ; } return mDataSink ; } }
Source:
public java.lang.String toString ( ) { return java.lang.String.format ( "ValidationProbeEvent(%d, %s:%d, %dms)" , netId , android.net.metrics.ValidationProbeEvent.getProbeName ( probeType ) , returnCode , durationMs ) ; }

Target:
public java.lang.String toString ( ) { return java.lang.String.format ( "ValidationProbeEvent(%d, %s:%d %s, %dms)" , netId , android.net.metrics.ValidationProbeEvent.getProbeName ( probeType ) , returnCode , android.net.metrics.ValidationProbeEvent.getValidationStage ( probeType ) , durationMs ) ; }
Source:
void addRegistrationListener ( int sessionId , com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException ;

Target:
void removeRegistrationListener ( com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException ;
Source:
private boolean isWrongCancelPosition ( org.w3c.dom.Element element ) { return isWrongPosition ( element , true ) ; }

Target:
private boolean isWrongCancelPosition ( org.w3c.dom.Element element ) { return com.android.tools.lint.checks.ButtonDetector.isWrongPosition ( element , true ) ; }