auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private com.android.bluetooth.gatt.AdvertiseClient getAdvertiseClient ( int advertiserId ) { for ( com.android.bluetooth.gatt.AdvertiseClient client : mAdvertiseClients ) { if ( ( client.advertiserId ) == advertiserId ) { return client ; } } return null ; }

Target:
public com.android.bluetooth.gatt.AdvertiseClient getAdvertiseClient ( int advertiserId ) { for ( com.android.bluetooth.gatt.AdvertiseClient client : mAdvertiseClients ) { if ( ( client.advertiserId ) == advertiserId ) { return client ; } } return null ; }
Source:
public java.lang.String getDescriptor ( ) { if ( isClosure ( ) ) { char [ ] array = descriptor.toCharArray ( ) ; array [ 0 ] = 'L' ; return new java.lang.String ( array ) ; } return descriptor ; }

Target:
public java.lang.String getDescriptor ( ) { return descriptor ; }
Source:
public void copyFrom ( java.lang.Object array ) { android.os.Trace.traceBegin ( RenderScript.TRACE_TAG , "copyFrom" ) ; copyFromUnchecked ( array , validateObjectIsPrimitiveArray ( array , true ) , java.lang.reflect.Array.getLength ( array ) ) ; android.os.Trace.traceEnd ( RenderScript.TRACE_TAG ) ; }

Target:
public void copyFrom ( java.lang.Object array ) { try { android.os.Trace.traceBegin ( RenderScript.TRACE_TAG , "copyFrom" ) ; copyFromUnchecked ( array , validateObjectIsPrimitiveArray ( array , true ) , java.lang.reflect.Array.getLength ( array ) ) ; } finally { android.os.Trace.traceEnd ( RenderScript.TRACE_TAG ) ; } }
Source:
public void testVersion14 ( ) { android.renderscript.cts.ScriptC_set_target_api_14 test14 = new android.renderscript.cts.ScriptC_set_target_api_14 ( mRS , mRes , R.raw.set_target_api_14 ) ; test14.invoke_check ( 14 ) ; waitForMessage ( ) ; checkForErrors ( ) ; }

Target:
public void testVersion14 ( ) { android.renderscript.cts.ScriptC_set_target_api_14 test14 = new android.renderscript.cts.ScriptC_set_target_api_14 ( mRS ) ; test14.invoke_check ( 14 ) ; waitForMessage ( ) ; checkForErrors ( ) ; }
Source:
private java.lang.ThreadGroup [ ] allGroups ( java.lang.ThreadGroup parent ) { int count = parent.activeGroupCount ( ) ; java.lang.ThreadGroup [ ] all = new java.lang.ThreadGroup [ count ] ; parent.enumerate ( all , true ) ; return all ; }

Target:
private static java.lang.ThreadGroup [ ] allGroups ( java.lang.ThreadGroup parent ) { int count = parent.activeGroupCount ( ) ; java.lang.ThreadGroup [ ] all = new java.lang.ThreadGroup [ count ] ; parent.enumerate ( all , true ) ; return all ; }
Source:
public abstract void writeTo ( com.google.protobuf.nano.CodedOutputByteBufferNano output ) throws java.io.IOException ;

Target:
public void writeTo ( com.google.protobuf.nano.CodedOutputByteBufferNano output ) throws java.io.IOException { }
Source:
public static void run ( ) throws java.lang.Exception { art.Main.bindAgentJNIForClass ( art.Test910.class ) ; art.Test910.doTest ( ) ; }

Target:
public static void run ( ) throws java.lang.Exception { art.Test910.doTest ( ) ; }
Source:
public void test_unblockWithJoinWithSource ( ) throws java.lang.Exception { setup ( true ) ; try { key.unblock ( java.net.Inet4Address.getByName ( "127.0.0.2" ) ) ; } catch ( java.lang.IllegalStateException expected ) { } }

Target:
public void test_unblockWithJoinWithSource ( ) throws java.lang.Exception { setup ( true ) ; try { key.unblock ( java.net.Inet4Address.getByName ( "127.0.0.2" ) ) ; fail ( ) ; } catch ( java.lang.IllegalStateException expected ) { } }
Source:
public void out ( @ com.android.annotations.Nullable java.lang.String line ) { if ( line != null ) { if ( logger != null ) { logger.info ( line ) ; } } }

Target:
public void out ( @ com.android.annotations.Nullable java.lang.String line ) { if ( line != null ) { logger.info ( line ) ; } }
Source:
public static native byte [ ] SSL_get_npn_negotiated_protocol ( int sslNativePointer ) ;

Target:
public static native byte [ ] SSL_get_npn_negotiated_protocol ( long sslNativePointer ) ;
Source:
public boolean isBondingInitiatedLocally ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) return false ; return service.isBondingInitiatedLocally ( device ) ; }

Target:
public boolean isBondingInitiatedLocally ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) { return false ; } return service.isBondingInitiatedLocally ( device ) ; }
Source:
public synchronized void setRenderPriority ( android.webkit.WebSettings.RenderPriority priority ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract void setRenderPriority ( android.webkit.WebSettings.RenderPriority priority ) ;
Source:
public static int $noinline$doubleConditionEqualZero ( double d ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( d > 42.0 ) != false ? 13 : 54 ; }

Target:
public static int $noinline$doubleConditionEqualZero ( double d ) { return ( d > 42.0 ) != false ? 13 : 54 ; }
Source:
private void addNewIncomingCall ( boolean isSpam ) { java.lang.String callerId = ( isSpam ) ? "+1-661-778-3020" : "+44 (0) 20 7031 3000" ; connectionTag = com.android.dialer.simulator.impl.SimulatorSimCallManager.addNewIncomingCall ( context , callerId , SimulatorSimCallManager.CALL_TYPE_RTT ) ; }

Target:
public void addNewIncomingCall ( boolean isSpam ) { java.lang.String callerId = ( isSpam ) ? "+1-661-778-3020" : "+44 (0) 20 7031 3000" ; connectionTag = com.android.dialer.simulator.impl.SimulatorSimCallManager.addNewIncomingCall ( context , callerId , SimulatorSimCallManager.CALL_TYPE_RTT ) ; }
Source:
public com.android.dx.cf.direct.DirectClassFile call ( ) throws java.lang.Exception { com.android.dx.cf.direct.DirectClassFile cf = com.android.dx.command.dexer.Main.parseClass ( name , bytes ) ; return cf ; }

Target:
public com.android.dx.cf.direct.DirectClassFile call ( ) throws java.lang.Exception { com.android.dx.cf.direct.DirectClassFile cf = parseClass ( name , bytes ) ; return cf ; }
Source:
public org.objectweb.asm.AnnotationVisitor visitAnnotationDefault ( ) { org.objectweb.asm.AnnotationVisitor av = mv.visitAnnotationDefault ( ) ; return av == null ? av : new org.objectweb.asm.commons.RemappingAnnotationAdapter ( av , remapper ) ; }

Target:
public org.objectweb.asm.AnnotationVisitor visitAnnotationDefault ( ) { org.objectweb.asm.AnnotationVisitor av = super . visitAnnotationDefault ( ) ; return av == null ? av : new org.objectweb.asm.commons.RemappingAnnotationAdapter ( av , remapper ) ; }
Source:
public static void addDeviceChangeListener ( com.android.ddmlib.AndroidDebugBridge.IDeviceChangeListener listener ) { synchronized ( com.android.ddmlib.AndroidDebugBridge.sLock ) { if ( ( com.android.ddmlib.AndroidDebugBridge.sDeviceListeners.contains ( listener ) ) == false ) { com.android.ddmlib.AndroidDebugBridge.sDeviceListeners.add ( listener ) ; } } }

Target:
public static void addDeviceChangeListener ( com.android.ddmlib.AndroidDebugBridge.IDeviceChangeListener listener ) { synchronized ( com.android.ddmlib.AndroidDebugBridge.sLock ) { if ( ! ( com.android.ddmlib.AndroidDebugBridge.sDeviceListeners.contains ( listener ) ) ) { com.android.ddmlib.AndroidDebugBridge.sDeviceListeners.add ( listener ) ; } } }
Source:
final java.lang.String getMethodNameInternal ( ) { com.android.dex.Dex dex = declaringClassOfOverriddenMethod.getDex ( ) ; int nameIndex = dex.nameIndexFromMethodIndex ( dexMethodIndex ) ; return declaringClassOfOverriddenMethod.getDexCacheString ( dex , nameIndex ) ; }

Target:
final native java.lang.String getMethodNameInternal ( ) ;
Source:
public void error ( java.lang.String tag , java.lang.String message , java.lang.Throwable throwable ) { }

Target:
public void error ( java.lang.String tag , java.lang.String message , java.lang.Object data ) { }
Source:
public static android.support.v8.renderscript.ScriptIntrinsicYuvToRGB create ( android.support.v8.renderscript.RenderScript rs , android.support.v8.renderscript.Element e ) { int id = rs.nScriptIntrinsicCreate ( 6 , e.getID ( rs ) ) ; android.support.v8.renderscript.ScriptIntrinsicYuvToRGB si = new android.support.v8.renderscript.ScriptIntrinsicYuvToRGB ( id , rs ) ; return si ; }

Target:
public static android.support.v8.renderscript.ScriptIntrinsicYuvToRGB create ( android.support.v8.renderscript.RenderScript rs , android.support.v8.renderscript.Element e ) { long id = rs.nScriptIntrinsicCreate ( 6 , e.getID ( rs ) ) ; android.support.v8.renderscript.ScriptIntrinsicYuvToRGB si = new android.support.v8.renderscript.ScriptIntrinsicYuvToRGB ( id , rs ) ; return si ; }
Source:
public void onFullResult ( android.net.wifi.ScanResult fullScanResult ) { android.util.Log.e ( com.android.server.wifi.WifiStateMachine.TAG , ( "WifiScanListener onFullResult " + ( fullScanResult.toString ( ) ) ) ) ; }

Target:
public void onFullResult ( android.net.wifi.ScanResult fullScanResult ) { }
Source:
public boolean isOffloadedFilteringSupported ( ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) return false ; int val = service.getNumOfOffloadedScanFilterSupported ( ) ; return val >= ( com.android.bluetooth.btservice.AdapterService.MIN_OFFLOADED_FILTERS ) ; }

Target:
public boolean isOffloadedFilteringSupported ( ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) { return false ; } int val = service.getNumOfOffloadedScanFilterSupported ( ) ; return val >= ( com.android.bluetooth.btservice.AdapterService.MIN_OFFLOADED_FILTERS ) ; }
Source:
void tearDown ( ) { BRANCH ( ( ( 39808.0 - ( cts ) ) - ( dev ) ) ) ; mNm.setInterruptionFilter ( NotificationManager.INTERRUPTION_FILTER_ALL ) ; mNm.cancelAll ( ) ; deleteChannels ( ) ; com.android.cts.verifier.notifications.MockListener.getInstance ( ) . resetData ( ) ; }

Target:
protected void tearDown ( ) { mNm.setInterruptionFilter ( NotificationManager.INTERRUPTION_FILTER_ALL ) ; mNm.cancelAll ( ) ; deleteChannels ( ) ; com.android.cts.verifier.notifications.MockListener.getInstance ( ) . resetData ( ) ; }
Source:
native void rsnScriptSetVarD ( int con , int id , int slot , double val ) ;

Target:
native void rsnScriptSetVarD ( long con , long id , int slot , double val ) ;
Source:
public static com.android.ide.common.resources.ResourceUrl create ( @ com.android.annotations.NonNull com.android.resources.ResourceType type , @ com.android.annotations.NonNull java.lang.String name , boolean framework , boolean create ) { return new com.android.ide.common.resources.ResourceUrl ( type , name , framework , create ) ; }

Target:
public static com.android.ide.common.resources.ResourceUrl create ( @ com.android.annotations.NonNull com.android.resources.ResourceType type , @ com.android.annotations.NonNull java.lang.String name , boolean framework , boolean create ) { return new com.android.ide.common.resources.ResourceUrl ( type , name , framework , create , false ) ; }
Source:
private libcore.java.security.TestKeyStore.Builder addSubjectAltName ( com.android.org.bouncycastle.asn1.x509.GeneralName generalName ) { subjectAltNames.add ( generalName ) ; return this ; }

Target:
public libcore.java.security.TestKeyStore.Builder addSubjectAltName ( com.android.org.bouncycastle.asn1.x509.GeneralName generalName ) { subjectAltNames.add ( generalName ) ; return this ; }
Source:
public void callSessionMultipartyStateChanged ( boolean isMultiParty ) throws android.os.RemoteException { mListener.callSessionMultipartyStateChanged ( isMultiParty ) ; }

Target:
public void callSessionMultipartyStateChanged ( boolean isMultiParty ) { try { mListener.callSessionMultipartyStateChanged ( isMultiParty ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public boolean hasSameBehavior ( java.lang.Object a , java.lang.Object b ) { return a.equals ( b ) ; }

Target:
public boolean hasSameBehavior ( java.lang.Object a , java.lang.Object b ) { return a == b ; }
Source:
public void setParent ( com.android.voicemail.impl.mail.Part parent ) throws com.android.voicemail.impl.mail.MessagingException { this . mParent = parent ; }

Target:
public void setParent ( com.android.voicemail.impl.mail.Part parent ) throws com.android.voicemail.impl.mail.MessagingException { this . parent = parent ; }
Source:
public void visitElement ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.XmlContext context , @ com.android.annotations.NonNull org.w3c.dom.Element element ) { context.report ( com.android.tools.lint.checks.DeprecationDetector.ISSUE , element , context.getLocation ( element ) , java.lang.String.format ( "`%1$s` is deprecated" , element.getTagName ( ) ) , null ) ; }

Target:
public void visitElement ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.XmlContext context , @ com.android.annotations.NonNull org.w3c.dom.Element element ) { context.report ( com.android.tools.lint.checks.DeprecationDetector.ISSUE , element , context.getLocation ( element ) , java.lang.String.format ( "`%1$s` is deprecated" , element.getTagName ( ) ) ) ; }
Source:
public java.lang.String getIdentity ( ) { return getFieldValue ( android.net.wifi.WifiEnterpriseConfig.IDENTITY_KEY , "" ) ; }

Target:
public java.lang.String getIdentity ( ) { return getFieldValue ( android.net.wifi.WifiEnterpriseConfig.IDENTITY_KEY ) ; }
Source:
public android.net.IpSecManager.UdpEncapsulationSocket openUdpEncapsulationSocket ( ) throws android.net.IpSecManager.ResourceUnavailableException , java.io.IOException { return new android.net.IpSecManager.UdpEncapsulationSocket ( mService , 0 ) ; }

Target:
public android.net.IpSecManager.UdpEncapsulationSocket openUdpEncapsulationSocket ( ) throws android.net.IpSecManager.ResourceUnavailableException , java.io.IOException { return new android.net.IpSecManager.UdpEncapsulationSocket ( mService ) ; }
Source:
public void addOutput ( @ javax.annotation.Nonnull byte [ ] data , int offset , int length ) { outRedirectStream.println ( new java.lang.String ( java.util.Arrays.copyOfRange ( data , offset , ( offset + length ) ) ) ) ; }

Target:
public void addOutput ( @ javax.annotation.Nonnull byte [ ] data , int offset , int length ) { out.println ( new java.lang.String ( java.util.Arrays.copyOfRange ( data , offset , ( offset + length ) ) ) ) ; }
Source:
public void callSessionMergeStarted ( com.android.ims.internal.IImsCallSession session , com.android.ims.internal.IImsCallSession newSession , com.android.ims.ImsCallProfile profile ) { android.util.Log.d ( com.android.ims.internal.ImsCallSession.TAG , "callSessionMergeStarted" ) ; }

Target:
public void callSessionMergeStarted ( com.android.ims.internal.IImsCallSession newSession , com.android.ims.ImsCallProfile profile ) { android.util.Log.d ( com.android.ims.internal.ImsCallSession.TAG , "callSessionMergeStarted" ) ; }
Source:
void turnOffIms ( int sessionId ) throws android.os.RemoteException ;

Target:
void turnOffIms ( ) throws android.os.RemoteException ;
Source:
public static void sort ( long [ ] a ) { java.util.DualPivotQuicksort.sort ( a ) ; }

Target:
public static void sort ( long [ ] a ) { java.util.DualPivotQuicksort.sort ( a , 0 , ( ( a.length ) - 1 ) , null , 0 , 0 ) ; }
Source:
private static boolean shouldPrefix ( java.lang.String typeName ) { return ( ( typeName.startsWith ( "java/" ) ) || ( typeName.startsWith ( "sun/" ) ) ) && ( ! ( com.google.devtools.build.android.desugar.CoreLibraryRewriter.except ( typeName ) ) ) ; }

Target:
static boolean shouldPrefix ( java.lang.String typeName ) { return ( ( typeName.startsWith ( "java/" ) ) || ( typeName.startsWith ( "sun/" ) ) ) && ( ! ( com.google.devtools.build.android.desugar.CoreLibraryRewriter.except ( typeName ) ) ) ; }
Source:
void removeDc ( com.android.internal.telephony.dataconnection.DataConnection dc ) { mDcListActiveByCid.remove ( dc.mCid ) ; mDcListAll.remove ( dc ) ; }

Target:
void removeDc ( com.android.internal.telephony.dataconnection.DataConnection dc ) { synchronized ( mDcListAll ) { mDcListActiveByCid.remove ( dc.mCid ) ; mDcListAll.remove ( dc ) ; } }
Source:
private void updateCall ( com.android.server.telecom.Call call ) { updateCall ( call , false ) ; }

Target:
private void updateCall ( com.android.server.telecom.Call call ) { updateCall ( call , false , false ) ; }
Source:
private void refresh ( ) { com.android.traceur.Receiver.updateTracing ( this , false ) ; com.android.traceur.Receiver.updateQs ( this ) ; }

Target:
private void refresh ( ) { com.android.traceur.Receiver.updateTracing ( this , false ) ; }
Source:
public void onServiceConnected ( android.content.ComponentName className , android.os.IBinder service ) { if ( android.bluetooth.BluetoothPbap.DBG ) android.bluetooth.BluetoothPbap.log ( "Proxy object connected" ) ; mService = IBluetoothPbap.Stub.asInterface ( service ) ; if ( ( mServiceListener ) != null ) { mServiceListener.onServiceConnected ( this ) ; } }

Target:
public void onServiceConnected ( android.content.ComponentName className , android.os.IBinder service ) { android.bluetooth.BluetoothPbap.log ( "Proxy object connected" ) ; mService = IBluetoothPbap.Stub.asInterface ( service ) ; if ( ( mServiceListener ) != null ) { mServiceListener.onServiceConnected ( this ) ; } }
Source:
void addOptionInstance ( com.google.devtools.common.options.ParsedOptionDescription parsedOption , com.google.devtools.common.options.OptionDefinition implicitDependant , com.google.devtools.common.options.OptionDefinition expandedFrom , java.util.List < java.lang.String > warnings ) { }

Target:
void addOptionInstance ( com.google.devtools.common.options.ParsedOptionDescription parsedOption , java.util.List < java.lang.String > warnings ) { }
Source:
static boolean native_rectStaysRect ( int native_object ) { android.graphics.Matrix_Delegate d = android.graphics.Matrix_Delegate.sManager.getDelegate ( native_object ) ; if ( d == null ) { return true ; } return ( ( d.computeTypeMask ( ) ) & ( android.graphics.Matrix_Delegate.kRectStaysRect_Mask ) ) != 0 ; }

Target:
static boolean native_rectStaysRect ( long native_object ) { android.graphics.Matrix_Delegate d = android.graphics.Matrix_Delegate.sManager.getDelegate ( native_object ) ; if ( d == null ) { return true ; } return ( ( d.computeTypeMask ( ) ) & ( android.graphics.Matrix_Delegate.kRectStaysRect_Mask ) ) != 0 ; }
Source:
public static void computeAbs ( android.renderscript.cts.TestAbs.ArgumentsIntUint args ) { args.out = java.lang.Math.abs ( args.inN ) ; }

Target:
public static void computeAbs ( android.renderscript.cts.TestAbs.ArgumentsIntUint args ) { args.out = java.lang.Math.abs ( args.inV ) ; }
Source:
public void test_getSession ( ) throws java.security.NoSuchAlgorithmException { javax.net.ssl.SSLEngine sse = getEngine ( ) ; try { assertNotNull ( sse.getSession ( ) ) ; } catch ( java.lang.Exception ex ) { fail ( ( "Unexpected exception " + ex ) ) ; } }

Target:
public void test_getSession ( ) throws java.lang.Exception { javax.net.ssl.SSLEngine sse = getEngine ( ) ; assertNotNull ( sse.getSession ( ) ) ; }
Source:
public synchronized void setTextZoom ( int textZoom ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract void setTextZoom ( int textZoom ) ;
Source:
public void unplug ( long batteryUptime , long batteryRealtime ) { mUnpluggedCount = mCount = mPluggedCount ; }

Target:
public void unplug ( long batteryUptime , long batteryRealtime ) { mUnpluggedCount = mPluggedCount ; mCount.set ( mPluggedCount ) ; }
Source:
public void addAddress ( android.net.LinkAddress address ) { try { mService.addAddressToTunnelInterface ( mResourceId , address ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public void addAddress ( android.net.LinkAddress address ) throws java.io.IOException { try { mService.addAddressToTunnelInterface ( mResourceId , address ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public com.android.dx.merge.SortableType adjust ( com.android.dx.merge.SortableType sortableType ) { return new com.android.dx.merge.SortableType ( sortableType.getDex ( ) , sortableType.getIndexMap ( ) , adjust ( sortableType.getClassDef ( ) ) ) ; }

Target:
public com.android.dx.merge.SortableType adjust ( com.android.dx.merge.SortableType sortableType ) { return new com.android.dx.merge.SortableType ( sortableType.getDex ( ) , adjust ( sortableType.getClassDef ( ) ) ) ; }
Source:
public synchronized boolean hasCookies ( boolean privateBrowsing ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract boolean hasCookies ( boolean privateBrowsing ) ;
Source:
public static com.android.dialer.historyitemactions.HistoryItemActionBottomSheet show ( android.content.Context context , com.android.dialer.historyitemactions.HistoryItemBottomSheetHeaderInfo historyItemBottomSheetHeaderInfo , java.util.List < com.android.dialer.historyitemactions.HistoryItemActionModule > modules , com.android.dialer.glidephotomanager.GlidePhotoManager glidePhotoManager ) { com.android.dialer.historyitemactions.HistoryItemActionBottomSheet sheet = new com.android.dialer.historyitemactions.HistoryItemActionBottomSheet ( context , historyItemBottomSheetHeaderInfo , modules , glidePhotoManager ) ; sheet.show ( ) ; return sheet ; }

Target:
public static com.android.dialer.historyitemactions.HistoryItemActionBottomSheet show ( android.content.Context context , com.android.dialer.historyitemactions.HistoryItemBottomSheetHeaderInfo historyItemBottomSheetHeaderInfo , java.util.List < com.android.dialer.historyitemactions.HistoryItemActionModule > modules ) { com.android.dialer.historyitemactions.HistoryItemActionBottomSheet sheet = new com.android.dialer.historyitemactions.HistoryItemActionBottomSheet ( context , historyItemBottomSheetHeaderInfo , modules ) ; sheet.show ( ) ; return sheet ; }
Source:
public static void assertLongEquals ( 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 boolean isConnected ( int sessionId , int callSessionType , int callType ) { return false ; }

Target:
public boolean isConnected ( int callSessionType , int callType ) { return false ; }
Source:
public void testConstructor_IllegalAliases_Initial ( ) { try { new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mockChar" , new java.lang.String [ ] { "mock" , "-123" } ) ; } catch ( java.nio.charset.IllegalCharsetNameException e ) { fail ( "Should not throw IllegalArgumentException!" ) ; } }

Target:
public void testConstructor_IllegalAliases_Initial ( ) { try { new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mockChar" , new java.lang.String [ ] { "mock" , "-123" } ) ; fail ( ) ; } catch ( java.nio.charset.IllegalCharsetNameException e ) { } }
Source:
public com.google.common.collect.ImmutableList < com.android.manifmerger.Actions.NodeRecord > getNodeRecords ( org.w3c.dom.Element element ) { com.android.manifmerger.XmlNode.NodeKey nodeKey = XmlNode.NodeKey.fromXml ( element ) ; return mRecords.containsKey ( nodeKey ) ? mRecords.get ( nodeKey ) . getNodeRecords ( ) : com.google.common.collect.ImmutableList.< com.android.manifmerger.Actions.NodeRecord > of ( ) ; }

Target:
public com.google.common.collect.ImmutableList < com.android.manifmerger.Actions.NodeRecord > getNodeRecords ( com.android.manifmerger.XmlNode.NodeKey key ) { return mRecords.containsKey ( key ) ? mRecords.get ( key ) . getNodeRecords ( ) : com.google.common.collect.ImmutableList.< com.android.manifmerger.Actions.NodeRecord > of ( ) ; }
Source:
static void nativeSetLocalMatrix ( int native_shader , int native_skiaShader , int matrix_instance ) { android.graphics.Shader_Delegate shaderDelegate = android.graphics.Shader_Delegate.sManager.getDelegate ( native_shader ) ; if ( shaderDelegate == null ) { return ; } shaderDelegate.mLocalMatrix = android.graphics.Matrix_Delegate.getDelegate ( matrix_instance ) ; }

Target:
static void nativeSetLocalMatrix ( long native_shader , long native_skiaShader , long matrix_instance ) { android.graphics.Shader_Delegate shaderDelegate = android.graphics.Shader_Delegate.sManager.getDelegate ( native_shader ) ; if ( shaderDelegate == null ) { return ; } shaderDelegate.mLocalMatrix = android.graphics.Matrix_Delegate.getDelegate ( matrix_instance ) ; }
Source:
public static void computeClz ( android.renderscript.cts.TestClz.ArgumentsUintUint args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( int ) ( java.lang.Integer.numberOfLeadingZeros ( args.inValue ) ) ) ; }

Target:
public static void computeClz ( android.renderscript.cts.TestClz.ArgumentsUintUint args ) { args.out = ( ( int ) ( java.lang.Integer.numberOfLeadingZeros ( args.inValue ) ) ) ; }
Source:
public void visitBaseType ( char descriptor ) { return ; }

Target:
public void visitBaseType ( char descriptor ) { }
Source:
private static java.lang.Object unmaskNull ( java.lang.Object key ) { return key == ( java.util.IdentityHashMap.NULL_KEY ) ? null : key ; }

Target:
static final java.lang.Object unmaskNull ( java.lang.Object key ) { return key == ( java.util.IdentityHashMap.NULL_KEY ) ? null : key ; }
Source:
public static long [ ] copyOf ( long [ ] original , int newLength ) { if ( newLength < 0 ) { throw new java.lang.NegativeArraySizeException ( ) ; } return java.util.Arrays.copyOfRange ( original , 0 , newLength ) ; }

Target:
public static int [ ] copyOf ( int [ ] original , int newLength ) { if ( newLength < 0 ) { throw new java.lang.NegativeArraySizeException ( java.lang.Integer.toString ( newLength ) ) ; } return java.util.Arrays.copyOfRange ( original , 0 , newLength ) ; }
Source:
public int queryCallBarringForServiceClass ( int cbType , int serviceClass ) throws android.os.RemoteException { return - 1 ; }

Target:
public int queryCallBarringForServiceClass ( int cbType , int serviceClass ) throws android.os.RemoteException { return this . queryCallBarringForServiceClass ( cbType , serviceClass ) ; }
Source:
public android.icu.impl.UResource.TableSink getOrCreateTableSink ( int index , int initialSize ) { return null ; }

Target:
public android.icu.impl.UResource.TableSink getOrCreateTableSink ( int index ) { return null ; }
Source:
public boolean isContextSwitch ( ) { return ( mMethodData.getId ( ) ) < 0 ; }

Target:
public boolean isContextSwitch ( ) { return ( mMethodData.getId ( ) ) == ( - 1 ) ; }
Source:
protected boolean isInvalidOperatorNumeric ( java.lang.String operatorNumeric ) { return ( ( operatorNumeric == null ) || ( ( operatorNumeric.length ( ) ) < 5 ) ) || ( operatorNumeric.startsWith ( com.android.internal.telephony.ServiceStateTracker.INVALID_MCC ) ) ; }

Target:
private boolean isInvalidOperatorNumeric ( java.lang.String operatorNumeric ) { return ( ( operatorNumeric == null ) || ( ( operatorNumeric.length ( ) ) < 5 ) ) || ( operatorNumeric.startsWith ( com.android.internal.telephony.ServiceStateTracker.INVALID_MCC ) ) ; }
Source:
public void setActiveDevice ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hearingaid.HearingAidService service = getService ( ) ; if ( service == null ) { return ; } service.setActiveDevice ( device ) ; }

Target:
public boolean setActiveDevice ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hearingaid.HearingAidService service = getService ( ) ; if ( service == null ) { return false ; } return service.setActiveDevice ( device ) ; }
Source:
public void testVP8EncodeDecodeVideoFromBufferToSurface720p ( ) throws java.lang.Throwable { setParameters ( 1280 , 720 , 6000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 ) ; android.media.cts.EncodeDecodeTest.BufferToSurfaceWrapper.runTest ( this ) ; }

Target:
public void testVP8EncodeDecodeVideoFromBufferToSurface720p ( ) throws java.lang.Throwable { setParameters ( 1280 , 720 , 6000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 , true , true ) ; android.media.cts.EncodeDecodeTest.BufferToSurfaceWrapper.runTest ( this ) ; }
Source:
public java.util.List < com.android.tools.lint.client.api.JavaParser.ResolvedAnnotation > getAnnotations ( @ com.android.annotations.NonNull com.android.tools.lint.client.api.JavaParser.ResolvedField field ) { com.android.tools.lint.ExternalAnnotationRepository.FieldInfo f = findField ( field ) ; if ( f == null ) { return null ; } return f.annotations ; }

Target:
public java.util.List < com.android.tools.lint.client.api.JavaParser.ResolvedAnnotation > getAnnotations ( @ com.android.annotations.NonNull com.android.tools.lint.client.api.JavaParser.ResolvedField field ) { com.android.tools.lint.ExternalAnnotationRepository.FieldInfo f = findField ( field ) ; if ( f == null ) { return null ; } return f.getAnnotations ( ) ; }
Source:
void libToLib ( @ javax.annotation.Nonnull java.util.List < java.io.File > in , @ javax.annotation.Nonnull java.io.File out , boolean zipFiles ) throws java.lang.Exception ;

Target:
void libToLib ( @ javax.annotation.Nonnull java.io.File in , @ javax.annotation.Nonnull java.io.File out , boolean zipFiles ) throws java.lang.Exception ;
Source:
com.android.server.telecom.ConnectionServiceFocusManager create ( com.android.server.telecom.ConnectionServiceFocusManager.CallsManagerRequester requester , android.os.Looper looper ) ;

Target:
com.android.server.telecom.ConnectionServiceFocusManager create ( com.android.server.telecom.ConnectionServiceFocusManager.CallsManagerRequester requester ) ;
Source:
public javax.crypto.MacSpi getSpi ( ) { return getSpi ( null ) ; }

Target:
private javax.crypto.MacSpi getSpi ( ) { return getSpi ( null ) ; }
Source:
public boolean startTrace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField type ) { return markIfNecessary ( type ) ; }

Target:
public boolean startTrace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField field ) { return markIfNecessary ( field ) ; }
Source:
public void setJavaCompilerTask ( @ com.android.annotations.NonNull com.android.build.gradle.internal.scope.AndroidTask < ? extends org.gradle.api.tasks.compile.AbstractCompile > javaCompileTask ) { this . javaCompilerTask = javaCompileTask ; }

Target:
void setJavaCompilerTask ( @ com.android.annotations.NonNull com.android.build.gradle.internal.scope.AndroidTask < ? extends org.gradle.api.tasks.compile.AbstractCompile > javaCompileTask ) ;
Source:
int getModuleCount ( ) { int moduleCount = 0 ; for ( com.android.tools.gradle.eclipse.ImportModule module : mModules ) { if ( ! ( module.isReplacedWithDependency ( ) ) ) { moduleCount ++ ; } } return moduleCount ; }

Target:
int getModuleCount ( ) { int moduleCount = 0 ; if ( ( mModules ) != null ) { for ( com.android.tools.gradle.eclipse.ImportModule module : mModules ) { if ( ! ( module.isReplacedWithDependency ( ) ) ) { moduleCount ++ ; } } } return moduleCount ; }
Source:
public void severe ( java.lang.String msg ) { if ( ( java.util.logging.Level.SEVERE.intValue ( ) ) < ( levelValue ) ) { return ; } log ( java.util.logging.Level.SEVERE , msg ) ; }

Target:
public void severe ( java.lang.String msg ) { log ( java.util.logging.Level.SEVERE , msg ) ; }
Source:
public static native java.lang.ClassLoader getClosestUserClassLoader ( java.lang.ClassLoader bootstrap , java.lang.ClassLoader system ) ;

Target:
public static native java.lang.ClassLoader getClosestUserClassLoader ( ) ;
Source:
void libToLib ( @ javax.annotation.Nonnull java.util.List < java.io.File > in , @ javax.annotation.Nonnull java.io.File out , boolean zipFiles ) throws java.lang.Exception ;

Target:
void libToLib ( @ javax.annotation.Nonnull java.io.File [ ] in , @ javax.annotation.Nonnull java.io.File out , boolean zipFiles ) throws java.lang.Exception ;
Source:
public com.google.common.base.CharMatcher precomputed ( ) { return this ; }

Target:
public final com.google.common.base.CharMatcher precomputed ( ) { return this ; }
Source:
boolean run ( java.lang.String actionName , vogar.target.Profiler profiler , java.lang.String [ ] args ) ;

Target:
boolean run ( vogar.target.Profiler profiler ) ;
Source:
public void setText ( java.text.CharacterIterator newText ) { if ( newText == null ) { throw new java.lang.NullPointerException ( "newText == null" ) ; } newText.current ( ) ; wrapped.setText ( newText ) ; }

Target:
public void setText ( java.text.CharacterIterator newText ) { newText.current ( ) ; wrapped.setText ( newText ) ; }
Source:
public int limit ( ) { checkValid ( ) ; return data [ ( ( pos ) + 2 ) ] ; }

Target:
public int limit ( ) { return data [ ( ( pos ) + 2 ) ] ; }
Source:
public void removeSessionCookies ( android.webkit.ValueCallback < java.lang.Boolean > callback ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract void removeSessionCookies ( android.webkit.ValueCallback < java.lang.Boolean > callback ) ;
Source:
java.net.InetAddress [ ] lookupAllHostAddr ( java.lang.String hostname ) throws java.net.UnknownHostException ;

Target:
java.net.InetAddress [ ] lookupAllHostAddr ( java.lang.String hostname , int netId ) throws java.net.UnknownHostException ;
Source:
private java.lang.Object readResolve ( ) { java.util.EnumSet < E > result = java.util.EnumSet.noneOf ( elementType ) ; for ( java.lang.Enum e : elements ) result.add ( ( ( E ) ( e ) ) ) ; return result ; }

Target:
private java.lang.Object readResolve ( ) { java.util.EnumSet < E > result = java.util.EnumSet.noneOf ( elementType ) ; for ( java.lang.Enum < ? > e : elements ) result.add ( ( ( E ) ( e ) ) ) ; return result ; }
Source:
public void setTTYMode ( int ttyMode , android.os.Message onComplete ) { if ( ( mImsPhone ) != null ) { mImsPhone.setTTYMode ( ttyMode , onComplete ) ; } }

Target:
public void setTTYMode ( int ttyMode , android.os.Message onComplete ) { super . setTTYMode ( ttyMode , onComplete ) ; if ( ( mImsPhone ) != null ) { mImsPhone.setTTYMode ( ttyMode , onComplete ) ; } }
Source:
public java.io.PrintStream getPrintStream ( ) { if ( ( printer ) == null ) { printer = new java.io.PrintStream ( getOutputStream ( ) ) ; } return printer ; }

Target:
public synchronized java.io.PrintStream getPrintStream ( ) { if ( ( printer ) == null ) { printer = new java.io.PrintStream ( getOutputStream ( ) ) ; } return printer ; }
Source:
public java.lang.String toString ( ) { return ( "name" + ": " ) + ( value ) ; }

Target:
public java.lang.String toString ( ) { return ( "name" + ": " ) + ( value.toString ( ) ) ; }
Source:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) throws java.lang.Exception { java.util.Set < com.android.jack.ir.sourceinfo.FileSourceInfo > infos = session.getSourceInfoFactory ( ) . getFileSourceInfos ( ) ; for ( com.android.jack.ir.sourceinfo.FileSourceInfo info : infos ) { info.setFileName ( "" ) ; } }

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) throws java.lang.Exception { for ( com.android.jack.ir.sourceinfo.FileSourceInfo info : session.getSourceInfoFactory ( ) . getFileSourceInfos ( ) ) { info.setFileName ( "" ) ; } }
Source:
private static android.net.Uri getBaseUri ( android.content.Context context ) { return ( com.android.dialer.blocking.FilteredNumberCompat.useNewFiltering ( context ) ) && ( ( android.os.Build.VERSION.SDK_INT ) >= ( android.os.Build.VERSION_CODES.N ) ) ? android.provider.BlockedNumberContract.BlockedNumbers.CONTENT_URI : com.android.dialer.database.FilteredNumberContract.FilteredNumber.CONTENT_URI ; }

Target:
private static android.net.Uri getBaseUri ( android.content.Context context ) { return com.android.dialer.blocking.FilteredNumberCompat.useNewFiltering ( context ) ? android.provider.BlockedNumberContract.BlockedNumbers.CONTENT_URI : com.android.dialer.database.FilteredNumberContract.FilteredNumber.CONTENT_URI ; }
Source:
public void bindProgramFragment ( android.renderscript.ProgramFragment p ) { validate ( ) ; nContextBindProgramFragment ( safeID ( p ) ) ; }

Target:
public void bindProgramFragment ( android.renderscript.ProgramFragment p ) { validate ( ) ; nContextBindProgramFragment ( ( ( int ) ( safeID ( p ) ) ) ) ; }
Source:
public android.app.Notification.Builder addAction ( android.app.Notification.Action action ) { mActions.add ( action ) ; return this ; }

Target:
public android.app.Notification.Builder addAction ( android.app.Notification.Action action ) { if ( action != null ) { mActions.add ( action ) ; } return this ; }
Source:
public void callSessionUssdMessageReceived ( com.android.ims.internal.IImsCallSession session , int mode , java.lang.String ussdMessage ) { if ( ( mListener ) != null ) { mListener.callSessionUssdMessageReceived ( this , mode , ussdMessage ) ; } }

Target:
public void callSessionUssdMessageReceived ( int mode , java.lang.String ussdMessage ) { if ( ( mListener ) != null ) { mListener.callSessionUssdMessageReceived ( this , mode , ussdMessage ) ; } }
Source:
public void setCropRect ( android.graphics.Rect cropRect ) { cropRect = new android.graphics.Rect ( cropRect ) ; cropRect.intersect ( 0 , 0 , getWidth ( ) , getHeight ( ) ) ; mCropRect = cropRect ; }

Target:
public void setCropRect ( android.graphics.Rect cropRect ) { if ( cropRect != null ) { cropRect = new android.graphics.Rect ( cropRect ) ; cropRect.intersect ( 0 , 0 , getWidth ( ) , getHeight ( ) ) ; } mCropRect = cropRect ; }
Source:
private void badCallActionHelper ( android.net.Uri handle , int expectedCode ) { android.content.Intent intent = new android.content.Intent ( android.content.Intent.ACTION_ALARM_CHANGED , handle ) ; int result = processIntent ( intent , true ) ; assertEquals ( expectedCode , result ) ; verifyNoBroadcastSent ( ) ; verifyNoCallPlaced ( ) ; }

Target:
private void badCallActionHelper ( android.net.Uri handle , int expectedCode ) { android.content.Intent intent = new android.content.Intent ( android.content.Intent.ACTION_ALARM_CHANGED , handle ) ; int result = processIntent ( intent , true ) ; org.junit.Assert.assertEquals ( expectedCode , result ) ; verifyNoBroadcastSent ( ) ; verifyNoCallPlaced ( ) ; }
Source:
public void testInitialize_success ( ) throws java.lang.Exception { executeAndValidateInitializationSequence ( false , false , false ) ; }

Target:
public void testInitialize_success ( ) throws java.lang.Exception { executeAndValidateInitializationSequence ( false , false , false , false ) ; }
Source:
native void rsnAllocationData2D ( int con , int id , int xoff , int yoff , int mip , int face , int w , int h , byte [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , float [ ] d , int sizeBytes ) ;
Source:
public com.android.tools.r8.utils.AndroidApp.Builder addLibraryFiles ( java.util.Collection < java.nio.file.Path > files ) throws java.io.IOException { for ( java.nio.file.Path file : files ) { addFile ( file , ClassKind.LIBRARY ) ; } return this ; }

Target:
public com.android.tools.r8.utils.AndroidApp.Builder addLibraryFiles ( java.util.Collection < java.nio.file.Path > files ) throws java.io.IOException { for ( java.nio.file.Path file : files ) { addFile ( file , ClassKind.LIBRARY , false ) ; } return this ; }
Source:
public void test_blockWithJoinWithSource ( ) throws java.lang.Exception { init ( true ) ; try { key.block ( sourceAddress ) ; } catch ( java.lang.IllegalStateException expected ) { } }

Target:
public void test_blockWithJoinWithSource ( ) throws java.lang.Exception { init ( true ) ; try { key.block ( sourceAddress ) ; fail ( ) ; } catch ( java.lang.IllegalStateException expected ) { } }
Source:
java.lang.String getName ( ) { synchronized ( mObject ) { return mName ; } }

Target:
java.lang.String getName ( ) { return mName ; }
Source:
native void rsnAllocationRead ( int con , int id , int [ ] d ) ;

Target:
native void rsnAllocationRead ( long con , long id , long [ ] d ) ;
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 ; return vs != null ? vs : ( values = new Values ( this ) ) ; }
Source:
public boolean unregisterApp ( android.bluetooth.BluetoothHidDeviceAppConfiguration config ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) android.util.Log.v ( com.android.bluetooth.hid.HidDevService.BluetoothHidDeviceBinder.TAG , "unregisterApp()" ) ; com.android.bluetooth.hid.HidDevService service = getService ( ) ; if ( service == null ) { return false ; } return service.unregisterApp ( config ) ; }

Target:
public boolean unregisterApp ( android.bluetooth.BluetoothHidDeviceAppConfiguration config ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDevService.BluetoothHidDeviceBinder.TAG , "unregisterApp()" ) ; } com.android.bluetooth.hid.HidDevService service = getService ( ) ; if ( service == null ) { return false ; } return service.unregisterApp ( config ) ; }
Source:
public static long LongRemainder ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 8L ) ; b = Main.$inline$long ( 3L ) ; c = a % b ; return c ; }

Target:
public static long LongRemainder ( ) { long a ; long b ; long c ; a = 8L ; b = 3L ; c = a % b ; return c ; }
Source:
public static int $noinline$NegSub2 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } int temp = arg1 - arg2 ; return ( - temp ) | ( - temp ) ; }

Target:
public static int $noinline$NegSub2 ( int arg1 , int arg2 ) { int temp = arg1 - arg2 ; return ( - temp ) | ( - temp ) ; }
Source:
private void expectNetworkStatsUidDetail ( android.net.NetworkStats detail ) throws java.lang.Exception { expectNetworkStatsUidDetail ( detail , new java.lang.String [ 0 ] , new android.net.NetworkStats ( 0L , 0 ) ) ; }

Target:
private void expectNetworkStatsUidDetail ( android.net.NetworkStats detail ) throws java.lang.Exception { expectNetworkStatsUidDetail ( detail , new android.net.NetworkStats ( 0L , 0 ) ) ; }
Source:
public void initRttCallScreenDelegate ( android.content.Context context , com.android.incallui.rtt.protocol.RttCallScreen rttCallScreen ) { this . appContext = context.getApplicationContext ( ) ; this . rttCallScreen = rttCallScreen ; }

Target:
public void initRttCallScreenDelegate ( com.android.incallui.rtt.protocol.RttCallScreen rttCallScreen ) { this . rttCallScreen = rttCallScreen ; }
Source:
public static void setUp ( android.telecom.PhoneAccountHandle phoneAccountHandle , android.telecom.ConnectionService connectionService ) throws java.lang.Exception { synchronized ( android.telecom.cts.CtsConnectionService.sLock ) { if ( ( android.telecom.cts.CtsConnectionService.sConnectionService ) != null ) { throw new java.lang.Exception ( "Mock ConnectionService exists. Failed to call tearDown()." ) ; } android.telecom.cts.CtsConnectionService.sConnectionService = connectionService ; android.telecom.cts.CtsConnectionService.mIsServiceUnbound = false ; } }

Target:
public static void setUp ( android.telecom.PhoneAccountHandle phoneAccountHandle , android.telecom.ConnectionService connectionService ) throws java.lang.Exception { synchronized ( android.telecom.cts.CtsConnectionService.sLock ) { if ( ( android.telecom.cts.CtsConnectionService.sConnectionService ) != null ) { throw new java.lang.Exception ( "Mock ConnectionService exists. Failed to call tearDown()." ) ; } android.telecom.cts.CtsConnectionService.sConnectionService = connectionService ; } }
Source:
public boolean isCategory1 ( ) { switch ( basicType ) { case com.android.jack.dx.rop.type.Type.BT_CLOSURE : case com.android.jack.dx.rop.type.Type.BT_LONG : case com.android.jack.dx.rop.type.Type.BT_DOUBLE : { return false ; } } return true ; }

Target:
public boolean isCategory1 ( ) { switch ( basicType ) { case com.android.jack.dx.rop.type.Type.BT_LONG : case com.android.jack.dx.rop.type.Type.BT_DOUBLE : { return false ; } } return true ; }
Source:
public java.lang.String getValue ( java.lang.String name ) { return ( ( java.lang.String ) ( map.get ( new java.util.jar.Attributes.Name ( name ) ) ) ) ; }

Target:
public java.lang.String getValue ( java.lang.String name ) { return getValue ( new java.util.jar.Attributes.Name ( name ) ) ; }
Source:
public void testDigestFiles ( ) throws java.lang.Exception { java.util.Map < java.lang.String , java.lang.Long > checkSums = myPatch.digestFiles ( getDataDir ( ) , java.util.Collections.< java.lang.String > emptyList ( ) , com.intellij.updater.TEST_UI ) ; org.junit.Assert.assertEquals ( 9 , checkSums.size ( ) ) ; }

Target:
public void testDigestFiles ( ) throws java.lang.Exception { java.util.Map < java.lang.String , java.lang.Long > checkSums = myPatch.digestFiles ( getDataDir ( ) , java.util.Collections.< java.lang.String > emptyList ( ) , false , com.intellij.updater.TEST_UI ) ; org.junit.Assert.assertEquals ( 9 , checkSums.size ( ) ) ; }
Source:
public static double [ ] copyOf ( double [ ] original , int newLength ) { if ( newLength < 0 ) { throw new java.lang.NegativeArraySizeException ( ) ; } return java.util.Arrays.copyOfRange ( original , 0 , newLength ) ; }

Target:
public static double [ ] copyOf ( double [ ] original , int newLength ) { if ( newLength < 0 ) { throw new java.lang.NegativeArraySizeException ( java.lang.Integer.toString ( newLength ) ) ; } return java.util.Arrays.copyOfRange ( original , 0 , newLength ) ; }
Source:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface t ) throws java.lang.Exception { if ( t instanceof com.android.jack.ir.ast.JDefinedClass ) { t.removeMarker ( SwitchEnumSupport.UsedEnumField.class ) ; } }

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface t ) throws java.lang.Exception { t.removeMarker ( SwitchEnumSupport.UsedEnumField.class ) ; }
Source:
public static long $noinline$UShr0 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg > > > 0 ; }

Target:
public static long $noinline$UShr0 ( long arg ) { return arg > > > 0 ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Throwable { Main.testfindSpecial_invokeSuperBehaviour ( ) ; Main.testfindSpecial_invokeDirectBehaviour ( ) ; Main.testThrowException ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Throwable { Main.testfindSpecial_invokeSuperBehaviour ( ) ; Main.testfindSpecial_invokeDirectBehaviour ( ) ; }
Source:
public boolean isExternalCall ( ) { return ( ( android.os.Build.VERSION.SDK_INT ) >= ( android.os.Build.VERSION_CODES.N ) ) && ( hasProperty ( CallCompat.Details.PROPERTY_IS_EXTERNAL_CALL ) ) ; }

Target:
boolean isExternalCall ( ) { return hasProperty ( CallCompat.Details.PROPERTY_IS_EXTERNAL_CALL ) ; }
Source:
public boolean onCreate ( ) { com.android.email.Email.setServicesEnabledAsync ( getContext ( ) ) ; checkDatabases ( ) ; return false ; }

Target:
public boolean onCreate ( ) { checkDatabases ( ) ; com.android.email.Email.setServicesEnabledAsync ( getContext ( ) ) ; return false ; }
Source:
public javax.net.ssl.SSLParameters getSSLParameters ( ) { javax.net.ssl.SSLParameters params = super . getSSLParameters ( ) ; org.conscrypt.Platform.setEndpointIdentificationAlgorithm ( params , sslParameters.getEndpointIdentificationAlgorithm ( ) ) ; return params ; }

Target:
public javax.net.ssl.SSLParameters getSSLParameters ( ) { javax.net.ssl.SSLParameters params = super . getSSLParameters ( ) ; org.conscrypt.Platform.getSSLParameters ( params , sslParameters , this ) ; return params ; }
Source:
com.android.build.gradle.internal.dsl.File getTextOutput ( ) { return textOutput ; }

Target:
public java.io.File getTextOutput ( ) { return textOutput ; }
Source:
public void onAppStatusChanged ( android.bluetooth.BluetoothDevice pluggedDevice , android.bluetooth.BluetoothHidDeviceAppConfiguration config , boolean registered ) { android.util.Log.d ( android.bluetooth.BluetoothHidDeviceCallback.TAG , ( ( ( "onAppStatusChanged: pluggedDevice=" + pluggedDevice ) + " registered=" ) + registered ) ) ; }

Target:
public void onAppStatusChanged ( android.bluetooth.BluetoothDevice pluggedDevice , boolean registered ) { android.util.Log.d ( android.bluetooth.BluetoothHidDeviceCallback.TAG , ( ( ( "onAppStatusChanged: pluggedDevice=" + pluggedDevice ) + " registered=" ) + registered ) ) ; }
Source:
java.lang.String getName ( ) ;

Target:
public abstract java.lang.String getName ( ) ;