auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public java.util.Collection < V > values ( ) { return new com.google.common.collect.Maps.Values < K , V > ( ) { @ java.lang.Override java.util.Map < K , V > map ( ) { return com.google.common.collect.Maps.DescendingMap.this ; } } ; }

Target:
public java.lang.String toString ( ) { return standardToString ( ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameterRef x ) { expression = new com.android.jack.ir.ast.JParameterRef ( x.getSourceInfo ( ) , x.getParameter ( ) ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameterRef x ) { expression = x.getParameter ( ) . makeRef ( x.getSourceInfo ( ) ) ; return false ; }
Source:
public void test_plus_longTemporalUnit_zero ( ) { java.time.LocalTime t = TEST_12_30_40_987654321.plus ( 0 , java.time.temporal.ChronoUnit.MINUTES ) ; org.testng.Assert.assertEquals ( t , TEST_12_30_40_987654321 ) ; }

Target:
public void test_plus_longTemporalUnit_zero ( ) { java.time.LocalTime t = tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.plus ( 0 , java.time.temporal.ChronoUnit.MINUTES ) ; org.testng.Assert.assertEquals ( t , tck.java.time.TCKLocalTime.TEST_12_30_40_987654321 ) ; }
Source:
private native void gattConnectionParameterUpdateNative ( int clientIf , java.lang.String address , int minInterval , int maxInterval , int latency , int timeout ) ;

Target:
private native void gattConnectionParameterUpdateNative ( int clientIf , java.lang.String address , int minInterval , int maxInterval , int latency , int timeout , int minConnectionEventLen , int maxConnectionEventLen ) ;
Source:
public boolean isApplicable ( ) { return ( ( ( annotation ) != null ) && ( ! ( annotation.source ( ) . isAssignableFrom ( javax.lang.model.type.NullType.class ) ) ) ) && ( annotation.method ( ) . isEmpty ( ) ) ; }

Target:
public boolean isApplicable ( ) { return ( ( ( annotation ) != null ) && ( ! ( annotation.source ( ) . isAssignableFrom ( java.lang.Void.class ) ) ) ) && ( annotation.method ( ) . isEmpty ( ) ) ; }
Source:
public static int IntDivision ( ) { int a ; int b ; int c ; a = 8 ; b = 3 ; c = a / b ; return c ; }

Target:
public static int IntMultiplication ( ) { int a ; int b ; int c ; a = Main.$inline$int ( 7 ) ; b = Main.$inline$int ( 3 ) ; c = a * b ; return c ; }
Source:
public void scoreNetworks ( ) throws java.lang.Exception { android.net.NetworkKey [ ] keys = new android.net.NetworkKey [ ] { com.android.networkrecommendation.DefaultNetworkRecommendationProviderTest.GOOD_METERED_NETWORK.networkKey , com.android.networkrecommendation.DefaultNetworkRecommendationProviderTest.GOOD_CAPTIVE_NETWORK.networkKey } ; mProvider.onRequestScores ( keys ) ; }

Target:
public void scoreNetworks ( ) throws java.lang.Exception { android.net.NetworkKey [ ] keys = new android.net.NetworkKey [ ] { com.android.networkrecommendation.DefaultNetworkRecommendationProviderTest.GOOD_METERED_NETWORK.networkKey , com.android.networkrecommendation.DefaultNetworkRecommendationProviderTest.GOOD_CAPTIVE_NETWORK.networkKey } ; mProvider.onRequestScores ( keys ) ; org.mockito.Mockito.verify ( mNetworkScoreManager ) . updateScores ( org.mockito.Mockito.any ( ) ) ; }
Source:
public void enableVideoCalling ( boolean enable ) { enforceModifyPermission ( ) ; com.android.ims.ImsManager.setVtSetting ( mPhone.getContext ( ) , enable ) ; }

Target:
public java.lang.String getSubscriptionCarrierName ( int subId ) { final com.android.internal.telephony.Phone phone = getPhone ( subId ) ; return phone == null ? null : phone.getCarrierName ( ) ; }
Source:
public void test_plusMonths_long_negativeAcrossYear ( ) { java.time.LocalDate t = TEST_2007_07_15.plusMonths ( ( - 7 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2006 , 12 , 15 ) ) ; }

Target:
public void test_plusMonths_long_negativeAcrossYear ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.plusMonths ( ( - 7 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2006 , 12 , 15 ) ) ; }
Source:
public javax.net.ssl.SSLSession getSession ( ) { if ( ( sslSession ) == null ) { return org.conscrypt.SSLNullSession.getNullSession ( ) ; } return sslSession ; }

Target:
public javax.net.ssl.SSLSession getSession ( ) { if ( ( sslSession ) == null ) { return ( handshakeSession ) != null ? handshakeSession : org.conscrypt.SSLNullSession.getNullSession ( ) ; } return sslSession ; }
Source:
public void add ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethodIdWide id , @ javax.annotation.Nonnull java.lang.String newSignature ) { newMethodSignatures.put ( id , newSignature ) ; }

Target:
public void add ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethodIdWide methodId , @ javax.annotation.Nonnull com.android.jack.shrob.obfuscation.key.MethodKey newKey ) { newMethodKeys.put ( methodId , newKey ) ; }
Source:
public void testPackageOverrideNone ( ) { com.android.builder.core.VariantConfiguration variant = getVariant ( ) ; assertNull ( variant.getPackageOverride ( ) ) ; }

Target:
public void testPackageOverrideNone ( ) { com.android.builder.core.VariantConfiguration variant = getVariant ( ) ; assertNull ( variant.getIdOverride ( ) ) ; }
Source:
public void sendDtmf ( char c , android.os.Message result ) throws android.os.RemoteException { }

Target:
public void startDtmf ( char c ) { this . startDtmf ( c ) ; }
Source:
public boolean isUpdateFor ( @ com.android.annotations.NonNull com.android.sdklib.repository.descriptors.IPkgDesc existingDesc ) { return ( isGenericUpdateFor ( existingDesc ) ) && ( ( revision.compareTo ( existingDesc.getFullRevision ( ) , PreviewComparison.COMPARE_TYPE ) ) == 0 ) ; }

Target:
public boolean isUpdateFor ( com.android.sdklib.repository.descriptors.PkgDesc thisPkgDesc , com.android.sdklib.repository.descriptors.IPkgDesc existingDesc ) { return ( thisPkgDesc.isGenericUpdateFor ( existingDesc ) ) && ( ( thisPkgDesc.getFullRevision ( ) . compareTo ( existingDesc.getFullRevision ( ) , PreviewComparison.COMPARE_TYPE ) ) == 0 ) ; }
Source:
public void handshakeCompleted ( ) { if ( org.conscrypt.NativeCryptoTest.DEBUG ) { java.lang.System.out.println ( ( ( "ssl=0x" + ( java.lang.Long.toString ( sslNativePointer , 16 ) ) ) + " handshakeCompleted" ) ) ; } this . handshakeCompletedCalled = true ; }

Target:
public void onSSLStateChange ( long sslSessionNativePtr , int type , int val ) { if ( org.conscrypt.NativeCryptoTest.DEBUG ) { java.lang.System.out.println ( ( ( "ssl=0x" + ( java.lang.Long.toString ( sslNativePointer , 16 ) ) ) + " onSSLStateChange" ) ) ; } this . handshakeCompletedCalled = true ; }
Source:
public void testSupportsGeoMagneticField ( ) { checkSupportsSensor ( Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR ) ; }

Target:
public void testSupportsGeoMagneticField ( ) { checkSupportsSensor ( Sensor.TYPE_MAGNETIC_FIELD ) ; }
Source:
public static com.android.dialer.lightbringer.Lightbringer.ReachabilityData create ( java.lang.String number , boolean videoCallable , boolean supportsUpgrade ) { return new com.android.dialer.lightbringer.AutoValue_Lightbringer_ReachabilityData ( number , videoCallable , supportsUpgrade ) ; }

Target:
public static com.android.dialer.duo.Duo.ReachabilityData create ( java.lang.String number , boolean videoCallable , boolean supportsUpgrade ) { return new com.android.dialer.duo.AutoValue_Duo_ReachabilityData ( number , videoCallable , supportsUpgrade ) ; }
Source:
public org.eclipse.swt.graphics.Image getIcon ( ) { return com.android.ide.eclipse.adt.internal.editors.IconFactory.getInstance ( ) . getIcon ( com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor.ELEMENT_ICON_FILENAME ) ; }

Target:
public org.eclipse.swt.graphics.Image getGenericIcon ( ) { return com.android.ide.eclipse.adt.internal.editors.IconFactory.getInstance ( ) . getIcon ( com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor.ELEMENT_ICON_FILENAME ) ; }
Source:
public boolean removeAllNetworks ( ) { return doBooleanCommand ( "REMOVE_NETWORK all" ) ; }

Target:
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 ; } }
Source:
private org.jetbrains.plugins.github.GithubAuthData getAuthData ( ) { return org.jetbrains.plugins.github.GithubAuthData.createTokenAuth ( getUrl ( ) , getToken ( ) ) ; }

Target:
private org.jetbrains.plugins.github.util.GithubAuthData getAuthData ( ) { return org.jetbrains.plugins.github.util.GithubAuthData.createTokenAuth ( getUrl ( ) , getToken ( ) ) ; }
Source:
public void execute ( ) { super . execute ( ) ; ( mExecutedCount ) ++ ; if ( failCount == ( mExecutedCount ) ) { fail ( "FakeSensorOperation failed" ) ; } }

Target:
public void execute ( ) { super . execute ( ) ; ( mExecutedCount ) ++ ; if ( failCount == ( mExecutedCount ) ) { doFail ( ) ; } }
Source:
public com.android.sched.vfs.InputVDir getRootInputVDir ( ) { return root ; }

Target:
public com.android.sched.vfs.InputVDir getRootInputVDir ( ) { assert ! ( closed ) ; return root ; }
Source:
synchronized long nScriptFieldIDCreate ( long sid , int slot ) { validate ( ) ; return rsnScriptFieldIDCreate ( mContext , sid , slot ) ; }

Target:
synchronized void nIncContextFinish ( ) { validate ( ) ; rsnIncContextFinish ( mIncCon ) ; }
Source:
private static int compare32 ( int x , int y ) { return java.lang.Integer.compare ( x , y ) ; }

Target:
private static int compareBytes ( byte x , byte y ) { return java.lang.Integer.compare ( x , y ) ; }
Source:
private void scrollToLatestLog ( ) { mTable.setTopIndex ( ( ( mTable.getItemCount ( ) ) - 1 ) ) ; }

Target:
private void scrollToLatestLog ( ) { if ( ! ( mTable.isDisposed ( ) ) ) { mTable.setTopIndex ( ( ( mTable.getItemCount ( ) ) - 1 ) ) ; } }
Source:
private int getSpecialLabel ( int label ) { return ( ( maxLabel ) * 2 ) + ( ~ label ) ; }

Target:
private int getSpecialLabel ( int label ) { return ( ( maxLabel ) + ( method.getCatches ( ) . size ( ) ) ) + ( ~ label ) ; }
Source:
public void testForName_Null ( ) { try { java.nio.charset.Charset.forName ( null ) ; fail ( "Should throw IllegalArgumentException!" ) ; } catch ( java.lang.IllegalArgumentException e ) { } }

Target:
public void test_have_canonical_EUC_JP ( ) throws java.lang.Exception { assertEquals ( "EUC-JP" , java.nio.charset.Charset.forName ( "EUC-JP" ) . name ( ) ) ; }
Source:
public void deleteLocal ( ) { if ( isLocal ( ) ) { com.android.sdklib.internal.repository.OsHelper.deleteFileOrFolder ( new java.io.File ( getLocalOsPath ( ) ) ) ; } }

Target:
public void deleteLocal ( ) { if ( isLocal ( ) ) { com.android.sdklib.io.OsHelper.deleteFileOrFolder ( new java.io.File ( getLocalOsPath ( ) ) ) ; } }
Source:
public void testE1 ( ) { dot.junit.opcodes.opc_throw.d.T_opc_throw_4 t = new dot.junit.opcodes.opc_throw.d.T_opc_throw_4 ( ) ; try { t.run ( ) ; fail ( "expected NullPointerException" ) ; } catch ( java.lang.NullPointerException npe ) { } }

Target:
public void testE2 ( ) { loadAndRun ( "dot.junit.opcodes.opc_throw.d.T_opc_throw_5" , java.lang.IllegalMonitorStateException.class ) ; }
Source:
private void sendMessage ( java.lang.String str ) { android.os.Message msg = android.os.Message.obtain ( ) ; msg.what = com.android.cts.verifier.audio.AudioFrequencyUnprocessedActivity.TEST1_MESSAGE ; msg.obj = str ; mMessageHandler.sendMessage ( msg ) ; }

Target:
public void sendMessage ( int testId , int msgType , java.lang.String str ) { android.os.Message msg = android.os.Message.obtain ( ) ; msg.what = msgType ; msg.obj = str ; msg.arg1 = testId ; mMessageHandler.sendMessage ( msg ) ; }
Source:
public static int NegSub1 ( int arg1 , int arg2 ) { return - ( arg1 - arg2 ) ; }

Target:
public static int $noinline$NegSub1 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return - ( arg1 - arg2 ) ; }
Source:
public void checkValidity ( ) { if ( ! ( ( parent ) instanceof com.android.jack.ir.ast.JDefinedClassOrInterface ) ) { throw new com.android.jack.ir.InternalCompilerException ( this , "Invalid parent" ) ; } }

Target:
public void checkValidity ( ) { if ( ! ( ( parent ) instanceof com.android.jack.ir.ast.JDefinedClassOrInterface ) ) { throw new com.android.jack.ir.JNodeInternalError ( this , "Invalid parent" ) ; } }
Source:
public android.net.IpSecTransform.Builder setEncryption ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecAlgorithm algo ) { mConfig.flow [ direction ] . encryption = algo ; return this ; }

Target:
public android.net.IpSecTransform.Builder setEncryption ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecAlgorithm algo ) { mConfig.setEncryption ( direction , algo ) ; return this ; }
Source:
public void queryCapabilityConfiguration ( int capability , int radioTech , android.telephony.ims.aidl.IImsCapabilityCallback c ) { queryCapabilityConfigurationInternal ( capability , radioTech , c ) ; }

Target:
public void queryCapabilityConfiguration ( int capability , int radioTech , android.telephony.ims.aidl.IImsCapabilityCallback c ) { synchronized ( mLock ) { queryCapabilityConfigurationInternal ( capability , radioTech , c ) ; } }
Source:
public synchronized void startLogging ( boolean verboseEnabled ) { com.android.server.wifi.WifiNative wifiNative = com.android.server.wifi.WifiNative.getWlanNativeInterface ( ) ; mFirmwareVersion = wifiNative.getFirmwareVersion ( ) ; mDriverVersion = wifiNative.getDriverVersion ( ) ; mSupportedFeatureSet = wifiNative.getSupportedLoggerFeatureSet ( ) ; }

Target:
public synchronized void startLogging ( boolean verboseEnabled ) { mFirmwareVersion = mWifiNative.getFirmwareVersion ( ) ; mDriverVersion = mWifiNative.getDriverVersion ( ) ; mSupportedFeatureSet = mWifiNative.getSupportedLoggerFeatureSet ( ) ; }
Source:
public static final int primaryOrder ( int order ) { return java.text.com.ibm.icu.text.CollationElementIterator.primaryOrder ( order ) ; }

Target:
public static final int primaryOrder ( int order ) { return libcore.icu.CollationElementIteratorICU.primaryOrder ( order ) ; }
Source:
public void refreshTestResults ( ) { com.android.cts.verifier.TestListAdapter.updateTestResults ( mContext , mTestResults ) ; notifyDataSetChanged ( ) ; }

Target:
protected void onPostExecute ( com.android.cts.verifier.TestListAdapter.RefreshResult result ) { super . onPostExecute ( result ) ; mRows.clear ( ) ; mRows.addAll ( result.mItems ) ; mTestResults.clear ( ) ; mTestResults.putAll ( result.mResults ) ; notifyDataSetChanged ( ) ; }
Source:
public void handleMessage ( android.os.Message msg ) { switch ( msg.what ) { case com.android.internal.telephony.gsm.stk.CommandParamsFactory.MSG_ID_LOAD_ICON_DONE : sendCmdParams ( setIcons ( msg.obj ) ) ; break ; } }

Target:
public void handleMessage ( android.os.Message msg ) { switch ( msg.what ) { case com.android.internal.telephony.cat.CommandParamsFactory.MSG_ID_LOAD_ICON_DONE : sendCmdParams ( setIcons ( msg.obj ) ) ; break ; } }
Source:
public final void init ( int opmode , java.security.Key key , java.security.SecureRandom random ) throws java.security.InvalidKeyException { checkMode ( opmode ) ; spiImpl.engineInit ( opmode , key , random ) ; mode = opmode ; }

Target:
public final void init ( int opmode , java.security.Key key , java.security.SecureRandom random ) throws java.security.InvalidKeyException { checkMode ( opmode ) ; getSpi ( key ) . engineInit ( opmode , key , random ) ; mode = opmode ; }
Source:
public com.google.common.primitives.UnsignedLong remainder ( com.google.common.primitives.UnsignedLong val ) { com.google.common.base.Preconditions.checkNotNull ( val ) ; return com.google.common.primitives.UnsignedLong.asUnsigned ( com.google.common.primitives.UnsignedLongs.remainder ( value , val.value ) ) ; }

Target:
public com.google.common.primitives.UnsignedLong dividedBy ( com.google.common.primitives.UnsignedLong val ) { return com.google.common.primitives.UnsignedLong.fromLongBits ( com.google.common.primitives.UnsignedLongs.divide ( value , com.google.common.base.Preconditions.checkNotNull ( val ) . value ) ) ; }
Source:
public void dimensionChanged ( ) { myGoogleCloudTestingConfiguration.dimensionChanged ( this ) ; }

Target:
public void dimensionChanged ( ) { myCloudConfiguration.dimensionChanged ( this ) ; }
Source:
public org.gradle.api.logging.Logger getLogger ( ) { return org.gradle.api.logging.Logging.getLogger ( getClass ( ) ) ; }

Target:
public java.lang.String getVariantName ( ) { return variantName ; }
Source:
void addFeature ( int feature ) { mFeatures.add ( feature ) ; }

Target:
void addFeature ( int slotId , int feature ) { mFeatures.add ( new android.telephony.ims.stub.ImsFeatureConfiguration.FeatureSlotPair ( slotId , feature ) ) ; }
Source:
public static native void SSL_CTX_free ( int ssl_ctx ) ;

Target:
public static native java.lang.Object [ ] [ ] get_X509_GENERAL_NAME_stack ( long x509ctx , int type ) ;
Source:
public int load ( java.io.FileDescriptor fd , long offset , long length , int priority ) { return 0 ; }

Target:
public int load ( android.content.Context context , int resId , int priority ) { return 0 ; }
Source:
public void copy3DRangeFrom ( int xoff , int yoff , int zoff , int w , int h , int d , float [ ] data ) { validateIsFloat32 ( ) ; copy3DRangeFromUnchecked ( xoff , yoff , zoff , w , h , d , data ) ; }

Target:
public void copyTo ( byte [ ] d ) { validateIsInt8 ( ) ; copyTo ( d , Element.DataType.SIGNED_8 , d.length ) ; }
Source:
public void onClick ( android.view.View v ) { if ( ! ( android.app.ActivityManager.isUserAMonkey ( ) ) ) { mBackend.setMode ( mode ) ; } mDialog.dismiss ( ) ; finish ( ) ; }

Target:
public void onDismiss ( android.content.DialogInterface dialog ) { finish ( ) ; }
Source:
private native void registerScannerNative ( long app_uuid_lsb , long app_uuid_msb ) ;

Target:
private native void registerScannerNative ( long appUuidLsb , long appUuidMsb ) ;
Source:
public void run ( ) { assertFalse ( mTextView.moveCursorToVisibleOffset ( ) ) ; }

Target:
public void run ( ) { mTextView = findTextView ( R.id.textview_text ) ; mTextView.setText ( spannableText , BufferType.SPANNABLE ) ; }
Source:
private void onIccSwap ( boolean isAdded ) { boolean isHotSwapSupported = mContext.getResources ( ) . getBoolean ( R.bool.config_hotswapCapable ) ; if ( isHotSwapSupported ) { log ( "onIccSwap: isHotSwapSupported is true, don't prompt for rebooting" ) ; return ; } log ( "onIccSwap: isHotSwapSupported is false, prompt for rebooting" ) ; promptForRestart ( isAdded ) ; }

Target:
public boolean setOperatorBrandOverride ( java.lang.String brand ) { if ( ( mUiccProfile ) != null ) { return mUiccProfile.setOperatorBrandOverride ( brand ) ; } else { return false ; } }
Source:
java.util.Locale [ ] getLocaleList ( ) { if ( ( locales ) == null ) { synchronized ( this ) { if ( ( locales ) == null ) { locales = com.ibm.icu.impl.ICUResourceBundle.createLocaleList ( prefix , loader ) ; } } } return locales ; }

Target:
java.util.Locale [ ] getLocaleList ( ) { if ( ( locales ) == null ) { getULocaleList ( ) ; synchronized ( this ) { if ( ( locales ) == null ) { locales = com.ibm.icu.impl.ICUResourceBundle.getLocaleList ( ulocales ) ; } } } return locales ; }
Source:
public void invokeOemRilRequestStrings ( java.lang.String [ ] strings , android.os.Message response ) { }

Target:
public void setLogicalToPhysicalSlotMapping ( int [ ] physicalSlots , android.os.Message result ) { }
Source:
static java.lang.Number getDoubleAsNumber ( ) { return new java.lang.Double ( 1.4E77 ) ; }

Target:
static java.lang.Number getDoubleAsNumber ( ) { return java.lang.Double.valueOf ( 1.4E77 ) ; }
Source:
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 ) ;

Target:
native void rsnScriptSetVarV ( long con , long id , int slot , byte [ ] val , boolean mUseInc ) ;
Source:
public android.content.CursorLoader onCreateLoader ( int id , android.os.Bundle args ) { if ( com.android.dialer.app.list.OldSpeedDialFragment.DEBUG ) { com.android.dialer.common.LogUtil.d ( "ContactTileLoaderListener.onCreateLoader" , null ) ; } return com.android.contacts.common.ContactTileLoaderFactory.createStrequentPhoneOnlyLoader ( getActivity ( ) ) ; }

Target:
public android.content.CursorLoader onCreateLoader ( int id , android.os.Bundle args ) { return com.android.contacts.common.ContactTileLoaderFactory.createStrequentPhoneOnlyLoader ( fragment.getContext ( ) ) ; }
Source:
protected void setServiceProviderName ( java.lang.String spn ) { mSpn = spn ; }

Target:
protected void setServiceProviderName ( java.lang.String spn ) { if ( ! ( android.text.TextUtils.equals ( mSpn , spn ) ) ) { mSpnUpdatedRegistrants.notifyRegistrants ( ) ; mSpn = spn ; } }
Source:
public static int getExponent ( double d ) { return sun.misc.FpUtils.getExponent ( d ) ; }

Target:
public static int getExponent ( double d ) { return ( ( int ) ( ( ( ( java.lang.Double.doubleToRawLongBits ( d ) ) & ( sun.misc.DoubleConsts.EXP_BIT_MASK ) ) > > ( ( sun.misc.DoubleConsts.SIGNIFICAND_WIDTH ) - 1 ) ) - ( sun.misc.DoubleConsts.EXP_BIAS ) ) ) ; }
Source:
public void setLine1Number ( java.lang.String alphaTag , java.lang.String number , android.os.Message onComplete ) { android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "setLine1Number: not possible in CDMA" ) ; }

Target:
public void setCallWaiting ( boolean enable , android.os.Message onComplete ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "method setCallWaiting is NOT supported in CDMA!" ) ; }
Source:
private native int createSocketChannelNative ( int type , java.lang.String serviceName , byte [ ] uuid , int port , int flag ) ;

Target:
private native int connectSocketNative ( byte [ ] address , int type , byte [ ] uuid , int port , int flag , int callingUid ) ;
Source:
public void endVisit ( lombok.ast.Node node ) { }

Target:
public void endVisit ( lombok.ast.Node node ) { for ( com.android.tools.lint.client.api.JavaVisitor.VisitingDetector v : mAllDetectors ) { v.getVisitor ( ) . endVisit ( node ) ; } }
Source:
private void unpackBundle ( byte [ ] content , java.io.File targetDir ) throws java.io.IOException { android.util.Slog.i ( logTag , ( "Unpacking update content to: " + targetDir ) ) ; libcore.tzdata.update2.TimeZoneBundle bundle = new libcore.tzdata.update2.TimeZoneBundle ( content ) ; bundle.extractTo ( targetDir ) ; }

Target:
private void unpackDistro ( byte [ ] content , java.io.File targetDir ) throws java.io.IOException { android.util.Slog.i ( logTag , ( "Unpacking update content to: " + targetDir ) ) ; libcore.tzdata.update2.TimeZoneDistro distro = new libcore.tzdata.update2.TimeZoneDistro ( content ) ; distro.extractTo ( targetDir ) ; }
Source:
public void testIsUnknown ( ) { assertEquals ( PhoneNumberUtil.PhoneNumberType.UNKNOWN , phoneUtil.getNumberType ( com.google.i18n.phonenumbers.PhoneNumberUtilTest.US_LOCAL_NUMBER ) ) ; }

Target:
public void testIsUnknown ( ) { assertEquals ( PhoneNumberType.UNKNOWN , phoneUtil.getNumberType ( com.google.i18n.phonenumbers.PhoneNumberUtilTest.US_LOCAL_NUMBER ) ) ; }
Source:
public java.util.Map < java.lang.String , java.lang.String > getDefaultPropertyValues ( ) { return null ; }

Target:
public java.lang.Object getViewObject ( ) { return mViewObject ; }
Source:
void delete ( ) { mList.clear ( ) ; java.io.File file = getManualFile ( ) ; if ( file.exists ( ) ) { file.delete ( ) ; } }

Target:
void delete ( ) { mList.clear ( ) ; deleteFile ( ) ; }
Source:
void setCallerDisplayName ( java.lang.String callId , java.lang.String callerDisplayName , int presentation ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.setCallerDisplayName ( callId , callerDisplayName , presentation ) ; } catch ( android.os.RemoteException e ) { } } }

Target:
void setAddress ( java.lang.String callId , android.net.Uri address , int presentation ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.setAddress ( callId , address , presentation , android.telecom.Log.getExternalSession ( ) ) ; } catch ( android.os.RemoteException e ) { } } }
Source:
public void removeTransportModeTransforms ( java.net.DatagramSocket socket ) throws java.io.IOException { removeTransportModeTransforms ( socket.getFileDescriptor$ ( ) ) ; }

Target:
public void removeTransportModeTransforms ( @ android.annotation.NonNull java.net.Socket socket ) throws java.io.IOException { removeTransportModeTransforms ( socket.getFileDescriptor$ ( ) ) ; }
Source:
public void onSuccessfulFill ( android.content.Context appContext ) { if ( ( lastTimestampProcessed ) != null ) { com.android.dialer.storage.StorageComponent.get ( appContext ) . unencryptedSharedPrefs ( ) . edit ( ) . putLong ( com.android.dialer.calllog.datasources.systemcalllog.SystemCallLogDataSource.PREF_LAST_TIMESTAMP_PROCESSED , lastTimestampProcessed ) . apply ( ) ; } }

Target:
private java.lang.Void onSuccessfulFillInternal ( android.content.Context appContext ) { if ( ( lastTimestampProcessed ) != null ) { com.android.dialer.storage.StorageComponent.get ( appContext ) . unencryptedSharedPrefs ( ) . edit ( ) . putLong ( com.android.dialer.calllog.datasources.systemcalllog.SystemCallLogDataSource.PREF_LAST_TIMESTAMP_PROCESSED , lastTimestampProcessed ) . apply ( ) ; } return null ; }
Source:
void cleanup ( ) { if ( com.android.bluetooth.avrcp.AddressedMediaPlayer.DEBUG ) android.util.Log.v ( com.android.bluetooth.avrcp.AddressedMediaPlayer.TAG , "cleanup" ) ; mNowPlayingList = null ; mMediaInterface = null ; mLastTrackIdSent = android.media.session.MediaSession.QueueItem.UNKNOWN_ID ; }

Target:
void cleanup ( ) { if ( com.android.bluetooth.avrcp.AddressedMediaPlayer.DEBUG ) android.util.Log.v ( com.android.bluetooth.avrcp.AddressedMediaPlayer.TAG , "cleanup" ) ; mNowPlayingList = mEmptyNowPlayingList ; mMediaInterface = null ; mLastTrackIdSent = android.media.session.MediaSession.QueueItem.UNKNOWN_ID ; }
Source:
boolean mustBeKept ( com.android.jack.ir.ast.JAnnotationLiteral annotation ) { switch ( annotation.getRetentionPolicy ( ) ) { case RUNTIME : return addRuntimeVisibleAnnotations ; case CLASS : case SOURCE : return addRuntimeInvisibleAnnotations ; case SYSTEM : return addSystemAnnotations ; default : throw new java.lang.AssertionError ( ) ; } }

Target:
boolean mustBeKept ( com.android.jack.ir.ast.JAnnotation annotation ) { switch ( annotation.getRetentionPolicy ( ) ) { case RUNTIME : return addRuntimeVisibleAnnotations ; case CLASS : case SOURCE : return addRuntimeInvisibleAnnotations ; case SYSTEM : return addSystemAnnotations ; default : throw new java.lang.AssertionError ( ) ; } }
Source:
public void test_channelWithJoinWithSource ( ) throws java.lang.Exception { setup ( true ) ; assertEquals ( client , key.channel ( ) ) ; key.drop ( ) ; assertEquals ( client , key.channel ( ) ) ; }

Target:
public void test_channelWithJoinWithSource ( ) throws java.lang.Exception { init ( true ) ; assertEquals ( client , key.channel ( ) ) ; key.drop ( ) ; assertEquals ( client , key.channel ( ) ) ; }
Source:
public void waitForCount ( int count ) { waitForCount ( count , android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS ) ; }

Target:
void assertIsInManagedCall ( boolean isIncall ) { waitUntilConditionIsTrueOrTimeout ( new android.telecom.cts.BaseTelecomTestWithMockServices.Condition ( ) { @ java.lang.Override public java.lang.Object expected ( ) { return isIncall ; } @ java.lang.Override public java.lang.Object actual ( ) { return mTelecomManager.isInManagedCall ( ) ; } } , android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS , ( "Expected isInManagedCall to be " + isIncall ) ) ; }
Source:
public void setLayoutDirectionQualifier ( com.android.ide.common.resources.configuration.LayoutDirectionQualifier qualifier ) { mQualifiers [ com.android.ide.common.resources.configuration.FolderConfiguration.INDEX_LAYOUTDIR ] = qualifier ; }

Target:
public com.android.ide.common.resources.configuration.LayoutDirectionQualifier getLayoutDirectionQualifier ( ) { return ( ( com.android.ide.common.resources.configuration.LayoutDirectionQualifier ) ( mQualifiers [ com.android.ide.common.resources.configuration.FolderConfiguration.INDEX_LAYOUT_DIR ] ) ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { assert true ; try { assert false ; java.lang.System.out.println ( "GLITCH: didn't assert (is '-ea' set?)" ) ; } catch ( java.lang.AssertionError ae ) { java.lang.System.out.println ( "caught expected assert exception" ) ; } }

Target:
public static void main ( java.lang.String [ ] args ) { assert true ; try { assert false ; java.lang.System.out.println ( "GLITCH: didn't assert (is '-ea' set?)" ) ; } catch ( java.lang.AssertionError ae ) { java.lang.System.out.println ( "caught expected assert exception" ) ; } java.lang.ClassLoader.getSystemClassLoader ( ) . setDefaultAssertionStatus ( true ) ; }
Source:
private void setKeyFromKey32 ( int keyOffset , android.icu.impl.ICUResource.Key key ) { if ( keyOffset >= 0 ) { key.setBytes ( keyBytes , keyOffset ) ; } else { key.setBytes ( poolBundleReader.keyBytes , ( keyOffset & 2147483647 ) ) ; } }

Target:
private void setKeyFromKey32 ( int keyOffset , android.icu.impl.UResource.Key key ) { if ( keyOffset >= 0 ) { key.setBytes ( keyBytes , keyOffset ) ; } else { key.setBytes ( poolBundleReader.keyBytes , ( keyOffset & 2147483647 ) ) ; } }
Source:
public static native byte [ ] [ ] SSL_get_certificate ( int sslNativePointer ) ;

Target:
public static native void SSL_CTX_enable_npn ( long sslCtxNativePointer ) ;
Source:
public abstract void visit ( java.util.Set < com.android.tools.perflib.heap.Instance > resultSet , com.android.tools.perflib.heap.Instance.Filter filter ) ;

Target:
public void visitLeave ( com.android.tools.perflib.heap.Instance instance ) { }
Source:
public static boolean isSyntheticSwitchMapClass ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClass cls ) { java.lang.String shortName = cls.getName ( ) ; return shortName.contains ( com.android.jack.transformations.enums.opt.SyntheticClassManager.SyntheticSwitchmapClassNamePrefix ) ; }

Target:
public static boolean isSyntheticSwitchMapClass ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClass cls ) { java.lang.String shortName = cls.getName ( ) ; return shortName.startsWith ( com.android.jack.transformations.enums.opt.SyntheticClassManager.SyntheticSwitchmapClassNamePrefix ) ; }
Source:
public void run ( ) { frameLayout.setMeasureAllChildren ( true ) ; frameLayout.requestLayout ( ) ; }

Target:
public void run ( ) { frameLayout.setMeasureAllChildren ( true ) ; frameLayout.requestLayout ( ) ; drawWaiter.registerDrawCompleteCallback ( mFrameLayout ) ; }
Source:
private static native int nativeStartPage ( int documentPtr , int pageWidth , int pageHeight , int contentLeft , int contentTop , int contentRight , int contentBottom ) ;

Target:
private static native long nativeStartPage ( long nativeDocument , int pageWidth , int pageHeight , int contentLeft , int contentTop , int contentRight , int contentBottom ) ;
Source:
public com.android.apksig.ApkSigner build ( ) { return new com.android.apksig.ApkSigner ( mSignerEngine , mInputApkFile , mInputApkDataSource , mOutputApkFile , mOutputApkDataSink , mOutputApkDataSource ) ; }

Target:
public com.android.apksig.ApkSigner build ( ) { return new com.android.apksig.ApkSigner ( mSignerConfigs , mMinSdkVersion , mV1SigningEnabled , mV2SigningEnabled , mOtherSignersSignaturesPreserved , mCreatedBy , mSignerEngine , mInputApkFile , mInputApkDataSource , mOutputApkFile , mOutputApkDataSink , mOutputApkDataSource ) ; }
Source:
public void onChannelBrowsableChanged ( ) { if ( com.android.tv.data.epg.EpgFetcher.DEBUG ) android.util.Log.d ( com.android.tv.data.epg.EpgFetcher.TAG , "ChannelDataManager.onChannelBrowsableChanged()" ) ; handleChannelChanged ( ) ; }

Target:
public void onLoadFinished ( ) { if ( com.android.tv.data.epg.EpgFetcher.DEBUG ) android.util.Log.d ( com.android.tv.data.epg.EpgFetcher.TAG , "ChannelDataManager.onLoadFinished()" ) ; if ( ! ( mScanningChannels ) ) { handleChannelChanged ( ) ; } }
Source:
public void changeIccLockPassword ( java.lang.String oldPassword , java.lang.String newPassword , android.os.Message onComplete ) { synchronized ( mLock ) { if ( com.android.internal.telephony.uicc.UiccCardApplication.DBG ) log ( "changeIccLockPassword" ) ; mCi.changeIccPinForApp ( oldPassword , newPassword , mAid , onComplete ) ; } }

Target:
public void changeIccLockPassword ( java.lang.String oldPassword , java.lang.String newPassword , android.os.Message onComplete ) { synchronized ( mLock ) { if ( com.android.internal.telephony.uicc.UiccCardApplication.DBG ) log ( "changeIccLockPassword" ) ; mCi.changeIccPinForApp ( oldPassword , newPassword , mAid , mHandler.obtainMessage ( com.android.internal.telephony.uicc.UiccCardApplication.EVENT_CHANGE_PIN1_DONE , onComplete ) ) ; } }
Source:
public void onDestroyed ( android.telecom.Connection connection ) { disconnectConferenceParticipants ( ) ; }

Target:
public void onConnectionPropertiesChanged ( android.telecom.Connection c , int connectionProperties ) { android.telecom.Log.d ( this , ( "onConnectionPropertiesChanged: Connection: %s," + " connectionProperties: %s" ) , c , connectionProperties ) ; int properties = this . getConnectionProperties ( ) ; setConnectionProperties ( applyHostProperties ( properties , connectionProperties ) ) ; }
Source:
public void requestIsimAuthentication ( java.lang.String nonce , android.os.Message response ) { }

Target:
public void stopNattKeepalive ( int sessionHandle , android.os.Message result ) { }
Source:
public android.content.pm.UserInfo getUser ( int userId ) { com.android.server.pm.PackageManagerService.enforceSystemOrRoot ( "Only the system can remove users" ) ; return com.android.server.pm.PackageManagerService.sUserManager.getUser ( userId ) ; }

Target:
void cleanUpUserLILPw ( int userHandle ) { if ( mDirtyUsers.remove ( userHandle ) ) ; mSettings.removeUserLPr ( userHandle ) ; if ( ( mInstaller ) != null ) { mInstaller.removeUserDataDirs ( userHandle ) ; } }
Source:
private static void sloge ( java.lang.String s ) { android.util.Log.e ( com.android.internal.telephony.gsm.GsmServiceStateTracker.LOG_TAG , ( "[GsmSST] " + s ) ) ; }

Target:
protected void log ( java.lang.String s ) { android.telephony.Rlog.d ( com.android.internal.telephony.gsm.GsmServiceStateTracker.LOG_TAG , ( "[GsmSST] " + s ) ) ; }
Source:
private org.eclipse.swt.graphics.Color getStrokeColor ( com.android.ide.eclipse.adt.editors.layout.gscripts.DrawingStyle style , org.eclipse.swt.graphics.RGB defaultColorDesc ) { return getStyleColor ( style , defaultColorDesc , mStyleStrokeMap ) ; }

Target:
private org.eclipse.swt.graphics.Color getStrokeColor ( com.android.ide.common.api.DrawingStyle style , org.eclipse.swt.graphics.RGB defaultColorDesc ) { return getStyleColor ( style , defaultColorDesc , mStyleStrokeMap ) ; }
Source:
synchronized boolean isProcessRead ( ) { return ready.get ( ) ; }

Target:
java.lang.Process getProcess ( ) { return mProcess ; }
Source:
public void visitStackMapAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.StackMapAttribute stackMapAttribute ) { if ( ( stackMapAttribute.u2stackMapFramesCount ) > 0 ) { stackMapAttribute.accept ( clazz , method , codeAttribute , attributeVisitor ) ; } }

Target:
public void visitCodeAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute ) { attributeVisitor.visitCodeAttribute ( clazz , method , codeAttribute ) ; }
Source:
public void intNeg ( ) { org.junit.Assert.assertEquals ( "message" . length ( ) , com.android.jack.ssa.test001.jack.Ssa.doubleNestedCatch ( ) ) ; }

Target:
public void testNestedCatch ( ) { org.junit.Assert.assertEquals ( "message" . length ( ) , com.android.jack.ssa.test001.jack.Ssa.doubleNestedCatch ( ) ) ; }
Source:
public int getDefaultSim ( ) { return android.telephony.SubscriptionManager.getSlotId ( android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ) ; }

Target:
public int getDefaultSim ( ) { int slotIndex = android.telephony.SubscriptionManager.getSlotIndex ( android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ) ; if ( slotIndex == ( SubscriptionManager.SIM_NOT_INSERTED ) ) { slotIndex = SubscriptionManager.DEFAULT_SIM_SLOT_INDEX ; } return slotIndex ; }
Source:
public final java.lang.String getNamespace ( ) { if ( mXmlName.startsWith ( com.android.ide.common.layout.LayoutConstants.ANDROID_NS_NAME_PREFIX ) ) { return com.android.sdklib.SdkConstants.NS_RESOURCES ; } return "" ; }

Target:
public final java.lang.String getNamespace ( ) { if ( mXmlName.startsWith ( com.android.util.XmlUtils.ANDROID_NS_NAME_PREFIX ) ) { return com.android.util.XmlUtils.ANDROID_URI ; } return "" ; }
Source:
public void test_withDayOfMonth_illegal ( ) { TEST_2007_07_15.withDayOfMonth ( 32 ) ; }

Target:
public void test_withDayOfYear_invalid ( ) { tck.java.time.TCKLocalDate.TEST_2007_07_15.withDayOfYear ( 366 ) ; }
Source:
public void test_minusDays_overMonths ( ) { java.time.LocalDate t = TEST_2007_07_15.minusDays ( 62 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 5 , 14 ) ) ; }

Target:
public void test_minusDays_overMonths ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.minusDays ( 62 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 5 , 14 ) ) ; }
Source:
public void registerDefaultNetworkCallback ( android.net.ConnectivityManager.NetworkCallback networkCallback ) { sendRequestForNetwork ( null , networkCallback , 0 , android.net.ConnectivityManager.REQUEST , android.net.ConnectivityManager.TYPE_NONE ) ; }

Target:
public void registerNetworkCallback ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback ) { registerNetworkCallback ( request , networkCallback , getDefaultHandler ( ) ) ; }
Source:
public void onItemSelected ( android.widget.AdapterView < ? > parent , android.view.View view , int pos , long id ) { currentIntrinsic = pos ; if ( ( mRS ) != null ) { runTest ( ) ; act.updateDisplay ( ) ; } }

Target:
public void onItemSelected ( android.widget.AdapterView < ? > parent , android.view.View view , int pos , long id ) { currentIntrinsic = pos ; if ( ( mRS ) != null ) { runTest ( ) ; act.mProcessor.update ( ) ; } }
Source:
static void testWrapperIntervalHole ( int arg , boolean test ) { try { java.lang.Thread.sleep ( 0 ) ; Main.testIntervalHole ( arg , test ) ; } catch ( java.lang.Exception e ) { throw new java.lang.Error ( e ) ; } }

Target:
static void testWrapperIntervalHole ( int arg , boolean test ) { try { java.lang.Thread.sleep ( 0 ) ; Main.$opt$noinline$testIntervalHole ( arg , test ) ; } catch ( java.lang.Exception e ) { throw new java.lang.Error ( e ) ; } }
Source:
private com.android.draw9patch.ui.ImageViewer.UpdateRegionInfo findHorizontalPatch ( int x , int y ) { if ( y < ( ( image.getHeight ( ) ) / 2 ) ) { return getHorizontalPatchTop ( x ) ; } else { return getHorizontalPaddingBottom ( x ) ; } }

Target:
private void updateDrawMode ( java.awt.event.MouseEvent event ) { if ( event.isShiftDown ( ) ) { currentMode = com.android.draw9patch.ui.ImageViewer.DrawMode.ERASE ; } else if ( event.isControlDown ( ) ) { currentMode = com.android.draw9patch.ui.ImageViewer.DrawMode.LAYOUT_BOUND ; } else { currentMode = com.android.draw9patch.ui.ImageViewer.DrawMode.PATCH ; } }
Source:
public void mouseDoubleClick ( org.eclipse.swt.events.MouseEvent e ) { if ( ( selectedNode ) != null ) { com.android.hierarchyviewerlib.ComponentRegistry.getDirector ( ) . showCapture ( getShell ( ) , selectedNode.viewNode ) ; } }

Target:
public void mouseDoubleClick ( org.eclipse.swt.events.MouseEvent e ) { if ( ( selectedNode ) != null ) { com.android.hierarchyviewerlib.HierarchyViewerDirector.getDirector ( ) . showCapture ( getShell ( ) , selectedNode.viewNode ) ; } }
Source:
public void test_minus_longTemporalUnit_null ( ) { TEST_2007_07_15.minus ( 1 , ( ( java.time.temporal.TemporalUnit ) ( null ) ) ) ; }

Target:
public void test_minus_longTemporalUnit_null ( ) { tck.java.time.TCKLocalDate.TEST_2007_07_15.minus ( 1 , ( ( java.time.temporal.TemporalUnit ) ( null ) ) ) ; }
Source:
public static com.google.common.collect.ImmutableList < com.android.dialer.precall.PreCallAction > provideActions ( com.android.dialer.precall.impl.CallingAccountSelector callingAccountSelector ) { return com.google.common.collect.ImmutableList.of ( new com.android.dialer.precall.impl.PermissionCheckAction ( ) , new com.android.dialer.precall.impl.MalformedNumberRectifier ( com.google.common.collect.ImmutableList.of ( new com.android.dialer.precall.impl.UkRegionPrefixInInternationalFormatHandler ( ) ) ) , callingAccountSelector , new com.android.dialer.precall.impl.AssistedDialAction ( ) ) ; }

Target:
public static com.google.common.collect.ImmutableList < com.android.dialer.precall.PreCallAction > provideActions ( com.android.dialer.precall.impl.DuoAction duoAction , com.android.dialer.precall.impl.CallingAccountSelector callingAccountSelector ) { return com.google.common.collect.ImmutableList.of ( new com.android.dialer.precall.impl.PermissionCheckAction ( ) , new com.android.dialer.precall.impl.MalformedNumberRectifier ( com.google.common.collect.ImmutableList.of ( new com.android.dialer.precall.impl.UkRegionPrefixInInternationalFormatHandler ( ) ) ) , callingAccountSelector , duoAction , new com.android.dialer.precall.impl.AssistedDialAction ( ) ) ; }
Source:
public void testRipple ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "res/drawable/ripple.xml:1: Error: <ripple> requires API level 21 (current min is 14) [NewApi]\n" + "<ripple\n" ) + "^\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "apicheck/minsdk14.xml=>AndroidManifest.xml" , "apicheck/ripple.xml=>res/drawable/ripple.xml" ) ) ; }

Target:
public void testRipple ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( ( ( ( "res/drawable/ripple.xml:1: Error: <ripple> requires API level 21 (current min is 14) [NewApi]\n" + "<ripple\n" ) + "^\n" ) + "res/drawable/ripple.xml:4: Warning: Attribute \"tintMode\" is only used in API level 21 and higher (current min is 14) [UnusedAttribute]\n" ) + " android:tintMode=\"src_over\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 1 warnings\n" ) ) , lintProject ( "apicheck/minsdk14.xml=>AndroidManifest.xml" , "apicheck/ripple.xml=>res/drawable/ripple.xml" ) ) ; }
Source:
int distinctElements ( ) { return multimap ( ) . asMap ( ) . size ( ) ; }

Target:
public void clear ( ) { multimap.clear ( ) ; }
Source:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , int [ ] data ) { validateIsInt32 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data ) ; }

Target:
public void copy2DRangeTo ( int xoff , int yoff , int w , int h , java.lang.Object array ) { copy2DRangeToUnchecked ( xoff , yoff , w , h , array , validateObjectIsPrimitiveArray ( array , true ) , java.lang.reflect.Array.getLength ( array ) ) ; }
Source:
public java.util.Date getDate ( ) throws java.text.ParseException { java.text.SimpleDateFormat dateF = new java.text.SimpleDateFormat ( "yyMMddHHmmssz" ) ; return dateF.parse ( getTime ( ) ) ; }

Target:
public java.util.Date getDate ( ) throws java.text.ParseException { java.text.SimpleDateFormat dateF = new java.text.SimpleDateFormat ( "yyMMddHHmmssz" , java.util.Locale.US ) ; return dateF.parse ( getTime ( ) ) ; }
Source:
public void test_plusMonths_long_negative ( ) { java.time.LocalDate t = TEST_2007_07_15.plusMonths ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 6 , 15 ) ) ; }

Target:
public void test_plusMonths_long_negative ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.plusMonths ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 6 , 15 ) ) ; }
Source:
public void setRemoteStreamVolume ( int index ) { mMediaFocusControl.setRemoteStreamVolume ( index ) ; }

Target:
public void setRemoteStreamVolume ( int index ) { enforceSelfOrSystemUI ( "set the remote stream volume" ) ; mMediaFocusControl.setRemoteStreamVolume ( index ) ; }
Source:
public com.android.server.pm.dex.PackageDexUsage.PackageUseInfo getPackageUseInfo ( java.lang.String packageName ) { synchronized ( mPackageUseInfoMap ) { return mPackageUseInfoMap.get ( packageName ) ; } }

Target:
public com.android.server.pm.dex.PackageDexUsage.PackageUseInfo getPackageUseInfo ( java.lang.String packageName ) { synchronized ( mPackageUseInfoMap ) { com.android.server.pm.dex.PackageDexUsage.PackageUseInfo useInfo = mPackageUseInfoMap.get ( packageName ) ; return useInfo == null ? null : new com.android.server.pm.dex.PackageDexUsage.PackageUseInfo ( useInfo ) ; } }
Source:
private native void gattClientScanFilterParamAddNative ( com.android.bluetooth.gatt.FilterParams FiltValue ) ;

Target:
private native void gattClientScanFilterParamAddNative ( com.android.bluetooth.gatt.FilterParams filtValue ) ;
Source:
public native boolean unwindInProcess ( int i , boolean b ) ;

Target:
public native boolean unwindInProcess ( boolean full_signatures , int i , boolean b ) ;
Source:
public static void assertEquals ( long expected , long result ) { if ( expected != result ) { throw new java.lang.Error ( ( ( ( "Expected: " + expected ) + ", found: " ) + result ) ) ; } }

Target:
public static void assertLongEquals ( long expected , long result ) { if ( expected != result ) { throw new java.lang.Error ( ( ( ( "Expected: " + expected ) + ", found: " ) + result ) ) ; } }
Source:
private static synchronized java.lang.invoke.MethodHandle setCachedMethodHandle ( java.lang.invoke.MethodHandle [ ] cache , int pos , java.lang.invoke.MethodHandle value ) { java.lang.invoke.MethodHandle prev = cache [ pos ] ; if ( prev != null ) return prev ; return cache [ pos ] = value ; }

Target:
public static short identity ( short val ) { return val ; }
Source:
public com.android.ide.common.resources.configuration.LayoutDirectionQualifier getLayoutDirectionQualifier ( ) { return ( ( com.android.ide.common.resources.configuration.LayoutDirectionQualifier ) ( mQualifiers [ com.android.ide.common.resources.configuration.FolderConfiguration.INDEX_LAYOUTDIR ] ) ) ; }

Target:
public com.android.ide.common.resources.configuration.LayoutDirectionQualifier getLayoutDirectionQualifier ( ) { return ( ( com.android.ide.common.resources.configuration.LayoutDirectionQualifier ) ( mQualifiers [ com.android.ide.common.resources.configuration.FolderConfiguration.INDEX_LAYOUT_DIR ] ) ) ; }
Source:
private boolean hasTestRunnerLibrary ( com.android.sdklib.xml.ManifestData manifestData ) { for ( java.lang.String lib : manifestData.getUsesLibraries ( ) ) { if ( lib.equals ( AndroidConstants.LIBRARY_TEST_RUNNER ) ) { return true ; } } return false ; }

Target:
private boolean hasTestRunnerLibrary ( com.android.sdklib.xml.ManifestData manifestData ) { for ( com.android.sdklib.xml.ManifestData.UsesLibrary lib : manifestData.getUsesLibraries ( ) ) { if ( AndroidConstants.LIBRARY_TEST_RUNNER.equals ( lib.getName ( ) ) ) { return true ; } } return false ; }
Source:
public void test_parse_w_dd_yyyy_EEEE_MMMM ( ) throws java.lang.Exception { org.apache.harmony.tests.java.text.SimpleDateFormatTest.checkPatternOnFixedDate ( "w dd yyyy EEEE MMMM" , "11 11 2002 Monday March" , "11 5 2002 Monday January" ) ; }

Target:
public void test_parse_w_dd_yyyy_EEEE_MMMM ( ) throws java.lang.Exception { java.util.Date d = new java.util.Date ( 1015822800000L ) ; java.lang.String pattern = "w dd yyyy EEEE MMMM" ; org.apache.harmony.tests.java.text.SimpleDateFormatTest.assertFormat ( d , pattern , "11 11 2002 Monday March" ) ; org.apache.harmony.tests.java.text.SimpleDateFormatTest.assertParse ( "11 5 2002 Monday January" , pattern , d ) ; }
Source:
public void onIntrData ( android.bluetooth.BluetoothDevice device , byte reportId , byte [ ] data ) { mCallback.onIntrData ( device , reportId , data ) ; }

Target:
public void onInterruptData ( android.bluetooth.BluetoothDevice device , byte reportId , byte [ ] data ) { mCallback.onInterruptData ( device , reportId , data ) ; }