auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
void putDoubleUnchecked ( int i , double x ) { putDouble ( ix ( i ) , x ) ; }

Target:
final void putDoubleUnchecked ( int i , double x ) { putDouble ( ix ( i ) , x ) ; }
Source:
public void TestSerbianLongNegative ( ) { if ( logKnownIssue ( "12181" , "No support for negative numbers in CDF" ) ) { return ; } checkLocale ( com.ibm.icu.util.ULocale.forLanguageTag ( "sr" ) , CompactStyle.LONG , SerbianTestDataLongNegative ) ; }

Target:
public void TestSerbianLongNegative ( ) { checkLocale ( com.ibm.icu.util.ULocale.forLanguageTag ( "sr" ) , CompactStyle.LONG , SerbianTestDataLongNegative ) ; }
Source:
private void setConfigPasspoint ( android.net.wifi.WifiConfiguration config ) { config.FQDN = "android.qns.unitTest" ; config.providerFriendlyName = "android.qns.unitTest" ; android.net.wifi.WifiEnterpriseConfig enterpriseConfig = org.mockito.Mockito.mock ( android.net.wifi.WifiEnterpriseConfig.class ) ; org.mockito.Mockito.when ( enterpriseConfig.getEapMethod ( ) ) . thenReturn ( WifiEnterpriseConfig.Eap.PEAP ) ; }

Target:
private void setConfigPasspoint ( android.net.wifi.WifiConfiguration config ) { config.FQDN = "android.qns.unitTest" ; config.providerFriendlyName = "android.qns.unitTest" ; android.net.wifi.WifiEnterpriseConfig enterpriseConfig = mock ( android.net.wifi.WifiEnterpriseConfig.class ) ; when ( enterpriseConfig.getEapMethod ( ) ) . thenReturn ( WifiEnterpriseConfig.Eap.PEAP ) ; }
Source:
public static java.nio.MemoryBlock wrapFromJni ( int address , long byteCount ) { return new java.nio.MemoryBlock.UnmanagedBlock ( address , byteCount ) ; }

Target:
public static java.nio.MemoryBlock wrapFromJni ( long address , long byteCount ) { return new java.nio.MemoryBlock.UnmanagedBlock ( address , byteCount ) ; }
Source:
public static native void EVP_DigestSignUpdate ( int evp_md_ctx , byte [ ] in ) ;

Target:
public static native void EVP_DigestSignUpdate ( long evp_md_ctx , byte [ ] in ) ;
Source:
private boolean isDeviceProvisioned ( ) { if ( ! ( android.os.SystemProperties.getBoolean ( "ro.requires_provisioning" , false ) ) ) { return true ; } return ( Settings.System.getInt ( mContext.getContentResolver ( ) , Settings.System.DEVICE_PROVISIONED , 0 ) ) != 0 ; }

Target:
private boolean isDeviceProvisioned ( ) { return ( Settings.System.getInt ( mContext.getContentResolver ( ) , Settings.System.DEVICE_PROVISIONED , 0 ) ) != 0 ; }
Source:
public void projectOpened ( org.eclipse.core.resources.IProject project ) { onProjectOpened ( project , true ) ; }

Target:
public void projectOpened ( org.eclipse.core.resources.IProject project ) { onProjectOpened ( project ) ; }
Source:
public int getState ( ) { return ImsCallSession.State.INVALID ; }

Target:
public int getState ( ) { return this . getState ( ) ; }
Source:
public void sendUssd ( java.lang.String ussdMessage ) throws android.os.RemoteException { }

Target:
public void sendUssd ( java.lang.String ussdMessage ) { this . sendUssd ( ussdMessage ) ; }
Source:
private void notifyChange ( android.net.Uri uri ) { getContext ( ) . getContentResolver ( ) . notifyChange ( uri , null ) ; getContext ( ) . getContentResolver ( ) . notifyChange ( CoalescedAnnotatedCallLog.CONTENT_URI , null ) ; }

Target:
private void notifyChange ( android.net.Uri uri ) { getContext ( ) . getContentResolver ( ) . notifyChange ( uri , null ) ; }
Source:
public void testResourceType ( ) throws java.lang.Exception { assertEquals ( ( ( ( ( ( ( ( ( ( ( ( com.android.tools.lint.checks.SupportAnnotationDetectorTest.SDK_ANNOTATIONS_AVAILABLE ? "" + ( ( ( ( ( "src/p1/p2/Flow.java:13: Error: Expected resource of type drawable [ResourceType]\n" + " resources.getDrawable(10); // ERROR\n" ) + " ~~\n" ) + "src/p1/p2/Flow.java:18: Error: Expected resource of type drawable [ResourceType]\n" ) + " resources.getDrawable(R.string.my_string); // ERROR\n" ) + " ~~~~~~~~~~~~~~~~~~\n" ) : "" ) + "src/p1/p2/Flow.java:22: Error: Expected resource of type drawable [ResourceType]\n" ) + " myMethod(R.string.my_string); // ERROR\n" ) + " ~~~~~~~~~~~~~~~~~~\n" ) + "src/p1/p2/Flow.java:32: Error: Expected resource identifier (R.type.name) [ResourceType]\n" ) + " myAnyResMethod(50); // ERROR\n" ) + " ~~\n" ) + "src/p1/p2/Flow.java:68: Error: Expected resource of type drawable [ResourceType]\n" ) + " myMethod(z); // ERROR\n" ) + " ~\n" ) + ( com.android.tools.lint.checks.SupportAnnotationDetectorTest.SDK_ANNOTATIONS_AVAILABLE ? "5 errors, 0 warnings\n" : "3 errors, 0 warnings\n" ) ) , lintProject ( "src/p1/p2/Flow.java.txt=>src/p1/p2/Flow.java" , "src/android/support/annotation/DrawableRes.java.txt=>src/android/support/annotation/DrawableRes.java" ) ) ; }

Target:
public void testResourceType ( ) throws java.lang.Exception { assertEquals ( ( ( ( ( ( ( ( ( ( ( ( ( com.android.tools.lint.checks.SupportAnnotationDetectorTest.SDK_ANNOTATIONS_AVAILABLE ? "" + ( ( ( ( ( "src/p1/p2/Flow.java:13: Error: Expected resource of type drawable [ResourceType]\n" + " resources.getDrawable(10); // ERROR\n" ) + " ~~\n" ) + "src/p1/p2/Flow.java:18: Error: Expected resource of type drawable [ResourceType]\n" ) + " resources.getDrawable(R.string.my_string); // ERROR\n" ) + " ~~~~~~~~~~~~~~~~~~\n" ) : "" ) + "src/p1/p2/Flow.java:22: Error: Expected resource of type drawable [ResourceType]\n" ) + " myMethod(R.string.my_string); // ERROR\n" ) + " ~~~~~~~~~~~~~~~~~~\n" ) + "src/p1/p2/Flow.java:32: Error: Expected resource identifier (R.type.name) [ResourceType]\n" ) + " myAnyResMethod(50); // ERROR\n" ) + " ~~\n" ) + ( com.android.tools.lint.checks.SupportAnnotationDetectorTest.SDK_ANNOTATIONS_AVAILABLE ? "src/p1/p2/Flow.java:60: Error: Expected resource of type drawable [ResourceType]\n" + ( " resources.getDrawable(MimeTypes.getAnnotatedString()); // Error\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) : "" ) ) + "src/p1/p2/Flow.java:68: Error: Expected resource of type drawable [ResourceType]\n" ) + " myMethod(z); // ERROR\n" ) + " ~\n" ) + ( com.android.tools.lint.checks.SupportAnnotationDetectorTest.SDK_ANNOTATIONS_AVAILABLE ? "6 errors, 0 warnings\n" : "3 errors, 0 warnings\n" ) ) , lintProject ( "src/p1/p2/Flow.java.txt=>src/p1/p2/Flow.java" , "src/android/support/annotation/DrawableRes.java.txt=>src/android/support/annotation/DrawableRes.java" ) ) ; }
Source:
public boolean umtsAuthFailedResponse ( int id ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.sendCurrentNetworkEapSimUmtsAuthFailure ( ) ; } else { return doBooleanCommand ( ( ( "CTRL-RSP-SIM-" + id ) + ":UMTS-FAIL" ) ) ; } }

Target:
public boolean umtsAuthFailedResponse ( int id ) { return mSupplicantStaIfaceHal.sendCurrentNetworkEapSimUmtsAuthFailure ( ) ; }
Source:
public boolean setConfiguration ( java.lang.String [ ] folderSegments ) { com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration config = com.android.ide.eclipse.adt.internal.resources.manager.ResourceManager.getInstance ( ) . getConfig ( folderSegments ) ; if ( config == null ) { return false ; } setConfiguration ( config ) ; return true ; }

Target:
public boolean setConfiguration ( java.lang.String [ ] folderSegments ) { com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration config = com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration.getConfig ( folderSegments ) ; if ( config == null ) { return false ; } setConfiguration ( config ) ; return true ; }
Source:
public void visitLocalVariableTypeTableAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.LocalVariableTypeTableAttribute localVariableTypeTableAttribute ) { if ( accepted ( clazz , localVariableTypeTableAttribute ) ) { localVariableTypeTableAttribute.accept ( clazz , method , codeAttribute , attributeVisitor ) ; } }

Target:
public void visitLocalVariableTypeTableAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.LocalVariableTypeTableAttribute localVariableTypeTableAttribute ) { if ( accepted ( clazz , localVariableTypeTableAttribute ) ) { attributeVisitor.visitLocalVariableTypeTableAttribute ( clazz , method , codeAttribute , localVariableTypeTableAttribute ) ; } }
Source:
public void playPauseClicked ( android.view.View v ) { if ( mPlayer.isPlaying ( ) ) { mPlayer.pause ( ) ; } else { start ( ) ; } updatePlayPause ( ) ; }

Target:
public void playPauseClicked ( android.view.View v ) { if ( ( mPlayer ) == null ) { return ; } if ( mPlayer.isPlaying ( ) ) { mPlayer.pause ( ) ; } else { start ( ) ; } updatePlayPause ( ) ; }
Source:
protected synchronized void receive0 ( java.net.DatagramPacket p ) throws java.io.IOException { doRecv ( p , 0 ) ; }

Target:
protected synchronized native void receive0 ( java.net.DatagramPacket p ) throws java.io.IOException ;
Source:
public synchronized java.lang.String getCursiveFontFamily ( ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract java.lang.String getCursiveFontFamily ( ) ;
Source:
public java.lang.String formatNationalNumberWithPreferredCarrierCode ( com.google.i18n.phonenumbers.Phonenumber.PhoneNumber number , java.lang.String fallbackCarrierCode ) { return formatNationalNumberWithCarrierCode ( number , ( number.hasPreferredDomesticCarrierCode ( ) ? number.getPreferredDomesticCarrierCode ( ) : fallbackCarrierCode ) ) ; }

Target:
public java.lang.String formatNationalNumberWithPreferredCarrierCode ( com.google.i18n.phonenumbers.Phonenumber.PhoneNumber number , java.lang.String fallbackCarrierCode ) { return formatNationalNumberWithCarrierCode ( number , ( ( number.getPreferredDomesticCarrierCode ( ) . length ( ) ) > 0 ? number.getPreferredDomesticCarrierCode ( ) : fallbackCarrierCode ) ) ; }
Source:
public java.lang.Object clone ( ) { try { return super . clone ( ) ; } catch ( java.lang.CloneNotSupportedException e ) { throw new java.lang.InternalError ( e.toString ( ) ) ; } }

Target:
public java.lang.Object clone ( ) { try { return super . clone ( ) ; } catch ( java.lang.CloneNotSupportedException e ) { throw new java.lang.InternalError ( e.toString ( ) , e ) ; } }
Source:
public void onRttConnectionFailure ( int reason ) { android.telecom.Log.i ( this , "Got RTT initiation failure with reason %d" , reason ) ; setRttStreams ( false ) ; for ( com.android.server.telecom.Call.Listener l : mListeners ) { l.onRttInitiationFailure ( this , reason ) ; } }

Target:
public void onRttConnectionFailure ( int reason ) { android.telecom.Log.i ( this , "Got RTT initiation failure with reason %d" , reason ) ; for ( com.android.server.telecom.Call.Listener l : mListeners ) { l.onRttInitiationFailure ( this , reason ) ; } }
Source:
public void onIntrData ( byte reportId , byte [ ] data ) { mCallback.onIntrData ( reportId , data ) ; }

Target:
public void onIntrData ( android.bluetooth.BluetoothDevice device , byte reportId , byte [ ] data ) { mCallback.onIntrData ( device , reportId , data ) ; }
Source:
private static void staticMethodCalledByClinit ( ) { try { Main.throwDuringClinit ( ) ; java.lang.System.err.println ( "didn't throw!" ) ; } catch ( java.lang.NullPointerException ex ) { java.lang.System.out.println ( "caught exception thrown during clinit" ) ; } }

Target:
private static void staticMethodCalledByClinit ( ) { try { Main.throwDuringClinit ( ) ; java.lang.System.out.println ( "didn't throw!" ) ; } catch ( java.lang.NullPointerException ex ) { java.lang.System.out.println ( "caught exception thrown during clinit" ) ; } }
Source:
com.android.jack.dx.rop.code.RegisterSpec getOrCreateRegisterSpec ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameter parameter ) { assert ( parameter.getMarker ( com.android.jack.debug.DebugVariableInfoMarker.class ) ) == null ; return getRegisterSpec ( getRegisterNumber ( parameter ) , parameter , null ) ; }

Target:
com.android.jack.dx.rop.code.RegisterSpec getOrCreateRegisterSpec ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameter parameter ) { return getRegisterSpec ( getRegisterNumber ( parameter ) , parameter , null ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { java.lang.System.loadLibrary ( args [ 1 ] ) ; Main.doTest ( new Transform ( "Hello" , "Goodbye" ) , new Transform ( "start" , "end" ) ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main.doTest ( new Transform ( "Hello" , "Goodbye" ) , new Transform ( "start" , "end" ) ) ; }
Source:
public void offset ( float dx , float dy , android.graphics.Path dst ) { int dstNative = 0 ; if ( dst != null ) { dstNative = dst.mNativePath ; dst.isSimplePath = false ; } android.graphics.Path.native_offset ( mNativePath , dx , dy , dstNative ) ; }

Target:
public void offset ( float dx , float dy , android.graphics.Path dst ) { long dstNative = 0 ; if ( dst != null ) { dstNative = dst.mNativePath ; dst.isSimplePath = false ; } android.graphics.Path.native_offset ( mNativePath , dx , dy , dstNative ) ; }
Source:
public java.lang.String getPackage ( java.lang.String manifestFile ) { javax.xml.xpath.XPath xpath = com.android.xml.AndroidXPathFactory.newXPath ( ) ; try { return xpath.evaluate ( "/manifest/@package" , new org.xml.sax.InputSource ( new java.io.FileInputStream ( manifestFile ) ) ) ; } catch ( javax.xml.xpath.XPathExpressionException e ) { } catch ( java.io.FileNotFoundException e ) { throw new java.lang.RuntimeException ( e ) ; } return null ; }

Target:
public java.lang.String getPackage ( java.io.File manifestFile ) { javax.xml.xpath.XPath xpath = com.android.xml.AndroidXPathFactory.newXPath ( ) ; try { return xpath.evaluate ( "/manifest/@package" , new org.xml.sax.InputSource ( new java.io.FileInputStream ( manifestFile ) ) ) ; } catch ( javax.xml.xpath.XPathExpressionException e ) { } catch ( java.io.FileNotFoundException e ) { throw new java.lang.RuntimeException ( e ) ; } return null ; }
Source:
public void creation ( java.lang.Thread t ) throws java.io.IOException ;

Target:
void creation ( @ com.android.annotations.NonNull java.lang.Thread t ) throws java.io.IOException ;
Source:
abstract void addOptionInstance ( com.google.devtools.common.options.ParsedOptionDescription parsedOption , com.google.devtools.common.options.OptionDefinition implicitDependant , com.google.devtools.common.options.OptionDefinition expandedFrom , java.util.List < java.lang.String > warnings ) throws com.google.devtools.common.options.OptionsParsingException ;

Target:
abstract void addOptionInstance ( com.google.devtools.common.options.ParsedOptionDescription parsedOption , java.util.List < java.lang.String > warnings ) throws com.google.devtools.common.options.OptionsParsingException ;
Source:
public void testConstructor_NullKeystoreAlias_Failure ( ) throws java.lang.Exception { try { new android.security.AndroidKeyPairGeneratorSpec ( getContext ( ) , null , android.security.AndroidKeyPairGeneratorSpecTest.TEST_DN_1 , android.security.AndroidKeyPairGeneratorSpecTest.SERIAL_1 , android.security.AndroidKeyPairGeneratorSpecTest.NOW , android.security.AndroidKeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS ) ; fail ( "Should throw IllegalArgumentException when keystoreAlias is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_NullKeystoreAlias_Failure ( ) throws java.lang.Exception { try { new android.security.AndroidKeyPairGeneratorSpec ( getContext ( ) , null , android.security.AndroidKeyPairGeneratorSpecTest.TEST_DN_1 , android.security.AndroidKeyPairGeneratorSpecTest.SERIAL_1 , android.security.AndroidKeyPairGeneratorSpecTest.NOW , android.security.AndroidKeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when keystoreAlias is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public boolean isDirect ( ) { return true ; }

Target:
public final boolean isDirect ( ) { return true ; }
Source:
public void initialize ( int subscriptionId , android.telephony.mbms.IMbmsDownloadManagerCallback listener ) throws android.os.RemoteException { }

Target:
public int initialize ( int subscriptionId , android.telephony.mbms.IMbmsDownloadManagerCallback listener ) throws android.os.RemoteException { return 0 ; }
Source:
com.android.build.gradle.tasks.List < com.android.build.FilterData > getSplitsData ( ) { com.google.common.collect.ImmutableList.Builder < com.android.build.FilterData > filterDataBuilder = com.google.common.collect.ImmutableList.builder ( ) ; addAllFilterData ( filterDataBuilder , densitySplits , OutputFile.FilterType.DENSITY ) ; addAllFilterData ( filterDataBuilder , languageSplits , OutputFile.FilterType.LANGUAGE ) ; return filterDataBuilder.build ( ) ; }

Target:
public java.util.List < com.android.build.FilterData > getSplitsData ( ) { com.google.common.collect.ImmutableList.Builder < com.android.build.FilterData > filterDataBuilder = com.google.common.collect.ImmutableList.builder ( ) ; addAllFilterData ( filterDataBuilder , densitySplits , OutputFile.FilterType.DENSITY ) ; addAllFilterData ( filterDataBuilder , languageSplits , OutputFile.FilterType.LANGUAGE ) ; return filterDataBuilder.build ( ) ; }
Source:
public static < T extends java.lang.Comparable < T > > void runBasicSplitTests ( java.lang.Iterable < T > spliterable , java.util.ArrayList < T > expectedElements ) { libcore.java.util.SpliteratorTester.runBasicSplitTests ( spliterable , expectedElements , T :: compareTo ) ; }

Target:
public static < T extends java.lang.Comparable < T > > void runBasicSplitTests ( java.lang.Iterable < T > spliterable , java.util.List < T > expectedElements ) { libcore.java.util.SpliteratorTester.runBasicSplitTests ( spliterable , expectedElements , T :: compareTo ) ; }
Source:
private static void wakeUpService ( android.content.Context context ) { if ( android.util.Log.isLoggable ( LogTag.TRANSACTION , Log.VERBOSE ) ) { android.util.Log.v ( com.android.mms.transaction.MmsSystemEventReceiver.TAG , "wakeUpService: start transaction service ..." ) ; } context.startService ( new android.content.Intent ( context , com.android.mms.transaction.TransactionService.class ) ) ; }

Target:
public static void wakeUpService ( android.content.Context context ) { if ( android.util.Log.isLoggable ( LogTag.TRANSACTION , Log.VERBOSE ) ) { android.util.Log.v ( com.android.mms.transaction.MmsSystemEventReceiver.TAG , "wakeUpService: start transaction service ..." ) ; } context.startService ( new android.content.Intent ( context , com.android.mms.transaction.TransactionService.class ) ) ; }
Source:
public static float $noinline$floatAddSubSimplifyArg2 ( float x , float y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } float sum = x + y ; return sum - y ; }

Target:
public static float $noinline$floatAddSubSimplifyArg2 ( float x , float y ) { float sum = x + y ; return sum - y ; }
Source:
public java.lang.Object getFragmentTagAt ( int x ) { if ( myHaveLink ) { return myLink.getFragmentTagAt ( ( x - ( myLinkOffset ) ) ) ; } return null ; }

Target:
public java.lang.Object getFragmentTagAt ( int x ) { if ( myHaveLink ) { return myLink.getFragmentTagAt ( ( x - ( myLinkOffset ) ) ) ; } return super . getFragmentTagAt ( x ) ; }
Source:
private com.android.ide.eclipse.adt.internal.wizards.templates.Parameter getParameter ( org.eclipse.swt.widgets.Control control ) { return ( ( com.android.ide.eclipse.adt.internal.wizards.templates.Parameter ) ( control.getData ( ) ) ) ; }

Target:
static com.android.ide.eclipse.adt.internal.wizards.templates.Parameter getParameter ( org.eclipse.swt.widgets.Control control ) { return ( ( com.android.ide.eclipse.adt.internal.wizards.templates.Parameter ) ( control.getData ( ) ) ) ; }
Source:
public void _testOneLine ( java.lang.String line ) throws java.lang.Exception { java.lang.String [ ] fields = new java.lang.String [ 5 ] ; java.lang.StringBuffer buf = new java.lang.StringBuffer ( ) ; com.ibm.icu.dev.test.normalizer.UnicodeNormalizerConformanceTest.hexsplit ( line , ';' , fields , buf ) ; checkConformance ( fields , line ) ; }

Target:
private void _testOneLine ( java.lang.String line ) throws java.lang.Exception { java.lang.String [ ] fields = new java.lang.String [ 5 ] ; java.lang.StringBuffer buf = new java.lang.StringBuffer ( ) ; com.ibm.icu.dev.test.normalizer.UnicodeNormalizerConformanceTest.hexsplit ( line , ';' , fields , buf ) ; checkConformance ( fields , line ) ; }
Source:
public boolean unregisterApp ( android.bluetooth.BluetoothHidDeviceAppConfiguration config ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.BluetoothHidDeviceBinder.TAG , "unregisterApp()" ) ; } com.android.bluetooth.hid.HidDeviceService service = getService ( ) ; if ( service == null ) { return false ; } return service.unregisterApp ( config ) ; }

Target:
public boolean unregisterApp ( android.bluetooth.BluetoothHidDeviceAppConfiguration config ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.BluetoothHidDeviceBinder.TAG , "unregisterApp()" ) ; } com.android.bluetooth.hid.HidDeviceService service = getService ( ) ; if ( service == null ) { return false ; } return service.unregisterApp ( ) ; }
Source:
private java.lang.String format ( double number , android.icu.text.NFRuleSet ruleSet ) { java.lang.StringBuffer result = new java.lang.StringBuffer ( ) ; ruleSet.format ( number , result , 0 ) ; postProcess ( result , ruleSet ) ; return result.toString ( ) ; }

Target:
private java.lang.String format ( long number , android.icu.text.NFRuleSet ruleSet ) { java.lang.StringBuffer result = new java.lang.StringBuffer ( ) ; ruleSet.format ( number , result , 0 , 0 ) ; postProcess ( result , ruleSet ) ; return result.toString ( ) ; }
Source:
void nObjDestroy ( int id ) { if ( ( mContext ) != 0 ) { rsnObjDestroy ( mContext , id ) ; } }

Target:
void nObjDestroy ( long id ) { if ( ( mContext ) != 0 ) { rsnObjDestroy ( mContext , id ) ; } }
Source:
public boolean setReport ( android.bluetooth.BluetoothDevice device , byte reportType , java.lang.String report ) { com.android.bluetooth.hid.HidService service = getService ( ) ; if ( service == null ) return false ; return service.setReport ( device , reportType , report ) ; }

Target:
public boolean setReport ( android.bluetooth.BluetoothDevice device , byte reportType , java.lang.String report ) { com.android.bluetooth.hid.HidService service = getService ( ) ; if ( service == null ) { return false ; } return service.setReport ( device , reportType , report ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JEntryBasicBlock x ) { print ( "entry" ) ; printBlockCommon ( x ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JEntryBasicBlock x ) { print ( "entry" ) ; printBlockCommon ( x , null ) ; return false ; }
Source:
public void copy1DRangeFrom ( int off , int count , float [ ] d ) { validateIsFloat32 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; }

Target:
public void copy1DRangeFromUnchecked ( int off , int count , float [ ] d ) { copy1DRangeFromUnchecked ( off , count , ( ( java.lang.Object ) ( d ) ) , Element.DataType.FLOAT_32 , d.length ) ; }
Source:
public void visitDeprecatedAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.DeprecatedAttribute deprecatedAttribute ) { deprecatedAttribute.accept ( clazz , field , attributeVisitor ) ; }

Target:
public void visitDeprecatedAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.DeprecatedAttribute deprecatedAttribute ) { attributeVisitor.visitDeprecatedAttribute ( clazz , deprecatedAttribute ) ; }
Source:
public void visitEnd ( ) { if ( ( companion ) != null ) { emitInterfaceFieldAccessInCompanionMethodToTriggerInterfaceClinit ( ) ; companion.visitEnd ( ) ; } super . visitEnd ( ) ; }

Target:
public void visitEnd ( ) { if ( ( companion ) != null ) { companion.visitEnd ( ) ; } super . visitEnd ( ) ; }
Source:
private void verifyProperCleanup ( ) { assertEquals ( 0 , mCallerInfoLookupHelper.getCallerInfoEntries ( ) . size ( ) ) ; }

Target:
private void verifyProperCleanup ( ) { org.junit.Assert.assertEquals ( 0 , mCallerInfoLookupHelper.getCallerInfoEntries ( ) . size ( ) ) ; }
Source:
private void refresh ( ) { com.android.traceur.Receiver.updateTracing ( getContext ( ) , false ) ; }

Target:
private void refresh ( ) { refresh ( false ) ; }
Source:
public void testContainsKey_NullPointerException ( ) { try { java.util.NavigableMap c = jsr166.TreeSubMapTest.map5 ( ) ; c.containsKey ( null ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testContainsKey_NullPointerException ( ) { java.util.NavigableMap c = jsr166.TreeSubMapTest.map5 ( ) ; try { c.containsKey ( null ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }
Source:
public void testSp ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/textsize.xml:11: Warning: Should use \"sp\" instead of \"dp\" for text sizes [SpUsage]\n" + ( ( ( ( ( ( " android:textSize=\"14dp\" />\n" + " ~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/textsize.xml:16: Warning: Should use \"sp\" instead of \"dp\" for text sizes [SpUsage]\n" ) + " android:textSize=\"14dip\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 2 warnings\n" ) + "" ) ) , lintFiles ( "res/layout/textsize.xml" ) ) ; }

Target:
public void testSp ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/textsize.xml:11: Warning: Should use \"sp\" instead of \"dp\" for text sizes [SpUsage]\n" + ( ( ( ( ( " android:textSize=\"14dp\" />\n" + " ~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/textsize.xml:16: Warning: Should use \"sp\" instead of \"dp\" for text sizes [SpUsage]\n" ) + " android:textSize=\"14dip\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 2 warnings\n" ) ) , lintFiles ( "res/layout/textsize.xml" ) ) ; }
Source:
public void appendIfAppropriate ( com.android.jack.dx.rop.cst.Constant cst ) { if ( cst instanceof com.android.jack.dx.rop.cst.CstCallSiteRef ) { callSiteIds.add ( ( ( com.android.jack.dx.rop.cst.CstCallSiteRef ) ( cst ) ) ) ; } else if ( cst == null ) { throw new java.lang.NullPointerException ( "cst == null" ) ; } }

Target:
public void appendIfAppropriate ( com.android.jack.dx.rop.cst.Constant cst ) { assert cst != null ; if ( cst instanceof com.android.jack.dx.rop.cst.CstCallSiteRef ) { callSiteIds.add ( ( ( com.android.jack.dx.rop.cst.CstCallSiteRef ) ( cst ) ) ) ; } }
Source:
public static byte [ ] copyOf ( byte [ ] original , int newLength ) { if ( newLength < 0 ) { throw new java.lang.NegativeArraySizeException ( ) ; } return java.util.Arrays.copyOfRange ( original , 0 , newLength ) ; }

Target:
public static byte [ ] copyOf ( byte [ ] original , int newLength ) { if ( newLength < 0 ) { throw new java.lang.NegativeArraySizeException ( java.lang.Integer.toString ( newLength ) ) ; } return java.util.Arrays.copyOfRange ( original , 0 , newLength ) ; }
Source:
public void testStageInstallWithErrorCode_successfulFirstUpdate_sameVersionAsSystem ( ) throws java.lang.Exception { com.android.timezone.distro.TimeZoneDistro distro = libcore.tzdata.update2.TimeZoneDistroInstallerTest.createValidTimeZoneDistro ( libcore.tzdata.update2.TimeZoneDistroInstallerTest.SYSTEM_RULES_VERSION , 1 ) ; assertEquals ( TimeZoneDistroInstaller.INSTALL_SUCCESS , installer.stageInstallWithErrorCode ( distro.getBytes ( ) ) ) ; assertInstallDistroStaged ( distro ) ; assertNoInstalledDistro ( ) ; }

Target:
public void testStageInstallWithErrorCode_successfulFirstUpdate_sameVersionAsSystem ( ) throws java.lang.Exception { com.android.timezone.distro.TimeZoneDistro distro = libcore.tzdata.update2.TimeZoneDistroInstallerTest.createValidTimeZoneDistro ( libcore.tzdata.update2.TimeZoneDistroInstallerTest.SYSTEM_RULES_VERSION , 1 ) ; assertEquals ( TimeZoneDistroInstaller.INSTALL_SUCCESS , installer.stageInstallWithErrorCode ( distro ) ) ; assertInstallDistroStaged ( distro ) ; assertNoInstalledDistro ( ) ; }
Source:
public static int $noinline$NotNot2 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } int temp = ~ arg ; return temp + ( ~ temp ) ; }

Target:
public static int $noinline$NotNot2 ( int arg ) { int temp = ~ arg ; return temp + ( ~ temp ) ; }
Source:
public void execute ( java.io.OutputStream stdout , java.lang.String ... tasks ) { execute ( java.util.Collections.< java.lang.String > emptyList ( ) , stdout , tasks ) ; }

Target:
public void execute ( java.io.OutputStream stdout , java.lang.String ... tasks ) { execute ( java.util.Collections.< java.lang.String > emptyList ( ) , stdout , false , tasks ) ; }
Source:
static void constantIndexing4 ( int [ ] array ) { array [ 0 ] = 1 ; }

Target:
static void constantIndexing4 ( int [ ] array ) { array [ 0 ] = - 1 ; }
Source:
void getChars ( char [ ] dst , int dstBegin ) { getCharsNoCheck ( 0 , count , dst , dstBegin ) ; }

Target:
void getChars ( char [ ] dst , int dstBegin ) { getCharsNoCheck ( 0 , length ( ) , dst , dstBegin ) ; }
Source:
public void testWifi ( ) throws java.lang.Exception { if ( hasDeviceFeature ( "android.hardware.wifi" ) ) { return ; } executeDeviceOwnerTest ( "WifiTest" ) ; }

Target:
public void testWifi ( ) throws java.lang.Exception { if ( ! ( hasDeviceFeature ( "android.hardware.wifi" ) ) ) { return ; } executeDeviceOwnerTest ( "WifiTest" ) ; }
Source:
private void onAudioStateChanged ( int state , byte [ ] address ) { com.android.bluetooth.a2dpsink.A2dpSinkStateMachine.StackEvent event = new com.android.bluetooth.a2dpsink.A2dpSinkStateMachine.StackEvent ( com.android.bluetooth.a2dpsink.A2dpSinkStateMachine.EVENT_TYPE_AUDIO_STATE_CHANGED ) ; event.valueInt = state ; event.device = getDevice ( address ) ; sendMessage ( com.android.bluetooth.a2dpsink.A2dpSinkStateMachine.STACK_EVENT , event ) ; }

Target:
private void onAudioStateChanged ( byte [ ] address , int state ) { com.android.bluetooth.a2dpsink.A2dpSinkStateMachine.StackEvent event = new com.android.bluetooth.a2dpsink.A2dpSinkStateMachine.StackEvent ( com.android.bluetooth.a2dpsink.A2dpSinkStateMachine.EVENT_TYPE_AUDIO_STATE_CHANGED ) ; event.device = getDevice ( address ) ; event.valueInt = state ; sendMessage ( com.android.bluetooth.a2dpsink.A2dpSinkStateMachine.STACK_EVENT , event ) ; }
Source:
public java.lang.Object expected ( ) { return true ; }

Target:
public java.lang.Object expected ( ) { return false ; }
Source:
private void verifyMeasurements ( java.lang.String message , double ... expectations ) throws java.lang.Throwable { appendText ( java.lang.String.format ( "\n%s." , message ) ) ; appendText ( "Press 'Next' when ready and keep the device steady." ) ; waitForUser ( ) ; verifyMeasurements ( expectations ) ; }

Target:
private void verifyMeasurements ( java.lang.String message , float ... expectations ) throws java.lang.Throwable { appendText ( java.lang.String.format ( "\n%s." , message ) ) ; appendText ( "Press 'Next' when ready and keep the device steady." ) ; waitForUser ( ) ; verifyMeasurements ( expectations ) ; }
Source:
public void loggedRun ( ) { synchronized ( mLock ) { if ( mPendingCallsToDisconnect.remove ( call ) ) { android.telecom.Log.i ( this , "Delayed disconnection of call: %s" , call ) ; call.disconnect ( ) ; } } }

Target:
public void loggedRun ( ) { if ( mPendingCallsToDisconnect.remove ( call ) ) { android.telecom.Log.i ( this , "Delayed disconnection of call: %s" , call ) ; call.disconnect ( ) ; } }
Source:
public void disconnect ( ) { if ( com.android.bluetooth.pbap.BluetoothPbapService.DEBUG ) android.util.Log.d ( com.android.bluetooth.pbap.BluetoothPbapService.TAG , "disconnect" ) ; com.android.bluetooth.pbap.BluetoothPbapService service = getService ( com.android.bluetooth.pbap.BluetoothPbapService.BLUETOOTH_ADMIN_PERM ) ; if ( service == null ) return ; service.disconnect ( ) ; }

Target:
public void disconnect ( ) { if ( com.android.bluetooth.pbap.BluetoothPbapService.DEBUG ) { android.util.Log.d ( com.android.bluetooth.pbap.BluetoothPbapService.TAG , "disconnect" ) ; } com.android.bluetooth.pbap.BluetoothPbapService service = getService ( com.android.bluetooth.pbap.BluetoothPbapService.BLUETOOTH_ADMIN_PERM ) ; if ( service == null ) { return ; } service.disconnect ( ) ; }
Source:
public void changeToVideoClicked ( ) { com.android.dialer.common.LogUtil.enterBlock ( "CallButtonPresenter.changeToVideoClicked" ) ; com.android.dialer.logging.Logger.get ( mContext ) . logCallImpression ( DialerImpression.Type.VIDEO_CALL_UPGRADE_REQUESTED , mCall.getUniqueCallId ( ) , mCall.getTimeAddedMs ( ) ) ; mCall.getVideoTech ( ) . upgradeToVideo ( ) ; }

Target:
public void changeToVideoClicked ( ) { com.android.dialer.common.LogUtil.enterBlock ( "CallButtonPresenter.changeToVideoClicked" ) ; com.android.dialer.logging.Logger.get ( mContext ) . logCallImpression ( DialerImpression.Type.VIDEO_CALL_UPGRADE_REQUESTED , mCall.getUniqueCallId ( ) , mCall.getTimeAddedMs ( ) ) ; mCall.getVideoTech ( ) . upgradeToVideo ( mContext ) ; }
Source:
public static int fromKeymaster ( int padding ) { switch ( padding ) { case android.security.keymaster.KeymasterDefs.KM_PAD_NONE : return android.security.KeyStoreKeyConstraints.Padding.NONE ; case android.security.keymaster.KeymasterDefs.KM_PAD_ZERO : return android.security.KeyStoreKeyConstraints.Padding.ZERO ; case android.security.keymaster.KeymasterDefs.KM_PAD_PKCS7 : return android.security.KeyStoreKeyConstraints.Padding.PKCS7 ; default : throw new java.lang.IllegalArgumentException ( ( "Unknown padding: " + padding ) ) ; } }

Target:
public static int fromKeymaster ( int padding ) { switch ( padding ) { case android.security.keymaster.KeymasterDefs.KM_PAD_NONE : return android.security.KeyStoreKeyConstraints.Padding.NONE ; case android.security.keymaster.KeymasterDefs.KM_PAD_PKCS7 : return android.security.KeyStoreKeyConstraints.Padding.PKCS7 ; default : throw new java.lang.IllegalArgumentException ( ( "Unknown padding: " + padding ) ) ; } }
Source:
public void timeAbsI ( int reps ) { for ( int rep = 0 ; rep < reps ; ++ rep ) { java.lang.Math.abs ( i ) ; } }

Target:
public int timeAbsI ( int reps ) { int result = i ; for ( int rep = 0 ; rep < reps ; ++ rep ) { result = java.lang.Math.abs ( i ) ; } return result ; }
Source:
private void run ( @ javax.annotation.Nonnull com.android.jack.test.runtime.RuntimeTestInfo rti ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( rti ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JackApiV01.class ) . compileAndRunTest ( ) ; }

Target:
private void run ( @ javax.annotation.Nonnull com.android.jack.test.runtime.RuntimeTestInfo rti ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( rti ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JackApiV01.class ) . compileAndRunTest ( ) ; }
Source:
public void runWithPermissions ( java.lang.Runnable r , java.security.Permission ... permissions ) { java.lang.SecurityManager sm = java.lang.System.getSecurityManager ( ) ; if ( sm == null ) { r.run ( ) ; } runWithSecurityManagerWithPermissions ( r , permissions ) ; }

Target:
public void runWithSecurityManagerWithPermissions ( java.lang.Runnable r , java.security.Permission ... permissions ) { r.run ( ) ; }
Source:
synchronized int nMeshGetVertexBufferCount ( int id ) { validate ( ) ; return rsnMeshGetVertexBufferCount ( mContext , id ) ; }

Target:
synchronized int nMeshGetVertexBufferCount ( long id ) { validate ( ) ; return rsnMeshGetVertexBufferCount ( mContext , id ) ; }
Source:
public boolean isDataVersionAcceptable ( byte [ ] version ) { return ( version [ 0 ] ) == 4 ; }

Target:
public boolean isDataVersionAcceptable ( byte [ ] version ) { return ( version [ 0 ] ) == 5 ; }
Source:
public void printf ( java.lang.String msgFormat , java.lang.Object ... arg ) { mRoot.printf ( msgFormat , arg ) ; }

Target:
public void info ( java.lang.String msgFormat , java.lang.Object ... arg ) { mRoot.info ( msgFormat , arg ) ; }
Source:
public long getContentLengthLong ( ) { try { if ( ! ( connected ) ) { connect ( ) ; } } catch ( java.io.IOException e ) { } return length ; }

Target:
private long getContentLengthLong ( ) { try { if ( ! ( connected ) ) { connect ( ) ; } } catch ( java.io.IOException e ) { } return length ; }
Source:
public void invokeinterface ( final java.lang.String owner , final java.lang.String name , final java.lang.String desc ) { mv.visitMethodInsn ( Opcodes.INVOKEINTERFACE , owner , name , desc ) ; }

Target:
public void invokeinterface ( final java.lang.String owner , final java.lang.String name , final java.lang.String desc ) { mv.visitMethodInsn ( Opcodes.INVOKEINTERFACE , owner , name , desc , true ) ; }
Source:
native void rsnAllocationRead ( int con , int id , short [ ] d ) ;

Target:
native void rsnAllocationRead ( long con , long id , short [ ] d ) ;
Source:
public java.lang.String superProtectedMethod ( ) { return "superProtectedMethod" ; }

Target:
protected java.lang.String superProtectedMethod ( ) { return "superProtectedMethod" ; }
Source:
public android.drm.DrmConvertedStatus closeConvertSession ( int convertId ) { if ( ( android.drm.DrmManagerClient.STATE_UNINITIALIZED ) == ( getState ( ) ) ) { throw new java.lang.IllegalStateException ( "Not Initialized yet" ) ; } return _closeConvertSession ( mUniqueId , convertId ) ; }

Target:
public android.drm.DrmConvertedStatus closeConvertSession ( int convertId ) { return _closeConvertSession ( mUniqueId , convertId ) ; }
Source:
private int getZoomY ( ) { org.eclipse.swt.graphics.Rectangle clientArea = mCanvas.getClientArea ( ) ; return ( clientArea.y ) + 3 ; }

Target:
private int getZoomY ( ) { org.eclipse.swt.graphics.Rectangle clientArea = mCanvas.getClientArea ( ) ; return ( clientArea.y ) + 5 ; }
Source:
public static void sleep ( int ms ) { try { java.lang.Thread.sleep ( ms ) ; } catch ( java.lang.InterruptedException ie ) { java.lang.System.err.println ( "sleep interrupted" ) ; } }

Target:
public static void sleep ( int ms ) { try { java.lang.Thread.sleep ( ms ) ; } catch ( java.lang.InterruptedException ie ) { java.lang.System.out.println ( "sleep interrupted" ) ; } }
Source:
public boolean isDefault ( ) { return ( mCurrentValue ) == ( mDefaultValue ) ; }

Target:
public boolean isDefault ( ) { return ( ( mDefaultValue ) != null ) & ( mDefaultValue.equals ( mCurrentValue ) ) ; }
Source:
public java.lang.Object clone ( ) { int cloneAddr = libcore.icu.NativeBreakIterator.cloneImpl ( this . address ) ; libcore.icu.NativeBreakIterator clone = new libcore.icu.NativeBreakIterator ( cloneAddr , this . type ) ; clone.string = this . string ; clone.charIterator = this . charIterator ; return clone ; }

Target:
public java.lang.Object clone ( ) { long cloneAddr = libcore.icu.NativeBreakIterator.cloneImpl ( this . address ) ; libcore.icu.NativeBreakIterator clone = new libcore.icu.NativeBreakIterator ( cloneAddr , this . type ) ; clone.string = this . string ; clone.charIterator = this . charIterator ; return clone ; }
Source:
public int hashCode ( ) { return icuColl.getRules ( ) . hashCode ( ) ; }

Target:
public int hashCode ( ) { return icuColl.hashCode ( ) ; }
Source:
public int getViewTypeCount ( ) { return 1 ; }

Target:
public int getViewTypeCount ( ) { return 2 ; }
Source:
public void timeGetExponentD ( int reps ) { for ( int rep = 0 ; rep < reps ; ++ rep ) { java.lang.Math.getExponent ( d ) ; } }

Target:
public int timeGetExponentD ( int reps ) { int result = i ; for ( int rep = 0 ; rep < reps ; ++ rep ) { result = java.lang.Math.getExponent ( d ) ; } return result ; }
Source:
public void setChannelNumber ( java.lang.String majorNumber , boolean hasDelimiter , java.lang.String minorNumber ) { this . majorNumber = majorNumber ; this . hasDelimiter = hasDelimiter ; this . minorNumber = minorNumber ; }

Target:
private void setChannelNumber ( java.lang.String majorNumber , boolean hasDelimiter , java.lang.String minorNumber ) { this . majorNumber = majorNumber ; this . hasDelimiter = hasDelimiter ; this . minorNumber = minorNumber ; }
Source:
private void sendErrorToApp ( int errorCode , java.lang.String message ) { try { mInternalCallback.onError ( errorCode , message ) ; } catch ( android.os.RemoteException e ) { } }

Target:
private void sendErrorToApp ( int errorCode , java.lang.String message ) { mInternalCallback.onError ( errorCode , message ) ; }
Source:
protected java.lang.String getSystemProperty ( java.lang.String key ) { return device.getProperty ( key ) ; }

Target:
public java.lang.String getSystemProperty ( java.lang.String key ) { return device.getProperty ( key ) ; }
Source:
static void nativeGetStringBounds ( int nativePaint , java.lang.String text , int start , int end , int bidiFlags , android.graphics.Rect bounds ) { android.graphics.Paint_Delegate.nativeGetCharArrayBounds ( nativePaint , text.toCharArray ( ) , start , ( end - start ) , bidiFlags , bounds ) ; }

Target:
static void nativeGetStringBounds ( long nativePaint , java.lang.String text , int start , int end , int bidiFlags , android.graphics.Rect bounds ) { android.graphics.Paint_Delegate.nativeGetCharArrayBounds ( nativePaint , text.toCharArray ( ) , start , ( end - start ) , bidiFlags , bounds ) ; }
Source:
public java.io.File [ ] listFiles ( java.io.File file ) { return file.listFiles ( ) ; }

Target:
public java.io.File [ ] listFiles ( @ com.android.annotations.NonNull java.io.File file ) { java.io.File [ ] r = file.listFiles ( ) ; if ( r == null ) { return new java.io.File [ 0 ] ; } else { return r ; } }
Source:
private static native long [ ] getCollectedTags ( ) ;

Target:
private static native long [ ] getCollectedTags ( int index ) ;
Source:
public boolean isActiveUserAvailable ( ) { synchronized ( this ) { return ( activeUser ) != null ; } }

Target:
public boolean isActiveUserAvailable ( ) { return ( activeUser ) != null ; }
Source:
public void onAdvertisingEnabled ( android.bluetooth.le.AdvertisingSet advertisingSet , boolean enabled , int status ) { if ( enabled == true ) { android.util.Log.e ( android.bluetooth.le.BluetoothLeAdvertiser.TAG , ( "Legacy advertiser should be only disabled on timeout," + " but was enabled!" ) ) ; return ; } stopAdvertising ( callback ) ; }

Target:
public void onAdvertisingEnabled ( android.bluetooth.le.AdvertisingSet advertisingSet , boolean enabled , int status ) { if ( enabled ) { android.util.Log.e ( android.bluetooth.le.BluetoothLeAdvertiser.TAG , ( "Legacy advertiser should be only disabled on timeout," + " but was enabled!" ) ) ; return ; } stopAdvertising ( callback ) ; }
Source:
public void checkClientTrusted ( java.security.cert.X509Certificate [ ] chain , java.lang.String authType ) throws java.security.cert.CertificateException { checkTrusted ( chain , authType , null , true ) ; }

Target:
public void checkClientTrusted ( java.security.cert.X509Certificate [ ] chain , java.lang.String authType ) throws java.security.cert.CertificateException { checkTrusted ( chain , authType , null , null , true ) ; }
Source:
native void rsnContextFinish ( int con ) ;

Target:
native void rsnContextFinish ( long con ) ;
Source:
public void testJavaStrings ( ) { assertEquals ( "SUCCESS-LIB1" , mLib1TextView2.getText ( ) ) ; assertEquals ( "SUCCESS-LIB2" , mLib2TextView2.getText ( ) ) ; }

Target:
public void testJavaStrings ( ) { assertEquals ( "SUCCESS-LIB1" , mLib1TextView2.getText ( ) . toString ( ) ) ; assertEquals ( "SUCCESS-LIB2" , mLib2TextView2.getText ( ) . toString ( ) ) ; }
Source:
private synchronized void onVirtualCableUnplug ( ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) android.util.Log.v ( com.android.bluetooth.hid.HidDevService.TAG , "onVirtualCableUnplug()" ) ; android.os.Message msg = mHandler.obtainMessage ( com.android.bluetooth.hid.HidDevService.MESSAGE_VC_UNPLUG ) ; mHandler.sendMessage ( msg ) ; }

Target:
private synchronized void onVirtualCableUnplug ( ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDevService.TAG , "onVirtualCableUnplug()" ) ; } android.os.Message msg = mHandler.obtainMessage ( com.android.bluetooth.hid.HidDevService.MESSAGE_VC_UNPLUG ) ; mHandler.sendMessage ( msg ) ; }
Source:
public void testDataPathInitiatorNoConfirmationTimeoutFail ( ) throws java.lang.Exception { testDataPathInitiatorUtility ( false , true , true , false ) ; }

Target:
public void testDataPathInitiatorNoConfirmationTimeoutFail ( ) throws java.lang.Exception { testDataPathInitiatorUtility ( false , true , true , false , false ) ; }
Source:
public int getHeight ( ) { return ( mImage.getHeight ( ) ) - 2 ; }

Target:
public int getHeight ( ) { return mImage.getHeight ( ) ; }
Source:
public void testfloorF32 ( ) { script_f32 = new android.renderscript.cts.ScriptC_floor_f32 ( mRS , mRes , R.raw.floor_f32 ) ; doF32 ( 10 , 0 ) ; }

Target:
public void testfloorF32 ( ) { doF32 ( 10 , 0 ) ; }
Source:
public org.bouncycastle.math.ec.ECPoint subtract ( org.bouncycastle.math.ec.ECPoint b ) { if ( b.isInfinity ( ) ) { return this ; } return add ( b.negate ( ) ) ; }

Target:
public org.bouncycastle.math.ec.ECPoint subtract ( org.bouncycastle.math.ec.ECPoint b ) { if ( b.isInfinity ( ) ) { return this ; } return this . add ( b.negate ( ) ) ; }
Source:
public final boolean isCapable ( @ android.telephony.ims.internal.feature.MmTelFeature.MmTelCapabilityConfiguration.MMTelCapability long capabilities ) { return super . isCapable ( capabilities ) ; }

Target:
public final boolean isCapable ( @ android.telephony.ims.internal.feature.MmTelFeature.MmTelCapabilities.MmTelCapability int capabilities ) { return super . isCapable ( capabilities ) ; }
Source:
public void onPlayStatusChanged ( int status ) { updateMenuVisibility ( ) ; if ( ( mTimeShiftManager.isAvailable ( ) ) && ( isShown ( ) ) ) { updateControls ( ) ; } }

Target:
public void onPlayStatusChanged ( int status ) { updateMenuVisibility ( ) ; if ( mTimeShiftManager.isAvailable ( ) ) { updateControls ( false ) ; } }
Source:
static boolean native_postRotate ( int native_object , float degrees ) { android.graphics.Matrix_Delegate d = android.graphics.Matrix_Delegate.sManager.getDelegate ( native_object ) ; if ( d == null ) { return false ; } d.postTransform ( android.graphics.Matrix_Delegate.getRotate ( degrees ) ) ; return true ; }

Target:
static boolean native_postRotate ( long native_object , float degrees ) { android.graphics.Matrix_Delegate d = android.graphics.Matrix_Delegate.sManager.getDelegate ( native_object ) ; if ( d == null ) { return false ; } d.postTransform ( android.graphics.Matrix_Delegate.getRotate ( degrees ) ) ; return true ; }
Source:
synchronized int nScriptCCreate ( java.lang.String resName , java.lang.String cacheDir , byte [ ] script , int length ) { validate ( ) ; return rsnScriptCCreate ( mContext , resName , cacheDir , script , length ) ; }

Target:
synchronized long nScriptCCreate ( java.lang.String resName , java.lang.String cacheDir , byte [ ] script , int length ) { validate ( ) ; return rsnScriptCCreate ( mContext , resName , cacheDir , script , length ) ; }
Source:
public static boolean isNetworkTypeValid ( int networkType ) { return ( ( android.net.ConnectivityManager.MIN_NETWORK_TYPE ) <= networkType ) && ( networkType <= ( android.net.ConnectivityManager.MAX_NETWORK_TYPE ) ) ; }

Target:
public static boolean isNetworkTypeValid ( int networkType ) { return ( networkType >= 0 ) && ( networkType <= ( android.net.ConnectivityManager.MAX_NETWORK_TYPE ) ) ; }
Source:
com.android.build.gradle.internal.dsl.SigningConfig create ( java.lang.String name ) { return instantiator.newInstance ( com.android.build.gradle.internal.dsl.SigningConfig.class , name ) ; }

Target:
public com.android.build.gradle.internal.dsl.SigningConfig create ( @ com.android.annotations.NonNull java.lang.String name ) { return instantiator.newInstance ( com.android.build.gradle.internal.dsl.SigningConfig.class , name ) ; }