auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public static int $noinline$booleanFieldNotEqualOne ( ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( Main.booleanField ) == ( Main.$inline$true ( ) ) ? 13 : 54 ; }

Target:
public static int $noinline$booleanFieldNotEqualOne ( ) { return ( Main.booleanField ) == ( Main.$inline$true ( ) ) ? 13 : 54 ; }
Source:
public void registrationProgressingWithRadioTech ( int imsRadioTech ) { if ( com.android.ims.ImsManager.DBG ) { com.android.ims.ImsManager.log ( ( "registrationProgressingWithRadioTech :: imsRadioTech=" + imsRadioTech ) ) ; } if ( ( mListener ) != null ) { mListener.onImsProgressing ( ) ; } }

Target:
public void registrationProgressingWithRadioTech ( int imsRadioTech ) { if ( com.android.ims.ImsManager.DBG ) { com.android.ims.ImsManager.log ( ( "registrationProgressingWithRadioTech :: imsRadioTech=" + imsRadioTech ) ) ; } if ( ( mListener ) != null ) { mListener.onImsProgressing ( imsRadioTech ) ; } }
Source:
public void setSize ( long value ) { if ( ( value >= 0 ) && ( value <= 4294967295L ) ) { size = value ; } else { throw new java.lang.IllegalArgumentException ( ( "Bad size: " + value ) ) ; } }

Target:
public void setSize ( long value ) { size = value ; }
Source:
public void dragStart ( org.eclipse.swt.dnd.DragSourceEvent e ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.GlobalCanvasDragInfo.getInstance ( ) . startDrag ( mElements , null , null ) ; }

Target:
public void dragStart ( org.eclipse.swt.dnd.DragSourceEvent e ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.GlobalCanvasDragInfo.getInstance ( ) . startDrag ( mElements , null , null , null ) ; }
Source:
private void updateCallDetailsEntries ( com.android.dialer.calldetails.CallDetailsEntries newEntries ) { activity.setCallDetailsEntries ( newEntries ) ; activity.getAdapter ( ) . updateCallDetailsEntries ( newEntries ) ; com.android.dialer.enrichedcall.EnrichedCallComponent.get ( activity ) . getEnrichedCallManager ( ) . requestAllHistoricalData ( activity.getNumber ( ) , newEntries ) ; }

Target:
private void updateCallDetailsEntries ( com.android.dialer.calldetails.CallDetailsEntries newEntries ) { activity.setCallDetailsEntries ( newEntries ) ; com.android.dialer.enrichedcall.EnrichedCallComponent.get ( activity ) . getEnrichedCallManager ( ) . requestAllHistoricalData ( activity.getNumber ( ) , newEntries ) ; }
Source:
public static native long SSL_SESSION_get_time ( int sslSessionNativePointer ) ;

Target:
public static native long SSL_SESSION_get_time ( long sslSessionNativePointer ) ;
Source:
public static void setNeedRefresh ( ) { synchronized ( org.apache.harmony.security.fortress.Services.providers ) { org.apache.harmony.security.fortress.Services.needRefresh = true ; } }

Target:
public static synchronized void setNeedRefresh ( ) { org.apache.harmony.security.fortress.Services.needRefresh = true ; }
Source:
protected void onResume ( ) { super . onResume ( ) ; init ( ) ; }

Target:
protected void onResume ( ) { super . onResume ( ) ; if ( null == ( mRS ) ) { init ( ) ; } }
Source:
public void traceInstructions ( boolean enable ) { }

Target:
public void traceInstructions ( boolean on ) { }
Source:
public abstract com.android.sdklib.ISystemImage.LocationType getLocationType ( ) ;

Target:
public com.android.sdklib.ISystemImage.LocationType getLocationType ( ) ;
Source:
public void testConnectViaProxyUsingProxyArg ( ) throws java.lang.Exception { testConnectViaProxy ( libcore.java.net.URLConnectionTest.ProxyConfig.CREATE_ARG ) ; }

Target:
public void testConnectViaProxyUsingProxyArg ( ) throws java.lang.Exception { testConnectViaProxy ( libcore.java.net.URLConnectionTest.ProxyConfig.CREATE_ARG , "http://android.com/foo" , "android.com" ) ; }
Source:
public void configure ( org.bouncycastle.jcajce.provider.config.ConfigurableProvider provider ) { provider.addAlgorithm ( "KeyFactory.X.509" , "org.bouncycastle.jcajce.provider.asymmetric.x509.KeyFactory" ) ; provider.addAlgorithm ( "Alg.Alias.KeyFactory.X509" , "X.509" ) ; provider.addAlgorithm ( "CertificateFactory.X.509" , "org.bouncycastle.jcajce.provider.asymmetric.x509.CertificateFactory" ) ; provider.addAlgorithm ( "Alg.Alias.CertificateFactory.X509" , "X.509" ) ; }

Target:
public void configure ( org.bouncycastle.jcajce.provider.config.ConfigurableProvider provider ) { provider.addAlgorithm ( "CertificateFactory.X.509" , "org.bouncycastle.jcajce.provider.asymmetric.x509.CertificateFactory" ) ; provider.addAlgorithm ( "Alg.Alias.CertificateFactory.X509" , "X.509" ) ; }
Source:
protected ECPoint.F2m [ ] getPreComp ( ) { return preComp ; }

Target:
public ECPoint.F2m [ ] getPreComp ( ) { return preComp ; }
Source:
public native void doAbort ( ) ;

Target:
public native void doAbort ( java.lang.String msg ) ;
Source:
public void warning ( java.lang.String tag , java.lang.String message ) { java.lang.String description = describe ( tag , message ) ; com.android.ide.eclipse.adt.AdtPlugin.log ( IStatus.WARNING , "%1$s: %2$s" , mName , description ) ; addWarning ( description ) ; }

Target:
public void warning ( java.lang.String tag , java.lang.String message ) { java.lang.String description = describe ( message ) ; com.android.ide.eclipse.adt.AdtPlugin.log ( IStatus.WARNING , "%1$s: %2$s" , mName , description ) ; addWarning ( tag , description ) ; }
Source:
public void setBcc ( java.util.ArrayList < android.text.util.Rfc822Token > bcc ) { this . mBcc = bcc ; }

Target:
public void setBcc ( java.util.ArrayList < android.text.util.Rfc822Token > bcc ) { this . bcc = bcc ; }
Source:
void updateInCallNotification ( ) { if ( com.android.internal.telephony.PhoneFactory.getDefaultPhone ( ) . getPhoneName ( ) . equals ( "CDMA" ) ) { mPhone.getEnhancedVoicePrivacy ( android.os.Message.obtain ( mEnhancedVPHandler , com.android.phone.NotificationMgr.ENHANCED_VP_VALUE_RETURN ) ) ; } else { updateInCallNotification ( false ) ; } }

Target:
void updateInCallNotification ( ) { updateInCallNotification ( false ) ; }
Source:
public boolean startTrace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField field ) { if ( field.isExternal ( ) ) { return false ; } return markIfNecessary ( field ) ; }

Target:
public boolean startTrace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField field ) { return markIfNecessary ( field ) ; }
Source:
public com.android.ahat.DocString render ( com.android.tools.perflib.heap.Instance element ) { if ( element == null ) { return com.android.ahat.DocString.text ( "..." ) ; } else { return com.android.ahat.Value.render ( element ) ; } }

Target:
public com.android.ahat.DocString render ( com.android.tools.perflib.heap.Instance element ) { return com.android.ahat.Value.render ( element ) ; }
Source:
public boolean put ( K key , V value ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
V output ( K key , V value ) { return value ; }
Source:
public float getFloat ( int i ) { if ( ! ( memoryRef.isAccessible ) ) { throw new java.lang.IllegalStateException ( "buffer is inaccessible" ) ; } return getFloat ( ix ( checkIndex ( i , SizeOf.FLOAT ) ) ) ; }

Target:
public final float getFloat ( int i ) { if ( ! ( memoryRef.isAccessible ) ) { throw new java.lang.IllegalStateException ( "buffer is inaccessible" ) ; } return getFloat ( ix ( checkIndex ( i , SizeOf.FLOAT ) ) ) ; }
Source:
public void testWildcardMatchingSubstring ( ) { assertTrue ( verifier.verifyHostName ( "b.c.d" , "b*.c.d" ) ) ; assertTrue ( verifier.verifyHostName ( "imap.google.com" , "ima*.google.com" ) ) ; assertFalse ( verifier.verifyHostName ( "imap.google.com.au" , "ima*.google.com" ) ) ; }

Target:
public void testWildcardMatchingSubstring ( ) { assertTrue ( verifier.verifyHostName ( "b.c.d" , "b*.c.d" ) ) ; assertTrue ( verifier.verifyHostName ( "imap.google.com" , "ima*.google.com" ) ) ; }
Source:
public final native void set ( java.lang.Object ... args ) ;

Target:
public final native java.lang.Object get ( java.lang.Object ... args ) ;
Source:
public static float FloatAddition ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 1.0F ) ; b = Main.$inline$float ( 2.0F ) ; c = a + b ; return c ; }

Target:
public static float FloatAddition ( ) { float a ; float b ; float c ; a = 1.0F ; b = 2.0F ; c = a + b ; return c ; }
Source:
native boolean convolveTest ( int X , int Y , byte [ ] input , byte [ ] output , float [ ] coeffs , boolean is3x3 ) ;

Target:
native boolean convolveTest ( java.lang.String path , int X , int Y , byte [ ] input , byte [ ] output , float [ ] coeffs , boolean is3x3 ) ;
Source:
native void rsnAllocationData3D ( int con , int id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , byte [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , int [ ] d , int sizeBytes ) ;
Source:
public int doHash ( java.lang.Object o ) { return o.hashCode ( ) ; }

Target:
protected int doHash ( java.lang.Object o ) { return o.hashCode ( ) ; }
Source:
public void conference ( ) throws com.android.internal.telephony.CallStateException { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "conference: not possible in CDMA" ) ; }

Target:
public void conference ( ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "conference: not possible in CDMA" ) ; }
Source:
public void enter ( ) { if ( com.android.server.wifi.SupplicantStateTracker.DBG ) android.util.Log.d ( com.android.server.wifi.SupplicantStateTracker.TAG , ( ( getName ( ) ) + "\n" ) ) ; if ( mNetworksDisabledDuringConnect ) { mWifiConfigManager.enableAllNetworks ( ) ; mNetworksDisabledDuringConnect = false ; } }

Target:
public void enter ( ) { if ( com.android.server.wifi.SupplicantStateTracker.DBG ) android.util.Log.d ( com.android.server.wifi.SupplicantStateTracker.TAG , ( ( getName ( ) ) + "\n" ) ) ; if ( mNetworksDisabledDuringConnect ) { mNetworksDisabledDuringConnect = false ; } }
Source:
public java.lang.String getMessage ( ) { return ( ( getCause ( ) . getMessage ( ) ) + " needed by property " ) + ( prop.getName ( ) ) ; }

Target:
public java.lang.String getMessage ( ) { return ( ( getCause ( ) . getMessage ( ) ) + " needed by property " ) + ( prop ) ; }
Source:
public static android.telephony.MbmsStreamingManager create ( android.content.Context context , android.telephony.mbms.MbmsStreamingManagerCallback callback , int subscriptionId , android.os.Handler handler ) throws android.telephony.mbms.MbmsException { android.telephony.MbmsStreamingManager manager = new android.telephony.MbmsStreamingManager ( context , callback , subscriptionId , handler ) ; manager.bindAndInitialize ( ) ; return manager ; }

Target:
public static android.telephony.MbmsStreamingManager create ( android.content.Context context , android.telephony.mbms.MbmsStreamingManagerCallback callback , int subscriptionId ) throws android.telephony.mbms.MbmsException { android.telephony.MbmsStreamingManager manager = new android.telephony.MbmsStreamingManager ( context , callback , subscriptionId ) ; manager.bindAndInitialize ( ) ; return manager ; }
Source:
com.google.devtools.common.options.OptionDocumentationCategory documentationCategory ( ) default OptionDocumentationCategory.UNCATEGORIZED ;

Target:
com.google.devtools.common.options.OptionDocumentationCategory documentationCategory ( ) ;
Source:
java.lang.String getHostName ( boolean check ) { if ( ( holder ( ) . getHostName ( ) ) == null ) { holder ( ) . hostName = java.net.InetAddress.getHostFromNameService ( this , check ) ; } return holder ( ) . getHostName ( ) ; }

Target:
public java.lang.String getHostName ( ) { if ( ( holder ( ) . getHostName ( ) ) == null ) { holder ( ) . hostName = java.net.InetAddress.getHostFromNameService ( this ) ; } return holder ( ) . getHostName ( ) ; }
Source:
private static native java.lang.String [ ] followReferences ( int heapFilter , java.lang.Class < ? > klassFilter , java.lang.Object initialObject , int stopAfter , int followSet , java.lang.Object jniRef ) ;

Target:
public static native java.lang.String [ ] followReferences ( int heapFilter , java.lang.Class < ? > klassFilter , java.lang.Object initialObject , int stopAfter , int followSet , java.lang.Object jniRef ) ;
Source:
public void testGetCollationElementIteratorCharacterIterator_de_DE ( ) throws java.lang.Exception { assertGetCollationElementIteratorCharacterIterator ( new java.util.Locale ( "de" , "DE" , "" ) , "æb" , 0 , 1 , 1 , 1 , 1 , 2 ) ; }

Target:
public void testGetCollationElementIteratorCharacterIterator_de_DE ( ) throws java.lang.Exception { assertGetCollationElementIteratorCharacterIterator ( new java.util.Locale ( "de" , "DE" , "" ) , "æb" , 0 , 1 , 1 , 2 ) ; }
Source:
public boolean isEditXmlModelPending ( ) { return mIsEditXmlModelPending ; }

Target:
public boolean isEditXmlModelPending ( ) { return ( mIsEditXmlModelPending ) > 0 ; }
Source:
public void cancelAllNotifications ( java.lang.String pkg ) { checkIncomingCall ( pkg ) ; cancelAllNotificationsInt ( pkg , 0 , Notification.FLAG_FOREGROUND_SERVICE ) ; }

Target:
public void cancelAllNotifications ( java.lang.String pkg ) { checkIncomingCall ( pkg ) ; cancelAllNotificationsInt ( pkg , 0 , Notification.FLAG_FOREGROUND_SERVICE , true ) ; }
Source:
public static int $noinline$intSubAddSimplifyLeft ( int x , int y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } int sub = x - y ; return sub + y ; }

Target:
public static int $noinline$intSubAddSimplifyLeft ( int x , int y ) { int sub = x - y ; return sub + y ; }
Source:
public boolean needEclipseWorkspace ( ) { if ( ( mWorkspaceLocation ) != null ) { return false ; } for ( com.android.tools.gradle.eclipse.EclipseProject project : mProjectMap.values ( ) ) { if ( project.needWorkspaceLocation ( ) ) { return true ; } } return false ; }

Target:
public java.lang.String toString ( ) { return getMessage ( ) ; }
Source:
public void dispose ( ) { synchronized ( com.android.internal.telephony.PhoneProxy.lockForRadioTechnologyChange ) { super . dispose ( ) ; m3gppSMS.dispose ( ) ; mIccRecords.unregisterForNewSms ( this ) ; } }

Target:
public void dispose ( ) { synchronized ( com.android.internal.telephony.PhoneProxy.lockForRadioTechnologyChange ) { super . dispose ( ) ; m3gppSMS.dispose ( ) ; } }
Source:
public boolean isPageComplete ( ) { return mShown ; }

Target:
public boolean isPageComplete ( ) { return ( mShown ) && ( super . isPageComplete ( ) ) ; }
Source:
public void testConstructor_NullStartDate_Failure ( ) throws java.lang.Exception { try { new android.security.AndroidKeyPairGeneratorSpec ( getContext ( ) , android.security.AndroidKeyPairGeneratorSpecTest.TEST_ALIAS_1 , android.security.AndroidKeyPairGeneratorSpecTest.TEST_DN_1 , android.security.AndroidKeyPairGeneratorSpecTest.SERIAL_1 , null , android.security.AndroidKeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS ) ; fail ( "Should throw IllegalArgumentException when startDate is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_NullStartDate_Failure ( ) throws java.lang.Exception { try { new android.security.AndroidKeyPairGeneratorSpec ( getContext ( ) , android.security.AndroidKeyPairGeneratorSpecTest.TEST_ALIAS_1 , android.security.AndroidKeyPairGeneratorSpecTest.TEST_DN_1 , android.security.AndroidKeyPairGeneratorSpecTest.SERIAL_1 , null , android.security.AndroidKeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when startDate is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public void setChildren ( java.util.List < com.android.layoutlib.api.ViewInfo > children ) { mChildren = new java.util.ArrayList < com.android.layoutlib.api.ViewInfo > ( ) ; mChildren.addAll ( children ) ; mChildren = java.util.Collections.unmodifiableList ( mChildren ) ; }

Target:
public void setChildren ( java.util.List < com.android.layoutlib.api.ViewInfo > children ) { mChildren = java.util.Collections.unmodifiableList ( children ) ; }
Source:
private static boolean mustBeRemoved ( @ javax.annotation.CheckForNull com.android.jack.ir.ast.JClassOrInterface type ) { return ( ( type instanceof com.android.jack.ir.ast.JDefinedClassOrInterface ) && ( ! ( type.isExternal ( ) ) ) ) && ( ! ( ( ( com.android.jack.ir.ast.JNode ) ( type ) ) . containsMarker ( com.android.jack.shrob.shrink.KeepMarker.class ) ) ) ; }

Target:
protected boolean mustBeRemoved ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { return ( ! ( type.isExternal ( ) ) ) && ( ! ( ( ( com.android.jack.ir.ast.JNode ) ( type ) ) . containsMarker ( com.android.jack.shrob.shrink.KeepMarker.class ) ) ) ; }
Source:
private static native void setTag ( java.lang.Object o , long tag ) ;

Target:
public static native void setTag ( java.lang.Object o , long tag ) ;
Source:
public boolean removeAllNetworks ( ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.removeAllNetworks ( ) ; } else { if ( ! ( doBooleanCommand ( "REMOVE_NETWORK all" ) ) ) { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "Remove all networks in wpa_supplicant failed" ) ; return false ; } return true ; } }

Target:
public boolean removeAllNetworks ( ) { return mSupplicantStaIfaceHal.removeAllNetworks ( ) ; }
Source:
public void onAttachedToWindow ( ) { mFactory.startYourEngines ( false ) ; checkThread ( ) ; mAwContents.getAwContentsProxy ( ) . onAttachedToWindow ( ) ; }

Target:
public void onAttachedToWindow ( ) { mFactory.startYourEngines ( false ) ; checkThread ( ) ; mAwContents.onAttachedToWindow ( ) ; }
Source:
public static native void BN_generate_prime_ex ( long ret , int bits , boolean safe , long add , long rem , long cb ) ;

Target:
public static native void BN_generate_prime_ex ( long ret , int bits , boolean safe , long add , long rem ) ;
Source:
public void testDataPathInitiatorDirectMacNoTokenFail ( ) throws java.lang.Exception { testDataPathInitiatorUtility ( true , true , false , true ) ; }

Target:
public void testDataPathInitiatorDirectMacNoTokenFail ( ) throws java.lang.Exception { testDataPathInitiatorUtility ( true , true , false , true , false ) ; }
Source:
public void setAccessRules ( android.telephony.UiccAccessRule [ ] accessRules ) { this . accessRules = accessRules ; }

Target:
public void setAccessRules ( java.util.List < android.telephony.UiccAccessRule > accessRules ) { this . accessRules = accessRules ; }
Source:
public boolean isEarlierThan ( android.car.diagnostic.CarDiagnosticEvent otherEvent ) { otherEvent = java.util.Objects.requireNonNull ( otherEvent ) ; return ( timestamp ) < ( otherEvent.timestamp ) ; }

Target:
public boolean isEarlierThan ( android.car.diagnostic.CarDiagnosticEvent otherEvent ) { java.util.Objects.requireNonNull ( otherEvent ) ; return ( timestamp ) < ( otherEvent.timestamp ) ; }
Source:
public java.util.List < android.bluetooth.BluetoothDevice > bluetoothHidDeviceGetConnectedDevices ( ) { return com.googlecode.android_scripting.facade.bluetooth.BluetoothHidDeviceFacade.sHidDeviceProfile.getConnectedDevices ( ) ; }

Target:
public java.util.List < android.bluetooth.BluetoothDevice > bluetoothHidDeviceGetConnectedDevices ( ) { if ( ( com.googlecode.android_scripting.facade.bluetooth.BluetoothHidDeviceFacade.sHidDeviceProfile ) == null ) { return null ; } return com.googlecode.android_scripting.facade.bluetooth.BluetoothHidDeviceFacade.sHidDeviceProfile.getConnectedDevices ( ) ; }
Source:
public static native void SSL_use_PrivateKey ( int ssl , byte [ ] pkcs8EncodedPrivateKey ) ;

Target:
public static native void SSL_use_PrivateKey ( long ssl , byte [ ] pkcs8EncodedPrivateKey ) ;
Source:
static void inlinedInvokeStaticViaNonStatic ( java.lang.Iterable < ? > it ) { Main.inlinedInvokeStaticViaNonStaticHelper ( null ) ; Main.inlinedInvokeStaticViaNonStaticHelper ( it ) ; }

Target:
static void inlinedInvokeStaticViaNonStatic ( java.lang.Iterable < ? > it ) { if ( it != null ) { Main.inlinedInvokeStaticViaNonStaticHelper ( null ) ; Main.inlinedInvokeStaticViaNonStaticHelper ( it ) ; } }
Source:
public void loadResources ( ) { com.android.ddmuilib.ImageLoader loader = com.android.ddmuilib.ImageLoader.getDdmUiLibLoader ( ) ; fileImage = loader.loadImage ( "file.png" , org.eclipse.swt.widgets.Display.getDefault ( ) ) ; folderImage = loader.loadImage ( "folder.png" , org.eclipse.swt.widgets.Display.getDefault ( ) ) ; }

Target:
private void loadResources ( ) { com.android.ddmuilib.ImageLoader loader = com.android.ddmuilib.ImageLoader.getDdmUiLibLoader ( ) ; fileImage = loader.loadImage ( "file.png" , org.eclipse.swt.widgets.Display.getDefault ( ) ) ; folderImage = loader.loadImage ( "folder.png" , org.eclipse.swt.widgets.Display.getDefault ( ) ) ; }
Source:
protected void engineUpdate ( byte b ) throws java.security.SignatureException { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
protected void engineUpdate ( byte b ) throws java.security.SignatureException { }
Source:
int doPostInstall ( int status ) { if ( status != ( android.content.pm.PackageManager.INSTALL_SUCCEEDED ) ) { cleanUp ( ) ; } return status ; }

Target:
int doPostInstall ( int status , int uid ) { if ( status != ( android.content.pm.PackageManager.INSTALL_SUCCEEDED ) ) { cleanUp ( ) ; } return status ; }
Source:
public void removeMemberType ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JClassOrInterface jDeclaredType ) { int index = inners.indexOf ( jDeclaredType ) ; if ( index != ( - 1 ) ) { inners.remove ( index ) ; } }

Target:
public void removeMemberType ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JClassOrInterface jDeclaredType ) { synchronized ( inners ) { int index = inners.indexOf ( jDeclaredType ) ; if ( index != ( - 1 ) ) { inners.remove ( index ) ; } } }
Source:
public void webcamAdjustQuality ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "resolutionLevel" , description = "increasing this number provides higher resolution" ) java.lang.Integer resolutionLevel , @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "jpegQuality" , description = "a number from 0-100" ) java.lang.Integer jpegQuality ) throws java.lang.Exception { if ( ( mStreaming ) == false ) { throw new java.lang.IllegalStateException ( "Webcam not streaming." ) ; } stopStream ( ) ; releaseCamera ( ) ; openCamera ( resolutionLevel , jpegQuality ) ; startStream ( ) ; }

Target:
public void webcamAdjustQuality ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "resolutionLevel" , description = "increasing this number provides higher resolution" ) java.lang.Integer resolutionLevel , @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "jpegQuality" , description = "a number from 0-100" ) java.lang.Integer jpegQuality ) throws java.lang.Exception { if ( ! ( mStreaming ) ) { throw new java.lang.IllegalStateException ( "Webcam not streaming." ) ; } stopStream ( ) ; releaseCamera ( ) ; openCamera ( resolutionLevel , jpegQuality ) ; startStream ( ) ; }
Source:
public void testField ( ) { org.apache.harmony.crypto.tests.javax.crypto.interfaces.DHPublicKeyTest.checkDHPublicKey key = new org.apache.harmony.crypto.tests.javax.crypto.interfaces.DHPublicKeyTest.checkDHPublicKey ( ) ; assertEquals ( "Incorrect serialVersionUID" , key.getSerVerUID ( ) , ( - 6628103563352519193L ) ) ; }

Target:
public void testField ( ) { org.apache.harmony.crypto.tests.javax.crypto.interfaces.DHPublicKeyTest.checkDHPublicKey key = new org.apache.harmony.crypto.tests.javax.crypto.interfaces.DHPublicKeyTest.checkDHPublicKey ( ) ; org.junit.Assert.assertEquals ( "Incorrect serialVersionUID" , key.getSerVerUID ( ) , ( - 6628103563352519193L ) ) ; }
Source:
public java.lang.String toString ( ) { return getFolderSegment ( null ) ; }

Target:
public java.lang.String toString ( ) { return getFolderSegment ( ) ; }
Source:
public android.graphics.MaskFilter setMaskFilter ( android.graphics.MaskFilter maskfilter ) { int maskfilterNative = 0 ; if ( maskfilter != null ) { maskfilterNative = maskfilter.native_instance ; } android.graphics.Paint.native_setMaskFilter ( mNativePaint , maskfilterNative ) ; mMaskFilter = maskfilter ; return maskfilter ; }

Target:
public android.graphics.MaskFilter setMaskFilter ( android.graphics.MaskFilter maskfilter ) { long maskfilterNative = 0 ; if ( maskfilter != null ) { maskfilterNative = maskfilter.native_instance ; } android.graphics.Paint.native_setMaskFilter ( mNativePaint , maskfilterNative ) ; mMaskFilter = maskfilter ; return maskfilter ; }
Source:
public void ping ( java.lang.String app , java.lang.String version ) { doPing ( app , version ) ; }

Target:
public void ping ( java.lang.String app , java.lang.String version ) { doPing ( app , version , null ) ; }
Source:
public void testReplace_NullPointerException ( ) { try { java.util.concurrent.ConcurrentSkipListMap c = jsr166.ConcurrentSkipListMapTest.map5 ( ) ; c.replace ( null , "whatever" ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testReplace_NullPointerException ( ) { java.util.concurrent.ConcurrentSkipListMap c = jsr166.ConcurrentSkipListMapTest.map5 ( ) ; try { c.replace ( null , "whatever" ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }
Source:
public java.lang.String getMobileNetworkOperator ( ) { return ( ( mMncStr ) == null ) || ( ( mMncStr ) == null ) ? null : ( mMccStr ) + ( mMncStr ) ; }

Target:
public java.lang.String getMobileNetworkOperator ( ) { return ( ( mMccStr ) == null ) || ( ( mMncStr ) == null ) ? null : ( mMccStr ) + ( mMncStr ) ; }
Source:
public java.lang.String getCallId ( ) { return null ; }

Target:
public java.lang.String getCallId ( ) { return this . getCallId ( ) ; }
Source:
public static int p ( float arg ) { if ( arg > 5.0F ) { return 0 ; } return - 1 ; }

Target:
public static int p ( float arg ) { return arg > 5.0F ? 0 : - 1 ; }
Source:
public boolean disconnect ( android.bluetooth.BluetoothDevice device ) { if ( ( mService ) == null ) return false ; return mService.disconnect ( ) ; }

Target:
public boolean disconnect ( android.bluetooth.BluetoothDevice device ) { if ( ( mService ) == null ) return false ; return mService.disconnect ( device ) ; }
Source:
public void addPackageForDeferredDexopt ( android.content.pm.PackageParser.Package pkg ) { if ( ( mDeferredDexOpt ) == null ) { mDeferredDexOpt = new android.util.ArraySet < android.content.pm.PackageParser.Package > ( ) ; } mDeferredDexOpt.add ( pkg ) ; }

Target:
public void addPackageForDeferredDexopt ( android.content.pm.PackageParser.Package pkg ) { if ( ( mDeferredDexOpt ) == null ) { mDeferredDexOpt = new android.util.ArraySet ( ) ; } mDeferredDexOpt.add ( pkg ) ; }
Source:
android.net.Uri getResourceRef ( ) { android.content.Context context = getApplicationContext ( ) ; int resID = R.drawable.refocusimage ; android.net.Uri path = android.net.Uri.parse ( ( ( ( ( ( ( ( android.content.ContentResolver.SCHEME_ANDROID_RESOURCE ) + "://" ) + ( context.getResources ( ) . getResourcePackageName ( resID ) ) ) + '/' ) + ( context.getResources ( ) . getResourceTypeName ( resID ) ) ) + '/' ) + ( context.getResources ( ) . getResourceEntryName ( resID ) ) ) ) ; return path ; }

Target:
android.net.Uri getResourceRef ( int resID ) { android.content.Context context = getApplicationContext ( ) ; android.net.Uri path = android.net.Uri.parse ( ( ( ( ( ( ( ( android.content.ContentResolver.SCHEME_ANDROID_RESOURCE ) + "://" ) + ( context.getResources ( ) . getResourcePackageName ( resID ) ) ) + '/' ) + ( context.getResources ( ) . getResourceTypeName ( resID ) ) ) + '/' ) + ( context.getResources ( ) . getResourceEntryName ( resID ) ) ) ) ; return path ; }
Source:
synchronized void nElementGetNativeData ( int id , int [ ] elementData ) { validate ( ) ; rsnElementGetNativeData ( mContext , id , elementData ) ; }

Target:
synchronized void nElementGetNativeData ( long id , int [ ] elementData ) { validate ( ) ; rsnElementGetNativeData ( mContext , id , elementData ) ; }
Source:
boolean isAvailable ( @ org.jetbrains.annotations.NotNull com.intellij.openapi.project.Project project , @ org.jetbrains.annotations.NotNull com.intellij.compiler.options.CompilerOptionsManager.Setting setting ) ;

Target:
boolean isAvailable ( @ org.jetbrains.annotations.NotNull com.intellij.compiler.options.CompilerOptionsManager.Setting setting , @ org.jetbrains.annotations.NotNull com.intellij.openapi.project.Project project ) ;
Source:
native void rsnAllocationData1D ( int con , int id , int off , int mip , int count , short [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData1D ( long con , long id , int off , int mip , int count , long [ ] d , int sizeBytes ) ;
Source:
public void startRinging ( ) { mRinger.startRinging ( mForegroundCall ) ; }

Target:
public boolean startRinging ( ) { return mRinger.startRinging ( mForegroundCall ) ; }
Source:
public synchronized void onPlaybackStateChanged ( android.media.session.PlaybackState state ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) android.util.Log.v ( com.android.bluetooth.avrcp.Avrcp.TAG , ( "onPlaybackStateChanged: state " + ( state.toString ( ) ) ) ) ; updateCurrentMediaState ( false ) ; }

Target:
public synchronized void onPlaybackStateChanged ( android.media.session.PlaybackState state ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) android.util.Log.v ( com.android.bluetooth.avrcp.Avrcp.TAG , ( "onPlaybackStateChanged: state " + ( state.toString ( ) ) ) ) ; updateCurrentMediaState ( ) ; }
Source:
public void visitLocalVariableTableAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.LocalVariableTableAttribute localVariableTableAttribute ) { if ( ( localVariableTableAttribute.u2localVariableTableLength ) > 0 ) { localVariableTableAttribute.accept ( clazz , method , codeAttribute , attributeVisitor ) ; } }

Target:
public void visitLocalVariableTableAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.LocalVariableTableAttribute localVariableTableAttribute ) { if ( ( localVariableTableAttribute.u2localVariableTableLength ) > 0 ) { attributeVisitor.visitLocalVariableTableAttribute ( clazz , method , codeAttribute , localVariableTableAttribute ) ; } }
Source:
protected void implConfigureBlocking ( boolean blocking ) throws java.io.IOException { synchronized ( blockingLock ( ) ) { libcore.io.IoUtils.setBlocking ( fd , blocking ) ; } }

Target:
protected void implConfigureBlocking ( boolean blocking ) throws java.io.IOException { libcore.io.IoUtils.setBlocking ( fd , blocking ) ; }
Source:
private java.lang.String getCaCertField ( ) { return mEnterpriseConfig.getFieldValue ( WifiEnterpriseConfig.CA_CERT_KEY , "" ) ; }

Target:
private java.lang.String getCaCertField ( ) { return mEnterpriseConfig.getFieldValue ( WifiEnterpriseConfig.CA_CERT_KEY ) ; }
Source:
protected void visitMethod ( int type , int index ) { assert ( cstIndexMap ) != null ; constantValue = cstIndexMap.getCstMethodRef ( index ) ; }

Target:
protected void visitMethod ( int index ) { assert ( cstIndexMap ) != null ; constantValue = cstIndexMap.getCstMethodRef ( index ) ; }
Source:
private synchronized int getCurrentMergerIdx ( ) { return currentMergerIdx ; }

Target:
protected synchronized int getCurrentMergerIdx ( ) { return currentMergerIdx ; }
Source:
public java.lang.Class < ? > [ ] getExceptionTypes ( ) { return libcore.reflect.AnnotationAccess.getExceptions ( this ) ; }

Target:
public native java.lang.Class < ? > [ ] getExceptionTypes ( ) ;
Source:
int getModuleCount ( ) { int moduleCount = 0 ; if ( ( mModules ) != null ) { for ( com.android.tools.gradle.eclipse.ImportModule module : mModules ) { if ( ! ( module.isReplacedWithDependency ( ) ) ) { moduleCount ++ ; } } } return moduleCount ; }

Target:
int getModuleCount ( ) { int moduleCount = 0 ; for ( com.android.tools.gradle.eclipse.ImportModule module : mModules ) { if ( ! ( module.isReplacedWithDependency ( ) ) ) { moduleCount ++ ; } } return moduleCount ; }
Source:
java.util.List < ? extends com.android.builder.testing.api.DeviceConnector > getDevices ( ) ;

Target:
public abstract java.util.List < ? extends com.android.builder.testing.api.DeviceConnector > getDevices ( ) ;
Source:
public com.google.api.client.auth.oauth2.Credential makeCredential ( ) { com.google.gct.login.CredentialedUser activeUser = users.getActiveUser ( ) ; if ( activeUser == null ) { return null ; } else { return activeUser.getGoogleLoginState ( ) . makeCredential ( ) ; } }

Target:
public com.google.api.client.auth.oauth2.Credential makeCredential ( ) { com.google.gct.login.CredentialedUser activeUser = users.getActiveUser ( ) ; if ( activeUser == null ) { return null ; } return activeUser.getGoogleLoginState ( ) . makeCredential ( ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { java.lang.System.loadLibrary ( args [ 1 ] ) ; Main.doTest ( new Transform ( ) , new Main.TestWatcher ( ) ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main.doTest ( new Transform ( ) , new Main.TestWatcher ( ) ) ; }
Source:
private void onPageListSelected ( ) { if ( ( mInternalPageChange ) == false ) { int index = mPageList.getSelectionIndex ( ) ; if ( index >= 0 ) { displayPage ( index ) ; } } }

Target:
private void onPageListSelected ( ) { if ( ( ( mInternalPageChange ) == false ) && ( ( mPageList ) != null ) ) { int index = mPageList.getSelectionIndex ( ) ; if ( index >= 0 ) { displayPage ( index ) ; } } }
Source:
public void finalize ( ) { close ( ) ; }

Target:
public void finalize ( ) { }
Source:
private static java.lang.String presentableFileName ( final java.io.File file ) { return ( "'" + ( com.intellij.openapi.util.io.FileUtil.toSystemDependentName ( file.getPath ( ) ) ) ) + "'" ; }

Target:
private static java.lang.String presentableFileName ( @ org.jetbrains.annotations.NotNull java.io.File file ) { return ( "'" + ( com.intellij.openapi.util.io.FileUtil.toSystemDependentName ( file.getPath ( ) ) ) ) + "'" ; }
Source:
public static boolean isCTVerificationRequired ( java.lang.String hostname ) { return libcore.net.NetworkSecurityPolicy.getInstance ( ) . isCertificateTransparencyVerificationRequired ( hostname ) ; }

Target:
static boolean isCTVerificationRequired ( java.lang.String hostname ) { return libcore.net.NetworkSecurityPolicy.getInstance ( ) . isCertificateTransparencyVerificationRequired ( hostname ) ; }
Source:
public void refresh ( ) { refresh ( null ) ; }

Target:
public void refresh ( ) { refresh ( null , true ) ; }
Source:
public void visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession x , @ javax.annotation.Nonnull com.android.sched.transform.TransformRequest transformRequest ) throws java.lang.Exception { visit ( ( ( com.android.jack.ir.ast.JNode ) ( x ) ) , transformRequest ) ; }

Target:
public void visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session , @ javax.annotation.Nonnull com.android.sched.transform.TransformRequest transformRequest ) throws java.lang.Exception { visit ( ( ( com.android.jack.ir.ast.JNode ) ( session ) ) , transformRequest ) ; }
Source:
public void addPeriodicSync ( android.accounts.Account account , java.lang.String providerName , android.os.Bundle extras , long pollFrequency ) { updateOrRemovePeriodicSync ( account , providerName , extras , pollFrequency , true ) ; }

Target:
public void addPeriodicSync ( android.accounts.Account account , int userId , java.lang.String providerName , android.os.Bundle extras , long pollFrequency ) { updateOrRemovePeriodicSync ( account , userId , providerName , extras , pollFrequency , true ) ; }
Source:
void setPropertiesFromPattern ( java.lang.String pattern , int ignoreRounding ) { com.ibm.icu.impl.number.PatternString.parseToExistingProperties ( pattern , properties , ignoreRounding ) ; }

Target:
void setPropertiesFromPattern ( java.lang.String pattern , int ignoreRounding ) { if ( pattern == null ) { throw new java.lang.NullPointerException ( ) ; } com.ibm.icu.impl.number.PatternString.parseToExistingProperties ( pattern , properties , ignoreRounding ) ; }
Source:
public void timeAbsL ( int reps ) { for ( int rep = 0 ; rep < reps ; ++ rep ) { java.lang.Math.abs ( l ) ; } }

Target:
public long timeAbsL ( int reps ) { long result = l ; for ( int rep = 0 ; rep < reps ; ++ rep ) { result = java.lang.Math.abs ( l ) ; } return result ; }
Source:
public void onLoadError ( int sourceId , java.io.IOException e ) { mError = e ; }

Target:
public void onLoadError ( java.io.IOException error ) { mError = error ; }
Source:
public boolean isOpened ( int sessionId ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; return getServiceInterface ( mBinder ) . isOpened ( mSlotId , mSupportedFeature , sessionId ) ; } }

Target:
public boolean isOpened ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; return getServiceInterface ( mBinder ) . isOpened ( mSlotId , mSupportedFeature ) ; } }
Source:
public int getTargetSdkVersion ( @ com.android.annotations.NonNull java.io.File manifestFile ) { return - 1 ; }

Target:
public java.lang.Object getTargetSdkVersion ( @ com.android.annotations.NonNull java.io.File manifestFile ) { return null ; }
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.ResolvedMethod method ) { com.android.tools.lint.ExternalAnnotationRepository.MethodInfo m = findMethod ( method ) ; if ( m == null ) { return null ; } return m.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.ResolvedMethod method ) { com.android.tools.lint.ExternalAnnotationRepository.MethodInfo m = findMethod ( method ) ; if ( m == null ) { return null ; } return m.getAnnotations ( ) ; }
Source:
public void Test04 ( ) { errln ( "Test04 should not execute!" ) ; }

Target:
public void Test04 ( ) { }
Source:
public static long $noinline$AddNeg2 ( long arg1 , long arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } long temp = - arg2 ; return ( arg1 + temp ) | ( arg1 + temp ) ; }

Target:
public static long $noinline$AddNeg2 ( long arg1 , long arg2 ) { long temp = - arg2 ; return ( arg1 + temp ) | ( arg1 + temp ) ; }
Source:
private void updateButtonState ( ) { mOkButton.setEnabled ( ( ( ( ( ( com.android.uiautomator.OpenDialog.sScreenshotFile ) != null ) && ( ( com.android.uiautomator.OpenDialog.sXmlDumpFile ) != null ) ) && ( com.android.uiautomator.OpenDialog.sScreenshotFile.isFile ( ) ) ) && ( com.android.uiautomator.OpenDialog.sXmlDumpFile.isFile ( ) ) ) ) ; }

Target:
private void updateButtonState ( ) { mOkButton.setEnabled ( ( ( ( com.android.uiautomator.OpenDialog.sXmlDumpFile ) != null ) && ( com.android.uiautomator.OpenDialog.sXmlDumpFile.isFile ( ) ) ) ) ; }
Source:
protected void finalize ( ) throws java.lang.Throwable { try { android.graphics.Paint.finalizer ( mNativePaint ) ; } finally { super . finalize ( ) ; } }

Target:
protected void finalize ( ) throws java.lang.Throwable { try { android.graphics.Paint.finalizer ( mNativePaint ) ; mNativePaint = 0 ; } finally { super . finalize ( ) ; } }
Source:
public void testConstructor2NPE ( ) { try { java.lang.Integer [ ] a = null ; java.util.concurrent.atomic.AtomicReferenceArray < java.lang.Integer > aa = new java.util.concurrent.atomic.AtomicReferenceArray < java.lang.Integer > ( a ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testConstructor2NPE ( ) { try { java.lang.Integer [ ] a = null ; new java.util.concurrent.atomic.AtomicReferenceArray < java.lang.Integer > ( a ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }
Source:
public void testExecuteNullRunnable ( ) { try { java.util.concurrent.ExecutorService e = new jsr166.AbstractExecutorServiceTest.DirectExecutorService ( ) ; e.submit ( ( ( java.lang.Runnable ) ( null ) ) ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testExecuteNullRunnable ( ) { java.util.concurrent.ExecutorService e = new jsr166.AbstractExecutorServiceTest.DirectExecutorService ( ) ; try { e.submit ( ( ( java.lang.Runnable ) ( null ) ) ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }
Source:
boolean isConnected ( int sessionId , int callServiceType , int callType ) throws android.os.RemoteException ;

Target:
boolean isConnected ( int callServiceType , int callType ) throws android.os.RemoteException ;
Source:
public static void verifyGolden ( junit.framework.TestCase test , java.lang.Object object ) throws java.lang.Exception { org.apache.harmony.testframework.serialization.SerializationTest.verifyGolden ( test , object , org.apache.harmony.testframework.serialization.SerializationTest.defineComparator ( test , object ) ) ; }

Target:
public static void verifyGolden ( java.lang.Object test , java.lang.Object object ) throws java.lang.Exception { org.apache.harmony.testframework.serialization.SerializationTest.verifyGolden ( test , object , org.apache.harmony.testframework.serialization.SerializationTest.defineComparator ( test , object ) ) ; }
Source:
public static org.xmlpull.v1.XmlPullParserFactory newInstance ( ) throws org.xmlpull.v1.XmlPullParserException { return org.xmlpull.v1.XmlPullParserFactory.newInstance ( null , null ) ; }

Target:
public static org.xmlpull.v1.XmlPullParserFactory newInstance ( ) throws org.xmlpull.v1.XmlPullParserException { return new org.xmlpull.v1.XmlPullParserFactory ( ) ; }
Source:
public static long $noinline$MulPowerOfTwo128 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg * 128 ; }

Target:
public static long $noinline$MulPowerOfTwo128 ( long arg ) { return arg * 128 ; }
Source:
private boolean isValidKeyType ( java.lang.Object key ) { if ( ( key != null ) && ( keyType.isInstance ( key ) ) ) { return true ; } return false ; }

Target:
private boolean isValidKeyType ( java.lang.Object key ) { return ( key != null ) && ( keyType.isInstance ( key ) ) ; }
Source:
public int [ ] getCellBandwidths ( ) { return mCellBandwidths ; }

Target:
public int [ ] getCellBandwidths ( ) { return ( mCellBandwidths ) == null ? new int [ 0 ] : mCellBandwidths ; }
Source:
public void finalize ( ) throws java.lang.Throwable { try { android.os.IBinder operationToken = mOperationToken ; if ( operationToken != null ) { mOperationToken = null ; mKeyStore.abort ( operationToken ) ; } } finally { super . finalize ( ) ; } }

Target:
public void finalize ( ) throws java.lang.Throwable { try { android.os.IBinder operationToken = mOperationToken ; if ( operationToken != null ) { mKeyStore.abort ( operationToken ) ; } } finally { super . finalize ( ) ; } }
Source:
public void testEvaluateNetworks_emptyScanList ( ) { android.net.wifi.WifiConfiguration result = mRecommendedNetworkEvaluator.evaluateNetworks ( new java.util.ArrayList < com.android.server.wifi.ScanDetail > ( ) , null , null , false , false , null ) ; junit.framework.Assert.assertNull ( result ) ; org.mockito.Mockito.verifyZeroInteractions ( mWifiConfigManager , mNetworkScoreManager ) ; }

Target:
public void testEvaluateNetworks_emptyScanList ( ) { android.net.wifi.WifiConfiguration result = mRecommendedNetworkEvaluator.evaluateNetworks ( new java.util.ArrayList < com.android.server.wifi.ScanDetail > ( ) , null , null , false , false , null ) ; junit.framework.Assert.assertNull ( result ) ; verifyZeroInteractions ( mWifiConfigManager , mNetworkScoreManager ) ; }
Source:
private boolean isValidDevice ( android.bluetooth.BluetoothDevice device ) { if ( device == null ) return false ; if ( android.bluetooth.BluetoothAdapter.checkBluetoothAddress ( device.getAddress ( ) ) ) return true ; return false ; }

Target:
private static boolean isValidDevice ( android.bluetooth.BluetoothDevice device ) { return ( device != null ) && ( android.bluetooth.BluetoothAdapter.checkBluetoothAddress ( device.getAddress ( ) ) ) ; }
Source:
public void onSSLStateChange ( long sslSessionNativePtr , int type , int val ) { throw new java.lang.AssertionError ( "Should be handled by engine" ) ; }

Target:
public void onSSLStateChange ( int type , int val ) { throw new java.lang.AssertionError ( "Should be handled by engine" ) ; }
Source:
boolean permissionCheck ( java.util.UUID uuid ) { if ( ( isRestrictedCharUuid ( uuid ) ) && ( 0 != ( checkCallingOrSelfPermission ( com.android.bluetooth.gatt.BLUETOOTH_PRIVILEGED ) ) ) ) { return false ; } else { return true ; } }

Target:
boolean permissionCheck ( java.util.UUID uuid ) { return ! ( ( isRestrictedCharUuid ( uuid ) ) && ( 0 != ( checkCallingOrSelfPermission ( com.android.bluetooth.gatt.BLUETOOTH_PRIVILEGED ) ) ) ) ; }
Source:
public boolean isPhiUse ( ) { if ( isDef ) { return false ; } com.android.jack.ir.ast.JNode parent = getParent ( ) ; if ( parent instanceof com.android.jack.ir.ast.cfg.JPhiBlockElement ) { return true ; } else { return false ; } }

Target:
public boolean isPhiUse ( ) { if ( isDef ) { return false ; } com.android.jack.ir.ast.JNode parent = getParent ( ) ; return parent instanceof com.android.jack.ir.ast.cfg.JPhiBlockElement ; }
Source:
boolean isDiscovering ( ) { synchronized ( mObject ) { return mDiscovering ; } }

Target:
boolean isDiscovering ( ) { return mDiscovering ; }
Source:
public WifiConfiguration.Visibility getVisibility ( long age ) { if ( mConfig.isPasspoint ( ) ) { return getVisibilityByPasspointMatch ( age ) ; } else { return getVisibilityByRssi ( age ) ; } }

Target:
public WifiConfiguration.Visibility getVisibility ( long age ) { return getVisibilityByRssi ( age ) ; }
Source:
public void sendMessageWithSessionInfo ( int message , int arg ) { sendMessage ( message , arg , 0 , android.telecom.Log.createSubsession ( ) ) ; }

Target:
public void sendMessageWithSessionInfo ( int message ) { sendMessageWithSessionInfo ( message , 0 , null ) ; }
Source:
public java.lang.Void call ( ) throws java.lang.Exception { try { server.startHandshake ( ) ; assertFalse ( StandardNames.IS_RI ) ; } catch ( javax.net.ssl.SSLHandshakeException expected ) { assertTrue ( StandardNames.IS_RI ) ; } return null ; }

Target:
public java.lang.Void call ( ) throws java.lang.Exception { try { server.startHandshake ( ) ; fail ( ) ; } catch ( javax.net.ssl.SSLHandshakeException expected ) { } return null ; }
Source:
java.lang.String [ ] getSkins ( ) ;

Target:
java.io.File [ ] getSkins ( ) ;
Source:
public void testHeadsetHangupCall ( ) throws java.lang.Exception { com.android.server.telecom.Call mockCall = createForegroundCall ( ) ; boolean callHungup = mBluetoothPhoneService.mBinder.hangupCall ( ) ; org.mockito.Mockito.verify ( mMockCallsManager ) . disconnectCall ( org.mockito.Matchers.eq ( mockCall ) ) ; assertEquals ( callHungup , true ) ; }

Target:
public void testHeadsetHangupCall ( ) throws java.lang.Exception { com.android.server.telecom.Call mockCall = createForegroundCall ( ) ; boolean callHungup = mBluetoothPhoneService.mBinder.hangupCall ( ) ; org.mockito.Mockito.verify ( mMockCallsManager ) . disconnectCall ( org.mockito.Matchers.eq ( mockCall ) ) ; org.junit.Assert.assertEquals ( callHungup , true ) ; }
Source:
public java.lang.String getFormat ( ) { if ( key.isEngineBased ( ) ) { return null ; } return "PKCS#8" ; }

Target:
public java.lang.String getFormat ( ) { return "PKCS#8" ; }
Source:
private static org.conscrypt.OpenSSLKey wrapPlatformKey ( java.security.interfaces.ECPrivateKey ecPrivateKey , org.conscrypt.OpenSSLECGroupContext group ) throws java.security.InvalidKeyException { return new org.conscrypt.OpenSSLKey ( org.conscrypt.NativeCrypto.getECPrivateKeyWrapper ( ecPrivateKey , group.getContext ( ) ) ) ; }

Target:
private static org.conscrypt.OpenSSLKey wrapPlatformKey ( java.security.interfaces.ECPrivateKey ecPrivateKey , org.conscrypt.OpenSSLECGroupContext group ) throws java.security.InvalidKeyException { return new org.conscrypt.OpenSSLKey ( org.conscrypt.NativeCrypto.getECPrivateKeyWrapper ( ecPrivateKey , group.getContext ( ) ) , true ) ; }