auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
com.android.server.wifi.WifiNetworkScoreCache getScoreCache ( ) { return org.mockito.Mockito.mock ( com.android.server.wifi.WifiNetworkScoreCache.class ) ; }

Target:
com.android.server.wifi.WifiNetworkScoreCache getScoreCache ( ) { return mock ( com.android.server.wifi.WifiNetworkScoreCache.class ) ; }
Source:
public com.android.layoutlib.api.SceneResult getResult ( ) { assert ( this ) != ( com.android.layoutlib.api.SceneResult.SceneStatus.ERROR_UNKNOWN ) ; if ( ( this ) == ( com.android.layoutlib.api.SceneResult.SceneStatus.SUCCESS ) ) { return com.android.layoutlib.api.SceneResult.SUCCESS ; } return new com.android.layoutlib.api.SceneResult ( this ) ; }

Target:
public com.android.layoutlib.api.SceneResult getResult ( ) { assert ( this ) != ( com.android.layoutlib.api.SceneResult.SceneStatus.ERROR_UNKNOWN ) ; return new com.android.layoutlib.api.SceneResult ( this ) ; }
Source:
public boolean isMwiDontStore ( ) { if ( ( isMwi ) && ( mwiDontStore ) ) { return true ; } if ( isCphsMwiMessage ( ) ) { if ( " " . equals ( getMessageBody ( ) ) ) { } return true ; } return false ; }

Target:
public boolean isMwiDontStore ( ) { if ( ( isMwi ) && ( mwiDontStore ) ) { return true ; } if ( isCphsMwiMessage ( ) ) { if ( " " . equals ( getMessageBody ( ) ) ) { return true ; } } return false ; }
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { synchronized ( mRulesLock ) { mHandler.obtainMessage ( com.android.server.net.NetworkPolicyManagerService.MSG_SCREEN_ON_CHANGED ) . sendToTarget ( ) ; } }

Target:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { mHandler.obtainMessage ( com.android.server.net.NetworkPolicyManagerService.MSG_SCREEN_ON_CHANGED ) . sendToTarget ( ) ; }
Source:
public void onBroadcastSignalStrengthUpdated ( int signalStrength ) { try { listener.broadcastSignalStrengthUpdated ( signalStrength ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }

Target:
public void onBroadcastSignalStrengthUpdated ( int signalStrength ) { try { callback.broadcastSignalStrengthUpdated ( signalStrength ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }
Source:
public com.android.builder.model.AndroidProject getSingleModel ( ) { return getSingleModel ( false ) ; }

Target:
public com.android.builder.model.AndroidProject getSingleModel ( ) { return getSingleModel ( false , true ) ; }
Source:
public com.android.tools.perflib.heap.Snapshot getSnapshot ( ) { return mSnapshot ; }

Target:
public com.android.tools.perflib.heap.Snapshot build ( ) { return mSnapshot ; }
Source:
public char get ( int index ) { checkIndex ( index ) ; return byteBuffer.getChar ( ( index * ( libcore.io.SizeOf.CHAR ) ) ) ; }

Target:
public char get ( int index ) { return byteBuffer.getChar ( ( index * ( libcore.io.SizeOf.CHAR ) ) ) ; }
Source:
public void startDtmf ( char c ) { }

Target:
public void startDtmf ( char c ) { this . startDtmf ( c ) ; }
Source:
private void rebootRecoveryWithCommand ( java.lang.String command , boolean update ) { try { mService.rebootRecoveryWithCommand ( command , update ) ; } catch ( android.os.RemoteException ignored ) { } }

Target:
private void rebootRecoveryWithCommand ( java.lang.String command ) { try { mService.rebootRecoveryWithCommand ( command ) ; } catch ( android.os.RemoteException ignored ) { } }
Source:
public static < K , V > org.hamcrest.Matcher < java.util.Map < K , V > > hasValue ( org.hamcrest.Matcher < V > valueMatcher ) { return org.hamcrest.collection.IsMapContaining.hasEntry ( org.hamcrest.core.IsAnything.< K > anything ( ) , valueMatcher ) ; }

Target:
public static < V > org.hamcrest.Matcher < java.util.Map < ? , ? extends V > > hasValue ( org.hamcrest.Matcher < ? super V > valueMatcher ) { return new org.hamcrest.collection.IsMapContaining < java.lang.Object , V > ( org.hamcrest.collection.IsMapContaining.anything ( ) , valueMatcher ) ; }
Source:
public boolean isActiveUserAvailable ( ) { return ( myActiveUser ) != null ; }

Target:
public boolean isActiveUserAvailable ( ) { synchronized ( this ) { return ( myActiveUser ) != null ; } }
Source:
public void testInstrumentationRunnerArguments ( @ com.android.annotations.NonNull com.android.build.gradle.internal.dsl.Map < java.lang.String , java.lang.String > args ) { getTestInstrumentationRunnerArguments ( ) . putAll ( args ) ; }

Target:
public void testInstrumentationRunnerArguments ( @ com.android.annotations.NonNull java.util.Map < java.lang.String , java.lang.String > args ) { getTestInstrumentationRunnerArguments ( ) . putAll ( args ) ; }
Source:
public java.io.File getMappingFile ( ) { return mappingFile ; }

Target:
public java.io.File get ( ) { return mappingFile ; }
Source:
public static void computeCbrt ( android.renderscript.cts.TestCbrt.ArgumentsFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 2 , 128 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.cbrt ( args.in , t ) ; }

Target:
public static void computeCbrt ( android.renderscript.cts.TestCbrt.ArgumentsFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 2 , 128 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.cbrt ( args.inV , t ) ; }
Source:
protected void tearDown ( ) throws java.lang.Exception { java.io.File toolFolder = mBuildToolInfo.getLocation ( ) ; com.android.builder.internal.compiler.PreDexCacheTest.deleteFolder ( toolFolder ) ; com.android.builder.internal.compiler.PreDexCache.getCache ( ) . clear ( ) ; super . tearDown ( ) ; }

Target:
protected void tearDown ( ) throws java.lang.Exception { java.io.File toolFolder = mBuildToolInfo.getLocation ( ) ; com.android.builder.internal.compiler.PreDexCacheTest.deleteFolder ( toolFolder ) ; com.android.builder.internal.compiler.PreDexCache.getCache ( ) . clear ( null , null ) ; super . tearDown ( ) ; }
Source:
public void visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotation , @ javax.annotation.Nonnull com.android.sched.transform.TransformRequest transformRequest ) throws java.lang.Exception { visit ( ( ( com.android.jack.ir.ast.JExpression ) ( annotation ) ) , transformRequest ) ; }

Target:
public void visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotation , @ javax.annotation.Nonnull com.android.sched.transform.TransformRequest transformRequest ) throws java.lang.Exception { }
Source:
public boolean factoryReset ( ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) return false ; service.disable ( ) ; return service.factoryReset ( ) ; }

Target:
public boolean factoryReset ( ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) { return false ; } service.disable ( ) ; return service.factoryReset ( ) ; }
Source:
public final void dumpSizes ( ) { for ( com.android.tools.perflib.heap.Heap heap : mHeaps.values ( ) ) { java.lang.System.out.println ( ( "+------------------ sizes for heap: " + ( heap.mName ) ) ) ; heap.dumpSizes ( ) ; } }

Target:
public final void dumpSizes ( ) { for ( com.android.tools.perflib.heap.Heap heap : mHeaps ) { java.lang.System.out.println ( ( "+------------------ sizes for heap: " + ( heap.getName ( ) ) ) ) ; heap.dumpSizes ( ) ; } }
Source:
private void grow ( int newCapacity ) { E [ ] newData = newElementArray ( newCapacity ) ; assert ( elementCount ) <= newCapacity ; java.lang.System.arraycopy ( elementData , 0 , newData , 0 , elementCount ) ; elementData = newData ; }

Target:
private void grow ( int newCapacity ) { E [ ] newData = newElementArray ( newCapacity ) ; java.lang.System.arraycopy ( elementData , 0 , newData , 0 , elementCount ) ; elementData = newData ; }
Source:
public void testPlayHlsStreamWithQueryString ( ) throws java.lang.Throwable { localHlsTest ( "hls.m3u8" , true ) ; }

Target:
public void testPlayHlsStreamWithQueryString ( ) throws java.lang.Throwable { localHlsTest ( "hls.m3u8" , true , false ) ; }
Source:
public void setPushLevel ( java.util.logging.Level newLevel ) throws java.lang.SecurityException { if ( newLevel == null ) { throw new java.lang.NullPointerException ( ) ; } java.util.logging.LogManager manager = java.util.logging.LogManager.getLogManager ( ) ; checkPermission ( ) ; pushLevel = newLevel ; }

Target:
public synchronized void setPushLevel ( java.util.logging.Level newLevel ) throws java.lang.SecurityException { if ( newLevel == null ) { throw new java.lang.NullPointerException ( ) ; } checkPermission ( ) ; pushLevel = newLevel ; }
Source:
public static native void SSL_renegotiate ( int sslNativePointer ) throws javax.net.ssl.SSLException ;

Target:
public static native void SSL_renegotiate ( long sslNativePointer ) throws javax.net.ssl.SSLException ;
Source:
public static void expectEquals ( long expected , long result ) { if ( expected != result ) { throw new java.lang.Error ( ( ( ( "Expected: " + expected ) + ", found: " ) + result ) ) ; } }

Target:
public static void assertEquals ( long expected , long result ) { if ( expected != result ) { throw new java.lang.Error ( ( ( ( "Expected: " + expected ) + ", found: " ) + result ) ) ; } }
Source:
public static android.content.SyncStatusInfo getSyncStatus ( android.accounts.Account account , java.lang.String authority ) { try { return android.content.ContentResolver.getContentService ( ) . getSyncStatus ( account , authority ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( "the ContentService should always be reachable" , e ) ; } }

Target:
public static android.content.SyncStatusInfo getSyncStatus ( android.accounts.Account account , java.lang.String authority ) { try { return android.content.ContentResolver.getContentService ( ) . getSyncStatus ( account , authority , null ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( "the ContentService should always be reachable" , e ) ; } }
Source:
public boolean startScan ( android.os.WorkSource workSource ) { try { mService.startScan ( workSource ) ; return true ; } catch ( android.os.RemoteException e ) { return false ; } }

Target:
public boolean startScan ( android.os.WorkSource workSource ) { try { mService.startScan ( null , workSource ) ; return true ; } catch ( android.os.RemoteException e ) { return false ; } }
Source:
native void rsnAllocationSyncAll ( int con , int alloc , int src ) ;

Target:
native void rsnAllocationSyncAll ( long con , long alloc , int src ) ;
Source:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVFile file ) throws com.android.sched.util.file.WrongPermissionException { return vfs.openWrite ( file ) ; }

Target:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVFile file ) throws com.android.sched.util.file.WrongPermissionException { return openWrite ( file , false ) ; }
Source:
public java.lang.String getName ( ) { assert ( name ) != null ; return name ; }

Target:
public java.lang.String getName ( ) { return name ; }
Source:
public boolean isReadOnly ( ) { return isReadOnly ; }

Target:
public final boolean isReadOnly ( ) { return isReadOnly ; }
Source:
private void gotoCameraApp ( ) throws android.support.test.uiautomator.UiObjectNotFoundException { android.app.Instrumentation instrumentation = testFramework.getInstrumentation ( ) ; com.android.devtools.systemimage.uitest.utils.AppLauncher.launch ( instrumentation , "Camera" ) ; }

Target:
private void gotoCameraApp ( ) throws android.support.test.uiautomator.UiObjectNotFoundException { com.android.devtools.systemimage.uitest.utils.AppLauncher.launch ( instrumentation , "Camera" ) ; }
Source:
public final void run ( ) { try { realRun ( ) ; threadShouldThrow ( "InterruptedException" ) ; } catch ( java.lang.InterruptedException success ) { threadAssertFalse ( java.lang.Thread.interrupted ( ) ) ; } catch ( java.lang.Throwable t ) { threadUnexpectedException ( t ) ; } }

Target:
public final void run ( ) { try { realRun ( ) ; threadShouldThrow ( "InterruptedException" ) ; } catch ( java.lang.InterruptedException success ) { threadAssertFalse ( java.lang.Thread.interrupted ( ) ) ; } catch ( java.lang.Throwable fail ) { threadUnexpectedException ( fail ) ; } }
Source:
public void testAtanPiF32 ( ) { script_f32 = new android.renderscript.cts.ScriptC_atanpi_f32 ( mRS , mRes , R.raw.atanpi_f32 ) ; doF32 ( 291 , 5 ) ; }

Target:
public void testAtanPiF32 ( ) { doF32 ( 291 , 5 ) ; }
Source:
protected void receiveNewSessionTicketMessage ( java.io.ByteArrayInputStream buf ) throws java.io.IOException { org.bouncycastle.crypto.tls.NewSessionTicket newSessionTicket = org.bouncycastle.crypto.tls.NewSessionTicket.parse ( buf ) ; org.bouncycastle.crypto.tls.TlsProtocol.assertEmpty ( buf ) ; tlsClient.notifyNewSessionTicket ( newSessionTicket ) ; }

Target:
protected void receiveNewSessionTicketMessage ( java.io.ByteArrayInputStream buf ) throws java.io.IOException { org.bouncycastle.crypto.tls.NewSessionTicket newSessionTicket = org.bouncycastle.crypto.tls.NewSessionTicket.parse ( buf ) ; assertEmpty ( buf ) ; tlsClient.notifyNewSessionTicket ( newSessionTicket ) ; }
Source:
public static void computeExp2 ( android.renderscript.cts.TestExp2.ArgumentsFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 3 , 16 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.exp2 ( args.inX , t ) ; }

Target:
public static void computeExp2 ( android.renderscript.cts.TestExp2.ArgumentsFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 3 , 16 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.exp2 ( args.inV , t ) ; }
Source:
public void onSaveInstanceState ( android.os.Bundle outState ) { super . onSaveInstanceState ( outState ) ; mVoicemailPlaybackPresenter.onSaveInstanceState ( outState ) ; }

Target:
public void onSaveInstanceState ( android.os.Bundle outState ) { super . onSaveInstanceState ( outState ) ; if ( ( mVoicemailPlaybackPresenter ) != null ) { mVoicemailPlaybackPresenter.onSaveInstanceState ( outState ) ; } }
Source:
public java.lang.String getActions ( ) { return "<all actions>" ; }

Target:
public java.lang.String getActions ( ) { return null ; }
Source:
public static long $noinline$longUnnecessaryShiftMasking ( long value , int shift ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return value > > ( shift & 63 ) ; }

Target:
public static long $noinline$longUnnecessaryShiftMasking ( long value , int shift ) { return value > > ( shift & 63 ) ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { java.lang.System.loadLibrary ( args [ 1 ] ) ; Main.doTest ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.doTest ( ) ; }
Source:
public void addExtension ( org.bouncycastle.asn1.DERObjectIdentifier oid , boolean critical , org.bouncycastle.asn1.ASN1Encodable value ) { extGenerator.addExtension ( new org.bouncycastle.asn1.ASN1ObjectIdentifier ( oid.getId ( ) ) , critical , value ) ; }

Target:
public void addExtension ( org.bouncycastle.asn1.ASN1ObjectIdentifier oid , boolean critical , org.bouncycastle.asn1.ASN1Encodable value ) { extGenerator.addExtension ( new org.bouncycastle.asn1.ASN1ObjectIdentifier ( oid.getId ( ) ) , critical , value ) ; }
Source:
protected void log ( java.lang.String s ) { if ( com.android.internal.telephony.cdma.CDMAPhone.DBG ) android.telephony.Rlog.d ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , ( "[CDMAPhone] " + s ) ) ; }

Target:
protected void log ( java.lang.String s ) { if ( com.android.internal.telephony.cdma.CDMAPhone.DBG ) android.telephony.Rlog.d ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , s ) ; }
Source:
org.gradle.model.collection.ManagedSet < com.android.build.gradle.managed.ManagedString > getAbiFilters ( ) ;

Target:
java.util.Set < java.lang.String > getAbiFilters ( ) ;
Source:
public void disconnect ( ) { try { mConnectionService.disconnect ( mId ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public void disconnect ( ) { try { mConnectionService.disconnect ( mId , null ) ; } catch ( android.os.RemoteException e ) { } }
Source:
public void printf ( java.lang.String format , java.lang.Object ... args ) { add ( "P " , format , args ) ; }

Target:
public void info ( java.lang.String format , java.lang.Object ... args ) { add ( "P " , format , args ) ; }
Source:
public void testProcessChldAddHeldToConfHolding ( ) throws java.lang.Exception { com.android.server.telecom.Call activeCall = createActiveCall ( ) ; addCallCapability ( activeCall , Connection.CAPABILITY_MERGE_CONFERENCE ) ; boolean didProcess = mBluetoothPhoneService.mBinder.processChld ( com.android.server.telecom.tests.BluetoothPhoneServiceTest.CHLD_TYPE_ADDHELDTOCONF ) ; org.mockito.Mockito.verify ( activeCall ) . mergeConference ( ) ; assertEquals ( didProcess , true ) ; }

Target:
public void testProcessChldAddHeldToConfHolding ( ) throws java.lang.Exception { com.android.server.telecom.Call activeCall = createActiveCall ( ) ; addCallCapability ( activeCall , Connection.CAPABILITY_MERGE_CONFERENCE ) ; boolean didProcess = mBluetoothPhoneService.mBinder.processChld ( com.android.server.telecom.tests.BluetoothPhoneServiceTest.CHLD_TYPE_ADDHELDTOCONF ) ; org.mockito.Mockito.verify ( activeCall ) . mergeConference ( ) ; org.junit.Assert.assertEquals ( didProcess , true ) ; }
Source:
public void test_setOOBInlineZ ( ) throws java.lang.Exception { java.net.Socket theSocket = new java.net.Socket ( ) ; theSocket.setOOBInline ( true ) ; assertTrue ( "expected OOBIline to be true" , theSocket.getOOBInline ( ) ) ; }

Target:
public void test_setOOBInlineZ ( ) throws java.lang.Exception { try ( java.net.Socket theSocket = new java.net.Socket ( ) ) { theSocket.setOOBInline ( true ) ; assertTrue ( "expected OOBIline to be true" , theSocket.getOOBInline ( ) ) ; } }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { reloadTagAbiCombo ( ) ; validatePage ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { validatePage ( ) ; }
Source:
public static com.android.bluetooth.ObexServerSockets create ( com.android.bluetooth.IObexConnectionHandler validator ) { return com.android.bluetooth.ObexServerSockets.create ( validator , BluetoothAdapter.SOCKET_CHANNEL_AUTO_STATIC_NO_SDP , BluetoothAdapter.SOCKET_CHANNEL_AUTO_STATIC_NO_SDP ) ; }

Target:
public static com.android.bluetooth.ObexServerSockets create ( com.android.bluetooth.IObexConnectionHandler validator ) { return com.android.bluetooth.ObexServerSockets.create ( validator , BluetoothAdapter.SOCKET_CHANNEL_AUTO_STATIC_NO_SDP , BluetoothAdapter.SOCKET_CHANNEL_AUTO_STATIC_NO_SDP , true ) ; }
Source:
public void actionPerformed ( java.awt.event.ActionEvent event ) { if ( myPassCountCheckbox.isSelected ( ) ) { myConditionCheckbox.setSelected ( false ) ; } updateCheckboxes ( ) ; }

Target:
public void actionPerformed ( java.awt.event.ActionEvent event ) { if ( myConditionCheckbox.isSelected ( ) ) { myPassCountCheckbox.setSelected ( false ) ; } updateCheckboxes ( ) ; }
Source:
public void test_SSL_do_handshake_NULL_SSL ( ) throws java.lang.Exception { try { org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_do_handshake ( org.apache.harmony.xnet.provider.jsse.NativeCryptoTest.NULL , null , null , 0 , false , null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } org.apache.harmony.xnet.provider.jsse.NativeCryptoTest.assertNoErrors ( ) ; }

Target:
public void test_SSL_do_handshake_NULL_SSL ( ) throws java.lang.Exception { try { org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_do_handshake ( org.apache.harmony.xnet.provider.jsse.NativeCryptoTest.NULL , null , null , 0 , false , null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public void test011_1 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST011_1 ) . setProguardFlagsFileNames ( new java.lang.String [ ] { "proguard.flags001" , "../dontobfuscate.flags" } ) . compileAndRunTest ( ) ; }

Target:
public void test011_1 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST011_1 ) . compileAndRunTest ( ) ; }
Source:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; org.mockito.MockitoAnnotations.initMocks ( this ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { org.mockito.MockitoAnnotations.initMocks ( this ) ; }
Source:
synchronized void nObjDestroy ( int id ) { if ( ( mContext ) != 0 ) { rsnObjDestroy ( mContext , id ) ; } }

Target:
synchronized void nObjDestroy ( long id ) { if ( ( mContext ) != 0 ) { rsnObjDestroy ( mContext , id ) ; } }
Source:
public void log ( java.lang.String log ) { if ( acceptLog ( log ) ) { mSdkLog.printf ( " %1$s" , log ) ; } }

Target:
public void log ( java.lang.String log ) { if ( acceptLog ( log ) ) { mSdkLog.info ( " %1$s" , log ) ; } }
Source:
private com.android.se.security.ResponseApdu send ( com.android.se.security.CommandApdu cmdApdu ) { try { byte [ ] response = mChannel.transmit ( cmdApdu.toBytes ( ) ) ; return new com.android.se.security.ResponseApdu ( response ) ; } catch ( android.os.RemoteException e ) { return null ; } }

Target:
private com.android.se.security.ResponseApdu send ( com.android.se.security.CommandApdu cmdApdu ) throws java.io.IOException { byte [ ] response = mChannel.transmit ( cmdApdu.toBytes ( ) ) ; return new com.android.se.security.ResponseApdu ( response ) ; }
Source:
public void test_checkClientTrusted_02 ( ) { org.apache.harmony.xnet.tests.support.X509TrustManagerImpl xtm = new org.apache.harmony.xnet.tests.support.X509TrustManagerImpl ( ) ; java.security.cert.X509Certificate [ ] xcert = setInvalid ( ) ; try { xtm.checkClientTrusted ( xcert , "SSL" ) ; fail ( "CertificateException wasn't thrown" ) ; } catch ( java.security.cert.CertificateException ce ) { } }

Target:
public void test_checkClientTrusted_02 ( ) throws java.lang.Exception { org.apache.harmony.xnet.tests.support.X509TrustManagerImpl xtm = new org.apache.harmony.xnet.tests.support.X509TrustManagerImpl ( ) ; java.security.cert.X509Certificate [ ] xcert = setInvalid ( ) ; try { xtm.checkClientTrusted ( xcert , "SSL" ) ; fail ( "CertificateException wasn't thrown" ) ; } catch ( java.security.cert.CertificateException expected ) { } }
Source:
boolean needFetch ( ) { if ( ( fetchTime ) == 0 ) { return true ; } long current = java.lang.System.currentTimeMillis ( ) ; if ( ( current - ( fetchTime ) ) > ( com.android.ddmlib.FileListingService.REFRESH_TEST ) ) { return true ; } return false ; }

Target:
boolean needFetch ( ) { if ( ( fetchTime ) == 0 ) { return true ; } long current = java.lang.System.currentTimeMillis ( ) ; return ( current - ( fetchTime ) ) > ( com.android.ddmlib.FileListingService.REFRESH_TEST ) ; }
Source:
public static byte $noinline$longAnd0xffToByte ( long value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( byte ) ( value & 255 ) ) ; }

Target:
public static byte $noinline$longAnd0xffToByte ( long value ) { return ( ( byte ) ( value & 255 ) ) ; }
Source:
public native void setInt ( java.lang.Object object , int value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public native void setInt ( java.lang.Object obj , int i ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public java.lang.String getClientName ( int pid ) { return mClientInfo.get ( java.lang.Integer.valueOf ( pid ) ) ; }

Target:
public java.lang.String getClientName ( int pid ) { return mClientInfo.get ( pid ) ; }
Source:
public E peekFirst ( ) { return elements [ head ] ; }

Target:
public E peekFirst ( ) { return ( ( E ) ( elements [ head ] ) ) ; }
Source:
protected final void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; if ( ! ( isSupported ( ) ) ) return ; setUpMeteredNetwork ( ) ; removePowerSaveModeWhitelist ( com.android.cts.net.hostside.TEST_APP2_PKG ) ; setAppIdle ( false ) ; turnBatteryOff ( ) ; registerBroadcastReceiver ( ) ; }

Target:
protected final void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; if ( ! ( isSupported ( ) ) ) return ; removePowerSaveModeWhitelist ( com.android.cts.net.hostside.TEST_APP2_PKG ) ; setAppIdle ( false ) ; turnBatteryOff ( ) ; registerBroadcastReceiver ( ) ; }
Source:
public int queryCallBarring ( int cbType ) throws android.os.RemoteException { return - 1 ; }

Target:
public int queryCallBarring ( int cbType ) throws android.os.RemoteException { return this . queryCallBarring ( cbType ) ; }
Source:
public static native int EVP_VerifyFinal ( int ctx , byte [ ] signature , int offset , int length , int key ) ;

Target:
public static native int EVP_VerifyFinal ( long ctx , byte [ ] signature , int offset , int length , long key ) ;
Source:
public void testConnectWithNoDisconnectAndSingleExistingNetwork ( ) throws java.lang.Exception { executeAndValidateInitializationSequence ( false , false , false ) ; executeAndValidateConnectSequence ( 0 , true , false ) ; }

Target:
public void testConnectWithNoDisconnectAndSingleExistingNetwork ( ) throws java.lang.Exception { executeAndValidateInitializationSequence ( ) ; executeAndValidateConnectSequence ( 0 , true , false ) ; }
Source:
public void showWarning ( java.lang.String message ) { java.lang.System.out.println ( ( "Warning: " + message ) ) ; }

Target:
public boolean showWarning ( java.lang.String message ) { java.lang.System.out.println ( ( "Warning: " + message ) ) ; return false ; }
Source:
public void test_SSL_do_handshake_NULL_SSL ( ) throws java.lang.Exception { org.conscrypt.NativeCrypto.SSL_do_handshake ( org.conscrypt.NativeCryptoTest.NULL , null , null , 0 , false , null ) ; }

Target:
public void test_SSL_do_handshake_NULL_SSL ( ) throws java.lang.Exception { org.conscrypt.NativeCrypto.SSL_do_handshake ( org.conscrypt.NativeCryptoTest.NULL , null , null , 0 , false ) ; }
Source:
public void onPause ( ) { super . onPause ( ) ; synchronized ( mToneGeneratorLock ) { if ( ( mToneGenerator ) != null ) { mToneGenerator.release ( ) ; mToneGenerator = null ; } } }

Target:
public void onPause ( ) { super . onPause ( ) ; }
Source:
public com.ibm.icu.impl.UResource.ArraySink getOrCreateArraySink ( com.ibm.icu.impl.UResource.Key key , int size ) { return null ; }

Target:
public com.ibm.icu.impl.UResource.ArraySink getOrCreateArraySink ( com.ibm.icu.impl.UResource.Key key ) { return null ; }
Source:
public void test_entryCompatibility_compiletime ( ) { java.lang.Class c = java.util.Hashtable.Entry.class ; assertEquals ( "java.util.Map$Entry" , c.getName ( ) ) ; assertEquals ( java.util.Map.Entry.class , c ) ; }

Target:
public void test_entryCompatibility_compiletime ( ) { assertEquals ( java.util.Map.Entry.class , java.util.Hashtable.Entry.class ) ; }
Source:
public java.lang.String getCookie ( java.lang.String url , boolean privateBrowsing ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract java.lang.String getCookie ( java.lang.String url , boolean privateBrowsing ) ;
Source:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface t ) throws java.lang.Exception { if ( com.android.jack.coverage.CodeCoverageSelector.needsCoverage ( t ) ) { long classId = com.android.jack.coverage.CodeCoverageSelector.computeClassID ( t ) ; t.addMarker ( new com.android.jack.coverage.CodeCoverageMarker ( classId ) ) ; } }

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface t ) throws java.lang.Exception { if ( needsCoverage ( t ) ) { long classId = com.android.jack.coverage.CodeCoverageSelector.computeClassID ( t ) ; t.addMarker ( new com.android.jack.coverage.CodeCoverageMarker ( classId ) ) ; } }
Source:
public static void computeClz ( android.renderscript.cts.TestClz.ArgumentsShortShort args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( short ) ( ( java.lang.Integer.numberOfLeadingZeros ( ( ( args.inValue ) & 65535 ) ) ) - 16 ) ) ; }

Target:
public static void computeClz ( android.renderscript.cts.TestClz.ArgumentsShortShort args ) { args.out = ( ( short ) ( ( java.lang.Integer.numberOfLeadingZeros ( ( ( args.inValue ) & 65535 ) ) ) - 16 ) ) ; }
Source:
public void copyFromUnchecked ( java.lang.Object array ) { android.os.Trace.traceBegin ( RenderScript.TRACE_TAG , "copyFromUnchecked" ) ; copyFromUnchecked ( array , validateObjectIsPrimitiveArray ( array , false ) , java.lang.reflect.Array.getLength ( array ) ) ; android.os.Trace.traceEnd ( RenderScript.TRACE_TAG ) ; }

Target:
public void copyFromUnchecked ( java.lang.Object array ) { try { android.os.Trace.traceBegin ( RenderScript.TRACE_TAG , "copyFromUnchecked" ) ; copyFromUnchecked ( array , validateObjectIsPrimitiveArray ( array , false ) , java.lang.reflect.Array.getLength ( array ) ) ; } finally { android.os.Trace.traceEnd ( RenderScript.TRACE_TAG ) ; } }
Source:
public static void writeUint16 ( int i , java.io.OutputStream output ) throws java.io.IOException { output.write ( ( i > > 8 ) ) ; output.write ( i ) ; }

Target:
public static void writeUint16 ( int i , java.io.OutputStream output ) throws java.io.IOException { output.write ( ( i > > > 8 ) ) ; output.write ( i ) ; }
Source:
public java.util.List < android.bluetooth.BluetoothDevice > getConnectedDevices ( ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) android.util.Log.v ( com.android.bluetooth.hid.HidDevService.BluetoothHidDeviceBinder.TAG , "getConnectedDevices()" ) ; return getDevicesMatchingConnectionStates ( new int [ ] { android.bluetooth.BluetoothProfile.STATE_CONNECTED } ) ; }

Target:
public java.util.List < android.bluetooth.BluetoothDevice > getConnectedDevices ( ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDevService.BluetoothHidDeviceBinder.TAG , "getConnectedDevices()" ) ; } return getDevicesMatchingConnectionStates ( new int [ ] { android.bluetooth.BluetoothProfile.STATE_CONNECTED } ) ; }
Source:
native boolean lutTest ( int X , int Y , int lutSize , byte [ ] input , byte [ ] input2 , byte [ ] output ) ;

Target:
native boolean lutTest ( java.lang.String path , int X , int Y , int lutSize , byte [ ] input , byte [ ] input2 , byte [ ] output ) ;
Source:
public static long UShrLongInt ( ) { long lhs = Main.$inline$long ( ( - 9 ) ) ; int rhs = Main.$inline$int ( 2 ) ; return lhs > > > rhs ; }

Target:
public static long UShrLongInt ( ) { long lhs = - 9 ; int rhs = 2 ; return lhs > > > rhs ; }
Source:
public void tearDown ( ) throws java.lang.Exception { tearDownSdk ( ) ; tearDownAndroidHome ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { tearDownSdk ( ) ; super . tearDown ( ) ; }
Source:
static void inlinedForNull ( java.lang.Iterable < ? > it ) { if ( it != null ) { it.iterator ( ) ; if ( Main.doThrow ) { throw new java.lang.Error ( "" ) ; } } }

Target:
static void inlinedForNull ( java.lang.Iterable < ? > it ) { if ( it != null ) { it.iterator ( ) ; throw new java.lang.Error ( "" ) ; } }
Source:
public int checkPermission ( java.lang.String permission , int pid , int uid ) { if ( permission == null ) { return android.content.pm.PackageManager.PERMISSION_DENIED ; } return checkComponentPermission ( permission , pid , uid , ( - 1 ) ) ; }

Target:
public int checkPermission ( java.lang.String permission , int pid , int uid ) { if ( permission == null ) { return android.content.pm.PackageManager.PERMISSION_DENIED ; } return checkComponentPermission ( permission , pid , uid , ( - 1 ) , true ) ; }
Source:
public void testLenientUrlToUriNul ( ) throws java.lang.Exception { testUrlToUriMapping ( "" , "%00" , "%00" , "%00" , "%00" ) ; }

Target:
public void testLenientUrlToUriNul ( ) throws java.lang.Exception { testUrlToUriMapping ( "" , null , "%00" , "%00" , "%00" ) ; }
Source:
public synchronized boolean getLoadsImagesAutomatically ( ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract boolean getLoadsImagesAutomatically ( ) ;
Source:
java.lang.Boolean isApplication ( ) { return true ; }

Target:
public java.lang.Boolean isApplication ( ) { return true ; }
Source:
static java.lang.Object invoke ( java.lang.reflect.Proxy proxy , java.lang.reflect.ArtMethod method , java.lang.Object [ ] args ) throws java.lang.Throwable { java.lang.reflect.InvocationHandler h = proxy.h ; return h.invoke ( proxy , new java.lang.reflect.Method ( method ) , args ) ; }

Target:
private static java.lang.Object invoke ( java.lang.reflect.Proxy proxy , java.lang.reflect.Method method , java.lang.Object [ ] args ) throws java.lang.Throwable { java.lang.reflect.InvocationHandler h = proxy.h ; return h.invoke ( proxy , method , args ) ; }
Source:
public void test001_3WithJill ( ) throws java.lang.Exception { com.android.jill.JillTestTools.checkStructureWithJill ( com.android.jill.AnnotationTest.BOOTCLASSPATH , null , new java.io.File ( com.android.jill.AnnotationTest.ANNOTATION001_PATH , "Annotation2.java" ) , false ) ; }

Target:
public void test001_3WithJill ( ) throws java.lang.Exception { com.android.jill.JillTestTools.checkStructureWithJill ( null , new java.io.File ( com.android.jill.AnnotationTest.ANNOTATION001_PATH , "Annotation2.java" ) , false ) ; }
Source:
synchronized int nFileA3DGetEntryByIndex ( int fileA3D , int index ) { validate ( ) ; return rsnFileA3DGetEntryByIndex ( mContext , fileA3D , index ) ; }

Target:
synchronized int nFileA3DGetEntryByIndex ( long fileA3D , int index ) { validate ( ) ; return rsnFileA3DGetEntryByIndex ( mContext , fileA3D , index ) ; }
Source:
private void assertNoTombstone ( java.lang.String alias ) { assertTrue ( org.conscrypt.TrustedCertificateStore.isUser ( alias ) ) ; assertFalse ( org.conscrypt.TrustedCertificateStoreTest.file ( alias ) . exists ( ) ) ; }

Target:
private void assertNoTombstone ( java.lang.String alias ) { assertTrue ( org.conscrypt.TrustedCertificateStore.isUser ( alias ) ) ; assertFalse ( file ( alias ) . exists ( ) ) ; }
Source:
public boolean isPlayerConnected ( ) { if ( ( mMediaBrowser ) != null ) { return mMediaBrowser.isConnected ( ) ; } else { if ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.DEBUG ) android.util.Log.d ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.TAG , "isPlayerConnected: mMediaBrowser = null!" ) ; return false ; } }

Target:
public boolean isPlayerConnected ( ) { if ( ( mMediaBrowser ) == null ) { if ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.DEBUG ) android.util.Log.d ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.TAG , "isPlayerConnected: mMediaBrowser = null!" ) ; return false ; } return mMediaBrowser.isConnected ( ) ; }
Source:
private void writeInt ( java.io.FileOutputStream fos , int value ) throws java.io.IOException { java.nio.ByteBuffer b = java.nio.ByteBuffer.allocate ( 4 ) ; b.putInt ( value ) ; fos.write ( b.array ( ) ) ; }

Target:
private static void writeInt ( @ com.android.annotations.NonNull java.io.FileOutputStream fos , int value ) throws java.io.IOException { java.nio.ByteBuffer b = java.nio.ByteBuffer.allocate ( 4 ) ; b.putInt ( value ) ; fos.write ( b.array ( ) ) ; }
Source:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( accepted ( clazz , runtimeVisibleAnnotationsAttribute ) ) { runtimeVisibleAnnotationsAttribute.accept ( clazz , field , attributeVisitor ) ; } }

Target:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( accepted ( clazz , runtimeVisibleAnnotationsAttribute ) ) { attributeVisitor.visitRuntimeVisibleAnnotationsAttribute ( clazz , field , runtimeVisibleAnnotationsAttribute ) ; } }
Source:
public java.util.Collection < V > values ( ) { java.util.Collection < V > vs = values ; if ( vs != null ) return vs ; else return 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:
public void setCookie ( java.lang.String url , java.lang.String value , android.webkit.ValueCallback < java.lang.Boolean > callback ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract void setCookie ( java.lang.String url , java.lang.String value , android.webkit.ValueCallback < java.lang.Boolean > callback ) ;
Source:
private void bindDataToCards ( com.android.contacts.quickcontact.QuickContactActivity.Cp2DataCardModel cp2DataCardModel ) { startInteractionLoaders ( cp2DataCardModel ) ; populateContactAndAboutCard ( cp2DataCardModel , true ) ; populateSuggestionCard ( ) ; }

Target:
private void bindDataToCards ( com.android.contacts.quickcontact.QuickContactActivity.Cp2DataCardModel cp2DataCardModel ) { startInteractionLoaders ( cp2DataCardModel ) ; populateContactAndAboutCard ( cp2DataCardModel , true ) ; }
Source:
protected void renameResource ( @ com.android.annotations.NonNull java.lang.Object [ ] testData , @ com.android.annotations.NonNull java.lang.Object resource , boolean updateReferences , @ com.android.annotations.NonNull java.lang.String newName , @ com.android.annotations.NonNull java.lang.String expected ) throws java.lang.Exception { org.eclipse.core.resources.IProject project = createProject ( testData ) ; renameResource ( project , resource , updateReferences , newName , expected ) ; }

Target:
protected void renameResource ( @ com.android.annotations.NonNull java.lang.Object [ ] testData , @ com.android.annotations.NonNull java.lang.Object resource , boolean updateReferences , @ com.android.annotations.NonNull java.lang.String newName , @ com.android.annotations.NonNull java.lang.String expected ) throws java.lang.Exception { renameResource ( testData , resource , updateReferences , newName , expected , null ) ; }
Source:
void log ( java.lang.String s ) { if ( com.android.internal.telephony.ims.IsimUiccRecords.DBG ) android.util.Log.d ( com.android.internal.telephony.ims.IsimUiccRecords.LOG_TAG , ( "[ISIM] " + s ) ) ; }

Target:
protected void log ( java.lang.String s ) { if ( com.android.internal.telephony.ims.IsimUiccRecords.DBG ) android.util.Log.d ( com.android.internal.telephony.ims.IsimUiccRecords.LOG_TAG , ( "[ISIM] " + s ) ) ; }
Source:
public void stop ( ) { synchronized ( mLock ) { mRunning = false ; } clearLinkProperties ( ) ; mNetlinkSocketObserver.clearNetlinkSocket ( ) ; }

Target:
public void stop ( ) { mRunning = false ; clearLinkProperties ( ) ; mNetlinkSocketObserver.clearNetlinkSocket ( ) ; }
Source:
public void error ( java.lang.Throwable t ) { log.error ( null , "error!" , t ) ; }

Target:
public void error ( java.lang.Throwable t ) { log.error ( null , "error!" , t , null ) ; }
Source:
public final android.content.ContentProviderClient acquireContentProviderClient ( android.net.Uri uri ) { android.content.IContentProvider provider = acquireProvider ( uri ) ; if ( provider != null ) { return new android.content.ContentProviderClient ( this , provider ) ; } return null ; }

Target:
public final android.content.ContentProviderClient acquireContentProviderClient ( android.net.Uri uri ) { android.content.IContentProvider provider = acquireProvider ( uri ) ; if ( provider != null ) { return new android.content.ContentProviderClient ( this , provider , true ) ; } return null ; }
Source:
public void setAnonymousIdentity ( java.lang.String anonymousIdentity ) { setFieldValue ( android.net.wifi.WifiEnterpriseConfig.ANON_IDENTITY_KEY , anonymousIdentity , "" ) ; }

Target:
public void setAnonymousIdentity ( java.lang.String anonymousIdentity ) { setFieldValue ( android.net.wifi.WifiEnterpriseConfig.ANON_IDENTITY_KEY , anonymousIdentity ) ; }
Source:
public boolean startScan ( android.os.WorkSource workSource ) { try { mService.startScan ( workSource ) ; return true ; } catch ( android.os.RemoteException e ) { return false ; } }

Target:
public boolean startScan ( ) { try { mService.startScan ( null , null ) ; return true ; } catch ( android.os.RemoteException e ) { return false ; } }
Source:
public com.android.tools.r8.utils.AndroidApp.Builder addProgramFiles ( java.util.Collection < java.nio.file.Path > files , boolean skipDex ) throws java.io.IOException { for ( java.nio.file.Path file : files ) { addProgramFile ( file , skipDex ) ; } return this ; }

Target:
public com.android.tools.r8.utils.AndroidApp.Builder addProgramFiles ( java.util.Collection < java.nio.file.Path > files ) throws java.io.IOException { for ( java.nio.file.Path file : files ) { addProgramFile ( file ) ; } return this ; }
Source:
public boolean verify ( java.lang.String host , java.security.cert.X509Certificate certificate ) { return java.net.InetAddress.isNumeric ( host ) ? verifyIpAddress ( host , certificate ) : verifyHostName ( host , certificate ) ; }

Target:
private boolean verify ( java.lang.String host , java.security.cert.X509Certificate certificate ) { return java.net.InetAddress.isNumeric ( host ) ? verifyIpAddress ( host , certificate ) : verifyHostName ( host , certificate ) ; }
Source:
public java.lang.String getTargetHashString ( ) { if ( ( mTarget ) != null ) { return mTarget.hashString ( ) ; } if ( ( mProperties ) != null ) { return mProperties.getProperty ( ProjectProperties.PROPERTY_TARGET ) ; } return null ; }

Target:
public java.lang.String getTargetHashString ( ) { if ( ( mTarget ) != null ) { return mTarget.hashString ( ) ; } return mProperties.getProperty ( ProjectProperties.PROPERTY_TARGET ) ; }
Source:
private static java.util.Properties createSystemProperties ( ) { java.util.Properties p = new java.lang.System.PropertiesWithNonOverrideableDefaults ( java.lang.System.unchangeableSystemProperties ) ; p.put ( "os.arch" , Libcore.os.uname ( ) . machine ) ; p.put ( "java.io.tmpdir" , "/tmp" ) ; return p ; }

Target:
private static java.util.Properties createSystemProperties ( ) { java.util.Properties p = new java.lang.System.PropertiesWithNonOverrideableDefaults ( java.lang.System.unchangeableSystemProperties ) ; p.put ( "java.io.tmpdir" , "/tmp" ) ; return p ; }
Source:
public com.android.tools.lint.client.api.Configuration getConfiguration ( com.android.tools.lint.detector.api.Project project ) { return this . getConfiguration ( project ) ; }

Target:
public com.android.tools.lint.client.api.Configuration getConfiguration ( com.android.tools.lint.detector.api.Project project ) { return this . getConfiguration ( this , project ) ; }
Source:
private void assertChecksumEquals ( int expected , short actual ) { assertEquals ( java.lang.Integer.toHexString ( expected ) , java.lang.Integer.toHexString ( ( actual & 65535 ) ) ) ; }

Target:
private void assertChecksumEquals ( int expected , short actual ) { org.junit.Assert.assertEquals ( java.lang.Integer.toHexString ( expected ) , java.lang.Integer.toHexString ( ( actual & 65535 ) ) ) ; }
Source:
java.lang.String getBuildToolsVersion ( ) { getBuildTools ( ) . getRevision ( ) ; }

Target:
java.lang.String getBuildToolsVersion ( ) { return getBuildTools ( ) . getRevision ( ) . toString ( ) ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { art.Main.bindAgentJNIForClass ( Main.class ) ; Main.doTest ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.doTest ( ) ; }
Source:
public static com.android.jack.Options buildCommandLineArgs ( @ javax.annotation.Nonnull java.io.File [ ] filesOrSourcelists ) throws java.io.IOException { return com.android.jack.TestTools.buildCommandLineArgs ( null , null , filesOrSourcelists ) ; }

Target:
public static com.android.jack.Options buildCommandLineArgs ( @ javax.annotation.Nonnull java.io.File [ ] filesOrSourcelists ) throws java.io.IOException { return com.android.jack.TestTools.buildCommandLineArgs ( null , filesOrSourcelists ) ; }
Source:
private static boolean checkHardwareTypeSkipTest ( java.lang.String hardwareTypeString ) { return ( ( hardwareTypeString.contains ( "android.hardware.type.watch" ) ) || ( hardwareTypeString.contains ( "android.hardware.type.television" ) ) ) || ( android.theme.cts.ThemeHostTest.mVrHeadset ) ; }

Target:
private static boolean checkHardwareTypeSkipTest ( java.lang.String hardwareTypeString ) { return ( hardwareTypeString.contains ( "android.hardware.type.watch" ) ) || ( hardwareTypeString.contains ( "android.hardware.type.television" ) ) ; }
Source:
private static java.lang.String escapeXml ( @ com.android.annotations.NonNull java.lang.String unescaped ) { java.lang.String escaped = com.google.common.xml.XmlEscapers.xmlAttributeEscaper ( ) . escape ( unescaped ) ; assert unescaped.equals ( com.android.build.gradle.tasks.annotations.Extractor.unescapeXml ( escaped ) ) : ( unescaped + " to " ) + escaped ; return escaped ; }

Target:
private static java.lang.String escapeXml ( @ com.android.annotations.NonNull java.lang.String unescaped ) { return com.google.common.xml.XmlEscapers.xmlAttributeEscaper ( ) . escape ( unescaped ) ; }
Source:
public void testBroken ( ) throws java.lang.Exception { assertEquals ( ( "broken.xml:6: Warning: Unexpected text found in layout file: \"ImageButton " + ( "android:id=\"@+id/android_logo2\" android:layout_width=\"wrap_content\"" + " android:layout_heigh...\"" ) ) , lintProject ( "res/layout/broken.xml" ) ) ; }

Target:
public void testBroken ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/broken.xml:6: Warning: Unexpected text found in layout file: \"ImageButton android:id=\"@+id/android_logo2\" android:layout_width=\"wrap_content\" android:layout_heigh...\" [ExtraText]\n" + ( ( ( " <Button android:text=\"Button\" android:id=\"@+id/button2\" android:layout_width=\"wrap_content\" android:layout_height=\"wrap_content\"></Button>\n" + " ^\n" ) + "0 errors, 1 warnings\n" ) + "" ) ) , lintProject ( "res/layout/broken.xml" ) ) ; }
Source:
public void exit ( ) { sendBackgroundScanFailedToAllAndClear ( WifiScanner.REASON_UNSPECIFIED , "Scan was interrupted" ) ; sendHotlistFailedToAllAndClear ( WifiScanner.REASON_UNSPECIFIED , "Scan was interrupted" ) ; mScannerImpl.cleanup ( ) ; }

Target:
public void exit ( ) { sendBackgroundScanFailedToAllAndClear ( WifiScanner.REASON_UNSPECIFIED , "Scan was interrupted" ) ; mScannerImpl.cleanup ( ) ; }
Source:
public java.lang.String getMessage ( ) { return ( ( "Missing requirement for Java source version " + ( javaVersion ) ) + " support: " ) + ( getCause ( ) . getMessage ( ) ) ; }

Target:
public java.lang.String getMessage ( ) { return ( ( "Missing requirement for Java source version " + ( javaVersion.toString ( ) ) ) + " support: " ) + ( getCause ( ) . getMessage ( ) ) ; }
Source:
abstract int socketGetOption ( int opt , java.lang.Object iaContainerObj ) throws java.net.SocketException ;

Target:
abstract java.lang.Object socketGetOption ( int opt ) throws java.net.SocketException ;
Source:
private void releaseWakeLock ( ) { synchronized ( mPartialWakeLock ) { if ( mPartialWakeLock.isHeld ( ) ) { log ( "releaseWakeLock" ) ; mPartialWakeLock.release ( ) ; } } }

Target:
private void releaseWakeLock ( ) { if ( ( mPartialWakeLock ) != null ) { synchronized ( mPartialWakeLock ) { if ( mPartialWakeLock.isHeld ( ) ) { log ( "releaseWakeLock" ) ; mPartialWakeLock.release ( ) ; } } } }
Source:
public void reset ( ) { destroyAllSessions ( ) ; android.autofillservice.cts.AutoFillServiceTestCase.sReplier.reset ( ) ; android.autofillservice.cts.InstrumentedAutoFillService.resetStaticState ( ) ; android.autofillservice.cts.AuthenticationActivity.resetStaticState ( ) ; }

Target:
public void reset ( ) { android.autofillservice.cts.AutoFillServiceTestCase.sReplier.reset ( ) ; }
Source:
public void testRefactor1_noreferences ( ) throws java.lang.Exception { renamePackage ( com.android.ide.eclipse.adt.internal.refactorings.core.TEST_PROJECT , false , false , "my.pkg.name" , ( "CHANGES:\n" + ( "-------\n" + "* Rename package 'com.example.refactoringtest' to 'my.pkg.name'" ) ) ) ; }

Target:
public void testRefactor1_noreferences ( ) throws java.lang.Exception { renamePackage ( com.android.ide.eclipse.adt.internal.refactorings.core.TEST_PROJECT , false , false , "my.pkg.name" , ( "CHANGES:\n" + ( "-------\n" + "* Rename package 'com.example.refactoringtest' to 'my.pkg.name'" ) ) , false ) ; }