auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void testIsUsageEnable ( ) throws java.lang.Exception { mDut.isUsageEnabled ( ) ; org.mockito.Mockito.verify ( mockNanService ) . isUsageEnabled ( ) ; }

Target:
public void testIsUsageEnable ( ) throws java.lang.Exception { mDut.isAvailable ( ) ; org.mockito.Mockito.verify ( mockNanService ) . isUsageEnabled ( ) ; }
Source:
public void dispose ( ) { super . dispose ( ) ; if ( ( mPreviewImage ) != null ) { mPreviewImage.dispose ( ) ; mPreviewImage = null ; } }

Target:
public void dispose ( ) { super . dispose ( ) ; if ( ( ( mPreviewImage ) != null ) && ( mDisposePreviewImage ) ) { mDisposePreviewImage = false ; mPreviewImage.dispose ( ) ; mPreviewImage = null ; } }
Source:
public void testConstructor ( ) throws java.lang.Exception { javax.net.ssl.SSLServerSocket ssl = new tests.api.javax.net.ssl.SSLServerSocketTest.mySSLServerSocket ( ) ; }

Target:
public void testConstructor ( ) throws java.lang.Exception { javax.net.ssl.SSLServerSocket ssl = new org.apache.harmony.tests.javax.net.ssl.SSLServerSocketTest.mySSLServerSocket ( ) ; }
Source:
public static java.io.File getJillTestFolder ( @ javax.annotation.Nonnull java.lang.String testName ) { return getFromAndroidTree ( ( ( ( com.android.jill.JillTestTools.JILL_UNIT_TESTS_PATH ) + ( com.android.jill.JillTestTools.JILL_PACKAGE ) ) + testName ) ) ; }

Target:
public static java.io.File getJillTestFolder ( @ javax.annotation.Nonnull java.lang.String testName ) { return new java.io.File ( com.android.jill.JillTestTools.JILL_DIR , ( ( ( com.android.jill.JillTestTools.JILL_UNIT_TESTS_PATH ) + ( com.android.jill.JillTestTools.JILL_PACKAGE ) ) + testName ) ) ; }
Source:
private com.android.sched.vfs.BaseVDir changeVFS ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir dir ) { dir.changeVFS ( this ) ; return dir ; }

Target:
com.android.sched.vfs.MessageDigestFS.MessageDigestVDir getVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotDirectoryException { return new com.android.sched.vfs.MessageDigestFS.MessageDigestVDir ( this , parent.getWrappedDir ( ) . getVDir ( name ) ) ; }
Source:
public static java.lang.String getAddonHashString ( @ com.android.annotations.NonNull java.lang.String addonVendorId , @ com.android.annotations.NonNull java.lang.String addonNameId , @ com.android.annotations.NonNull com.android.sdklib.AndroidVersion version ) { return java.lang.String.format ( com.android.sdklib.AndroidTargetHash.ADD_ON_FORMAT , addonVendorId , addonNameId , version.getApiString ( ) ) ; }

Target:
public static java.lang.String getAddonHashString ( @ com.android.annotations.NonNull java.lang.String addonVendorDisplay , @ com.android.annotations.NonNull java.lang.String addonNameDisplay , @ com.android.annotations.NonNull com.android.sdklib.AndroidVersion version ) { return java.lang.String.format ( com.android.sdklib.AndroidTargetHash.ADD_ON_FORMAT , addonVendorDisplay , addonNameDisplay , version.getApiString ( ) ) ; }
Source:
public static android.app.DialogFragment newInstance ( java.lang.String displayNumber , com.android.dialer.blocking.BlockReportSpamDialogs.OnConfirmListener positiveListener , @ android.support.annotation.Nullable android.content.DialogInterface.OnDismissListener dismissListener ) { com.android.dialer.blocking.BlockReportSpamDialogs.ReportNotSpamDialogFragment fragment = new com.android.dialer.blocking.BlockReportSpamDialogs.ReportNotSpamDialogFragment ( ) ; fragment.mDisplayNumber = displayNumber ; fragment.mPositiveListener = positiveListener ; fragment.mDismissListener = dismissListener ; return fragment ; }

Target:
public static android.app.DialogFragment newInstance ( java.lang.String displayNumber , com.android.dialer.blocking.BlockReportSpamDialogs.OnConfirmListener positiveListener , @ android.support.annotation.Nullable android.content.DialogInterface.OnDismissListener dismissListener ) { com.android.dialer.blocking.BlockReportSpamDialogs.ReportNotSpamDialogFragment fragment = new com.android.dialer.blocking.BlockReportSpamDialogs.ReportNotSpamDialogFragment ( ) ; fragment.displayNumber = displayNumber ; fragment.positiveListener = positiveListener ; fragment.dismissListener = dismissListener ; return fragment ; }
Source:
public void test_minusWeeks_negativeAcrossYear ( ) { java.time.LocalDate t = TEST_2007_07_15.minusWeeks ( ( - 28 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2008 , 1 , 27 ) ) ; }

Target:
public void test_minusWeeks_negativeAcrossYear ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.minusWeeks ( ( - 28 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2008 , 1 , 27 ) ) ; }
Source:
public void clearPackages ( ) { mPackages = null ; }

Target:
protected void setPackages ( java.lang.Package [ ] packages ) { mPackages = packages ; if ( ( mPackages ) != null ) { java.util.Arrays.sort ( mPackages , null ) ; } }
Source:
public void testConstructor_EndBeforeStart_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 , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , android.security.KeyPairGeneratorSpecTest.NOW , 0 ) ; fail ( "Should throw IllegalArgumentException when end is before start" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_EndBeforeStart_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_PLUS_10_YEARS , android.security.KeyPairGeneratorSpecTest.NOW , 0 ) ; fail ( "Should throw IllegalArgumentException when end is before start" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public void setClient ( android.printservice.IPrintServiceClient client ) { mHandler.obtainMessage ( android.printservice.PrintService.ServiceHandler.MSG_SET_CLEINT , client ) . sendToTarget ( ) ; }

Target:
public void setClient ( android.printservice.IPrintServiceClient client ) { mHandler.obtainMessage ( android.printservice.PrintService.ServiceHandler.MSG_SET_CLIENT , client ) . sendToTarget ( ) ; }
Source:
public void invokeOemRilRequestRaw ( byte [ ] data , android.os.Message response ) { }

Target:
public void registerForIccSlotStatusChanged ( android.os.Handler h , int what , java.lang.Object obj ) { }
Source:
public void carrierActionSetMeteredApnsEnabled ( boolean enabled ) { if ( ( mDcTracker ) != null ) { mDcTracker.setApnsEnabledByCarrier ( enabled ) ; } }

Target:
public com.android.internal.telephony.CarrierActionAgent getCarrierActionAgent ( ) { return mCarrierActionAgent ; }
Source:
public void run ( ) { showSearchPanel ( ) ; awakenDreams ( ) ; }

Target:
public void run ( ) { int requested = ( mSystemUiVisibility ) & ( ~ ( com.android.systemui.statusbar.phone.PhoneStatusBar.STATUS_OR_NAV_TRANSIENT ) ) ; if ( ( mSystemUiVisibility ) != requested ) { notifyUiVisibilityChanged ( requested ) ; } }
Source:
public abstract com.google.common.collect.ImmutableMap < C , V > row ( R rowKey ) ;

Target:
public final V put ( R rowKey , C columnKey , V value ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
private static native int native_saveLayer ( int nativeCanvas , android.graphics.RectF bounds , int paint , int layerFlags ) ;

Target:
private static native int native_saveLayer ( long nativeCanvas , android.graphics.RectF bounds , long nativePaint , int layerFlags ) ;
Source:
public void testSuper ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/ApiCallTest7.java:8: Error: Call requires API level 9 (current min is 4): java.io.IOException#<init> [NewApi]\n" + ( ( ( ( ( " super(message, cause); // API 9\n" + " ~~~~~\n" ) + "src/test/pkg/ApiCallTest7.java:12: Error: Call requires API level 9 (current min is 4): java.io.IOException#<init> [NewApi]\n" ) + " super.toString(); throw new IOException((Throwable) null); // API 9\n" ) + " ~~~~~~~~~~~\n" ) + "2 errors, 0 warnings\n" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk4.xml=>AndroidManifest.xml" , "apicheck/ApiCallTest7.java.txt=>src/test/pkg/ApiCallTest7.java" , "apicheck/ApiCallTest7.class.data=>bin/classes/test/pkg/ApiCallTest7.class" ) ) ; }

Target:
public void testSuper ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/ApiCallTest7.java:8: Error: Call requires API level 9 (current min is 4): new java.io.IOException [NewApi]\n" + ( ( ( ( ( " super(message, cause); // API 9\n" + " ~~~~~\n" ) + "src/test/pkg/ApiCallTest7.java:12: Error: Call requires API level 9 (current min is 4): new java.io.IOException [NewApi]\n" ) + " super.toString(); throw new IOException((Throwable) null); // API 9\n" ) + " ~~~~~~~~~~~\n" ) + "2 errors, 0 warnings\n" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk4.xml=>AndroidManifest.xml" , "apicheck/ApiCallTest7.java.txt=>src/test/pkg/ApiCallTest7.java" , "apicheck/ApiCallTest7.class.data=>bin/classes/test/pkg/ApiCallTest7.class" ) ) ; }
Source:
public DST checkString ( @ javax.annotation.Nonnull com.android.sched.util.codec.CodecContext context , @ javax.annotation.Nonnull java.lang.String string ) throws com.android.sched.util.codec.ParsingException { codec.checkString ( context , string ) ; return null ; }

Target:
public DST checkString ( @ javax.annotation.Nonnull com.android.sched.util.codec.CodecContext context , @ javax.annotation.Nonnull java.lang.String string ) throws com.android.sched.util.codec.ParsingException { SRC src = codec.checkString ( context , string ) ; if ( src == null ) { return null ; } else { return convert ( src ) ; } }
Source:
public int hashCode ( ) { return mID ; }

Target:
public int hashCode ( ) { return ( ( int ) ( ( ( mID ) & 268435455 ) ^ ( ( mID ) > > 32 ) ) ) ; }
Source:
lombok.ast.AstVisitor getVisitor ( ) { if ( ( mVisitor ) == null ) { mVisitor = mDetector.createJavaVisitor ( mContext ) ; } return mVisitor ; }

Target:
lombok.ast.AstVisitor getVisitor ( ) { if ( ( mVisitor ) == null ) { mVisitor = mDetector.createJavaVisitor ( mContext ) ; if ( ( mVisitor ) == null ) { mVisitor = new lombok.ast.ForwardingAstVisitor ( ) { } ; } } return mVisitor ; }
Source:
public java.util.List < org.gradle.api.DefaultTask > getDeviceInstrumentTests ( ) { return java.util.Collections.emptyList ( ) ; }

Target:
public java.util.List < ? extends org.gradle.api.DefaultTask > getProviderInstrumentTests ( ) { return variantData.providerTestTaskList ; }
Source:
public void mouseMoved ( java.awt.event.MouseEvent event ) { checkLockedRegion ( event.getX ( ) , event.getY ( ) ) ; }

Target:
public void mouseDragged ( java.awt.event.MouseEvent event ) { if ( ! ( checkLockedRegion ( event.getX ( ) , event.getY ( ) ) ) ) { paint ( event.getX ( ) , event.getY ( ) , currentButton ) ; } }
Source:
public void waitForOtherThreadToPause ( ) throws java.lang.Exception { sem_wakeup_main.acquire ( ) ; }

Target:
public void waitForOtherThreadToPause ( ) throws java.lang.Exception { sem_wakeup_main.acquire ( ) ; while ( ! ( sem_wait.hasQueuedThreads ( ) ) ) { } }
Source:
public void testComplexPermission3 ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "src/test/pkg/PermissionTest.java:7: Error: Missing permissions required by LocationManager.myMethod: com.android.voicemail.permission.ADD_VOICEMAIL xor android.permission.AUTHENTICATE_ACCOUNTS [MissingPermission]\n" + " LocationManager.Location location = locationManager.myMethod(provider);\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( getManifestWithPermissions ( 14 , "android.permission.ACCESS_FINE_LOCATION" , "com.android.voicemail.permission.ADD_VOICEMAIL" , "android.permission.AUTHENTICATE_ACCOUNTS" ) , mPermissionTest , mComplexLocationManagerStub , mRequirePermissionAnnotation ) ) ; }

Target:
public void testComplexPermission3 ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "src/test/pkg/PermissionTest.java:7: Error: Missing permissions required by LocationManager.myMethod: android.permission.BLUETOOTH xor android.permission.READ_SMS [MissingPermission]\n" + " LocationManager.Location location = locationManager.myMethod(provider);\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( getManifestWithPermissions ( 14 , "android.permission.ACCESS_FINE_LOCATION" , "android.permission.BLUETOOTH" , "android.permission.READ_SMS" ) , mPermissionTest , mComplexLocationManagerStub , mRequirePermissionAnnotation ) ) ; }
Source:
public void testPrivateKey ( ) throws java.lang.Exception { assertEquals ( ( "res/private_key.pem: Warning: The res/private_key.pem file seems to be a " + "private key file. Please make sure not to embed this in your APK file." ) , lintProject ( "res/values/strings.xml=>res/values/strings/xml" , "res/private_key.pem=>res/private_key.pem" ) ) ; }

Target:
public void testPrivateKey ( ) throws java.lang.Exception { assertEquals ( ( "res/private_key.pem: Warning: The res/private_key.pem file seems to be a private key file. Please make sure not to embed this in your APK file. [PackagedPrivateKey]\n" + "0 errors, 1 warnings\n" ) , lintProject ( "res/values/strings.xml=>res/values/strings/xml" , "res/private_key.pem=>res/private_key.pem" ) ) ; }
Source:
public native boolean routeAid ( byte [ ] aid , int route ) ;

Target:
public native boolean routeAid ( byte [ ] aid , int route , int aidInfo ) ;
Source:
public static long LongSubtraction ( ) { long a ; long b ; long c ; a = 6L ; b = 2L ; c = a - b ; return c ; }

Target:
public static double DoubleAddition ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 1.0 ) ; b = Main.$inline$double ( 2.0 ) ; c = a + b ; return c ; }
Source:
public static long UShr60And15 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > > 60 ) & 15 ; }

Target:
public static long $noinline$UShr60And15 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > > 60 ) & 15 ; }
Source:
public void removeTransportModeTransform ( java.net.Socket socket , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.fromSocket ( socket ) ) { removeTransportModeTransform ( pfd , transform ) ; } }

Target:
public void applyTransportModeTransform ( java.io.FileDescriptor socket , int direction , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.dup ( socket ) ) { applyTransportModeTransform ( pfd , direction , transform ) ; } }
Source:
public void answer ( int videoState ) { com.android.internal.util.Preconditions.checkNotNull ( mConnectionService ) ; if ( isRinging ( "answer" ) ) { mConnectionService.answer ( this , videoState ) ; com.android.server.telecom.Log.event ( this , Log.Events.REQUEST_ACCEPT ) ; } }

Target:
public void answer ( int videoState ) { com.android.internal.util.Preconditions.checkNotNull ( mConnectionService ) ; if ( isRinging ( "answer" ) ) { mConnectionService.answer ( this , videoState ) ; android.telecom.Log.addEvent ( this , LogUtils.Events.REQUEST_ACCEPT ) ; } }
Source:
public com.android.builder.Keystore getKeystore ( ) { com.android.builder.Keystore keystore = mBuildType.getKeystore ( ) ; if ( keystore != null ) { return keystore ; } return mMergedFlavor.getKeystore ( ) ; }

Target:
public com.android.builder.SigningConfig getSigningConfig ( ) { com.android.builder.SigningConfig signingConfig = mBuildType.getSigningConfig ( ) ; if ( signingConfig != null ) { return signingConfig ; } return mMergedFlavor.getSigningConfig ( ) ; }
Source:
public void onCreateIncomingConnectionFailed ( android.telecom.ConnectionRequest request ) { }

Target:
public void onCreateOutgoingConnectionFailed ( android.telecom.PhoneAccountHandle connectionManagerPhoneAccount , android.telecom.ConnectionRequest request ) { }
Source:
public native int pageSize ( ) ;

Target:
public native float getFloat ( long address ) ;
Source:
public static void wtf ( java.lang.Object objectPrefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { android.util.Log.wtf ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( android.telecom.Log.getPrefixFromObject ( objectPrefix ) , format , args ) , tr ) ; }

Target:
public static void wtf ( java.lang.String prefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { android.util.Slog.wtf ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( prefix , format , args ) , tr ) ; }
Source:
byte [ ] protectedArray ( ) { byte [ ] array = this . block.array ( ) ; if ( array == null ) { throw new java.lang.UnsupportedOperationException ( ) ; } return array ; }

Target:
byte [ ] protectedArray ( ) { if ( isReadOnly ) { throw new java.nio.ReadOnlyBufferException ( ) ; } byte [ ] array = this . block.array ( ) ; if ( array == null ) { throw new java.lang.UnsupportedOperationException ( ) ; } return array ; }
Source:
public org.gradle.api.Task getAssemble ( ) { return getVariantData ( ) . getOutputs ( ) . get ( 0 ) . assembleTask ; }

Target:
public org.gradle.api.Task getAssemble ( ) { return getVariantData ( ) . assembleVariantTask ; }
Source:
protected void tearDown ( ) throws java.lang.Exception { super . tearDown ( ) ; getDevice ( ) . uninstallPackage ( android.appsecurity.cts.PermissionsHostTest.PKG ) ; }

Target:
protected void tearDown ( ) throws java.lang.Exception { super . tearDown ( ) ; getDevice ( ) . uninstallPackage ( android.appsecurity.cts.PermissionsHostTest.USES_PERMISSION_PKG ) ; getDevice ( ) . uninstallPackage ( android.appsecurity.cts.PermissionsHostTest.ESCALATE_PERMISSION_PKG ) ; }
Source:
public void testSerializeUnserializableField ( ) throws java.lang.Exception { libcore.java.io.SerializationTest.HasUnserializableField uf = new libcore.java.io.SerializationTest.HasUnserializableField ( ) ; try { libcore.util.SerializationTester.serializeHex ( uf ) ; fail ( ) ; } catch ( java.io.NotSerializableException expected ) { } }

Target:
public void testSerializeUnserializableField ( ) throws java.lang.Exception { libcore.java.io.SerializationTest.HasUnserializableField uf = new libcore.java.io.SerializationTest.HasUnserializableField ( ) ; try { libcore.libcore.util.SerializationTester.serializeHex ( uf ) ; fail ( ) ; } catch ( java.io.NotSerializableException expected ) { } }
Source:
static long $opt$FloatToLong ( float a ) { return ( ( long ) ( a ) ) ; }

Target:
static long $opt$FloatToLong ( float a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( long ) ( a ) ) ; }
Source:
private static byte [ ] getExpectedPlainText ( java.lang.String algorithm ) { if ( algorithm.equals ( "RSA/ECB/NoPadding" ) ) { return libcore.javax.crypto.CipherTest.PKCS1_BLOCK_TYPE_00_PADDED_PLAIN_TEXT ; } return libcore.javax.crypto.CipherTest.ORIGINAL_PLAIN_TEXT ; }

Target:
private static byte [ ] getExpectedPlainText ( java.lang.String algorithm ) { if ( algorithm.equals ( "RSA/ECB/NOPADDING" ) ) { return libcore.javax.crypto.CipherTest.PKCS1_BLOCK_TYPE_00_PADDED_PLAIN_TEXT ; } return libcore.javax.crypto.CipherTest.ORIGINAL_PLAIN_TEXT ; }
Source:
public final E remove ( int index ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public final void add ( int index , E element ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
native void rsnScriptSetVarI ( long con , long id , int slot , int val ) ;

Target:
native long rsnScriptKernelIDCreate ( long con , long sid , int slot , int sig , boolean mUseInc ) ;
Source:
public void visitClassElementValue ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.Annotation annotation , proguard.classfile.util.ClassElementValue classElementValue ) { initializeElementValue ( clazz , annotation , classElementValue ) ; classElementValue.referencedClasses = findReferencedClasses ( clazz.getName ( ) , clazz.getString ( classElementValue.u2classInfoIndex ) ) ; }

Target:
public void visitClassElementValue ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.Annotation annotation , proguard.classfile.util.ClassElementValue classElementValue ) { initializeElementValue ( clazz , annotation , classElementValue ) ; classElementValue.referencedClasses = findReferencedClasses ( clazz.getName ( ) , classElementValue.getClassName ( clazz ) ) ; }
Source:
public static libcore.icu.NativeBreakIterator getSentenceInstance ( java.util.Locale where ) { return new libcore.icu.NativeBreakIterator ( libcore.icu.NativeBreakIterator.getSentenceInstanceImpl ( where.toString ( ) ) , libcore.icu.NativeBreakIterator.BI_SENT_INSTANCE ) ; }

Target:
public static libcore.icu.NativeBreakIterator getSentenceInstance ( java.util.Locale locale ) { return new libcore.icu.NativeBreakIterator ( libcore.icu.NativeBreakIterator.getSentenceInstanceImpl ( locale.toLanguageTag ( ) ) , libcore.icu.NativeBreakIterator.BI_SENT_INSTANCE ) ; }
Source:
public void testVFE5 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.div_int_2addr.d.T_div_int_2addr_5" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.div_int_2addr.d.T_div_int_2addr_1" , java.lang.ArithmeticException.class , 1 , 0 ) ; }
Source:
public static int IntDivision ( ) { int a ; int b ; int c ; a = 8 ; b = 3 ; c = a / b ; return c ; }

Target:
public static double DoubleDivision ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 8.0 ) ; b = Main.$inline$double ( 2.5 ) ; c = a / b ; return c ; }
Source:
protected void textChanged ( javax.swing.event.DocumentEvent e ) { if ( myUpdating ) { return ; } myUpdating = true ; try { updateDataModel ( ) ; myUpdateListener.update ( ) ; } finally { myUpdating = false ; } }

Target:
protected void textChanged ( javax.swing.event.DocumentEvent e ) { if ( myUpdating ) { return ; } myUpdating = true ; try { synchronizePackageName ( updatePackageName ) ; updateDataModel ( ) ; myUpdateListener.update ( ) ; } finally { myUpdating = false ; } }
Source:
private void updateFieldsFromIcu ( ) { maximumIntegerDigits = icuDecimalFormat.getMaximumIntegerDigits ( ) ; minimumIntegerDigits = icuDecimalFormat.getMinimumIntegerDigits ( ) ; maximumFractionDigits = icuDecimalFormat.getMaximumFractionDigits ( ) ; minimumFractionDigits = icuDecimalFormat.getMinimumFractionDigits ( ) ; }

Target:
private void init ( java.lang.String pattern ) { this . icuDecimalFormat = new java.text.DecimalFormat ( pattern , symbols.getIcuDecimalFormatSymbols ( ) ) ; updateFieldsFromIcu ( ) ; }
Source:
public final void clear ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public final void putAll ( com.google.common.collect.Table < ? extends R , ? extends C , ? extends V > table ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public static java.lang.String toBinaryString ( int i ) { return java.lang.Integer.toUnsignedString ( i , 1 ) ; }

Target:
public static java.lang.String toBinaryString ( int i ) { return java.lang.Integer.toUnsignedString0 ( i , 1 ) ; }
Source:
public static native java.lang.String getCurrencyDisplayName ( java.lang.String locale , java.lang.String currencyCode ) ;

Target:
private static native java.lang.String getCurrencySymbol ( java.lang.String languageTag , java.lang.String currencyCode ) ;
Source:
private void cancelExport ( ) { com.android.videoeditor.service.ApiService.cancelExportVideoEditor ( this , mProjectPath , mPendingExportFilename ) ; mPendingExportFilename = null ; mExportProgressDialog = null ; }

Target:
private void cancelExport ( ) { com.android.videoeditor.service.ApiService.cancelExportVideoEditor ( this , mProjectPath , mPendingExportFilename ) ; mExportProgress = 0 ; mPendingExportFilename = null ; mExportProgressDialog = null ; }
Source:
public static com.ibm.icu.util.UResourceBundle getBundleInstance ( java.lang.String baseName , com.ibm.icu.util.ULocale locale , com.ibm.icu.impl.ICUResourceBundle.OpenType openType ) { if ( locale == null ) { locale = com.ibm.icu.util.ULocale.getDefault ( ) ; } return com.ibm.icu.impl.ICUResourceBundle.getBundleInstance ( baseName , locale.toString ( ) , com.ibm.icu.impl.ICUResourceBundle.ICU_DATA_CLASS_LOADER , openType ) ; }

Target:
public static com.ibm.icu.impl.ICUResourceBundle getBundleInstance ( java.lang.String baseName , com.ibm.icu.util.ULocale locale , com.ibm.icu.impl.ICUResourceBundle.OpenType openType ) { if ( locale == null ) { locale = com.ibm.icu.util.ULocale.getDefault ( ) ; } return com.ibm.icu.impl.ICUResourceBundle.getBundleInstance ( baseName , locale.getBaseName ( ) , com.ibm.icu.impl.ICUResourceBundle.ICU_DATA_CLASS_LOADER , openType ) ; }
Source:
private com.android.tools.perflib.heap.Value readValue ( com.android.tools.perflib.heap.Instance instance , com.android.tools.perflib.heap.Type type ) throws java.io.IOException { return readValue ( mInput , instance , type ) ; }

Target:
private int readUnsignedShort ( ) throws java.io.IOException { return ( mInput.readShort ( ) ) & 65535 ; }
Source:
public void testInstallId ( ) throws java.lang.Exception { java.util.Properties props = createExpectedProps ( ) ; com.android.sdklib.internal.repository.packages.SystemImagePackage p = createSystemImagePackage ( props ) ; assertEquals ( "sysimg-5" , p.installId ( ) ) ; }

Target:
public void testInstallId ( ) throws java.lang.Exception { java.util.Properties props = createExpectedProps ( ) ; com.android.sdklib.internal.repository.packages.SystemImagePackage p = createSystemImagePackage ( props ) ; assertEquals ( "sys-img-armeabi-v7a-android-5" , p.installId ( ) ) ; }
Source:
private void setProjectInfo ( java.lang.String projectName , java.lang.String gradleVersion , com.android.build.gradle.DeviceTest.TestType testType ) { this . projectName = projectName ; this . gradleVersion = gradleVersion ; this . testType = testType ; }

Target:
private void setProjectInfo ( @ com.android.annotations.NonNull java.lang.String testFolder , @ com.android.annotations.NonNull java.lang.String projectName , @ com.android.annotations.NonNull java.lang.String gradleVersion , @ com.android.annotations.NonNull com.android.build.gradle.DeviceTest.TestType testType ) { this . testFolder = testFolder ; this . projectName = projectName ; this . gradleVersion = gradleVersion ; this . testType = testType ; }
Source:
private void analyze ( ) { for ( java.io.File directory : mDirectories ) { scanDirectory ( directory ) ; } printStatistics ( ) ; if ( ( mXmlMetadataFile ) != null ) { printMergedMetadata ( ) ; } }

Target:
private void analyze ( ) { for ( java.io.File directory : mDirectories ) { scanDirectory ( directory ) ; } if ( mListAdvanced ) { listAdvanced ( ) ; } printStatistics ( ) ; if ( ( mXmlMetadataFile ) != null ) { printMergedMetadata ( ) ; } }
Source:
public static int NotEqualTrueRhs ( boolean arg ) { return arg == true ? 3 : 5 ; }

Target:
public static byte longAnd0xffToByte ( long value ) { return ( ( byte ) ( value & 255 ) ) ; }
Source:
public static java.lang.Package [ ] getPackages ( ) { java.lang.ClassLoader classloader = dalvik.system.VMStack.getCallingClassLoader ( ) ; if ( classloader == null ) { classloader = java.lang.ClassLoader.getSystemClassLoader ( ) ; } return classloader.getPackages ( ) ; }

Target:
public static java.lang.Package getPackage ( java.lang.String packageName ) { java.lang.ClassLoader classLoader = dalvik.system.VMStack.getCallingClassLoader ( ) ; if ( classLoader == null ) { classLoader = java.lang.ClassLoader.getSystemClassLoader ( ) ; } return classLoader.getPackage ( packageName ) ; }
Source:
public void verifyCertificateChain ( byte [ ] [ ] asn1DerEncodedCertificateChain , java.lang.String authMethod ) throws java.security.cert.CertificateException ;

Target:
public void verifyCertificateChain ( long [ ] certificateChainRefs , java.lang.String authMethod ) throws java.security.cert.CertificateException ;
Source:
static void inlinedForNull ( java.lang.Iterable < ? > it ) { if ( it != null ) { it.iterator ( ) ; } }

Target:
static void inlinedForNull ( java.lang.Iterable < ? > it ) { if ( it != null ) { if ( Main.doThrow ) { throw new java.lang.Error ( "" ) ; } } }
Source:
public int queryCOLR ( ) throws android.os.RemoteException { return - 1 ; }

Target:
public int transact ( android.os.Bundle ssInfo ) { return - 1 ; }
Source:
private void addNewEmergencyCall ( ) { java.lang.String callerId = "911" ; connectionTag = com.android.dialer.simulator.impl.SimulatorSimCallManager.addNewIncomingCall ( context , callerId , false ) ; }

Target:
private void addNewEmergencyCallBack ( ) { java.lang.String callerId = "911" ; connectionTag = com.android.dialer.simulator.impl.SimulatorSimCallManager.addNewIncomingCall ( context , callerId , false ) ; }
Source:
public void writeContent ( @ javax.annotation.Nonnull com.android.jack.jayce.v0004.io.JayceInternalWriterImpl out ) throws java.io.IOException { out.writeId ( localId ) ; }

Target:
public void writeContent ( @ javax.annotation.Nonnull com.android.jack.jayce.v0004.io.JayceInternalWriterImpl out ) throws java.io.IOException { out.writeId ( localId ) ; out.writeNodes ( markers ) ; }
Source:
public void setDensitiesToGenerate ( java.util.Collection < com.android.resources.Density > densitiesToGenerate ) { this . densitiesToGenerate = densitiesToGenerate ; }

Target:
public void setDensitiesToGenerate ( java.util.Collection < com.android.resources.Density > densitiesToGenerate ) { this . densitiesToGenerate = java.util.EnumSet.copyOf ( densitiesToGenerate ) ; }
Source:
public void getAllItemsWithFallback ( java.lang.String path , android.icu.impl.UResource.Sink sink ) throws java.util.MissingResourceException { getAllItemsWithFallback ( path , sink , null , null ) ; }

Target:
protected android.icu.impl.ICUResourceBundle createInstance ( java.lang.String unusedKey , android.icu.impl.ICUResourceBundle.Loader loader ) { return loader.load ( ) ; }
Source:
private native void gattClientReadCharacteristicNative ( int conn_id , int service_type , int service_id_inst_id , long service_id_uuid_lsb , long service_id_uuid_msb , int char_id_inst_id , long char_id_uuid_lsb , long char_id_uuid_msb , int authReq ) ;

Target:
private native void gattClientReadCharacteristicNative ( int conn_id , int handle , int authReq ) ;
Source:
static int periodicReturned ( ) { int k = 0 ; for ( int i = 0 ; i < 9 ; i ++ ) { k = 1 - k ; } return k ; }

Target:
static int periodicReturned9 ( ) { int k = 0 ; for ( int i = 0 ; i < 9 ; i ++ ) { k = 1 - k ; } return k ; }
Source:
public boolean pullVcardEntry ( java.lang.String handle , long filter , byte format ) { android.bluetooth.client.pbap.BluetoothPbapRequest req = new android.bluetooth.client.pbap.BluetoothPbapRequestPullVcardEntry ( handle , filter , format ) ; return mSession.makeRequest ( req ) ; }

Target:
public boolean pullVcardEntry ( java.lang.String handle , long filter , byte format ) { android.bluetooth.client.pbap.BluetoothPbapRequest req = new android.bluetooth.client.pbap.BluetoothPbapRequestPullVcardEntry ( handle , mAccount , filter , format ) ; return mSession.makeRequest ( req ) ; }
Source:
private native void native_drawBitmap ( int nativeCanvas , int bitmap , float left , float top , int nativePaintOrZero , int canvasDensity , int screenDensity , int bitmapDensity ) ;

Target:
private native void native_drawBitmap ( long nativeCanvas , long nativeBitmap , float left , float top , long nativePaintOrZero , int canvasDensity , int screenDensity , int bitmapDensity ) ;
Source:
private boolean showDuoPrimaryButton ( ) { return ( ( ( accountHandle ) != null ) && ( accountHandle.getComponentName ( ) . equals ( getDuo ( ) . getPhoneAccountComponentName ( ) ) ) ) && ( duoReady ) ; }

Target:
private boolean showDuoPrimaryButton ( ) { return ( ( ( accountHandle ) != null ) && ( accountHandle.getComponentName ( ) . equals ( DuoConstants.PHONE_ACCOUNT_COMPONENT_NAME ) ) ) && ( duoReady ) ; }
Source:
public void copyFile ( java.io.File source , java.io.File dest ) throws java.io.IOException { }

Target:
public void copyFile ( @ com.android.annotations.NonNull java.io.File source , @ com.android.annotations.NonNull java.io.File dest ) throws java.io.IOException { throw new java.lang.UnsupportedOperationException ( "MockFileUtils.copyFile is not supported." ) ; }
Source:
public org.objectweb.asm.tree.analysis.Value newOperation ( org.objectweb.asm.tree.AbstractInsnNode node ) throws org.objectweb.asm.tree.analysis.AnalyzerException { return com.android.tools.lint.checks.RecycleDetector.RecycleTracker.UNKNOWN ; }

Target:
public org.objectweb.asm.tree.analysis.Value newOperation ( org.objectweb.asm.tree.AbstractInsnNode node ) throws org.objectweb.asm.tree.analysis.AnalyzerException { return com.android.tools.lint.checks.CleanupDetector.CleanupTracker.UNKNOWN ; }
Source:
public final char getChar ( int index ) { checkIndex ( index , SizeOf.CHAR ) ; return ( ( char ) ( this . block.peekShort ( ( ( offset ) + index ) , order ) ) ) ; }

Target:
public final char getChar ( int index ) { checkNotFreed ( ) ; checkIndex ( index , SizeOf.CHAR ) ; return ( ( char ) ( this . block.peekShort ( ( ( offset ) + index ) , order ) ) ) ; }
Source:
public java.nio.ByteBuffer slice ( ) { return new java.nio.DirectByteBuffer ( block , remaining ( ) , ( ( offset ) + ( position ) ) , isReadOnly , mapMode ) ; }

Target:
public java.nio.ByteBuffer slice ( ) { checkNotFreed ( ) ; return new java.nio.DirectByteBuffer ( block , remaining ( ) , ( ( offset ) + ( position ) ) , isReadOnly , mapMode ) ; }
Source:
public void testConstructor_NullKeystoreAlias_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , null , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when keystoreAlias is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_EndBeforeStart_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_PLUS_10_YEARS , android.security.KeyPairGeneratorSpecTest.NOW , 0 ) ; fail ( "Should throw IllegalArgumentException when end is before start" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public void run ( ) { mTextView.setSingleLine ( false ) ; }

Target:
public void run ( ) { textView.setSingleLine ( false ) ; }
Source:
public void run ( ) { synchronized ( this ) { this . overlayImage = overlayImage ; } }

Target:
public void run ( ) { synchronized ( this ) { this . mOverlayImage = overlayImage ; } }
Source:
private void setDisplayState ( android.media.RemoteDisplayState state ) { if ( ! ( com.android.internal.util.Objects.equal ( mDisplayState , state ) ) ) { mDisplayState = state ; if ( ! ( mScheduledDisplayStateChangedCallback ) ) { mScheduledDisplayStateChangedCallback = true ; mHandler.post ( mDisplayStateChanged ) ; } } }

Target:
private void setDisplayState ( android.media.RemoteDisplayState state ) { if ( ! ( java.util.Objects.equals ( mDisplayState , state ) ) ) { mDisplayState = state ; if ( ! ( mScheduledDisplayStateChangedCallback ) ) { mScheduledDisplayStateChangedCallback = true ; mHandler.post ( mDisplayStateChanged ) ; } } }
Source:
static int [ ] asInts ( byte [ ] x ) { int [ ] z = new int [ 4 ] ; org.bouncycastle.crypto.util.Pack.bigEndianToInt ( x , 0 , z ) ; return z ; }

Target:
static int [ ] asInts ( byte [ ] x ) { int [ ] z = new int [ 4 ] ; org.bouncycastle.util.Pack.bigEndianToInt ( x , 0 , z ) ; return z ; }
Source:
org.jetbrains.plugins.gradle.tooling.ModelBuilderError getModelBuildError ( @ org.jetbrains.annotations.NotNull org.gradle.api.Project project , @ org.jetbrains.annotations.NotNull java.lang.Exception e ) ;

Target:
org.jetbrains.plugins.gradle.tooling.ErrorMessageBuilder getErrorMessageBuilder ( @ org.jetbrains.annotations.NotNull org.gradle.api.Project project , @ org.jetbrains.annotations.NotNull java.lang.Exception e ) ;
Source:
public boolean isDataEnabled ( ) { return getDataEnabled ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) ) ; }

Target:
public void setDataEnabled ( boolean enable ) { setUserMobileDataEnabled ( enable ) ; }
Source:
public final void test_getLocalCertificates ( ) throws java.lang.Exception { java.net.URL url = new java.net.URL ( "https://localhost:55555" ) ; javax.net.ssl.HttpsURLConnection connection = ( ( javax.net.ssl.HttpsURLConnection ) ( url.openConnection ( ) ) ) ; try { connection.getLocalCertificates ( ) ; fail ( "IllegalStateException wasn't thrown" ) ; } catch ( java.lang.IllegalStateException expected ) { } javax.net.ssl.HttpsURLConnection con = new tests.api.javax.net.ssl.MyHttpsURLConnection ( new java.net.URL ( "https://www.fortify.net/" ) , "X.508" ) ; assertNull ( con.getLocalCertificates ( ) ) ; con = new tests.api.javax.net.ssl.MyHttpsURLConnection ( new java.net.URL ( "https://www.fortify.net/" ) , "X.509" ) ; java.security.cert.Certificate [ ] cert = con.getLocalCertificates ( ) ; assertNotNull ( cert ) ; assertEquals ( 1 , cert.length ) ; }

Target:
public final void test_getLocalCertificates ( ) throws java.lang.Exception { java.net.URL url = new java.net.URL ( "https://localhost:55555" ) ; javax.net.ssl.HttpsURLConnection connection = ( ( javax.net.ssl.HttpsURLConnection ) ( url.openConnection ( ) ) ) ; try { connection.getLocalCertificates ( ) ; fail ( "IllegalStateException wasn't thrown" ) ; } catch ( java.lang.IllegalStateException expected ) { } javax.net.ssl.HttpsURLConnection con = new org.apache.harmony.tests.javax.net.ssl.MyHttpsURLConnection ( new java.net.URL ( "https://www.fortify.net/" ) , "X.508" ) ; assertNull ( con.getLocalCertificates ( ) ) ; con = new org.apache.harmony.tests.javax.net.ssl.MyHttpsURLConnection ( new java.net.URL ( "https://www.fortify.net/" ) , "X.509" ) ; java.security.cert.Certificate [ ] cert = con.getLocalCertificates ( ) ; assertNotNull ( cert ) ; assertEquals ( 1 , cert.length ) ; }
Source:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , float [ ] data ) { validateIsFloat32 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data ) ; }

Target:
public void copy2DRangeTo ( int xoff , int yoff , int w , int h , float [ ] data ) { validateIsFloat32 ( ) ; copy2DRangeToUnchecked ( xoff , yoff , w , h , data , Element.DataType.FLOAT_32 , data.length ) ; }
Source:
public com.google.common.util.concurrent.Service.State stopAndWait ( ) { return com.google.common.util.concurrent.Futures.getUnchecked ( stop ( ) ) ; }

Target:
public final void awaitTerminated ( ) { monitor.enterWhenUninterruptibly ( isStopped ) ; try { checkCurrentState ( com.google.common.util.concurrent.Service.State.TERMINATED ) ; } finally { monitor.leave ( ) ; } }
Source:
private void handleScanResultsAvailable ( android.content.Intent intent ) { }

Target:
private void handleWifiApStateChanged ( android.content.Intent intent ) { mWifiApState = intent.getIntExtra ( WifiManager.EXTRA_WIFI_AP_STATE , WifiManager.WIFI_AP_STATE_DISABLED ) ; }
Source:
protected boolean filterResourceFolder ( org.eclipse.core.resources.IContainer parent ) { return false ; }

Target:
protected boolean filterResourceFolder ( org.eclipse.core.resources.IContainer folder ) { return false ; }
Source:
public void onUnhandledKeyEvent ( android.view.KeyEvent event ) { org.chromium.content.common.TraceEvent.begin ( ) ; if ( com.android.webview.chromium.WebViewContentsClientAdapter.TRACE ) android.util.Log.d ( com.android.webview.chromium.WebViewContentsClientAdapter.TAG , "onUnhandledKeyEvent" ) ; mWebViewClient.onUnhandledKeyEvent ( mWebView , event ) ; org.chromium.content.common.TraceEvent.end ( ) ; }

Target:
public void onUnhandledKeyEvent ( android.view.KeyEvent event ) { org.chromium.base.TraceEvent.begin ( ) ; if ( com.android.webview.chromium.WebViewContentsClientAdapter.TRACE ) android.util.Log.d ( com.android.webview.chromium.WebViewContentsClientAdapter.TAG , "onUnhandledKeyEvent" ) ; mWebViewClient.onUnhandledKeyEvent ( mWebView , event ) ; org.chromium.base.TraceEvent.end ( ) ; }
Source:
public static java.lang.String toOctalString ( long i ) { return java.lang.Long.toUnsignedString ( i , 3 ) ; }

Target:
public static java.lang.String toOctalString ( long i ) { return java.lang.Long.toUnsignedString0 ( i , 3 ) ; }
Source:
public boolean getScanCapabilities ( com.android.server.wifi.WifiNative.ScanCapabilities capabilities ) { synchronized ( com.android.server.wifi.WifiNative.sLock ) { return ( isHalStarted ( ) ) && ( com.android.server.wifi.WifiNative.getScanCapabilitiesNative ( com.android.server.wifi.WifiNative.sWlan0Index , capabilities ) ) ; } }

Target:
public boolean getScanCapabilities ( com.android.server.wifi.WifiNative.ScanCapabilities capabilities ) { if ( com.android.server.wifi.WifiNative.HIDL_VENDOR_ENABLE ) { return mWifiVendorHal.getScanCapabilities ( capabilities ) ; } else { synchronized ( com.android.server.wifi.WifiNative.sLock ) { return ( isHalStarted ( ) ) && ( com.android.server.wifi.WifiNative.getScanCapabilitiesNative ( com.android.server.wifi.WifiNative.sWlan0Index , capabilities ) ) ; } } }
Source:
private static int getDefaultPhone ( ) { return android.telephony.SubscriptionManager.getPhoneId ( android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ) ; }

Target:
private int getPhoneId ( ) { return android.telephony.SubscriptionManager.getPhoneId ( getSubId ( ) ) ; }
Source:
public boolean isGsm ( ) { return this . isGsm ; }

Target:
public boolean useOnlyRsrpForLteLevel ( ) { return this . mUseOnlyRsrpForLteLevel ; }
Source:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , int value ) { checkNameAndAppend ( name ) . append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper addValue ( boolean value ) { return addHolder ( java.lang.String.valueOf ( value ) ) ; }
Source:
private static com.android.builder.internal.compiler.PreDexCache.Key of ( @ com.android.annotations.NonNull java.io.File sourceFile , @ com.android.annotations.NonNull com.android.sdklib.repository.FullRevision buildToolsRevision , boolean jumboMode ) { return new com.android.builder.internal.compiler.PreDexCache.Key ( sourceFile , buildToolsRevision , jumboMode ) ; }

Target:
public com.android.builder.internal.compiler.DexKey of ( @ com.android.annotations.NonNull java.io.File sourceFile , @ com.android.annotations.NonNull com.android.sdklib.repository.FullRevision revision , @ com.android.annotations.NonNull org.w3c.dom.NamedNodeMap attrMap ) { return com.android.builder.internal.compiler.DexKey.of ( sourceFile , revision , java.lang.Boolean.parseBoolean ( attrMap.getNamedItem ( com.android.builder.internal.compiler.PreDexCache.ATTR_JUMBO_MODE ) . getNodeValue ( ) ) ) ; }
Source:
public void execute ( com.android.build.gradle.managed.BuildType buildType ) { if ( buildType.getName ( ) . equals ( com.android.builder.core.BuilderConstants.DEBUG ) ) { buildType.setSigningConfig ( debugSigningConfig ) ; } }

Target:
public void execute ( com.android.build.gradle.managed.BuildType buildType ) { buildType.setSigningConfig ( signingConfigs.get ( com.android.builder.core.BuilderConstants.DEBUG ) ) ; }
Source:
private synchronized void onVirtualCableUnplug ( ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , "onVirtualCableUnplug()" ) ; } android.os.Message msg = mHandler.obtainMessage ( com.android.bluetooth.hid.HidDeviceService.MESSAGE_VC_UNPLUG ) ; mHandler.sendMessage ( msg ) ; }

Target:
synchronized void onSetProtocolFromNative ( byte protocol ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , ( "onSetProtocol(): protocol=" + protocol ) ) ; } android.os.Message msg = mHandler.obtainMessage ( com.android.bluetooth.hid.HidDeviceService.MESSAGE_SET_PROTOCOL ) ; msg.arg1 = protocol ; mHandler.sendMessage ( msg ) ; }
Source:
public void onEnrichedCallStateChanged ( ) { com.android.dialer.common.LogUtil.enterBlock ( "StatusBarNotifier.onEnrichedCallStateChanged" ) ; updateNotification ( com.android.incallui.call.CallList.getInstance ( ) ) ; }

Target:
private void updateInCallNotification ( ) { com.android.dialer.common.LogUtil.d ( "StatusBarNotifier.updateInCallNotification" , "" ) ; final com.android.incallui.call.DialerCall call = getCallToShow ( com.android.incallui.call.CallList.getInstance ( ) ) ; if ( call != null ) { showNotification ( call ) ; } else { cancelNotification ( ) ; } }
Source:
public static float FloatAddition ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 1.0F ) ; b = Main.$inline$float ( 2.0F ) ; c = a + b ; return c ; }

Target:
public static long LongSubtraction ( ) { long a ; long b ; long c ; a = 6L ; b = 2L ; c = a - b ; return c ; }
Source:
public void onActivityCreated ( android.os.Bundle savedInstanceState ) { super . onActivityCreated ( savedInstanceState ) ; setupData ( ) ; updateSelectAllState ( savedInstanceState ) ; mAdapter.onRestoreInstanceState ( savedInstanceState ) ; }

Target:
public void onActivityCreated ( android.os.Bundle savedInstanceState ) { com.android.dialer.common.LogUtil.enterBlock ( "CallLogFragment.onActivityCreated" ) ; super . onActivityCreated ( savedInstanceState ) ; setupData ( ) ; updateSelectAllState ( savedInstanceState ) ; mAdapter.onRestoreInstanceState ( savedInstanceState ) ; }
Source:
public void testHostWithEmptyLabel ( ) throws java.lang.Exception { assertEquals ( ".example.com" , new java.net.URI ( "http://.example.com/" ) . getHost ( ) ) ; assertEquals ( "example..com" , new java.net.URI ( "http://example..com/" ) . getHost ( ) ) ; }

Target:
public void testHostWithEmptyLabel ( ) throws java.lang.Exception { assertNull ( new java.net.URI ( "http://.example.com/" ) . getHost ( ) ) ; assertNull ( new java.net.URI ( "http://example..com/" ) . getHost ( ) ) ; }
Source:
public static void write ( java.lang.CharSequence from , java.io.File to , java.nio.charset.Charset charset ) throws java.io.IOException { com.google.common.io.Files.write ( from , to , charset , false ) ; }

Target:
public static void write ( java.lang.CharSequence from , java.io.File to , java.nio.charset.Charset charset ) throws java.io.IOException { com.google.common.io.Files.asCharSink ( to , charset ) . write ( from ) ; }
Source:
void onClick ( java.lang.String number , boolean isVideoCall ) ;

Target:
void onClick ( com.android.dialer.speeddial.database.SpeedDialEntry.Channel channel ) ;
Source:
private com.android.rs.test.Long4 pack_l4 ( long [ ] val ) { assert ( val.length ) == 4 ; return new com.android.rs.test.Long4 ( val [ 0 ] , val [ 1 ] , val [ 2 ] , val [ 3 ] ) ; }

Target:
private android.renderscript.Long4 pack_l4 ( long [ ] val ) { assert ( val.length ) == 4 ; return new android.renderscript.Long4 ( val [ 0 ] , val [ 1 ] , val [ 2 ] , val [ 3 ] ) ; }
Source:
public void onVideoCapabilitiesChanged ( boolean isVideoCapable ) { mIsVideoCapable = isVideoCapable ; }

Target:
public void onVideoCapabilitiesChanged ( boolean isVideoCapable ) { mIsVideoCapable = isVideoCapable ; synchronized ( mAccountsLock ) { if ( ! ( mAccounts.contains ( this ) ) ) { return ; } mAccount = registerPstnPhoneAccount ( mIsEmergency , mIsDummy ) ; } }
Source:
public android.telephony.ims.feature.RcsFeature onCreateRcsFeature ( int slotId ) { return null ; }

Target:
public android.telephony.ims.stub.ImsFeatureConfiguration querySupportedImsFeatures ( ) { return testFeatureConfig ; }
Source:
private final native long getAssetRemainingLength ( int asset ) ;

Target:
private final native int readAssetChar ( long asset ) ;