auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public android.telephony.UiccAccessRule [ ] getAccessRules ( ) { return accessRules ; }

Target:
public java.util.List < android.telephony.UiccAccessRule > getAccessRules ( ) { return accessRules ; }
Source:
protected void engineUpdate ( byte [ ] input , int offset , int len ) { ensureDigestInitializedInContext ( ) ; org.conscrypt.NativeCrypto.EVP_DigestUpdate ( ctx , input , offset , len ) ; }

Target:
protected void engineUpdate ( byte [ ] input , int offset , int len ) { org.conscrypt.NativeCrypto.EVP_DigestUpdate ( ctx , input , offset , len ) ; }
Source:
public static android.support.v4.util.SimpleArrayMap < java.lang.Character , java.lang.Character > getCharToKeyMap ( @ android.support.annotation.NonNull android.content.Context context ) { return com.android.dialer.dialpadview.DialpadCharMappings.isDualAlphabetsEnabled ( context ) ? com.android.dialer.dialpadview.DialpadCharMappings.CHAR_TO_KEY_MAPS.get ( com.android.dialer.compat.CompatUtils.getLocale ( context ) . getISO3Language ( ) ) : null ; }

Target:
public static android.support.v4.util.SimpleArrayMap < java.lang.Character , java.lang.Character > getCharToKeyMap ( @ android.support.annotation.NonNull android.content.Context context ) { return com.android.dialer.dialpadview.DialpadCharMappings.CHAR_TO_KEY_MAPS.get ( com.android.dialer.compat.CompatUtils.getLocale ( context ) . getISO3Language ( ) ) ; }
Source:
public void execute ( java.lang.String ... tasks ) { execute ( java.util.Collections.< java.lang.String > emptyList ( ) , false , tasks ) ; }

Target:
public void execute ( java.lang.String ... tasks ) { execute ( java.util.Collections.< java.lang.String > emptyList ( ) , false , false , tasks ) ; }
Source:
void writeSummaryFromParcelLocked ( android.os.Parcel out ) { out.writeInt ( mCount ) ; out.writeInt ( ( ( mCount ) - ( mLoadedCount ) ) ) ; }

Target:
void writeSummaryFromParcelLocked ( android.os.Parcel out ) { int count = mCount.get ( ) ; out.writeInt ( count ) ; out.writeInt ( ( count - ( mLoadedCount ) ) ) ; }
Source:
public void enter ( ) { turnOnMasterTetherSettings ( ) ; simChange.startListening ( ) ; mUpstreamNetworkMonitor.start ( ) ; mTryCell = true ; chooseUpstreamType ( mTryCell ) ; mTryCell = ! ( mTryCell ) ; }

Target:
public void enter ( ) { turnOnMasterTetherSettings ( ) ; simChange.startListening ( ) ; mUpstreamNetworkMonitor.start ( ) ; chooseUpstreamType ( true ) ; mTryCell = false ; }
Source:
public boolean setBluetoothCoexistenceMode ( int mode ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.setBtCoexistenceMode ( ( ( byte ) ( mode ) ) ) ; } else { return doBooleanCommand ( ( "DRIVER BTCOEXMODE " + mode ) ) ; } }

Target:
public boolean setBluetoothCoexistenceMode ( int mode ) { return mSupplicantStaIfaceHal.setBtCoexistenceMode ( ( ( byte ) ( mode ) ) ) ; }
Source:
public synchronized void kill ( ) { if ( sendCommand ( com.android.ddmlib.EmulatorConsole.COMMAND_KILL ) ) { com.android.ddmlib.EmulatorConsole.removeConsole ( mPort ) ; try { mSocketChannel.close ( ) ; } catch ( java.io.IOException e ) { com.android.ddmlib.Log.w ( com.android.ddmlib.EmulatorConsole.LOG_TAG , "Failed to close EmulatorConsole channel" ) ; } } }

Target:
public synchronized void kill ( ) { if ( sendCommand ( com.android.ddmlib.EmulatorConsole.COMMAND_KILL ) ) { close ( ) ; } }
Source:
protected void ensure ( boolean expectedToBeTrue ) { if ( ! expectedToBeTrue ) { differenceFound = true ; } }

Target:
protected boolean ensure ( boolean expectedToBeTrue ) { if ( ! expectedToBeTrue ) { differenceFound = true ; } return expectedToBeTrue ; }
Source:
private static boolean isBatteryPower ( ) { if ( ( org.chromium.base.PowerMonitor.sInstance ) == null ) org.chromium.base.PowerMonitor.create ( ) ; return org.chromium.base.PowerMonitor.sInstance.mIsBatteryPower ; }

Target:
private static boolean isBatteryPower ( ) { return org.chromium.base.PowerMonitor.sInstance.mIsBatteryPower ; }
Source:
void setUp ( ) { BRANCH ( ( ( 39808.0 - ( cts ) ) - ( dev ) ) ) ; mNm.setInterruptionFilter ( NotificationManager.INTERRUPTION_FILTER_NONE ) ; createChannels ( ) ; sendNotifications ( com.android.cts.verifier.notifications.AttentionManagementVerifierActivity.MODE_URI , false , false ) ; status = READY ; }

Target:
protected void setUp ( ) { mNm.setInterruptionFilter ( NotificationManager.INTERRUPTION_FILTER_NONE ) ; createChannels ( ) ; sendNotifications ( com.android.cts.verifier.notifications.AttentionManagementVerifierActivity.MODE_URI , false , false ) ; status = READY ; }
Source:
java.util.List < android.media.session.MediaSession.QueueItem > getQueue ( ) { if ( ! ( isBrowsable ( ) ) ) return null ; return mMediaController.getQueue ( ) ; }

Target:
java.util.List < android.media.session.MediaSession.QueueItem > getQueue ( ) { return mMediaController.getQueue ( ) ; }
Source:
public void testForName_NotSupported ( ) { try { java.nio.charset.Charset.forName ( "impossible" ) ; fail ( "Should throw UnsupportedCharsetException!" ) ; } catch ( java.nio.charset.UnsupportedCharsetException e ) { } }

Target:
public void testForName_NotSupported ( ) { try { java.nio.charset.Charset.forName ( "impossible" ) ; fail ( ) ; } catch ( java.nio.charset.UnsupportedCharsetException expected ) { } }
Source:
private void addAuthAndCryptToIpSecConfig ( android.net.IpSecConfig config ) throws java.lang.Exception { for ( int direction : com.android.server.IpSecServiceParameterizedTest.DIRECTIONS ) { config.setEncryption ( direction , com.android.server.IpSecServiceParameterizedTest.CRYPT_ALGO ) ; config.setAuthentication ( direction , com.android.server.IpSecServiceParameterizedTest.AUTH_ALGO ) ; } }

Target:
private void addAuthAndCryptToIpSecConfig ( android.net.IpSecConfig config ) throws java.lang.Exception { config.setEncryption ( com.android.server.IpSecServiceParameterizedTest.CRYPT_ALGO ) ; config.setAuthentication ( com.android.server.IpSecServiceParameterizedTest.AUTH_ALGO ) ; }
Source:
public void visitLocalVariableTypeTableAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.LocalVariableTypeTableAttribute localVariableTypeTableAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { localVariableTypeTableAttribute.accept ( clazz , method , codeAttribute , optionalAttributeVisitor ) ; } }

Target:
public void visitLocalVariableTypeTableAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.LocalVariableTypeTableAttribute localVariableTypeTableAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { optionalAttributeVisitor.visitLocalVariableTypeTableAttribute ( clazz , method , codeAttribute , localVariableTypeTableAttribute ) ; } }
Source:
public static int compare ( int codepoint , java.lang.CharSequence a ) { return - ( android.icu.lang.CharSequences.compare ( a , codepoint ) ) ; }

Target:
public static int compare ( int codepoint , java.lang.CharSequence a ) { int result = android.icu.lang.CharSequences.compare ( a , codepoint ) ; return result > 0 ? - 1 : result < 0 ? 1 : 0 ; }
Source:
public void onPageSelected ( ) { java.util.List < com.android.sdkuilib.internal.repository.sdkman2.PkgCategory > cats = mDiffLogic.getCategories ( isSortByApi ( ) ) ; if ( ( cats == null ) || ( cats.isEmpty ( ) ) ) { loadPackages ( ) ; } }

Target:
private void loadPackages ( ) { loadPackages ( false ) ; }
Source:
void destroy ( ) throws javax.security.auth.DestroyFailedException ;

Target:
public default void destroy ( ) throws javax.security.auth.DestroyFailedException { throw new javax.security.auth.DestroyFailedException ( ) ; }
Source:
public synchronized android.webkit.WebHistoryItem getCurrentItem ( ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract android.webkit.WebHistoryItem getCurrentItem ( ) ;
Source:
private static void test_String_charAtExc3 ( ) { java.lang.String testStr = "Now is the time" ; junit.framework.Assert.assertEquals ( 'N' , testStr.charAt ( ( - 1 ) ) ) ; }

Target:
private static void test_String_charAtExc3 ( java.lang.String testStr ) { junit.framework.Assert.assertEquals ( 'N' , testStr.charAt ( ( - 1 ) ) ) ; }
Source:
synchronized void nProgramBindSampler ( int vpf , int slot , int s ) { validate ( ) ; rsnProgramBindSampler ( mContext , vpf , slot , s ) ; }

Target:
synchronized void nProgramBindSampler ( long vpf , int slot , long s ) { validate ( ) ; rsnProgramBindSampler ( mContext , vpf , slot , s ) ; }
Source:
public final boolean equals ( sun.security.util.ObjectIdentifier id ) { return algid.equals ( id ) ; }

Target:
public final boolean equals ( sun.security.util.ObjectIdentifier id ) { return algid.equals ( ( ( java.lang.Object ) ( id ) ) ) ; }
Source:
public void setHintText ( @ android.support.annotation.Nullable java.lang.CharSequence hintText ) { if ( hintText == null ) { swipeToAnswerText.setText ( R.string.call_incoming_swipe_to_answer ) ; swipeToRejectText.setText ( R.string.call_incoming_swipe_to_reject ) ; } else { swipeToAnswerText.setText ( hintText ) ; swipeToRejectText.setText ( null ) ; } }

Target:
public void setHintText ( @ android.support.annotation.Nullable java.lang.CharSequence hintText ) { if ( hintText == null ) { swipeToAnswerText.setText ( R.string.call_incoming_swipe_to_answer ) ; } else { swipeToAnswerText.setText ( hintText ) ; } swipeToRejectText.setText ( R.string.call_incoming_swipe_to_reject ) ; }
Source:
public void uncaughtException ( java.lang.Thread t , java.lang.Throwable e ) { if ( e instanceof TestException ) { passed [ TEST_OTHER ] = true ; } else { super . uncaughtException ( t , e ) ; } }

Target:
public void uncaughtException ( java.lang.Thread t , java.lang.Throwable e ) { if ( ! ( e instanceof TestException ) ) { super . uncaughtException ( t , e ) ; } }
Source:
public void checkValidity ( ) { for ( com.android.jack.ir.ast.cfg.JBasicBlock block : this . getAllBlocksUnordered ( ) ) { block.checkValidity ( ) ; } }

Target:
public void checkValidity ( ) { }
Source:
public boolean isCleartextTrafficPermitted ( ) { synchronized ( this ) { return mCleartextTrafficPermitted ; } }

Target:
public boolean isCleartextTrafficPermitted ( ) { return mCleartextTrafficPermitted ; }
Source:
public ScriptGroup2.Closure prepInit ( android.renderscript.ScriptGroup2.Builder b ) { cInit = b.addInvoke ( s.getInvokeID_prepareShadows ( ) , new java.lang.Object [ ] { new java.lang.Float ( 50.0F ) } , new java.util.HashMap < android.renderscript.Script.FieldID , java.lang.Object > ( ) ) ; return cInit ; }

Target:
public ScriptGroup2.Closure prepInit ( android.renderscript.ScriptGroup2.Builder b ) { cInit = b.addInvoke ( s.getInvokeID_prepareShadows ( ) , 50.0F ) ; return cInit ; }
Source:
public boolean disconnect ( ) { if ( com.android.server.wifi.WifiNative.DBG ) logDbg ( "DISCONNECT " ) ; if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.disconnect ( ) ; } else { return doBooleanCommand ( "DISCONNECT" ) ; } }

Target:
public boolean disconnect ( ) { return mSupplicantStaIfaceHal.disconnect ( ) ; }
Source:
public boolean isInstance ( java.lang.Object object ) { if ( object == null ) { return false ; } return isAssignableFrom ( object.getClass ( ) ) ; }

Target:
public boolean isInstance ( java.lang.Object obj ) { if ( obj == null ) { return false ; } return isAssignableFrom ( obj.getClass ( ) ) ; }
Source:
public void testPutIfAbsent1_NullPointerException ( ) { try { java.util.concurrent.ConcurrentHashMap c = new java.util.concurrent.ConcurrentHashMap ( 5 ) ; c.putIfAbsent ( null , "whatever" ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testPutIfAbsent1_NullPointerException ( ) { java.util.concurrent.ConcurrentHashMap c = new java.util.concurrent.ConcurrentHashMap ( 5 ) ; try { c.putIfAbsent ( null , "whatever" ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }
Source:
public void update ( byte in ) { md5.update ( in ) ; sha1.update ( in ) ; }

Target:
public void update ( byte input ) { md5.update ( input ) ; sha1.update ( input ) ; }
Source:
public void testIsSupported_EmptyString ( ) { try { java.nio.charset.Charset.isSupported ( "" ) ; } catch ( java.lang.IllegalArgumentException e ) { } }

Target:
public void testIsSupported_EmptyString ( ) { try { java.nio.charset.Charset.isSupported ( "" ) ; fail ( ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }
Source:
public static boolean isMSIMCompatible ( ) { return ( com.android.dialer.compat.SdkVersionOverride.getSdkVersion ( Build.VERSION_CODES.LOLLIPOP ) ) >= ( android.os.Build.VERSION_CODES.LOLLIPOP_MR1 ) ; }

Target:
public static boolean isMSIMCompatible ( ) { return true ; }
Source:
public static void setChromiumAwDrawGLFunction ( int functionPointer ) { com.android.webview.chromium.DrawGLFunctor.nativeSetChromiumAwDrawGLFunction ( functionPointer ) ; }

Target:
public static void setChromiumAwDrawGLFunction ( long functionPointer ) { com.android.webview.chromium.DrawGLFunctor.nativeSetChromiumAwDrawGLFunction ( functionPointer ) ; }
Source:
public void visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JType 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.JType type , @ javax.annotation.Nonnull com.android.sched.transform.TransformRequest transformRequest ) throws java.lang.Exception { visit ( ( ( com.android.jack.ir.ast.JNode ) ( type ) ) , transformRequest ) ; }
Source:
public void test_parse_W_w_dd_MMMM_yyyy_EEEE ( ) throws java.lang.Exception { java.util.Date d = new java.util.Date ( 1015822800000L ) ; java.lang.String pattern = "W w dd MMMM yyyy EEEE" ; org.apache.harmony.tests.java.text.SimpleDateFormatTest.assertFormat ( d , pattern , "3 11 11 March 2002 Monday" ) ; org.apache.harmony.tests.java.text.SimpleDateFormatTest.assertParse ( "3 12 5 March 2002 Monday" , pattern , d ) ; }

Target:
public void test_parse_W_w_dd_MMMM_yyyy_EEEE ( ) throws java.lang.Exception { java.util.Date d = new java.util.Date ( 1015822800000L ) ; java.lang.String pattern = "W w dd MMMM yyyy EEEE" ; org.apache.harmony.tests.java.text.SimpleDateFormatTest.assertFormat ( d , pattern , "3 11 11 March 2002 Monday" ) ; }
Source:
public synchronized void restartSessionCounter ( ) { sCodeEntryCounter = 0 ; }

Target:
private synchronized void restartSessionCounter ( ) { sCodeEntryCounter = 0 ; }
Source:
public void onError ( int errorCode , java.lang.String message ) { try { callback.error ( errorCode , message ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }

Target:
public void onError ( int errorCode , java.lang.String message ) { try { callback.onError ( errorCode , message ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }
Source:
private static java.math.BigInteger getSerialNumber ( java.lang.Object cert ) { if ( cert instanceof java.security.cert.X509Certificate ) { return ( ( java.security.cert.X509Certificate ) ( cert ) ) . getSerialNumber ( ) ; } else { return ( ( org.bouncycastle.x509.X509AttributeCertificate ) ( cert ) ) . getSerialNumber ( ) ; } }

Target:
private static java.math.BigInteger getSerialNumber ( java.lang.Object cert ) { return ( ( java.security.cert.X509Certificate ) ( cert ) ) . getSerialNumber ( ) ; }
Source:
public void removeTransportModeTransform ( java.net.DatagramSocket socket , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.fromDatagramSocket ( socket ) ) { removeTransportModeTransform ( pfd , transform ) ; } }

Target:
public void removeTransportModeTransform ( java.net.DatagramSocket socket , android.net.IpSecTransform transform ) throws java.io.IOException { removeTransportModeTransform ( android.os.ParcelFileDescriptor.fromDatagramSocket ( socket ) , transform ) ; }
Source:
void sendToServer ( ) { testServer.uploadApks ( getVariantName ( ) , getTestApk ( ) , getTestedApk ( ) ) ; }

Target:
public void sendToServer ( ) { testServer.uploadApks ( getVariantName ( ) , getTestApk ( ) , getTestedApk ( ) ) ; }
Source:
public void run ( ) { updateExternalMediaStatusInner ( mediaStatus , reportStatus ) ; }

Target:
public void run ( ) { updateExternalMediaStatusInner ( mediaStatus , reportStatus , true ) ; }
Source:
public native double getDouble ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public native double getDouble ( java.lang.Object obj ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
private boolean missingTargetFile ( ) { for ( java.io.File target : mTargets ) { if ( ( target.exists ( ) ) == false ) { return true ; } } return false ; }

Target:
private boolean missingTargetFile ( ) { for ( java.io.File target : mTargets ) { if ( ! ( target.exists ( ) ) ) { return true ; } } return false ; }
Source:
private static boolean isAospBuildEnvironment ( ) { if ( ( com.android.tools.lint.detector.api.Project.sAospBuild ) == null ) { com.android.tools.lint.detector.api.Project.sAospBuild = ( com.android.tools.lint.detector.api.Project.getAospTop ( ) ) != null ; } return com.android.tools.lint.detector.api.Project.sAospBuild ; }

Target:
public static boolean isAospBuildEnvironment ( ) { if ( ( com.android.tools.lint.detector.api.Project.sAospBuild ) == null ) { com.android.tools.lint.detector.api.Project.sAospBuild = ( com.android.tools.lint.detector.api.Project.getAospTop ( ) ) != null ; } return com.android.tools.lint.detector.api.Project.sAospBuild ; }
Source:
public static void sort ( double [ ] a , int fromIndex , int toIndex ) { java.util.Arrays.rangeCheck ( a.length , fromIndex , toIndex ) ; java.util.DualPivotQuicksort.sort ( a , fromIndex , ( toIndex - 1 ) ) ; }

Target:
public static void sort ( double [ ] a ) { java.util.DualPivotQuicksort.sort ( a , 0 , ( ( a.length ) - 1 ) , null , 0 , 0 ) ; }
Source:
public static int $noinline$byteToDoubleToInt ( byte value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( double ) ( value ) ) ) ; }

Target:
public static int $noinline$byteToDoubleToInt ( byte value ) { return ( ( int ) ( ( double ) ( value ) ) ) ; }
Source:
protected void engineInit ( int opmode , java.security.Key key , java.security.SecureRandom random ) throws java.security.InvalidKeyException { try { engineInitInternal ( opmode , key , null ) ; } catch ( java.security.InvalidAlgorithmParameterException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
protected void engineInit ( int opmode , java.security.Key key , java.security.SecureRandom random ) throws java.security.InvalidKeyException { try { engineInitInternal ( opmode , key , null , random ) ; } catch ( java.security.InvalidAlgorithmParameterException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public void onClick ( android.view.View v ) { stopConnectivityScan ( ) ; stopDownloadFile ( ) ; stopGScan ( ) ; stopIperfClient ( ) ; stopUSBTethering ( ) ; mBtnStart.setEnabled ( true ) ; }

Target:
public void onClick ( android.view.View v ) { stopConnectivityScan ( ) ; stopDownloadFile ( ) ; stopGScan ( ) ; stopIperfClient ( ) ; mBtnStart.setEnabled ( true ) ; }
Source:
public static void run ( ) throws java.lang.Exception { art.Main.bindAgentJNIForClass ( art.Test904.class ) ; java.util.ArrayList < java.lang.Object > l = new java.util.ArrayList < > ( 100 ) ; art.Test904.prefetchClassNames ( ) ; art.Test904.doTest ( l ) ; }

Target:
public static void run ( ) throws java.lang.Exception { java.util.ArrayList < java.lang.Object > l = new java.util.ArrayList < > ( 100 ) ; art.Test904.prefetchClassNames ( ) ; art.Test904.doTest ( l ) ; }
Source:
static void inlinedForNull ( java.lang.Iterable < ? > it ) { it.iterator ( ) ; if ( it != null ) { if ( Main.doThrow ) { throw new java.lang.Error ( "" ) ; } } }

Target:
static void inlinedForNull ( java.lang.Iterable < ? > it ) { it.iterator ( ) ; }
Source:
public android.bluetooth.BluetoothCodecStatus getCodecStatus ( ) { return mService.getCodecStatus ( ) ; }

Target:
public android.bluetooth.BluetoothCodecStatus getCodecStatus ( android.bluetooth.BluetoothDevice device ) { return mService.getCodecStatus ( device ) ; }
Source:
public java.lang.Void doInBackground ( java.lang.Void ... args ) { java.security.MessageDigest md ; try { md = java.security.MessageDigest.getInstance ( "SHA-1" ) ; } catch ( java.security.NoSuchAlgorithmException e ) { md = null ; } synchronized ( android.telecom.Log.sMessageDigestLock ) { android.telecom.Log.sMessageDigest = md ; } return null ; }

Target:
public java.lang.Void doInBackground ( java.lang.Void ... args ) { java.security.MessageDigest md ; try { md = java.security.MessageDigest.getInstance ( "SHA-1" ) ; } catch ( java.security.NoSuchAlgorithmException e ) { md = null ; } android.telecom.Log.sMessageDigest = md ; return null ; }
Source:
private void debugLog ( java.lang.String msg ) { if ( com.android.bluetooth.btservice.PhonePolicy.DBG ) android.util.Log.d ( com.android.bluetooth.btservice.PhonePolicy.TAG , msg ) ; }

Target:
private static void debugLog ( java.lang.String msg ) { if ( com.android.bluetooth.btservice.PhonePolicy.DBG ) android.util.Log.d ( com.android.bluetooth.btservice.PhonePolicy.TAG , msg ) ; }
Source:
int getModifiers ( ) { return java.lang.reflect.AbstractMethod.fixMethodFlags ( accessFlags ) ; }

Target:
public int getModifiers ( ) { return java.lang.reflect.AbstractMethod.fixMethodFlags ( accessFlags ) ; }
Source:
public boolean mayThrowExceptions ( proguard.optimize.info.Clazz clazz , proguard.optimize.info.Method method , proguard.classfile.attribute.CodeAttribute codeAttribute , int offset , proguard.optimize.info.Instruction instruction ) { mayThrowExceptions = false ; instruction.accept ( clazz , method , codeAttribute , offset , this ) ; return mayThrowExceptions ; }

Target:
public boolean mayThrowExceptions ( proguard.optimize.info.Clazz clazz , proguard.optimize.info.Method method , proguard.classfile.attribute.CodeAttribute codeAttribute , int offset , proguard.optimize.info.Instruction instruction ) { return instruction.mayThrowExceptions ( ) ; }
Source:
public void started ( java.lang.String className ) { if ( ! ( mOnlyFailures ) ) { android.util.Log.i ( mTag , ( "started: " + className ) ) ; } }

Target:
private void started ( java.lang.String className ) { if ( ! ( mOnlyFailures ) ) { android.util.Log.i ( mTag , ( "started: " + className ) ) ; } }
Source:
public boolean isInCall ( ) throws android.os.RemoteException { return false ; }

Target:
public boolean isInCall ( ) { return this . isInCall ( ) ; }
Source:
public boolean isCancelled ( ) { return mIsCanceled ; }

Target:
public boolean isCancelled ( ) { return mIsCanceled.get ( ) ; }
Source:
final java.lang.Class < ? > getMethodReturnTypeInternal ( ) { com.android.dex.Dex dex = declaringClassOfOverriddenMethod.getDex ( ) ; int returnTypeIndex = dex.returnTypeIndexFromMethodIndex ( dexMethodIndex ) ; return declaringClassOfOverriddenMethod.getDexCacheType ( dex , returnTypeIndex ) ; }

Target:
final native java.lang.Class < ? > getMethodReturnTypeInternal ( ) ;
Source:
public java.net.Socket createSocket ( java.net.InetAddress host , int port ) throws java.io.IOException { return new org.conscrypt.OpenSSLSocketImpl ( host , port , ( ( org.conscrypt.SSLParametersImpl ) ( sslParameters.clone ( ) ) ) ) ; }

Target:
public java.net.Socket createSocket ( java.net.InetAddress address , int port ) throws java.io.IOException { return new org.conscrypt.OpenSSLSocketImpl ( address , port , ( ( org.conscrypt.SSLParametersImpl ) ( sslParameters.clone ( ) ) ) ) ; }
Source:
public void bindRootScript ( android.renderscript.Script s ) { validate ( ) ; nContextBindRootScript ( safeID ( s ) ) ; }

Target:
public void bindRootScript ( android.renderscript.Script s ) { validate ( ) ; nContextBindRootScript ( ( ( int ) ( safeID ( s ) ) ) ) ; }
Source:
public void setLoadWithOverviewMode ( boolean overview ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract void setLoadWithOverviewMode ( boolean overview ) ;
Source:
public void test002d ( ) throws java.lang.Exception { java.io.File jackOutput = com.android.jack.test.toolchain.AbstractTestTools.createTempFile ( "jackoutput" , ".zip" ) ; try { runTest002 ( jackOutput , true , null ) ; junit.framework.Assert.fail ( ) ; } catch ( com.android.jack.resource.ResourceImportConflictException e ) { } }

Target:
public void test002d ( ) throws java.lang.Exception { java.io.File jackOutput ; try { jackOutput = runTest002 ( true , null ) ; junit.framework.Assert.fail ( ) ; } catch ( com.android.jack.resource.ResourceImportConflictException e ) { } }
Source:
public void setAcceptThirdPartyCookies ( android.webkit.WebView webview , boolean accept ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract void setAcceptThirdPartyCookies ( android.webkit.WebView webview , boolean accept ) ;
Source:
public void clear ( ) { this . referent = null ; }

Target:
public native void clear ( ) ;
Source:
public void testInitialize_remoteExceptionFailure ( ) throws java.lang.Exception { executeAndValidateInitializationSequence ( true , false , false ) ; }

Target:
public void testInitialize_remoteExceptionFailure ( ) throws java.lang.Exception { executeAndValidateInitializationSequence ( true , false , false , false ) ; }
Source:
public void stopEditors ( ) { com.android.ide.eclipse.adt.AdtPlugin.sAndroidLogo.dispose ( ) ; com.android.ide.eclipse.adt.internal.editors.IconFactory.getInstance ( ) . Dispose ( ) ; org.eclipse.core.resources.IWorkspace ws = org.eclipse.core.resources.ResourcesPlugin.getWorkspace ( ) ; com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor.stopMonitoring ( ws ) ; mRed.dispose ( ) ; }

Target:
public void stopEditors ( ) { com.android.ide.eclipse.adt.AdtPlugin.sAndroidLogo.dispose ( ) ; com.android.ide.eclipse.adt.internal.editors.IconFactory.getInstance ( ) . dispose ( ) ; org.eclipse.core.resources.IWorkspace ws = org.eclipse.core.resources.ResourcesPlugin.getWorkspace ( ) ; com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor.stopMonitoring ( ws ) ; mRed.dispose ( ) ; }
Source:
static native java.lang.reflect.Method [ ] getDeclaredMethods ( java.lang.Class < ? > clazz , boolean publicOnly ) ;

Target:
static native java.lang.reflect.Method [ ] getDeclaredMethods ( java.lang.Class < ? > c , boolean publicOnly ) ;
Source:
public void sendSetDialing ( java.lang.String id ) throws java.lang.Exception { mConnectionById.get ( id ) . state = android.telecom.Connection.STATE_DIALING ; for ( com.android.internal.telecom.IConnectionServiceAdapter a : mConnectionServiceAdapters ) { a.setDialing ( id ) ; } }

Target:
public void sendSetDialing ( java.lang.String id ) throws java.lang.Exception { mConnectionById.get ( id ) . state = android.telecom.Connection.STATE_DIALING ; for ( com.android.internal.telecom.IConnectionServiceAdapter a : mConnectionServiceAdapters ) { a.setDialing ( id , null ) ; } }
Source:
public short getShort ( ) { if ( ! ( memoryRef.isAccessible ) ) { throw new java.lang.IllegalStateException ( "buffer is inaccessible" ) ; } return getShort ( ix ( nextGetIndex ( SizeOf.SHORT ) ) ) ; }

Target:
public final short getShort ( ) { if ( ! ( memoryRef.isAccessible ) ) { throw new java.lang.IllegalStateException ( "buffer is inaccessible" ) ; } return getShort ( ix ( nextGetIndex ( SizeOf.SHORT ) ) ) ; }
Source:
public int getDSTSavings ( ) { return mUseDst ? mDstSavings : 0 ; }

Target:
public int getDSTSavings ( ) { return mDstSavings ; }
Source:
public static short [ ] copyOf ( short [ ] original , int newLength ) { if ( newLength < 0 ) { throw new java.lang.NegativeArraySizeException ( ) ; } return java.util.Arrays.copyOfRange ( original , 0 , newLength ) ; }

Target:
public static short [ ] copyOf ( short [ ] 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 synchronized java.util.Collection < ? extends com.android.sched.vfs.BaseVElement > list ( ) { assert ! ( vfs.isClosed ( ) ) ; return java.util.Collections.unmodifiableCollection ( map.values ( ) ) ; }

Target:
public synchronized java.util.Collection < ? extends com.android.sched.vfs.BaseVElement > list ( ) { return java.util.Collections.unmodifiableCollection ( map.values ( ) ) ; }
Source:
public int insert ( java.lang.String name , byte [ ] item ) throws android.os.RemoteException ;

Target:
public int insert ( java.lang.String name , byte [ ] item , int uid ) throws android.os.RemoteException ;
Source:
protected void init ( ) throws java.lang.Exception { if ( ( myCollation ) == null ) { myCollation = android.icu.text.Collator.getInstance ( java.util.Locale.JAPANESE ) ; } }

Target:
public void init ( ) throws java.lang.Exception { if ( ( myCollation ) == null ) { myCollation = android.icu.text.Collator.getInstance ( java.util.Locale.JAPANESE ) ; } }
Source:
public long getLong ( int i ) { if ( ! ( memoryRef.isAccessible ) ) { throw new java.lang.IllegalStateException ( "buffer is inaccessible" ) ; } return getLong ( ix ( checkIndex ( i , SizeOf.LONG ) ) ) ; }

Target:
public final long getLong ( int i ) { if ( ! ( memoryRef.isAccessible ) ) { throw new java.lang.IllegalStateException ( "buffer is inaccessible" ) ; } return getLong ( ix ( checkIndex ( i , SizeOf.LONG ) ) ) ; }
Source:
private void printFilteredProblem ( @ javax.annotation.Nonnull com.android.jack.reporting.Reportable.ProblemLevel problemLevel , @ javax.annotation.Nonnull java.lang.String message ) { printFilteredProblem ( problemLevel , message , SourceInfo.UNKNOWN ) ; }

Target:
private void printFilteredProblem ( @ javax.annotation.Nonnull com.android.jack.reporting.Reportable.ProblemLevel problemLevel , @ javax.annotation.Nonnull java.lang.String message ) { printFilteredProblem ( problemLevel , message , null ) ; }
Source:
public void resetAvrcpBlacklist ( android.bluetooth.BluetoothDevice device ) { mAvrcp.resetBlackList ( device.getAddress ( ) ) ; }

Target:
public void resetAvrcpBlacklist ( android.bluetooth.BluetoothDevice device ) { if ( ( mAvrcp ) != null ) { mAvrcp.resetBlackList ( device.getAddress ( ) ) ; } }
Source:
public void testVersion16 ( ) { android.renderscript.cts.ScriptC_set_target_api_16 test16 = new android.renderscript.cts.ScriptC_set_target_api_16 ( mRS , mRes , R.raw.set_target_api_16 ) ; test16.invoke_check ( 16 ) ; waitForMessage ( ) ; checkForErrors ( ) ; }

Target:
public void testVersion16 ( ) { android.renderscript.cts.ScriptC_set_target_api_16 test16 = new android.renderscript.cts.ScriptC_set_target_api_16 ( mRS ) ; test16.invoke_check ( 16 ) ; waitForMessage ( ) ; checkForErrors ( ) ; }
Source:
void putUnchecked ( int pos , short [ ] dst , int srcOffset , int length ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
abstract void putUnchecked ( int pos , short [ ] dst , int srcOffset , int length ) ;
Source:
int end ( int nativeDisplayList ) { return getDisplayList ( nativeDisplayList ) ; }

Target:
long end ( long nativeDisplayList ) { return getDisplayList ( nativeDisplayList ) ; }
Source:
public com.android.sdklib.internal.repository.DownloadCache getDownloadCache ( ) { if ( ( mMockDownloadCache ) == null ) { mMockDownloadCache = new com.android.sdklib.internal.repository.DownloadCache ( DownloadCache.Strategy.DIRECT ) { @ java.lang.Override protected java.io.File initCacheRoot ( ) { return null ; } } ; } return mMockDownloadCache ; }

Target:
public com.android.sdklib.internal.repository.DownloadCache getDownloadCache ( ) { return mMockDownloadCache ; }
Source:
public void startTimer ( android.content.Context context , java.lang.String timerEventName ) { }

Target:
public void startTimer ( java.lang.String timerEventName ) { }
Source:
public static long getLength ( int id ) { try { com.intellij.openapi.vfs.newvfs.persistent.FSRecords.r.lock ( ) ; return com.intellij.openapi.vfs.newvfs.persistent.FSRecords.getRecords ( ) . getLong ( com.intellij.openapi.vfs.newvfs.persistent.FSRecords.getOffset ( id , com.intellij.openapi.vfs.newvfs.persistent.FSRecords.LENGTH_OFFSET ) ) ; } finally { com.intellij.openapi.vfs.newvfs.persistent.FSRecords.r.unlock ( ) ; } }

Target:
public static long getLength ( int id ) { com.intellij.openapi.vfs.newvfs.persistent.FSRecords.r.lock ( ) ; try { return com.intellij.openapi.vfs.newvfs.persistent.FSRecords.getRecords ( ) . getLong ( com.intellij.openapi.vfs.newvfs.persistent.FSRecords.getOffset ( id , com.intellij.openapi.vfs.newvfs.persistent.FSRecords.LENGTH_OFFSET ) ) ; } finally { com.intellij.openapi.vfs.newvfs.persistent.FSRecords.r.unlock ( ) ; } }
Source:
private void cmdFlush ( java.io.FileDescriptor fd , java.io.PrintWriter pw , java.lang.String [ ] args ) { pw.print ( flushEncodedOutput ( ) ) ; }

Target:
private void cmdFlush ( java.io.PrintWriter pw ) { pw.print ( flushEncodedOutput ( ) ) ; }
Source:
public static float $noinline$DivMP25 ( float arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg / ( - 0.25F ) ; }

Target:
public static double $noinline$DivMP25 ( double arg ) { return arg / ( - 0.25F ) ; }
Source:
protected void removeImpl ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNode existingNode ) throws java.lang.UnsupportedOperationException { if ( ( thenStmt ) == existingNode ) { thenStmt = null ; } else if ( ( elseStmt ) == existingNode ) { elseStmt = null ; } else { super . removeImpl ( existingNode ) ; } }

Target:
protected void removeImpl ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNode existingNode ) throws java.lang.UnsupportedOperationException { assert existingNode != ( thenStmt ) ; if ( ( elseStmt ) == existingNode ) { elseStmt = null ; } else { super . removeImpl ( existingNode ) ; } }
Source:
public static void assertActualAndExpectedMatch ( boolean actual , boolean expected ) throws java.lang.AssertionError { if ( actual != expected ) { throw new java.lang.AssertionError ( ( ( ( ( "Actual != Expected (" + actual ) + " != " ) + expected ) + ")" ) ) ; } }

Target:
public static void assertEquals ( boolean actual , boolean expected ) throws java.lang.AssertionError { if ( actual != expected ) { throw new java.lang.AssertionError ( ( ( ( ( "Actual != Expected (" + actual ) + " != " ) + expected ) + ")" ) ) ; } }
Source:
public void setMax ( long max ) { this . max = min ; }

Target:
public void setMax ( long max ) { this . max = max ; }
Source:
public void zoomChanged ( ) { synchronized ( this ) { if ( ( grid ) != null ) { grid.dispose ( ) ; grid = null ; zoom = model.getZoom ( ) ; } } doRedraw ( ) ; }

Target:
public void run ( ) { synchronized ( this ) { if ( ( grid ) != null ) { grid.dispose ( ) ; grid = null ; zoom = model.getZoom ( ) ; } } }
Source:
static java.math.BigInt modExp ( java.math.BigInt a , java.math.BigInt p , java.math.BigInt m ) { java.math.BigInt r = java.math.BigInt.newBigInt ( ) ; java.math.BigInt.Check ( java.math.NativeBN.BN_mod_exp ( r.bignum , a.bignum , p.bignum , m.bignum ) ) ; return r ; }

Target:
static java.math.BigInt modExp ( java.math.BigInt a , java.math.BigInt p , java.math.BigInt m ) { java.math.BigInt r = java.math.BigInt.newBigInt ( ) ; java.math.NativeBN.BN_mod_exp ( r.bignum , a.bignum , p.bignum , m.bignum ) ; return r ; }
Source:
static java.math.BigInt shift ( java.math.BigInt a , int n ) { java.math.BigInt r = java.math.BigInt.newBigInt ( ) ; java.math.BigInt.Check ( java.math.NativeBN.BN_shift ( r.bignum , a.bignum , n ) ) ; return r ; }

Target:
static java.math.BigInt shift ( java.math.BigInt a , int n ) { java.math.BigInt r = java.math.BigInt.newBigInt ( ) ; java.math.NativeBN.BN_shift ( r.bignum , a.bignum , n ) ; return r ; }
Source:
private void testExplicitPositionMatchParent ( ) { doLayoutParamTest ( ( android.view.WindowManager.LayoutParams params ) -> { params.width = WindowManager.LayoutParams.MATCH_PARENT ; params.height = WindowManager.LayoutParams.MATCH_PARENT ; } ) ; }

Target:
private void testExplicitPositionMatchParent ( ) { doLayoutParamTest ( ( android.view.WindowManager.LayoutParams params ) -> { params.width = WindowManager.LayoutParams.MATCH_PARENT ; params.height = WindowManager.LayoutParams.MATCH_PARENT ; params.x = 100 ; params.y = 100 ; } ) ; }
Source:
public void flush ( ) { try { delegate.getCache ( ) . flush ( ) ; } catch ( java.io.IOException ignored ) { } }

Target:
public void flush ( ) { try { delegate.flush ( ) ; } catch ( java.io.IOException ignored ) { } }
Source:
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 ) ; }

Target:
public void warning ( java.lang.String tag , java.lang.String message , java.lang.Object data ) { 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:
void onBleDisable ( ) { com.android.bluetooth.btservice.AdapterProperties.debugLog ( "onBleDisable" ) ; if ( ( getState ( ) ) == ( android.bluetooth.BluetoothAdapter.STATE_BLE_TURNING_OFF ) ) { setScanMode ( AbstractionLayer.BT_SCAN_MODE_NONE ) ; } }

Target:
void onBleDisable ( ) { com.android.bluetooth.btservice.AdapterProperties.debugLog ( "onBleDisable" ) ; setScanMode ( AbstractionLayer.BT_SCAN_MODE_NONE ) ; }
Source:
public java.lang.Class loadClass ( java.lang.String name , java.lang.ClassLoader loader ) { java.lang.String slashName = name.replace ( '.' , '/' ) ; return loadClassBinaryName ( slashName , loader ) ; }

Target:
public java.lang.Class loadClass ( java.lang.String name , java.lang.ClassLoader loader ) { java.lang.String slashName = name.replace ( '.' , '/' ) ; return loadClassBinaryName ( slashName , loader , null ) ; }
Source:
void setSupplicantLogLevel ( ) { if ( mVerboseLoggingEnabled ) { mWifiNative.setSupplicantLogLevel ( "DEBUG" ) ; } else { mWifiNative.setSupplicantLogLevel ( "INFO" ) ; } }

Target:
void setSupplicantLogLevel ( ) { mWifiNative.setSupplicantLogLevel ( mVerboseLoggingEnabled ) ; }
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.ResolvedPackage pkg ) { com.android.tools.lint.ExternalAnnotationRepository.ClassInfo c = findPackage ( pkg ) ; if ( c == null ) { return null ; } return c.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.ResolvedPackage pkg ) { com.android.tools.lint.ExternalAnnotationRepository.ClassInfo c = findPackage ( pkg ) ; if ( c == null ) { return null ; } return c.getAnnotations ( ) ; }
Source:
public int getId ( ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract int getId ( ) ;
Source:
public boolean answer ( com.android.server.wifi.WifiNative.ScanCapabilities capabilities ) { capabilities.max_scan_cache_size = java.lang.Integer.MAX_VALUE ; capabilities.max_scan_buckets = max_scan_buckets ; capabilities.max_ap_cache_per_scan = com.android.server.wifi.scanner.WifiScanningServiceTest.MAX_AP_PER_SCAN ; capabilities.max_rssi_sample_size = 8 ; capabilities.max_scan_reporting_threshold = 10 ; capabilities.max_hotlist_bssids = 0 ; capabilities.max_significant_wifi_change_aps = 0 ; return true ; }

Target:
public boolean answer ( com.android.server.wifi.WifiNative.ScanCapabilities capabilities ) { capabilities.max_scan_cache_size = java.lang.Integer.MAX_VALUE ; capabilities.max_scan_buckets = max_scan_buckets ; capabilities.max_ap_cache_per_scan = com.android.server.wifi.scanner.WifiScanningServiceTest.MAX_AP_PER_SCAN ; capabilities.max_rssi_sample_size = 8 ; capabilities.max_scan_reporting_threshold = 10 ; return true ; }
Source:
public void telephonySetNetworkSelectionModeAutomaticForSubscription ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "subId" ) java.lang.Integer subId ) { mTelephonyManager.setNetworkSelectionModeAutomatic ( subId ) ; }

Target:
public void telephonySetNetworkSelectionModeAutomaticForSubscription ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "subId" ) java.lang.Integer subId ) { mTelephonyManager.setNetworkSelectionModeAutomatic ( ) ; }
Source:
public void testSameConfigurationSplitFullSplitNoRelaunch ( ) throws java.lang.Exception { if ( ! ( supportsMultiWindowMode ( ) ) ) { com.android.tradefed.log.LogUtil.CLog.logAndDisplay ( LogLevel.INFO , "Skipping test: no multi-window support" ) ; return ; } moveActivitySplitFullSplit ( android.server.cts.ActivityManagerAppConfigurationTests.RESIZEABLE_ACTIVITY_NAME ) ; }

Target:
public void testSameConfigurationSplitFullSplitNoRelaunch ( ) throws java.lang.Exception { moveActivitySplitFullSplit ( android.server.cts.ActivityManagerAppConfigurationTests.RESIZEABLE_ACTIVITY_NAME ) ; }
Source:
public void storeToXML ( java.io.OutputStream os , java.lang.String comment ) throws java.io.IOException { if ( os == null ) throw new java.lang.NullPointerException ( ) ; storeToXML ( os , comment , "UTF-8" ) ; }

Target:
public void storeToXML ( java.io.OutputStream os , java.lang.String comment ) throws java.io.IOException { storeToXML ( os , comment , "UTF-8" ) ; }
Source:
public boolean isHalStarted ( ) { if ( com.android.server.wifi.WifiNative.HIDL_VENDOR_ENABLE ) { return mWifiVendorHal.isHalStarted ( ) ; } else { return ( com.android.server.wifi.WifiNative.sWifiHalHandle ) != 0 ; } }

Target:
public boolean isHalStarted ( ) { return mWifiVendorHal.isHalStarted ( ) ; }
Source:
public void castNullToString ( ) throws java.lang.Exception { final java.lang.String methodSignature = "castNullToString()Ljava/lang/String;" ; com.android.jack.transformations.cast.UselessCastRemoverTest.buildMethodAndCheckUselessCastRemover ( com.android.jack.transformations.cast.UselessCastRemoverTest.CAST , methodSignature , true ) ; }

Target:
public void castNullToString ( ) throws java.lang.Exception { final java.lang.String methodSignature = "castNullToString()Ljava/lang/String;" ; com.android.jack.transformations.cast.UselessCastRemoverTest.buildMethodAndCheckUselessCastRemover ( com.android.jack.transformations.cast.UselessCastRemoverTest.CAST , methodSignature , false ) ; }
Source:
public com.google.common.collect.UnmodifiableIterator < V > iterator ( ) { return com.google.common.collect.Maps.valueIterator ( multimap.entries ( ) . iterator ( ) ) ; }

Target:
public com.google.common.collect.UnmodifiableIterator < V > iterator ( ) { return multimap.valueIterator ( ) ; }
Source:
public void maybeWriteAsync ( ) { maybeWriteAsync ( ( ( java.lang.Void ) ( null ) ) ) ; }

Target:
void maybeWriteAsync ( ) { maybeWriteAsync ( null ) ; }
Source:
public void timeCopySignF ( int reps ) { for ( int rep = 0 ; rep < reps ; ++ rep ) { java.lang.Math.copySign ( f , f ) ; } }

Target:
public float timeCopySignF ( int reps ) { float result = f ; for ( int rep = 0 ; rep < reps ; ++ rep ) { result = java.lang.Math.copySign ( f , f ) ; } return result ; }
Source:
public static int $noinline$indexOf ( java.lang.String lhs , int ch ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return lhs.indexOf ( ch ) ; }

Target:
public static int $noinline$indexOf ( java.lang.String lhs , int ch ) { return lhs.indexOf ( ch ) ; }
Source:
public static java.util.Locale getDefault ( ) { if ( ( java.util.Locale.defaultLocale ) == null ) { java.util.Locale.initDefault ( ) ; } return java.util.Locale.defaultLocale ; }

Target:
public static java.util.Locale getDefault ( ) { if ( ( java.util.Locale.defaultLocale ) == null ) { java.util.Locale.defaultLocale = java.util.Locale.initDefault ( ) ; } return java.util.Locale.defaultLocale ; }
Source:
public android.telephony.mbms.DownloadStatus getDownloadStatus ( java.lang.String appName , android.telephony.mbms.DownloadRequest downloadRequest ) throws android.os.RemoteException { return null ; }

Target:
public android.telephony.mbms.DownloadStatus getDownloadStatus ( android.telephony.mbms.DownloadRequest downloadRequest ) throws android.os.RemoteException { return null ; }
Source:
public void writeToParcel ( android.os.Parcel dest , int flags ) { dest.writeParcelable ( networkCapabilities , flags ) ; dest.writeInt ( legacyType ) ; dest.writeInt ( requestId ) ; dest.writeString ( type.name ( ) ) ; }

Target:
public void writeToParcel ( android.os.Parcel dest , int flags ) { networkCapabilities.writeToParcel ( dest , flags ) ; dest.writeInt ( legacyType ) ; dest.writeInt ( requestId ) ; dest.writeString ( type.name ( ) ) ; }
Source:
public void tearDown ( ) throws java.lang.Exception { if ( ( videoView ) != null ) { getHelper ( ) . cleanUpView ( videoView ) ; } if ( ( videoViewFactory ) != null ) { videoViewFactory.release ( ) ; } super . tearDown ( ) ; }

Target:
protected void tearDown ( ) throws java.lang.Exception { if ( ( videoView ) != null ) { getHelper ( ) . cleanUpView ( videoView ) ; } if ( ( videoViewFactory ) != null ) { videoViewFactory.release ( ) ; } super . tearDown ( ) ; }
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { java.lang.String action = intent.getAction ( ) ; if ( DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED.equals ( action ) ) { enforceBeamShareActivityPolicy ( context , new android.os.UserHandle ( getSendingUserId ( ) ) , mIsNdefPushEnabled ) ; } }

Target:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { java.lang.String action = intent.getAction ( ) ; if ( DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED.equals ( action ) ) { enforceBeamShareActivityPolicy ( context , new android.os.UserHandle ( getSendingUserId ( ) ) ) ; } }
Source:
public static void computeExpm1 ( android.renderscript.cts.TestExpm1.ArgumentsFloatFloat args ) { args.ulf = 3 ; args.ulfRelaxed = 16 ; args.out = ( ( float ) ( java.lang.StrictMath.expm1 ( args.in ) ) ) ; }

Target:
public static void computeExpm1 ( android.renderscript.cts.TestExpm1.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 16 ; args.out = ( ( float ) ( java.lang.StrictMath.expm1 ( args.in ) ) ) ; }
Source:
private static void getAndPrintTags ( ) { long [ ] freedTags = Main.getCollectedTags ( ) ; java.util.Arrays.sort ( freedTags ) ; java.lang.System.out.println ( java.util.Arrays.toString ( freedTags ) ) ; }

Target:
private static void getAndPrintTags ( ) { long [ ] freedTags = Main.getCollectedTags ( 0 ) ; java.util.Arrays.sort ( freedTags ) ; java.lang.System.out.println ( java.util.Arrays.toString ( freedTags ) ) ; }
Source:
public void doAbort ( ) ;

Target:
public void doAbort ( java.lang.String msg ) ;
Source:
android.car.diagnostic.CarDiagnosticEvent update ( @ android.annotation.NonNull android.car.diagnostic.CarDiagnosticEvent newEvent ) { newEvent = java.util.Objects.requireNonNull ( newEvent ) ; if ( ( null == ( mLastEvent ) ) || ( mLastEvent.isEarlierThan ( newEvent ) ) ) mLastEvent = newEvent ; return mLastEvent ; }

Target:
android.car.diagnostic.CarDiagnosticEvent update ( @ android.annotation.NonNull android.car.diagnostic.CarDiagnosticEvent newEvent ) { java.util.Objects.requireNonNull ( newEvent ) ; if ( ( null == ( mLastEvent ) ) || ( mLastEvent.isEarlierThan ( newEvent ) ) ) mLastEvent = newEvent ; return mLastEvent ; }
Source:
com.google.common.util.concurrent.ListenableFuture < java.lang.Void > onSuccessfulFill ( android.content.Context appContext ) ;

Target:
com.google.common.util.concurrent.ListenableFuture < java.lang.Void > onSuccessfulFill ( ) ;