auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void report ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Severity severity , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.TextFormat format , @ com.android.annotations.Nullable java.lang.Object data ) { java.lang.System.out.println ( ( ( location + ":" ) + message ) ) ; }

Target:
public void report ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Severity severity , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.TextFormat format ) { java.lang.System.out.println ( ( ( location + ":" ) + message ) ) ; }
Source:
public boolean onSurfaceTextureDestroyed ( android.graphics.SurfaceTexture surface ) { mProcessor.setSurface ( null ) ; return true ; }

Target:
public boolean onSurfaceTextureDestroyed ( android.graphics.SurfaceTexture surface ) { if ( ( mProcessor ) != null ) { mProcessor.setSurface ( null ) ; } return true ; }
Source:
public void timeScalbF ( int reps ) { for ( int rep = 0 ; rep < reps ; ++ rep ) { java.lang.Math.scalb ( f , 5 ) ; } }

Target:
public float timeScalbF ( int reps ) { float result = f ; for ( int rep = 0 ; rep < reps ; ++ rep ) { result = java.lang.Math.scalb ( f , 5 ) ; } return result ; }
Source:
private boolean isSelfManagedConnectionService ( android.telecom.PhoneAccountHandle phoneAccountHandle ) { if ( phoneAccountHandle != null ) { android.telecom.PhoneAccount phoneAccount = mPhoneAccountRegistrar.getPhoneAccountUnchecked ( phoneAccountHandle ) ; return phoneAccount.isSelfManaged ( ) ; } return false ; }

Target:
private boolean isSelfManagedConnectionService ( android.telecom.PhoneAccountHandle phoneAccountHandle ) { if ( phoneAccountHandle != null ) { android.telecom.PhoneAccount phoneAccount = mPhoneAccountRegistrar.getPhoneAccountUnchecked ( phoneAccountHandle ) ; return ( phoneAccount != null ) && ( phoneAccount.isSelfManaged ( ) ) ; } return false ; }
Source:
public com.android.sdklib.internal.project.ProjectPropertiesWorkingCopy makeWorkingCopy ( com.android.sdklib.internal.project.ProjectProperties.PropertyType type ) { java.util.HashMap < java.lang.String , java.lang.String > propList = new java.util.HashMap < java.lang.String , java.lang.String > ( ) ; propList.putAll ( mProperties ) ; return new com.android.sdklib.internal.project.ProjectPropertiesWorkingCopy ( mProjectFolder , propList , type ) ; }

Target:
public com.android.sdklib.internal.project.ProjectPropertiesWorkingCopy makeWorkingCopy ( com.android.sdklib.internal.project.ProjectProperties.PropertyType type ) { java.util.Map < java.lang.String , java.lang.String > propList = new java.util.HashMap < java.lang.String , java.lang.String > ( mProperties ) ; return new com.android.sdklib.internal.project.ProjectPropertiesWorkingCopy ( mProjectFolder , propList , type ) ; }
Source:
void srcToExe ( @ javax.annotation.CheckForNull java.lang.String classpath , @ javax.annotation.Nonnull java.io.File out , boolean zipFile , @ javax.annotation.Nonnull java.io.File ... sources ) throws java.lang.Exception ;

Target:
void srcToExe ( @ javax.annotation.Nonnull java.io.File out , boolean zipFile , @ javax.annotation.Nonnull java.io.File ... sources ) throws java.lang.Exception ;
Source:
synchronized void nAllocationData1D ( int id , int off , int mip , int count , short [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }

Target:
synchronized void nAllocationData1D ( long id , int off , int mip , int count , short [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }
Source:
public void test_SSL_CTX_free ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.SSL_CTX_free ( org.conscrypt.NativeCryptoTest.NULL ) ; org.junit.Assert.fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } org.conscrypt.NativeCrypto.SSL_CTX_free ( org.conscrypt.NativeCrypto.SSL_CTX_new ( ) ) ; }

Target:
public void test_SSL_CTX_free ( ) throws java.lang.Exception { org.conscrypt.NativeCrypto.SSL_CTX_free ( org.conscrypt.NativeCrypto.SSL_CTX_new ( ) ) ; }
Source:
public void run ( ) { synchronized ( this ) { if ( ( this . overlayImage ) != null ) { this . overlayImage.dispose ( ) ; } this . overlayImage = overlayImage ; } }

Target:
public void run ( ) { synchronized ( this ) { this . overlayImage = overlayImage ; } }
Source:
public boolean getScanCapabilities ( com.android.server.wifi.WifiNative.ScanCapabilities capabilities ) { capabilities.max_scan_cache_size = java.lang.Integer.MAX_VALUE ; capabilities.max_scan_buckets = com.android.server.wifi.scanner.WificondScannerImpl.MAX_SCAN_BUCKETS ; capabilities.max_ap_cache_per_scan = com.android.server.wifi.scanner.WificondScannerImpl.MAX_APS_PER_SCAN ; capabilities.max_rssi_sample_size = 8 ; capabilities.max_scan_reporting_threshold = com.android.server.wifi.scanner.WificondScannerImpl.SCAN_BUFFER_CAPACITY ; capabilities.max_hotlist_bssids = 0 ; capabilities.max_significant_wifi_change_aps = 0 ; return true ; }

Target:
public boolean getScanCapabilities ( com.android.server.wifi.WifiNative.ScanCapabilities capabilities ) { capabilities.max_scan_cache_size = java.lang.Integer.MAX_VALUE ; capabilities.max_scan_buckets = com.android.server.wifi.scanner.WificondScannerImpl.MAX_SCAN_BUCKETS ; capabilities.max_ap_cache_per_scan = com.android.server.wifi.scanner.WificondScannerImpl.MAX_APS_PER_SCAN ; capabilities.max_rssi_sample_size = 8 ; capabilities.max_scan_reporting_threshold = com.android.server.wifi.scanner.WificondScannerImpl.SCAN_BUFFER_CAPACITY ; return true ; }
Source:
private static void assertReturnCodesEqual ( int expected , int got ) { assertEquals ( android.net.apf.ApfTest.label ( expected ) , android.net.apf.ApfTest.label ( got ) ) ; }

Target:
private static void assertReturnCodesEqual ( int expected , int got ) { org.junit.Assert.assertEquals ( android.net.apf.ApfTest.label ( expected ) , android.net.apf.ApfTest.label ( got ) ) ; }
Source:
public void run ( ) { try { work ( ) ; } catch ( java.lang.Throwable t ) { try { t.printStackTrace ( java.lang.System.err ) ; } catch ( java.lang.Throwable tInner ) { } java.lang.System.exit ( 1 ) ; } }

Target:
public void run ( ) { try { work ( ) ; } catch ( java.lang.Throwable t ) { try { t.printStackTrace ( java.lang.System.out ) ; } catch ( java.lang.Throwable tInner ) { } java.lang.System.exit ( 1 ) ; } }
Source:
public boolean setAlpha ( int alpha ) { checkGC ( ) ; try { getGc ( ) . setAlpha ( alpha ) ; return true ; } catch ( org.eclipse.swt.SWTException e ) { return false ; } }

Target:
public void setAlpha ( int alpha ) { checkGC ( ) ; try { getGc ( ) . setAlpha ( alpha ) ; } catch ( org.eclipse.swt.SWTException e ) { } }
Source:
public void timeLog ( int reps ) { for ( int rep = 0 ; rep < reps ; ++ rep ) { java.lang.Math.log ( d ) ; } }

Target:
public double timeLog ( int reps ) { double result = d ; for ( int rep = 0 ; rep < reps ; ++ rep ) { result = java.lang.Math.log ( d ) ; } return result ; }
Source:
native void rsnAllocationData3D ( int con , int id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , short [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , int [ ] d , int sizeBytes ) ;
Source:
synchronized void nFileA3DGetIndexEntries ( int fileA3D , int numEntries , int [ ] IDs , java.lang.String [ ] names ) { validate ( ) ; rsnFileA3DGetIndexEntries ( mContext , fileA3D , numEntries , IDs , names ) ; }

Target:
synchronized void nFileA3DGetIndexEntries ( long fileA3D , int numEntries , int [ ] IDs , java.lang.String [ ] names ) { validate ( ) ; rsnFileA3DGetIndexEntries ( mContext , fileA3D , numEntries , IDs , names ) ; }
Source:
public static < T > org.hamcrest.Matcher < T > isIn ( T [ ] elements ) { return new org.hamcrest.collection.IsIn < T > ( elements ) ; }

Target:
public static < T > org.hamcrest.Matcher < T > in ( T [ ] elements ) { return new org.hamcrest.collection.IsIn < T > ( elements ) ; }
Source:
public void testVP8EncodeDecodeVideoFromBufferToBufferQVGA ( ) throws java.lang.Exception { setParameters ( 320 , 240 , 2000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 ) ; encodeDecodeVideoFromBuffer ( false ) ; }

Target:
public void testVP8EncodeDecodeVideoFromBufferToBufferQVGA ( ) throws java.lang.Exception { setParameters ( 320 , 240 , 2000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 , true , false ) ; encodeDecodeVideoFromBuffer ( false ) ; }
Source:
public boolean onInitialize ( @ com.android.annotations.NonNull java.lang.String fqcn , @ com.android.annotations.NonNull com.android.ide.common.api.IClientRulesEngine engine ) { this . mRulesEngine = engine ; return true ; }

Target:
public boolean onInitialize ( @ com.android.annotations.NonNull java.lang.String fqcn , @ com.android.annotations.NonNull com.android.ide.common.api.IClientRulesEngine engine ) { mRulesEngine = engine ; return true ; }
Source:
static void native_rLineTo ( int nPath , float dx , float dy ) { android.graphics.Path_Delegate pathDelegate = android.graphics.Path_Delegate.sManager.getDelegate ( nPath ) ; if ( pathDelegate == null ) { return ; } pathDelegate.rLineTo ( dx , dy ) ; }

Target:
static void native_rLineTo ( long nPath , float dx , float dy ) { android.graphics.Path_Delegate pathDelegate = android.graphics.Path_Delegate.sManager.getDelegate ( nPath ) ; if ( pathDelegate == null ) { return ; } pathDelegate.rLineTo ( dx , dy ) ; }
Source:
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 ) ; 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:
public void test_isUpperCaseC ( ) { assertTrue ( "Incorrect case value" , ( ! ( java.lang.Character.isUpperCase ( 't' ) ) ) ) ; assertTrue ( "Incorrect case value" , java.lang.Character.isUpperCase ( 'T' ) ) ; }

Target:
public void test_isUpperCaseC ( ) { assertFalse ( "Incorrect case value" , java.lang.Character.isUpperCase ( 't' ) ) ; assertTrue ( "Incorrect case value" , java.lang.Character.isUpperCase ( 'T' ) ) ; }
Source:
void setUp ( ) { createChannels ( ) ; sendNotifications ( com.android.cts.verifier.notifications.AttentionManagementVerifierActivity.MODE_NONE , true , false ) ; status = READY ; delay ( ) ; }

Target:
void setUp ( ) { createChannels ( ) ; sendNotifications ( com.android.cts.verifier.notifications.AttentionManagementVerifierActivity.MODE_NONE , true , false ) ; status = READY ; }
Source:
public java.lang.String getEncoding ( ) { if ( ( encoder ) == null ) { return null ; } return java.io.HistoricalCharsetNames.get ( encoder.charset ( ) ) ; }

Target:
public java.lang.String getEncoding ( ) { if ( ( encoder ) == null ) { return null ; } return encoder.charset ( ) . name ( ) ; }
Source:
void getUnchecked ( int pos , float [ ] dst , int dstOffset , int length ) { libcore.io.Memory.peekFloatArray ( ix ( pos ) , dst , dstOffset , length , ( ! ( nativeByteOrder ) ) ) ; }

Target:
final void getUnchecked ( int pos , float [ ] dst , int dstOffset , int length ) { libcore.io.Memory.peekFloatArray ( ix ( pos ) , dst , dstOffset , length , ( ! ( nativeByteOrder ) ) ) ; }
Source:
synchronized void nAllocationData1D ( int id , int off , int mip , int count , int [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }

Target:
synchronized void nAllocationData1D ( long id , int off , int mip , int count , long [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }
Source:
public java.lang.Object clone ( ) throws java.lang.CloneNotSupportedException { if ( ( this ) instanceof java.lang.Cloneable ) { return super . clone ( ) ; } throw new java.lang.CloneNotSupportedException ( ) ; }

Target:
public java.lang.Object clone ( ) throws java.lang.CloneNotSupportedException { return super . clone ( ) ; }
Source:
protected void setSignalStrengthDefaultValues ( ) { mSignalStrength = new android.telephony.SignalStrength ( 99 , ( - 1 ) , ( - 1 ) , ( - 1 ) , ( - 1 ) , ( - 1 ) , ( - 1 ) , false ) ; }

Target:
protected void setSignalStrengthDefaultValues ( ) { mSignalStrength = new android.telephony.SignalStrength ( false ) ; }
Source:
public void testApi1 ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/deprecation.xml:2: Warning: AbsoluteLayout is deprecated [Deprecated]\n" + ( ( ( ( ( ( ( ( ( ( ( "<AbsoluteLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" + "^\n" ) + "res/layout/deprecation.xml:18: Warning: android:editable is deprecated: Use an <EditText> to make it editable [Deprecated]\n" ) + " android:editable=\"true\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:26: Warning: android:editable is deprecated: <EditText> is already editable [Deprecated]\n" ) + " <EditText android:editable=\"true\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:27: Warning: android:editable is deprecated: Use inputType instead [Deprecated]\n" ) + " <EditText android:editable=\"false\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 4 warnings\n" ) ) , lintProject ( "apicheck/minsdk1.xml=>AndroidManifest.xml" , "res/layout/deprecation.xml" ) ) ; }

Target:
public void testApi1 ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/deprecation.xml:2: Warning: AbsoluteLayout is deprecated [Deprecated]\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<AbsoluteLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" + "^\n" ) + "res/layout/deprecation.xml:18: Warning: android:editable is deprecated: Use an <EditText> to make it editable [Deprecated]\n" ) + " android:editable=\"true\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:24: Warning: android:singleLine is deprecated: Use maxLines=\"1\" instead [Deprecated]\n" ) + " android:singleLine=\"true\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:26: Warning: android:editable is deprecated: <EditText> is already editable [Deprecated]\n" ) + " <EditText android:editable=\"true\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/deprecation.xml:27: Warning: android:editable is deprecated: Use inputType instead [Deprecated]\n" ) + " <EditText android:editable=\"false\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 5 warnings\n" ) ) , lintProject ( "apicheck/minsdk1.xml=>AndroidManifest.xml" , "res/layout/deprecation.xml" ) ) ; }
Source:
public java.lang.String test0_OnConnect ( ) { featureSupportedOrSkip ( ) ; showUserMessage ( java.lang.String.format ( "Please connect an external sensor to device in %d seconds." , com.android.cts.verifier.sensors.DynamicSensorDiscoveryTestActivity.CONNECTION_TIMEOUT_SEC ) ) ; junit.framework.Assert.assertTrue ( "Cannot detect sensor connection." , mCallback.waitForConnection ( ) ) ; mSensorConnected = true ; mSensorId = mCallback.getSensorId ( ) ; return "OnConnect: Success" ; }

Target:
public java.lang.String test0_OnConnect ( ) { featureSupportedOrSkip ( ) ; showUserMessage ( java.lang.String.format ( "Please connect an external sensor to device in %d seconds." , com.android.cts.verifier.sensors.DynamicSensorDiscoveryTestActivity.CONNECTION_TIMEOUT_SEC ) ) ; junit.framework.Assert.assertTrue ( "Cannot detect sensor connection." , mCallback.waitForConnection ( null ) ) ; mSensorConnected = true ; mSensorId = mCallback.getSensorId ( ) ; return "OnConnect: Success" ; }
Source:
public void selectAudioTrack ( int index ) { if ( ( 0 <= index ) && ( index < ( mProto.audioPids.length ) ) ) { mProto.audioTrackIndex = index ; } else { mProto.audioTrackIndex = - 1 ; } }

Target:
public synchronized void selectAudioTrack ( int index ) { if ( ( 0 <= index ) && ( index < ( mProto.audioPids.length ) ) ) { mProto.audioTrackIndex = index ; } else { mProto.audioTrackIndex = - 1 ; } }
Source:
private void runSecondary ( ) { foo ( true ) ; throw new java.lang.RuntimeException ( "Didn't expect to get back..." ) ; }

Target:
private void runSecondary ( ) { foo ( ) ; throw new java.lang.RuntimeException ( "Didn't expect to get back..." ) ; }
Source:
protected void beforeDebuggeeStart ( org.apache.harmony.jpda.tests.jdwp.share.JDWPUnitDebuggeeWrapper debuggeeWrapper ) { synchronizer = createSynchronizer ( ) ; int port = synchronizer.bindServer ( ) ; debuggeeWrapper.savedVMOptions = "-Djpda.settings.syncPort=" + port ; super . beforeDebuggeeStart ( debuggeeWrapper ) ; }

Target:
protected void beforeDebuggeeStart ( ) { synchronizer = createSynchronizer ( ) ; int port = synchronizer.bindServer ( ) ; debuggeeWrapper.savedVMOptions = "-Djpda.settings.syncPort=" + port ; super . beforeDebuggeeStart ( ) ; }
Source:
public void testConstructor4 ( ) { try { jsr166.DelayQueueTest.PDelay [ ] ints = new jsr166.DelayQueueTest.PDelay [ SIZE ] ; java.util.concurrent.DelayQueue q = new java.util.concurrent.DelayQueue ( java.util.Arrays.asList ( ints ) ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testConstructor4 ( ) { try { jsr166.DelayQueueTest.PDelay [ ] ints = new jsr166.DelayQueueTest.PDelay [ SIZE ] ; new java.util.concurrent.DelayQueue ( java.util.Arrays.asList ( ints ) ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }
Source:
private byte readByte ( java.io.FileInputStream fis , com.android.builder.internal.incremental.DependencyDataStore.ReusableBuffer buffers ) throws java.io.IOException { int read = fis.read ( buffers.intBuffer , 0 , 1 ) ; if ( read != 1 ) { return com.android.builder.internal.incremental.DependencyDataStore.TAG_END ; } return buffers.intBuffer [ 0 ] ; }

Target:
private static byte readByte ( @ com.android.annotations.NonNull java.io.FileInputStream fis , @ com.android.annotations.NonNull com.android.builder.internal.incremental.DependencyDataStore.ReusableBuffer buffers ) throws java.io.IOException { int read = fis.read ( buffers.intBuffer , 0 , 1 ) ; if ( read != 1 ) { return com.android.builder.internal.incremental.DependencyDataStore.TAG_END ; } return buffers.intBuffer [ 0 ] ; }
Source:
void setFlags ( int pkgFlags ) { this . pkgFlags = pkgFlags & ( ( ( ( android.content.pm.ApplicationInfo.FLAG_SYSTEM ) | ( android.content.pm.ApplicationInfo.FLAG_PRIVILEGED ) ) | ( android.content.pm.ApplicationInfo.FLAG_FORWARD_LOCK ) ) | ( android.content.pm.ApplicationInfo.FLAG_EXTERNAL_STORAGE ) ) ; }

Target:
void setFlags ( int pkgFlags ) { this . pkgFlags = pkgFlags & ( ( android.content.pm.ApplicationInfo.FLAG_SYSTEM ) | ( android.content.pm.ApplicationInfo.FLAG_EXTERNAL_STORAGE ) ) ; }
Source:
public void test002a ( ) throws java.lang.Exception { java.io.File jackOutput = com.android.jack.test.toolchain.AbstractTestTools.createTempDir ( ) ; try { runTest002 ( jackOutput , false , null ) ; junit.framework.Assert.fail ( ) ; } catch ( com.android.jack.resource.ResourceImportConflictException e ) { } }

Target:
public void test002a ( ) throws java.lang.Exception { java.io.File jackOutput ; try { jackOutput = runTest002 ( false , null ) ; junit.framework.Assert.fail ( ) ; } catch ( com.android.jack.resource.ResourceImportConflictException e ) { } }
Source:
public android.content.SyncStorageEngine.AuthorityInfo getOrCreateAuthority ( android.accounts.Account account , java.lang.String authority ) { synchronized ( mAuthorities ) { return getOrCreateAuthorityLocked ( account , authority , ( - 1 ) , true ) ; } }

Target:
public android.content.SyncStorageEngine.AuthorityInfo getOrCreateAuthority ( android.accounts.Account account , int userId , java.lang.String authority ) { synchronized ( mAuthorities ) { return getOrCreateAuthorityLocked ( account , userId , authority , ( - 1 ) , true ) ; } }
Source:
public void sendMessageWithSessionInfo ( int message , int arg ) { sendMessage ( message , arg , 0 , android.telecom.Log.createSubsession ( ) ) ; }

Target:
public void sendMessageWithSessionInfo ( int message , int arg ) { sendMessageWithSessionInfo ( message , arg , null ) ; }
Source:
public final java.util.List < com.android.jack.test.runtime.RuntimeTestInfo > getRuntimeTestInfos ( ) { if ( ( rtTestInfos ) == null ) { rtTestInfos = new java.util.ArrayList < com.android.jack.test.runtime.RuntimeTestInfo > ( ) ; fillRtTestInfos ( ) ; } return rtTestInfos ; }

Target:
public final java.util.List < com.android.jack.test.runtime.RuntimeTestInfo > getRuntimeTestInfos ( ) { if ( ( rtTestInfos ) == null ) { rtTestInfos = new java.util.ArrayList < com.android.jack.test.runtime.RuntimeTestInfo > ( ) ; fillRtTestInfos ( ) ; } assert ( rtTestInfos ) != null ; return rtTestInfos ; }
Source:
public void testRsqrtF32 ( ) { script_f32 = new android.renderscript.cts.ScriptC_rsqrt_f32 ( mRS , mRes , R.raw.rsqrt_f32 ) ; doF32 ( 305419896 , 2 ) ; }

Target:
public void testRsqrtF32 ( ) { doF32 ( 305419896 , 2 ) ; }
Source:
boolean onKeyLongPress ( int keyCode , android.view.KeyEvent event ) { switch ( keyCode ) { case android.view.KeyEvent.KEYCODE_BACK : if ( mUi.isWebShowing ( ) ) { bookmarksOrHistoryPicker ( ComboViews.History ) ; return true ; } break ; } return false ; }

Target:
public boolean onKeyLongPress ( int keyCode , android.view.KeyEvent event ) { switch ( keyCode ) { case android.view.KeyEvent.KEYCODE_BACK : if ( mUi.isWebShowing ( ) ) { bookmarksOrHistoryPicker ( ComboViews.History ) ; return true ; } break ; } return false ; }
Source:
private static java.lang.String encodeClassLoaderChain ( java.lang.String cl1 , java.lang.String cl2 ) { return cl1.isEmpty ( ) ? cl2 : ( cl1 + ";" ) + cl2 ; }

Target:
private static java.lang.String encodeClassLoaderChain ( java.lang.String cl1 , java.lang.String cl2 ) { if ( cl1.isEmpty ( ) ) return cl2 ; if ( cl2.isEmpty ( ) ) return cl1 ; return ( cl1 + ";" ) + cl2 ; }
Source:
public void setCodecConfigPreference ( android.bluetooth.BluetoothCodecConfig codecConfig ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) { return ; } service.setCodecConfigPreference ( codecConfig ) ; }

Target:
public void setCodecConfigPreference ( android.bluetooth.BluetoothDevice device , android.bluetooth.BluetoothCodecConfig codecConfig ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) { return ; } service.setCodecConfigPreference ( device , codecConfig ) ; }
Source:
public static android.net.http.HttpResponseCache getInstalled ( ) { java.net.ResponseCache installed = java.net.ResponseCache.getDefault ( ) ; return installed instanceof android.net.http.HttpResponseCache ? ( ( android.net.http.HttpResponseCache ) ( installed ) ) : null ; }

Target:
public static android.net.http.HttpResponseCache getInstalled ( ) { java.net.ResponseCache installed = java.net.ResponseCache.getDefault ( ) ; if ( installed instanceof android.net.http.HttpResponseCache ) { return new android.net.http.HttpResponseCache ( ( ( android.net.http.HttpResponseCache ) ( installed ) ) ) ; } return null ; }
Source:
void startBluetoothDisable ( ) { mAdapterStateMachine.sendMessage ( mAdapterStateMachine.obtainMessage ( AdapterState.BEGIN_DISABLE ) ) ; }

Target:
void startBluetoothDisable ( ) { mAdapterStateMachine.sendMessage ( AdapterState.BEGIN_DISABLE ) ; }
Source:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { runtimeVisibleAnnotationsAttribute.accept ( clazz , field , optionalAttributeVisitor ) ; } }

Target:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { optionalAttributeVisitor.visitRuntimeVisibleAnnotationsAttribute ( clazz , runtimeVisibleAnnotationsAttribute ) ; } }
Source:
public native boolean isEmpty ( ) ;

Target:
public boolean isEmpty ( ) { return ( count ) == 0 ; }
Source:
public static java.lang.String [ ] getProjection ( ) { if ( ( android.os.Build.VERSION.SDK_INT ) >= ( android.os.Build.VERSION_CODES.O ) ) { return com.android.dialer.phonenumbercache.CallLogQuery.PROJECTION_O ; } if ( ( android.os.Build.VERSION.SDK_INT ) >= ( android.os.Build.VERSION_CODES.N ) ) { return com.android.dialer.phonenumbercache.CallLogQuery.PROJECTION_N ; } return com.android.dialer.phonenumbercache.CallLogQuery.PROJECTION_M ; }

Target:
public static java.lang.String [ ] getProjection ( ) { return ( android.os.Build.VERSION.SDK_INT ) >= ( android.os.Build.VERSION_CODES.O ) ? com.android.dialer.phonenumbercache.CallLogQuery.PROJECTION_O : com.android.dialer.phonenumbercache.CallLogQuery.PROJECTION_N ; }
Source:
public static void setUpDirectory ( java.lang.String baseDir ) { dalvik.system.TemporaryDirectory.setUpDirectory ( new java.io.File ( baseDir ) ) ; }

Target:
public static void setUpDirectory ( java.lang.String baseDir ) { }
Source:
public static boolean isInstanceOfClass ( com.android.tools.perflib.heap.Instance inst , java.lang.String className ) { com.android.tools.perflib.heap.ClassObj cls = ( inst == null ) ? null : inst.getClassObj ( ) ; return ( cls != null ) && ( className.equals ( cls.getClassName ( ) ) ) ; }

Target:
private static boolean isInstanceOfClass ( com.android.tools.perflib.heap.Instance inst , java.lang.String className ) { com.android.tools.perflib.heap.ClassObj cls = ( inst == null ) ? null : inst.getClassObj ( ) ; return ( cls != null ) && ( className.equals ( cls.getClassName ( ) ) ) ; }
Source:
private void expandError ( float valueWithError ) { if ( valueWithError != valueWithError ) { return ; } float delta = java.lang.Math.abs ( ( valueWithError - ( mValue ) ) ) ; if ( delta > ( mError ) ) { mError = delta ; } }

Target:
private void expandError ( double valueWithError ) { if ( valueWithError != valueWithError ) { return ; } double delta = java.lang.Math.abs ( ( valueWithError - ( mValue ) ) ) ; if ( delta > ( mError ) ) { mError = delta ; } }
Source:
private void queryProperties ( com.android.ddmlib.Device device ) throws java.lang.InterruptedException , java.util.concurrent.ExecutionException { java.util.concurrent.Future < java.lang.String > prop = device.getSystemProperty ( "ro.build.id" ) ; prop.get ( ) ; }

Target:
private static void queryProperties ( @ com.android.annotations.NonNull com.android.ddmlib.Device device ) throws java.lang.InterruptedException , java.util.concurrent.ExecutionException { java.util.concurrent.Future < java.lang.String > prop = device.getSystemProperty ( "ro.build.id" ) ; prop.get ( ) ; }
Source:
public int initServer ( int port , java.lang.String servePath , java.lang.String contentType ) throws java.lang.Exception { tests.support.Support_TestWebData.initDynamicTestWebData ( servePath , contentType ) ; return initServer ( port , tests.support.Support_TestWebServer.DEFAULT_TIMEOUT , false ) ; }

Target:
public int initServer ( java.lang.String servePath , java.lang.String contentType ) throws java.lang.Exception { tests.support.Support_TestWebData.initDynamicTestWebData ( servePath , contentType ) ; return initServer ( ) ; }
Source:
public boolean areStoresPresent ( ) { return ( mSharedStore.exists ( ) ) || ( mUserStore.exists ( ) ) ; }

Target:
public boolean areStoresPresent ( ) { return ( mSharedStore.exists ( ) ) || ( ( ( mUserStore ) != null ) && ( mUserStore.exists ( ) ) ) ; }
Source:
public static java.io.File getIniFile ( java.lang.String name ) throws com.android.prefs.AndroidLocation.AndroidLocationException { java.lang.String avdRoot ; avdRoot = com.android.sdklib.internal.avd.AvdManager.getBaseAvdFolder ( ) ; return new java.io.File ( avdRoot , ( name + ( com.android.sdklib.internal.avd.AvdManager.INI_EXTENSION ) ) ) ; }

Target:
public static java.io.File getIniFile ( java.lang.String name ) throws com.android.prefs.AndroidLocation.AndroidLocationException { java.lang.String avdRoot = com.android.sdklib.internal.avd.AvdManager.getBaseAvdFolder ( ) ; return new java.io.File ( avdRoot , ( name + ( com.android.sdklib.internal.avd.AvdManager.INI_EXTENSION ) ) ) ; }
Source:
private static void registerDefaultProviders ( ) { java.security.Security.secprops.put ( "security.provider.1" , "com.android.org.conscrypt.OpenSSLProvider" ) ; java.security.Security.secprops.put ( "security.provider.2" , "com.android.org.bouncycastle.jce.provider.BouncyCastleProvider" ) ; java.security.Security.secprops.put ( "security.provider.3" , "org.apache.harmony.security.provider.crypto.CryptoProvider" ) ; java.security.Security.secprops.put ( "security.provider.4" , "com.android.org.conscrypt.JSSEProvider" ) ; }

Target:
private static void registerDefaultProviders ( ) { java.security.Security.secprops.put ( "security.provider.1" , "com.android.org.conscrypt.OpenSSLProvider" ) ; java.security.Security.secprops.put ( "security.provider.2" , "com.android.org.bouncycastle.jce.provider.BouncyCastleProvider" ) ; java.security.Security.secprops.put ( "security.provider.3" , "com.android.org.conscrypt.JSSEProvider" ) ; }
Source:
public abstract java.lang.String workerClassPath ( ) ;

Target:
protected abstract java.lang.String workerClassPath ( ) ;
Source:
private void stopScan ( ) { if ( com.android.cts.verifier.bluetooth.BleClientService.DEBUG ) android.util.Log.d ( com.android.cts.verifier.bluetooth.BleClientService.TAG , "stopScan" ) ; if ( ( mScanner ) != null ) { mScanner.stopScan ( mScanCallback ) ; } }

Target:
private void stopScan ( ) { if ( com.android.cts.verifier.bluetooth.BleClientService.DEBUG ) android.util.Log.d ( com.android.cts.verifier.bluetooth.BleClientService.TAG , "stopScan" ) ; mScanner.stopScan ( mScanCallback ) ; }
Source:
native int rsnScriptGroupCreate ( int con , int [ ] kernels , int [ ] src , int [ ] dstk , int [ ] dstf , int [ ] types ) ;

Target:
native long rsnScriptGroupCreate ( long con , long [ ] kernels , long [ ] src , long [ ] dstk , long [ ] dstf , long [ ] types ) ;
Source:
public void setUp ( int repoXsdLevel ) throws java.lang.Exception { mRepoXsdLevel = repoXsdLevel ; mLog = new com.android.sdklib.mock.MockLog ( ) ; makeFakeAndroidHome ( ) ; makeFakeSdk ( ) ; createSdkAvdManagers ( ) ; }

Target:
public void setUp ( int repoXsdLevel ) throws java.lang.Exception { super . setUp ( ) ; mRepoXsdLevel = repoXsdLevel ; mLog = new com.android.sdklib.mock.MockLog ( ) ; makeFakeSdk ( ) ; createSdkAvdManagers ( ) ; }
Source:
public void test_ENGINE_by_id_Failure ( ) throws java.lang.Exception { org.apache.harmony.xnet.provider.jsse.NativeCrypto.ENGINE_load_dynamic ( ) ; int engine = org.apache.harmony.xnet.provider.jsse.NativeCrypto.ENGINE_by_id ( "non-existent" ) ; if ( engine != 0 ) { org.apache.harmony.xnet.provider.jsse.NativeCrypto.ENGINE_finish ( engine ) ; fail ( "should not acquire reference to non-existent engine" ) ; } }

Target:
public void test_ENGINE_by_id_Failure ( ) throws java.lang.Exception { org.apache.harmony.xnet.provider.jsse.NativeCrypto.ENGINE_load_dynamic ( ) ; long engine = org.apache.harmony.xnet.provider.jsse.NativeCrypto.ENGINE_by_id ( "non-existent" ) ; if ( engine != 0 ) { org.apache.harmony.xnet.provider.jsse.NativeCrypto.ENGINE_finish ( engine ) ; fail ( "should not acquire reference to non-existent engine" ) ; } }
Source:
public static void startMethodTracing ( java.lang.String traceName , java.io.FileDescriptor fd , int bufferSize , int flags ) { dalvik.system.VMDebug.startMethodTracing ( traceName , fd , bufferSize , flags ) ; }

Target:
public static void startMethodTracing ( java.lang.String traceName , java.io.FileDescriptor fd , int bufferSize , int flags ) { dalvik.system.VMDebug.startMethodTracing ( traceName , fd , bufferSize , flags , false , 0 ) ; }
Source:
protected boolean isRetained ( char c ) { return ( ( c == '$' ) || ( c == '%' ) ) || ( c == ' ' ) ; }

Target:
protected boolean isRetained ( char c ) { return ( c == '$' ) || ( c == ' ' ) ; }
Source:
public void run ( com.android.ddmlib.SyncService.ISyncProgressMonitor monitor ) throws com.android.ddmlib.SyncException , com.android.ddmlib.TimeoutException , java.io.IOException { sync.pullFile ( tempPath , remoteFilePath , monitor ) ; }

Target:
public void run ( com.android.ddmlib.SyncService.ISyncProgressMonitor monitor ) throws com.android.ddmlib.SyncException , com.android.ddmlib.TimeoutException , java.io.IOException { sync.pullFile ( remoteFilePath , tempPath , monitor ) ; }
Source:
public static com.google.i18n.phonenumbers.PhoneNumberUtil createInstance ( com.google.i18n.phonenumbers.MetadataSource metadataSource ) { if ( metadataSource == null ) { throw new java.lang.IllegalArgumentException ( "metadataSource could not be null." ) ; } return new com.google.i18n.phonenumbers.PhoneNumberUtil ( metadataSource , com.google.i18n.phonenumbers.CountryCodeToRegionCodeMap.getCountryCodeToRegionCodeMap ( ) ) ; }

Target:
private static com.google.i18n.phonenumbers.PhoneNumberUtil createInstance ( com.google.i18n.phonenumbers.MetadataSource metadataSource ) { if ( metadataSource == null ) { throw new java.lang.IllegalArgumentException ( "metadataSource could not be null." ) ; } return new com.google.i18n.phonenumbers.PhoneNumberUtil ( metadataSource , com.google.i18n.phonenumbers.CountryCodeToRegionCodeMap.getCountryCodeToRegionCodeMap ( ) ) ; }
Source:
public static org.hamcrest.org.hamcrest.Matcher < java.lang.Object > is ( java.lang.Class < ? > type ) { return org.hamcrest.core.Is.is ( type ) ; }

Target:
public static void is ( java.lang.Class < ? > type ) { }
Source:
public static float ReturnFloat99P25 ( ) { double imm = Main.$inline$double ( 99.25 ) ; return ( ( float ) ( imm ) ) ; }

Target:
public static float ReturnFloat99P25 ( ) { double imm = 99.25 ; return ( ( float ) ( imm ) ) ; }
Source:
public java.util.Collection < V > values ( ) { java.util.Collection < V > vs = values ; return vs != null ? vs : ( values = new Values ( ) ) ; }

Target:
public java.util.Collection < V > values ( ) { java.util.Collection < V > vs = values ; if ( vs == null ) { vs = new Values ( ) ; values = vs ; } return vs ; }
Source:
static boolean nativeRecycle ( int nativeBitmap ) { android.graphics.Bitmap_Delegate.sManager.removeJavaReferenceFor ( nativeBitmap ) ; return true ; }

Target:
static boolean nativeRecycle ( long nativeBitmap ) { android.graphics.Bitmap_Delegate.sManager.removeJavaReferenceFor ( nativeBitmap ) ; return true ; }
Source:
public boolean onCreate ( ) { databaseHelper = new com.android.dialer.phonelookup.database.PhoneLookupHistoryDatabaseHelper ( getContext ( ) , com.android.dialer.phonelookup.database.PhoneLookupHistoryContentProvider.MAX_ROWS ) ; return true ; }

Target:
public boolean onCreate ( ) { databaseHelper = new com.android.dialer.phonelookup.database.PhoneLookupHistoryDatabaseHelper ( getContext ( ) ) ; return true ; }
Source:
protected void finalize ( ) throws java.lang.Throwable { destroy ( ) ; }

Target:
protected void finalize ( ) throws java.lang.Throwable { try { destroy ( ) ; } finally { super . finalize ( ) ; } }
Source:
synchronized void delete ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVFile file ) throws com.android.sched.util.file.CannotDeleteFileException { vfs.delete ( file.getWrappedFile ( ) ) ; digests.remove ( file.getPath ( ) ) ; digest = null ; }

Target:
synchronized void delete ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVFile file ) throws com.android.sched.util.file.CannotDeleteFileException { file.getWrappedFile ( ) . delete ( ) ; digests.remove ( file.getPath ( ) ) ; digest = null ; }
Source:
public java.util.List < java.security.cert.X509Certificate > checkClientTrusted ( java.security.cert.X509Certificate [ ] chain , java.lang.String authType , java.lang.String hostname ) throws java.security.cert.CertificateException { return checkTrusted ( chain , authType , hostname , true ) ; }

Target:
public java.util.List < java.security.cert.X509Certificate > checkClientTrusted ( java.security.cert.X509Certificate [ ] chain , java.lang.String authType , java.lang.String hostname ) throws java.security.cert.CertificateException { return checkTrusted ( chain , null , authType , hostname , true ) ; }
Source:
public void setUiTTYMode ( int sessionId , int uiTtyMode , android.os.Message onComplete ) { }

Target:
public void setUiTTYMode ( int uiTtyMode , android.os.Message onComplete ) { }
Source:
protected final void setFeatureState ( @ android.telephony.ims.feature.ImsFeature.ImsState int state ) { synchronized ( mLock ) { if ( ( mState ) != state ) { mState = state ; notifyFeatureState ( state ) ; } } }

Target:
public final void setFeatureState ( @ android.telephony.ims.feature.ImsFeature.ImsState int state ) { synchronized ( mLock ) { if ( ( mState ) != state ) { mState = state ; notifyFeatureState ( state ) ; } } }
Source:
public synchronized com.google.android.gles_jni.EGLDisplay eglGetDisplay ( java.lang.Object native_display ) { int value = _eglGetDisplay ( native_display ) ; if ( value == 0 ) { return EGL10.EGL_NO_DISPLAY ; } if ( ( mDisplay.mEGLDisplay ) != value ) mDisplay = new com.google.android.gles_jni.EGLDisplayImpl ( value ) ; return mDisplay ; }

Target:
public synchronized com.google.android.gles_jni.EGLDisplay eglGetDisplay ( java.lang.Object native_display ) { long value = _eglGetDisplay ( native_display ) ; if ( value == 0 ) { return EGL10.EGL_NO_DISPLAY ; } if ( ( mDisplay.mEGLDisplay ) != value ) mDisplay = new com.google.android.gles_jni.EGLDisplayImpl ( value ) ; return mDisplay ; }
Source:
public void dispose ( ) { if ( ( mCanvas ) != null ) { mCanvas.dispose ( ) ; mCanvas = null ; } if ( ( mSelectionListener ) != null ) { mCanvas.getSelectionManager ( ) . removeSelectionChangedListener ( mSelectionListener ) ; } }

Target:
public void dispose ( ) { if ( ( mSelectionListener ) != null ) { mCanvas.getSelectionManager ( ) . removeSelectionChangedListener ( mSelectionListener ) ; } if ( ( mCanvas ) != null ) { mCanvas.dispose ( ) ; mCanvas = null ; } }
Source:
public void goingToSleep ( ) { synchronized ( this ) { mSleeping = true ; mWindowManager.setEventDispatching ( false ) ; if ( ( mResumedActivity ) != null ) { pauseIfSleepingLocked ( ) ; } else { android.util.Log.w ( com.android.server.am.ActivityManagerService.TAG , "goingToSleep with no resumed activity!" ) ; } } }

Target:
public void goingToSleep ( ) { synchronized ( this ) { mSleeping = true ; mWindowManager.setEventDispatching ( false ) ; if ( ( mResumedActivity ) != null ) { pauseIfSleepingLocked ( ) ; } else { android.util.Slog.w ( com.android.server.am.ActivityManagerService.TAG , "goingToSleep with no resumed activity!" ) ; } } }
Source:
protected boolean expectCertificateVerifyMessage ( ) { return ( ( this . clientCertificateType ) >= 0 ) && ( org.bouncycastle.crypto.tls.TlsUtils.hasSigningCapability ( this . clientCertificateType ) ) ; }

Target:
protected boolean expectCertificateVerifyMessage ( ) { return ( ( clientCertificateType ) >= 0 ) && ( org.bouncycastle.crypto.tls.TlsUtils.hasSigningCapability ( clientCertificateType ) ) ; }
Source:
public boolean logIn ( ) { users.removeActiveUser ( ) ; return logIn ( null ) ; }

Target:
public void logIn ( ) { users.removeActiveUser ( ) ; logIn ( null ) ; }
Source:
public void onCurrentPositionChanged ( ) { if ( ( mTimeShiftManager.isAvailable ( ) ) && ( isShown ( ) ) ) { initializeTimeline ( ) ; updateControls ( ) ; } }

Target:
public void onCurrentPositionChanged ( ) { if ( mTimeShiftManager.isAvailable ( ) ) { initializeTimeline ( ) ; updateControls ( false ) ; } }
Source:
public void timeDeepHashCode ( int reps ) { for ( int i = 0 ; i < reps ; ++ i ) { java.util.Arrays.deepHashCode ( array ) ; } }

Target:
public void deepHashCode ( int reps ) { for ( int i = 0 ; i < reps ; ++ i ) { java.util.Arrays.deepHashCode ( array ) ; } }
Source:
protected void setUp ( ) throws java.lang.Exception { com.android.ddmuilib.logcat.LogCatMessageParser parser = new com.android.ddmuilib.logcat.LogCatMessageParser ( ) ; mParsedMessages = parser.processLogLines ( com.android.ddmuilib.logcat.LogCatMessageParserTest.MESSAGES , new com.android.ddmuilib.logcat.LogCatPidToNameMapper ( null ) ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { com.android.ddmuilib.logcat.LogCatMessageParser parser = new com.android.ddmuilib.logcat.LogCatMessageParser ( ) ; mParsedMessages = parser.processLogLines ( com.android.ddmuilib.logcat.LogCatMessageParserTest.MESSAGES , null ) ; }
Source:
private void checkGraphic ( java.lang.String baseName , com.android.assetstudiolib.GraphicGenerator.Shape shape ) throws java.io.IOException { checkGraphic ( baseName , shape , 1 , "notification" , 12 ) ; }

Target:
private void checkGraphic ( java.lang.String baseName ) throws java.io.IOException { checkGraphic ( baseName , 1 , "notification" , 9 ) ; }
Source:
public void testCompareFiboDexFile ( ) throws java.lang.Exception { com.android.jack.test.helper.SourceToDexComparisonTestHelper helper = new com.android.jack.test.helper.CheckDexStructureTestHelper ( new java.io.File ( TEST001.directory , "jack" ) ) ; helper.runTest ( new com.android.jack.test.comparator.ComparatorDex ( helper.getCandidateDex ( ) , helper.getReferenceDex ( ) ) ) ; }

Target:
public void testCompareFiboDexFile ( ) throws java.lang.Exception { com.android.jack.test.helper.SourceToDexComparisonTestHelper helper = new com.android.jack.test.helper.CheckDexStructureTestHelper ( new java.io.File ( TEST001.directory , "jack" ) ) ; helper.runTest ( new com.android.jack.test.comparator.ComparatorDex ( helper.getReferenceDex ( ) , helper.getCandidateDex ( ) ) ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent event ) { boolean scrollLock = mScrollLockCheckBox.getSelection ( ) ; setScrollToLatestLog ( ( ! scrollLock ) ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent event ) { boolean scrollLock = mScrollLockCheckBox.getSelection ( ) ; setScrollToLatestLog ( scrollLock ) ; }
Source:
public boolean isDefaultOrSystemDialer ( android.content.Context context , java.lang.String packageName ) { java.lang.String defaultDialer = getDefaultDialerApplication ( context.getUserId ( ) ) ; return ( java.util.Objects.equals ( packageName , defaultDialer ) ) || ( java.util.Objects.equals ( packageName , mSystemDialerName ) ) ; }

Target:
public boolean isDefaultOrSystemDialer ( java.lang.String packageName , int userId ) { java.lang.String defaultDialer = getDefaultDialerApplication ( userId ) ; return ( java.util.Objects.equals ( packageName , defaultDialer ) ) || ( java.util.Objects.equals ( packageName , mSystemDialerName ) ) ; }
Source:
public void showWarning ( java.lang.String message ) { }

Target:
public boolean showWarning ( java.lang.String message ) { return false ; }
Source:
private java.lang.String getLockName ( java.lang.Enum < ? > rank ) { return ( ( rank.getDeclaringClass ( ) . getSimpleName ( ) ) + "." ) + ( rank.name ( ) ) ; }

Target:
private static java.lang.String getLockName ( java.lang.Enum < ? > rank ) { return ( ( rank.getDeclaringClass ( ) . getSimpleName ( ) ) + "." ) + ( rank.name ( ) ) ; }
Source:
public java.lang.Object expected ( ) { return false ; HEAD ( 3.0 ) ; }

Target:
public java.lang.Object expected ( ) { return false ; }
Source:
public void test_SSLContext_getDefault ( ) throws java.lang.Exception { javax.net.ssl.SSLContext sslContext = javax.net.ssl.SSLContext.getDefault ( ) ; assertNotNull ( sslContext ) ; try { sslContext.init ( null , null , null ) ; } catch ( java.security.KeyManagementException expected ) { } }

Target:
public void test_SSLContext_getDefault ( ) throws java.lang.Exception { javax.net.ssl.SSLContext sslContext = javax.net.ssl.SSLContext.getDefault ( ) ; assertNotNull ( sslContext ) ; try { sslContext.init ( null , null , null ) ; fail ( ) ; } catch ( java.security.KeyManagementException expected ) { } }
Source:
public java.util.stream.IntStream chars ( ) { java.nio.CharBuffer self = this ; return java.util.stream.StreamSupport.intStream ( ( ) -> new java.nio.CharBufferSpliterator ( self ) , java.nio.Buffer.SPLITERATOR_CHARACTERISTICS , false ) ; }

Target:
public java.util.stream.IntStream chars ( ) { return java.util.stream.StreamSupport.intStream ( ( ) -> new java.nio.CharBufferSpliterator ( this ) , java.nio.Buffer.SPLITERATOR_CHARACTERISTICS , false ) ; }
Source:
public boolean setP2pSsidPostfix ( java.lang.String postfix ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.setSsidPostfix ( postfix ) ; } else { return doBooleanCommand ( ( "SET p2p_ssid_postfix " + postfix ) ) ; } }

Target:
public boolean setP2pSsidPostfix ( java.lang.String postfix ) { return mSupplicantP2pIfaceHal.setSsidPostfix ( postfix ) ; }
Source:
public static boolean getDebuggable ( com.android.sdklib.io.IAbstractFile manifestFile ) throws com.android.sdklib.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.sdklib.xml.AndroidXPathFactory.newXPath ( ) ; java.lang.String value = xPath.evaluate ( ( ( ( ( ( "/" + ( com.android.sdklib.xml.AndroidManifest.NODE_MANIFEST ) ) + "/" ) + ( com.android.sdklib.xml.AndroidManifest.NODE_APPLICATION ) ) + "/@" ) + ( com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_DEBUGGABLE ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) ) ; return java.lang.Boolean.parseBoolean ( value ) ; }

Target:
public static boolean getDebuggable ( com.android.sdklib.io.IAbstractFile manifestFile ) throws com.android.sdklib.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.sdklib.xml.AndroidXPathFactory.newXPath ( ) ; java.lang.String value = xPath.evaluate ( ( ( ( ( ( ( ( "/" + ( com.android.sdklib.xml.AndroidManifest.NODE_MANIFEST ) ) + "/" ) + ( com.android.sdklib.xml.AndroidManifest.NODE_APPLICATION ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_DEBUGGABLE ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) ) ; return java.lang.Boolean.parseBoolean ( value ) ; }
Source:
public java.lang.String installPackage ( java.lang.String packageFilePath , boolean reinstall , java.lang.String ... extraArgs ) throws com.android.ddmlib.InstallException ;

Target:
public java.lang.String installPackage ( java.lang.String packageFilePath , boolean reinstall ) throws com.android.ddmlib.InstallException ;
Source:
public static int $noinline$intToDoubleToInt ( int value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( double ) ( value ) ) ) ; }

Target:
public static int $noinline$intToDoubleToInt ( int value ) { return ( ( int ) ( ( double ) ( value ) ) ) ; }
Source:
public int lastIndexOf ( java.lang.String str ) { return lastIndexOf ( str , count ) ; }

Target:
public int lastIndexOf ( java.lang.String str ) { return lastIndexOf ( str , length ( ) ) ; }
Source:
synchronized void nAllocationRead ( int id , float [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }

Target:
synchronized void nAllocationRead ( long id , float [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }