auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
static void inlinedInvokeStaticViaStatic ( java.lang.Iterable < ? > it ) { Main.ClassWithClinit11.callInlinedForNull ( it ) ; }

Target:
static void inlinedInvokeStaticViaStatic ( java.lang.Iterable < ? > it ) { if ( it != null ) { Main.ClassWithClinit11.callInlinedForNull ( it ) ; } }
Source:
synchronized void nTypeGetNativeData ( int id , int [ ] typeData ) { validate ( ) ; rsnTypeGetNativeData ( mContext , id , typeData ) ; }

Target:
synchronized void nTypeGetNativeData ( long id , long [ ] typeData ) { validate ( ) ; rsnTypeGetNativeData ( mContext , id , typeData ) ; }
Source:
public boolean setDeviceType ( java.lang.String type ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.setWpsDeviceType ( type ) ; } else { return doBooleanCommand ( ( "SET device_type " + type ) ) ; } }

Target:
public boolean setDeviceType ( java.lang.String type ) { return mSupplicantStaIfaceHal.setWpsDeviceType ( type ) ; }
Source:
native void rsnAllocationData1D ( int con , int id , int off , int mip , int count , float [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData1D ( long con , long id , int off , int mip , int count , float [ ] d , int sizeBytes ) ;
Source:
public void run ( ) { completed.set ( runPlayAV ( inputResourceId , ( lastBufferTimestampMs * 1000 ) , audio , video , playbackRate ) ) ; }

Target:
public void run ( ) { completed.set ( runPlayAV ( inputResourceId , ( lastBufferTimestampMs * 1000 ) , audio , video , playbackRate , state ) ) ; }
Source:
private static boolean needTwoButton ( @ android.support.annotation.NonNull android.app.Activity activity ) { if ( com.android.incallui.answer.impl.answermethod.AnswerMethodFactory.shouldUseTwoButtonMethodForTesting ) { com.android.dialer.common.LogUtil.i ( "AnswerMethodFactory.needTwoButton" , "enabled for testing" ) ; return true ; } return ( com.android.incallui.util.AccessibilityUtil.isTouchExplorationEnabled ( activity ) ) || ( com.android.dialer.compat.ActivityCompat.isInMultiWindowMode ( activity ) ) ; }

Target:
private static boolean needTwoButton ( @ android.support.annotation.NonNull android.app.Activity activity ) { if ( com.android.incallui.answer.impl.answermethod.AnswerMethodFactory.shouldUseTwoButtonMethodForTesting ) { com.android.dialer.common.LogUtil.i ( "AnswerMethodFactory.needTwoButton" , "enabled for testing" ) ; return true ; } return ( com.android.incallui.util.AccessibilityUtil.isTouchExplorationEnabled ( activity ) ) || ( activity.isInMultiWindowMode ( ) ) ; }
Source:
public void testVersionResMatch ( ) { runConfigMatchTest ( "en-rUS-w600dp-h1024dp-large-port-mdpi-finger-nokeys-v12" , 3 , "" , "large" , "w540dp" ) ; }

Target:
public void testVersionResMatch ( ) { runConfigMatchTest ( "en-rUS-w600dp-h1024dp-large-port-mdpi-finger-nokeys-v12" , 2 , "" , "large" , "w540dp" ) ; }
Source:
public static int $noinline$DivN1 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg / ( - 1 ) ; }

Target:
public static int $noinline$DivN1 ( int arg ) { return arg / ( - 1 ) ; }
Source:
public void copy1DRangeFrom ( int off , int count , float [ ] d ) { android.os.Trace.traceBegin ( RenderScript.TRACE_TAG , "copy1DRangeFrom" ) ; validateIsFloat32 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; android.os.Trace.traceEnd ( RenderScript.TRACE_TAG ) ; }

Target:
public void copy1DRangeFromUnchecked ( int off , int count , float [ ] d ) { copy1DRangeFromUnchecked ( off , count , ( ( java.lang.Object ) ( d ) ) , Element.DataType.FLOAT_32 , d.length ) ; }
Source:
public void removeAuthority ( android.accounts.Account account , java.lang.String authority ) { synchronized ( mAuthorities ) { removeAuthorityLocked ( account , authority , true ) ; } }

Target:
public void removeAuthority ( android.accounts.Account account , int userId , java.lang.String authority ) { synchronized ( mAuthorities ) { removeAuthorityLocked ( account , userId , authority , true ) ; } }
Source:
public boolean endsWith ( java.lang.String suffix ) { return startsWith ( suffix , ( ( count ) - ( suffix.count ) ) ) ; }

Target:
public boolean endsWith ( java.lang.String suffix ) { return startsWith ( suffix , ( ( length ( ) ) - ( suffix.length ( ) ) ) ) ; }
Source:
public void setContentType ( java.lang.String contentType ) { this . mContentType = contentType ; }

Target:
public void setContentType ( java.lang.String contentType ) { this . contentType = contentType ; }
Source:
public void testCompareTo_Null ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset c1 = new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; try { c1.compareTo ( null ) ; fail ( "Should throw NullPointerException!" ) ; } catch ( java.lang.NullPointerException e ) { } }

Target:
public void testCompareTo_Null ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset c1 = new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; try { c1.compareTo ( null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public void sendBroadcastAsUser ( android.content.Intent intent , android.os.UserHandle user , java.lang.String receiverPermission ) { sendBroadcast ( intent ) ; }

Target:
public void sendBroadcastAsUser ( android.content.Intent intent , android.os.UserHandle user ) { sendBroadcast ( intent ) ; }
Source:
public static sun.security.util.Debug getInstance ( java.lang.String option , java.lang.String prefix ) { if ( sun.security.util.Debug.isOn ( option ) ) { sun.security.util.Debug d = new sun.security.util.Debug ( ) ; d.prefix = prefix ; return d ; } else { return null ; } }

Target:
public static sun.security.util.Debug getInstance ( java.lang.String option , java.lang.String prefix ) { if ( sun.security.util.Debug.isOn ( option ) ) { sun.security.util.Debug d = new sun.security.util.Debug ( prefix ) ; return d ; } else { return null ; } }
Source:
java.io.File getLocation ( ) { return mPath ; }

Target:
public java.io.File getLocation ( ) { return mPath ; }
Source:
private static void processOne ( java.lang.String pathname , com.android.dx.cf.direct.ClassPathOpener.FileNameFilter filter ) { com.android.dx.cf.direct.ClassPathOpener opener ; opener = new com.android.dx.cf.direct.ClassPathOpener ( pathname , true , filter , new com.android.dx.command.dexer.Main.FileBytesConsumer ( ) ) ; if ( opener.process ( ) ) { com.android.dx.command.dexer.Main.updateStatus ( true ) ; } }

Target:
private void processOne ( java.lang.String pathname , com.android.dx.cf.direct.ClassPathOpener.FileNameFilter filter ) { com.android.dx.cf.direct.ClassPathOpener opener ; opener = new com.android.dx.cf.direct.ClassPathOpener ( pathname , true , filter , new com.android.dx.command.dexer.Main.FileBytesConsumer ( ) ) ; if ( opener.process ( ) ) { updateStatus ( true ) ; } }
Source:
protected abstract void sendText ( java.lang.String destAddr , java.lang.String scAddr , java.lang.String text , android.app.PendingIntent sentIntent , android.app.PendingIntent deliveryIntent , android.net.Uri messageUri , java.lang.String callingPkg , boolean persistMessage , int priority , boolean expectMore , int validityPeriod ) ;

Target:
protected abstract void sendText ( java.lang.String destAddr , java.lang.String scAddr , java.lang.String text , android.app.PendingIntent sentIntent , android.app.PendingIntent deliveryIntent , android.net.Uri messageUri , java.lang.String callingPkg , boolean persistMessage ) ;
Source:
public void tearDown ( ) throws java.lang.Exception { android.support.test.espresso.IdlingPolicies.setMasterPolicyTimeout ( 60 , java.util.concurrent.TimeUnit.SECONDS ) ; android.support.test.espresso.IdlingPolicies.setIdlingResourceTimeout ( 26 , java.util.concurrent.TimeUnit.SECONDS ) ; oneShotResource.setIdle ( true ) ; super . tearDown ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { android.support.test.espresso.IdlingPolicies.setMasterPolicyTimeout ( 60 , java.util.concurrent.TimeUnit.SECONDS ) ; android.support.test.espresso.IdlingPolicies.setIdlingResourceTimeout ( 26 , java.util.concurrent.TimeUnit.SECONDS ) ; oneShotResource.setIdle ( true ) ; }
Source:
public void enableOptionalCodecs ( ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) { return ; } service.enableOptionalCodecs ( ) ; }

Target:
public void enableOptionalCodecs ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) { return ; } service.enableOptionalCodecs ( device ) ; }
Source:
public void testSinhF32 ( ) { script_f32 = new android.renderscript.cts.ScriptC_sinh_f32 ( mRS , mRes , R.raw.sinh_f32 ) ; doF32 ( 810 , 4 ) ; }

Target:
public void testSinhF32 ( ) { doF32 ( 810 , 4 ) ; }
Source:
boolean isEnhanced4gLteHidden ( ) { android.telephony.TelephonyManager telephonyManager = ( ( android.telephony.TelephonyManager ) ( getContext ( ) . getSystemService ( Context.TELEPHONY_SERVICE ) ) ) ; return com.android.phone.MobileNetworkSettings.hideEnhanced4gLteSettings ( getContext ( ) , telephonyManager.getCarrierConfig ( ) ) ; }

Target:
boolean isEnhanced4gLteHidden ( ) { return com.android.phone.MobileNetworkSettings.hideEnhanced4gLteSettings ( getContext ( ) ) ; }
Source:
protected void onDestroy ( ) { super . onDestroy ( ) ; mChatService.stop ( ) ; unregisterReceiver ( mPairingActionReceiver ) ; }

Target:
protected void onDestroy ( ) { super . onDestroy ( ) ; if ( ( mChatService ) != null ) { mChatService.stop ( ) ; } unregisterReceiver ( mPairingActionReceiver ) ; }
Source:
public static boolean hasFilter ( byte [ ] filter ) { return ( filter != null ) && ( ( filter.length ) > 0 ) ; }

Target:
private static boolean hasFilter ( byte [ ] filter ) { return ( filter != null ) && ( ( filter.length ) > 0 ) ; }
Source:
private void setInsertPos ( int insertPos ) { this . mInsertPos = insertPos ; }

Target:
private void setInsertPos ( int insertPos ) { mInsertPos = insertPos ; }
Source:
private java.util.List < java.lang.Class < ? extends junit.framework.TestCase > > testCaseClassesInPackage ( java.lang.String packageName ) { android.test.ClassPathPackageInfoSource source = android.test.PackageInfoSources.forClassPath ( classLoader ) ; android.test.ClassPathPackageInfo packageInfo = source.getPackageInfo ( packageName ) ; return selectTestClasses ( packageInfo.getTopLevelClassesRecursive ( ) ) ; }

Target:
private java.util.List < java.lang.Class < ? extends junit.framework.TestCase > > testCaseClassesInPackage ( java.lang.String packageName ) { android.test.ClassPathPackageInfoSource source = android.test.ClassPathPackageInfoSource.forClassPath ( classLoader ) ; return selectTestClasses ( source.getTopLevelClassesRecursive ( packageName ) ) ; }
Source:
public java.lang.Object clone ( ) { try { java.text.StringCharacterIterator other = ( ( java.text.StringCharacterIterator ) ( super . clone ( ) ) ) ; return other ; } catch ( java.lang.CloneNotSupportedException e ) { throw new java.lang.InternalError ( ) ; } }

Target:
public java.lang.Object clone ( ) { try { java.text.StringCharacterIterator other = ( ( java.text.StringCharacterIterator ) ( super . clone ( ) ) ) ; return other ; } catch ( java.lang.CloneNotSupportedException e ) { throw new java.lang.InternalError ( e ) ; } }
Source:
public static com.android.ahat.DocString render ( java.lang.Object val ) { if ( val instanceof com.android.tools.perflib.heap.Instance ) { return com.android.ahat.Value.renderInstance ( ( ( com.android.tools.perflib.heap.Instance ) ( val ) ) ) ; } else { return com.android.ahat.DocString.text ( "%s" , val ) ; } }

Target:
public static com.android.ahat.DocString render ( java.lang.Object val ) { if ( val instanceof com.android.tools.perflib.heap.Instance ) { return com.android.ahat.Value.renderInstance ( ( ( com.android.tools.perflib.heap.Instance ) ( val ) ) ) ; } else { return com.android.ahat.DocString.format ( "%s" , val ) ; } }
Source:
public void onRejectCallWithMessage ( java.lang.String message ) { call.reject ( true , message ) ; onDismissDialog ( ) ; addTimeoutCheck ( ) ; }

Target:
public void onRejectCallWithMessage ( java.lang.String message ) { call.reject ( true , message ) ; addTimeoutCheck ( ) ; }
Source:
private static native int getSupportedFeatureSetNative ( int iface ) ;

Target:
public static native int getSupportedFeatureSetNative ( int iface ) ;
Source:
public java.lang.Object invoke ( java.lang.Object receiver , java.lang.Object ... args ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException , java.lang.reflect.InvocationTargetException { return invoke ( receiver , args , isAccessible ( ) ) ; }

Target:
public native java.lang.Object invoke ( java.lang.Object receiver , java.lang.Object ... args ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException , java.lang.reflect.InvocationTargetException ;
Source:
public int beforeHandshake ( int c ) throws javax.net.ssl.SSLException { int s = super . beforeHandshake ( c ) ; org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_set_client_CA_list ( s , org.apache.harmony.xnet.provider.jsse.NativeCryptoTest.getCaPrincipals ( ) ) ; org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_set_verify ( s , NativeCrypto.SSL_VERIFY_PEER ) ; return s ; }

Target:
public long beforeHandshake ( long c ) throws javax.net.ssl.SSLException { long s = super . beforeHandshake ( c ) ; org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_set_client_CA_list ( s , org.apache.harmony.xnet.provider.jsse.NativeCryptoTest.getCaPrincipals ( ) ) ; org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_set_verify ( s , NativeCrypto.SSL_VERIFY_PEER ) ; return s ; }
Source:
protected void setTimeToLive ( int ttl ) throws java.io.IOException { libcore.io.IoBridge.setSocketOption ( fd , libcore.io.IoBridge.JAVA_IP_MULTICAST_TTL , ttl ) ; }

Target:
protected native void setTimeToLive ( int ttl ) throws java.io.IOException ;
Source:
private boolean awaitLatch ( java.util.concurrent.CountDownLatch l , long timeoutMs ) { try { if ( l.await ( timeoutMs , java.util.concurrent.TimeUnit.MILLISECONDS ) ) { return true ; } } catch ( java.lang.InterruptedException e ) { } return false ; }

Target:
private boolean awaitLatch ( java.util.concurrent.CountDownLatch l , long timeoutMs ) { try { return l.await ( timeoutMs , java.util.concurrent.TimeUnit.MILLISECONDS ) ; } catch ( java.lang.InterruptedException e ) { } return false ; }
Source:
public void testStyleToTheme ( ) throws java.lang.Exception { assertEquals ( "Foo" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( "Foo" ) ) ; assertEquals ( "Theme" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( "@android:style/Theme" ) ) ; assertEquals ( "LocalTheme" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( "@style/LocalTheme" ) ) ; assertEquals ( "LocalTheme" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( "@foo.bar/style/LocalTheme" ) ) ; }

Target:
public void testStyleToTheme ( ) throws java.lang.Exception { assertEquals ( "Foo" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( "Foo" ) ) ; assertEquals ( "Theme" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( "@android:style/Theme" ) ) ; assertEquals ( "LocalTheme" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( "@style/LocalTheme" ) ) ; }
Source:
public android.content.Intent getIntent ( android.content.Context context ) { return new com.android.dialer.callintent.CallIntentBuilder ( number , CallInitiationType.Type.CALL_LOG ) . setAllowAssistedDial ( true , com.android.dialer.assisteddialing.ConcreteCreator.createNewAssistedDialingMediator ( telephonyManager , context ) ) . build ( ) ; }

Target:
public android.content.Intent getIntent ( android.content.Context context ) { return new com.android.dialer.callintent.CallIntentBuilder ( number , CallInitiationType.Type.CALL_LOG ) . setAllowAssistedDial ( true ) . build ( ) ; }
Source:
public void testNullId ( ) throws java.lang.Exception { try { java.util.TimeZone.getTimeZone ( null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void testNullId ( ) throws java.lang.Exception { try { java.util.TimeZone.getTimeZone ( ( ( java.lang.String ) ( null ) ) ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public java.lang.Object getValue ( ) { return com.android.tools.lint.EcjParser.getConstantValue ( mBinding.constant ( ) ) ; }

Target:
public java.lang.Object getValue ( ) { return getConstantValue ( mBinding.constant ( ) ) ; }
Source:
public com.google.common.collect.ImmutableSortedMap.Builder < K , V > put ( K key , V value ) { entries.add ( com.google.common.collect.ImmutableMap.entryOf ( key , value ) ) ; return this ; }

Target:
public com.google.common.collect.ImmutableSortedMap.Builder < K , V > put ( K key , V value ) { super . put ( key , value ) ; return this ; }
Source:
public com.android.tools.lint.client.api.Configuration getConfiguration ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Project project ) { return new com.android.tools.lint.LintCliClient.CliConfiguration ( mFlags.getDefaultConfiguration ( ) , project ) ; }

Target:
public com.android.tools.lint.client.api.Configuration getConfiguration ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Project project ) { return new com.android.tools.lint.LintCliClient.CliConfiguration ( getConfiguration ( ) , project ) ; }
Source:
public vogar.commands.Command.Builder permitNonZeroExitStatus ( ) { this . permitNonZeroExitStatus = true ; return this ; }

Target:
public vogar.commands.Command.Builder permitNonZeroExitStatus ( boolean value ) { this . permitNonZeroExitStatus = value ; return this ; }
Source:
public void setEnable ( @ com.android.annotations.Nullable com.android.build.gradle.internal.dsl.Set < java.lang.String > ids ) { enable.addAll ( ids ) ; }

Target:
public void setEnable ( @ com.android.annotations.Nullable java.util.Set < java.lang.String > ids ) { enable.addAll ( ids ) ; }
Source:
public void setWorkingSets ( org.eclipse.ui.IWorkingSet [ ] workingSets ) { assert workingSets != null ; mWorkingSetGroup.setWorkingSets ( workingSets ) ; }

Target:
private void setWorkingSets ( org.eclipse.ui.IWorkingSet [ ] workingSets ) { assert workingSets != null ; mWorkingSetGroup.setWorkingSets ( workingSets ) ; }
Source:
public static void run ( ) throws java.lang.Exception { art.Main.bindAgentJNIForClass ( art.Test924.class ) ; art.Test924.doTest ( ) ; }

Target:
public void run ( ) { try { art.Test924.doTest ( ) ; } catch ( java.lang.Exception e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
private static void onDisabledEvent ( int status ) { if ( com.android.server.wifi.nan.WifiNanNative.VDBG ) android.util.Log.v ( com.android.server.wifi.nan.WifiNanNative.TAG , ( "onDisabledEvent: status=" + status ) ) ; com.android.server.wifi.nan.WifiNanStateManager.getInstance ( ) . onNanDownNotification ( com.android.server.wifi.nan.WifiNanNative.translateHalStatusToNanEventCallbackReason ( status ) ) ; }

Target:
private static void onDisabledEvent ( int status ) { if ( com.android.server.wifi.nan.WifiNanNative.VDBG ) android.util.Log.v ( com.android.server.wifi.nan.WifiNanNative.TAG , ( "onDisabledEvent: status=" + status ) ) ; com.android.server.wifi.nan.WifiNanStateManager.getInstance ( ) . onNanDownNotification ( status ) ; }
Source:
public void afterCheckLibraryProject ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context ) { checkResourceFolder ( context , context.getProject ( ) . getDir ( ) ) ; }

Target:
public void afterCheckLibraryProject ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context ) { checkResourceFolder ( context , context.getProject ( ) ) ; }
Source:
public void testRunFailed ( java.lang.String errorMessage ) { reportError ( errorMessage ) ; }

Target:
public synchronized void testRunFailed ( java.lang.String errorMessage ) { reportError ( errorMessage ) ; }
Source:
public void checkServerTrusted ( java.security.cert.X509Certificate [ ] certs , java.lang.String authType , java.lang.String hostname ) throws java.security.cert.CertificateException { android.security.net.config.NetworkSecurityConfig config = mConfig.getConfigForHostname ( hostname ) ; config.getTrustManager ( ) . checkServerTrusted ( certs , authType ) ; }

Target:
public java.util.List < java.security.cert.X509Certificate > checkServerTrusted ( java.security.cert.X509Certificate [ ] certs , java.lang.String authType , java.lang.String hostname ) throws java.security.cert.CertificateException { android.security.net.config.NetworkSecurityConfig config = mConfig.getConfigForHostname ( hostname ) ; return config.getTrustManager ( ) . checkServerTrusted ( certs , authType , hostname ) ; }
Source:
public static int ShlIntLong ( ) { int lhs = Main.$inline$int ( 1 ) ; long rhs = Main.$inline$long ( 2L ) ; return lhs << rhs ; }

Target:
public static int ShlIntLong ( ) { int lhs = 1 ; long rhs = 2 ; return lhs << rhs ; }
Source:
public void enter ( ) { super . enter ( ) ; setSpeakerphoneOn ( false ) ; setBluetoothOn ( true ) ; android.telecom.CallAudioState newState = new android.telecom.CallAudioState ( mIsMuted , com.android.server.telecom.CallAudioRouteStateMachine.ROUTE_BLUETOOTH , mAvailableRoutes ) ; setSystemAudioState ( newState ) ; updateInternalCallAudioState ( ) ; }

Target:
public void enter ( ) { super . enter ( ) ; setSpeakerphoneOn ( false ) ; setBluetoothOn ( true ) ; android.telecom.CallAudioState newState = new android.telecom.CallAudioState ( mIsMuted , com.android.server.telecom.CallAudioRouteStateMachine.ROUTE_BLUETOOTH , mAvailableRoutes ) ; setSystemAudioState ( newState , true ) ; updateInternalCallAudioState ( ) ; }
Source:
public void run ( ) { com.android.ide.eclipse.adt.internal.editors.descriptors.DescriptorsUtils.setDefaultLayoutAttributes ( uiNew , updateLayout ) ; org.w3c.dom.Node xmlNode = uiNew.createXmlNode ( ) ; }

Target:
public void run ( ) { com.android.ide.eclipse.adt.internal.editors.descriptors.DescriptorsUtils.setDefaultLayoutAttributes ( uiNew , updateLayout ) ; uiNew.createXmlNode ( ) ; }
Source:
protected void datagramSocketClose ( ) { try { libcore.io.IoBridge.closeAndSignalBlockedThreads ( fd ) ; } catch ( java.io.IOException ignored ) { } }

Target:
protected native void datagramSocketClose ( ) ;
Source:
public int lastIndexOf ( java.lang.String str , int fromIndex ) { return java.lang.String.lastIndexOf ( value , 0 , count , str.toCharArray ( ) , 0 , str.length ( ) , fromIndex ) ; }

Target:
public int lastIndexOf ( java.lang.String str , int fromIndex ) { return java.lang.String.lastIndexOf ( value , 0 , count , str , fromIndex ) ; }
Source:
public java.util.List < android.bluetooth.BluetoothDevice > getConnectedDevices ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.pbapclient.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; int [ ] desiredStates = new int [ ] { android.bluetooth.BluetoothProfile.STATE_CONNECTED } ; return getDevicesMatchingConnectionStates ( desiredStates ) ; }

Target:
private java.util.List < android.bluetooth.BluetoothDevice > getConnectedDevices ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.pbapclient.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; int [ ] desiredStates = new int [ ] { android.bluetooth.BluetoothProfile.STATE_CONNECTED } ; return getDevicesMatchingConnectionStates ( desiredStates ) ; }
Source:
public java.text.Format.Field field ( ) { checkValid ( ) ; return libcore.icu.NativeDecimalFormat.ICU4C_FIELD_IDS [ data [ pos ] ] ; }

Target:
public java.text.Format.Field field ( ) { return libcore.icu.NativeDecimalFormat.ICU4C_FIELD_IDS [ data [ pos ] ] ; }
Source:
public void setUp ( ) { runner = new vogar.target.junit.JUnitRunner ( ) ; monitor = org.mockito.Mockito.mock ( vogar.monitor.TargetMonitor.class ) ; }

Target:
public void setUp ( ) { monitor = org.mockito.Mockito.mock ( vogar.monitor.TargetMonitor.class ) ; }
Source:
public void testPass2 ( ) { com.android.tradefed.result.ByteArrayInputStreamSource source = new com.android.tradefed.result.ByteArrayInputStreamSource ( "test2" . getBytes ( ) ) ; logs.addTestLog ( "TEST2" , LogDataType.TEXT , source ) ; com.android.tradefed.util.StreamUtil.cancel ( source ) ; BRANCH ( 6.0F ) ; com.android.tradefed.testtype.a5fd Merge ; }

Target:
public void testPass2 ( ) { com.android.tradefed.result.ByteArrayInputStreamSource source = new com.android.tradefed.result.ByteArrayInputStreamSource ( "test2" . getBytes ( ) ) ; logs.addTestLog ( "TEST2" , LogDataType.TEXT , source ) ; com.android.tradefed.util.StreamUtil.cancel ( source ) ; }
Source:
public static dalvik.system.DexFile loadDex ( java.lang.String sourcePathName , java.lang.String outputPathName , int flags ) throws java.io.IOException { return dalvik.system.DexFile.loadDex ( sourcePathName , outputPathName , flags , null ) ; }

Target:
public static dalvik.system.DexFile loadDex ( java.lang.String sourcePathName , java.lang.String outputPathName , int flags ) throws java.io.IOException { return dalvik.system.DexFile.loadDex ( sourcePathName , outputPathName , flags , null , null ) ; }
Source:
public K getElement ( ) { return key ; }

Target:
public int size ( ) { return size ; }
Source:
public void flushNow ( boolean sync ) { flushBuffer ( null ) ; }

Target:
public void flushNow ( ) { flushBuffer ( null ) ; }
Source:
public void testSpecificDefaultValue ( ) { assertEquals ( 1.1 , encoder.averageBytesPerChar ( ) , 1.0E-4 ) ; assertEquals ( 4 , encoder.maxBytesPerChar ( ) , 0 ) ; }

Target:
public void testSpecificDefaultValue ( ) { assertEquals ( 2 , encoder.averageBytesPerChar ( ) , 0 ) ; assertEquals ( 3 , encoder.maxBytesPerChar ( ) , 0 ) ; }
Source:
public android.util.Pair < byte [ ] , byte [ ] > readOutOfBandData ( ) { if ( ( getState ( ) ) != ( android.bluetooth.BluetoothAdapter.STATE_ON ) ) return null ; return null ; }

Target:
public android.util.Pair < byte [ ] , byte [ ] > readOutOfBandData ( ) { return null ; }
Source:
public static long AndIntLong ( ) { int lhs = Main.$inline$int ( 10 ) ; long rhs = Main.$inline$long ( 3L ) ; return lhs & rhs ; }

Target:
public static long AndIntLong ( ) { int lhs = 10 ; long rhs = 3 ; return lhs & rhs ; }
Source:
public void onTick ( long millisUntilFinished ) { mTimeLeft = millisUntilFinished ; this . showNotification ( millisUntilFinished ) ; }

Target:
public void onTick ( long millisUntilFinished ) { mTimeLeft = millisUntilFinished ; }
Source:
public com.android.ims.internal.IImsVideoCallProvider getVideoCallProvider ( ) throws android.os.RemoteException { return null ; }

Target:
public com.android.ims.internal.IImsVideoCallProvider getVideoCallProvider ( ) { return this . getVideoCallProvider ( ) ; }
Source:
public void detachFunctor ( int functor ) { android.view.GLES20Canvas.nDetachFunctor ( mRenderer , functor ) ; }

Target:
public void detachFunctor ( long functor ) { android.view.GLES20Canvas.nDetachFunctor ( mRenderer , functor ) ; }
Source:
public void run ( ) { }

Target:
public int run ( ) { return 0 ; }
Source:
public void restoreState ( ) throws java.lang.Exception { android.app.Instrumentation instrumentation = testFramework.getInstrumentation ( ) ; android.support.test.uiautomator.UiDevice device = testFramework.getDevice ( ) ; com.android.devtools.systemimage.uitest.utils.SettingsUtil.deactivate ( instrumentation , "Sample Device Admin" ) ; }

Target:
public void restoreState ( ) throws java.lang.Exception { com.android.devtools.systemimage.uitest.utils.SettingsUtil.deactivate ( instrumentation , "Sample Device Admin" ) ; }
Source:
public java.util.List < java.lang.String > targetProcessPrefix ( ) { return com.google.common.collect.ImmutableList.of ( "adb" , "shell" , "sh" , "-c" ) ; }

Target:
public java.util.List < java.lang.String > targetProcessPrefix ( ) { return com.google.common.collect.ImmutableList.of ( "adb" , "shell" ) ; }
Source:
protected void setPreCompNeg ( org.bouncycastle.math.ec.ECPoint [ ] preCompNeg ) { this . preCompNeg = preCompNeg ; }

Target:
public void setPreCompNeg ( org.bouncycastle.math.ec.ECPoint [ ] preCompNeg ) { this . preCompNeg = preCompNeg ; }
Source:
com.android.ddmlib.Device [ ] getDevices ( ) { synchronized ( mDevices ) { return mDevices.toArray ( new com.android.ddmlib.Device [ mDevices.size ( ) ] ) ; } }

Target:
com.android.ddmlib.Device [ ] getDevices ( ) { return mDevices.toArray ( new com.android.ddmlib.Device [ 0 ] ) ; }
Source:
public int updateCallForward ( int action , int condition , java.lang.String number , int serviceClass , int timeSeconds ) throws android.os.RemoteException { return 0 ; }

Target:
public int updateCallForward ( int action , int condition , java.lang.String number , int serviceClass , int timeSeconds ) { return 0 ; }
Source:
public static native void SSL_shutdown ( int sslNativePointer , java.io.FileDescriptor fd , org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSLHandshakeCallbacks shc ) throws java.io.IOException ;

Target:
public static native void SSL_shutdown ( long sslNativePointer , java.io.FileDescriptor fd , org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSLHandshakeCallbacks shc ) throws java.io.IOException ;
Source:
protected void initSstIcc ( ) { mIccCard.set ( com.android.internal.telephony.uicc.UiccController.getInstance ( this ) . getIccCard ( ) ) ; mIccRecords = mIccCard.get ( ) . getIccRecords ( ) ; mSST = new com.android.internal.telephony.cdma.CdmaLteServiceStateTracker ( this ) ; }

Target:
protected void initSstIcc ( ) { mSST = new com.android.internal.telephony.cdma.CdmaLteServiceStateTracker ( this ) ; }
Source:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , @ javax.annotation.Nullable java.lang.Object value ) { com.google.common.base.Preconditions.checkNotNull ( name ) ; addHolder ( value ) . builder.append ( name ) . append ( '=' ) . append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , @ javax.annotation.Nullable java.lang.Object value ) { return addHolder ( name , value ) ; }
Source:
public void jarjar001 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( JARJAR001 ) . setJarjarRulesFileName ( "jarjar-rules.txt" ) . compileAndRunTest ( ) ; }

Target:
public void jarjar001 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( JARJAR001 ) . compileAndRunTest ( ) ; }
Source:
native void rsnAllocationIoReceive ( int con , int alloc ) ;

Target:
native void rsnAllocationIoReceive ( long con , long alloc ) ;
Source:
public static android.telephony.MbmsStreamingManager create ( android.content.Context context , android.telephony.mbms.MbmsStreamingManagerCallback listener , int subscriptionId ) throws android.telephony.mbms.MbmsException { android.telephony.MbmsStreamingManager manager = new android.telephony.MbmsStreamingManager ( context , listener , subscriptionId ) ; manager.bindAndInitialize ( ) ; return manager ; }

Target:
public static android.telephony.MbmsStreamingManager create ( android.content.Context context , android.telephony.mbms.MbmsStreamingManagerCallback callback , int subscriptionId ) throws android.telephony.mbms.MbmsException { android.telephony.MbmsStreamingManager manager = new android.telephony.MbmsStreamingManager ( context , callback , subscriptionId ) ; manager.bindAndInitialize ( ) ; return manager ; }
Source:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) throws java.lang.Exception { java.util.Set < com.android.jack.ir.sourceinfo.FileSourceInfo > infos = session.getSourceInfoFactory ( ) . getFileSourceInfos ( ) ; for ( com.android.jack.ir.sourceinfo.FileSourceInfo info : infos ) { info.setFileName ( newSourceFileName.getPath ( ) ) ; } }

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) { for ( com.android.jack.ir.sourceinfo.FileSourceInfo info : session.getSourceInfoFactory ( ) . getFileSourceInfos ( ) ) { info.setFileName ( newSourceFileName.getPath ( ) ) ; } }
Source:
public void onSelected ( boolean showTitle ) { super . onSelected ( showTitle ) ; updateControls ( ) ; postHideRippleAnimation ( ) ; }

Target:
public void onSelected ( boolean showTitle ) { super . onSelected ( showTitle ) ; postHideRippleAnimation ( ) ; }
Source:
private java.io.File createApk ( vogar.Action action , java.io.File dex ) { java.lang.String androidManifest = ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + ( "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" + " package=\"" ) ) + ( vogar.android.InstallApkTask.packageName ( action ) ) ) + "\">\n" ) + " <uses-permission android:name=\"android.permission.INTERNET\" />\n" ) + " <application>\n" ) + " <activity android:name=\"" ) + ( vogar.android.InstallApkTask.ACTIVITY_CLASS ) ) + "\">\n" ) + " <intent-filter>\n" ) + " <action android:name=\"android.intent.action.MAIN\" />\n" ) + " <category android:name=\"android.intent.category.LAUNCHER\" />\n" ) + " </intent-filter>\n" ) + " </activity>\n" ) + " </application>\n" ) + "</manifest>\n" ; java.io.File androidManifestFile = run.localFile ( action , "classes" , "AndroidManifest.xml" ) ; try { java.io.FileOutputStream androidManifestOut = new java.io.FileOutputStream ( androidManifestFile ) ; androidManifestOut.write ( androidManifest.getBytes ( "UTF-8" ) ) ; androidManifestOut.close ( ) ; } catch ( java.io.IOException e ) { throw new java.lang.RuntimeException ( ( "Problem writing " + androidManifestFile ) , e ) ; } java.io.File apk = run.localFile ( action , ( action + ".apk" ) ) ; run.androidSdk.packageApk ( apk , androidManifestFile ) ; run.androidSdk.addToApk ( apk , dex ) ; run.androidSdk.addToApk ( apk , run.localFile ( action , "classes" , TestProperties.FILE ) ) ; return apk ; }

Target:
private java.io.File createApk ( vogar.Action action , java.io.File dex ) { java.lang.String androidManifest = ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + ( "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" + " package=\"" ) ) + ( vogar.android.InstallApkTask.packageName ( action ) ) ) + "\">\n" ) + " <uses-permission android:name=\"android.permission.INTERNET\" />\n" ) + " <application" ) + ( run.debugging ? " android:debuggable=\"true\"" : "" ) ) + ">\n" ) + " <activity android:name=\"" ) + ( vogar.android.InstallApkTask.ACTIVITY_CLASS ) ) + "\">\n" ) + " <intent-filter>\n" ) + " <action android:name=\"android.intent.action.MAIN\" />\n" ) + " <category android:name=\"android.intent.category.LAUNCHER\" />\n" ) + " </intent-filter>\n" ) + " </activity>\n" ) + " </application>\n" ) + "</manifest>\n" ; java.io.File androidManifestFile = run.localFile ( action , "classes" , "AndroidManifest.xml" ) ; try { java.io.FileOutputStream androidManifestOut = new java.io.FileOutputStream ( androidManifestFile ) ; androidManifestOut.write ( androidManifest.getBytes ( "UTF-8" ) ) ; androidManifestOut.close ( ) ; } catch ( java.io.IOException e ) { throw new java.lang.RuntimeException ( ( "Problem writing " + androidManifestFile ) , e ) ; } java.io.File apk = run.localFile ( action , ( action + ".apk" ) ) ; run.androidSdk.packageApk ( apk , androidManifestFile ) ; run.androidSdk.addToApk ( apk , dex ) ; run.androidSdk.addToApk ( apk , run.localFile ( action , "classes" , TestProperties.FILE ) ) ; return apk ; }
Source:
public void testGrantNoneRequestNone ( ) throws java.lang.Exception { doTestDragAndDrop ( android.wm.cts.CrossAppDragAndDropTests.GRANT_NONE , android.wm.cts.CrossAppDragAndDropTests.REQUEST_NONE , android.wm.cts.CrossAppDragAndDropTests.RESULT_EXCEPTION ) ; assertResult ( android.wm.cts.CrossAppDragAndDropTests.RESULT_KEY_DRAG_STARTED , android.wm.cts.CrossAppDragAndDropTests.RESULT_OK ) ; assertResult ( android.wm.cts.CrossAppDragAndDropTests.RESULT_KEY_EXTRAS , android.wm.cts.CrossAppDragAndDropTests.RESULT_OK ) ; }

Target:
public void testGrantNoneRequestNone ( ) throws java.lang.Exception { if ( ! ( doTestDragAndDrop ( android.wm.cts.CrossAppDragAndDropTests.GRANT_NONE , android.wm.cts.CrossAppDragAndDropTests.REQUEST_NONE , android.wm.cts.CrossAppDragAndDropTests.RESULT_EXCEPTION ) ) ) { return ; } assertResult ( android.wm.cts.CrossAppDragAndDropTests.RESULT_KEY_DRAG_STARTED , android.wm.cts.CrossAppDragAndDropTests.RESULT_OK ) ; assertResult ( android.wm.cts.CrossAppDragAndDropTests.RESULT_KEY_EXTRAS , android.wm.cts.CrossAppDragAndDropTests.RESULT_OK ) ; }
Source:
public static com.android.server.wifi.ScanResults createOverflowing ( int id , int maxResults , com.android.server.wifi.ScanDetail ... nativeResults ) { return new com.android.server.wifi.ScanResults ( id , maxResults , nativeResults ) ; }

Target:
public static com.android.server.wifi.ScanResults createOverflowing ( int id , int maxResults , com.android.server.wifi.ScanDetail ... nativeResults ) { return new com.android.server.wifi.ScanResults ( id , false , maxResults , nativeResults ) ; }
Source:
public void dragStart ( org.eclipse.swt.dnd.DragSourceEvent e ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.GlobalCanvasDragInfo.getInstance ( ) . startDrag ( mElements , null ) ; }

Target:
public void dragStart ( org.eclipse.swt.dnd.DragSourceEvent e ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.GlobalCanvasDragInfo.getInstance ( ) . startDrag ( mElements , null , null ) ; }
Source:
public static int IntSubtraction ( ) { int a ; int b ; int c ; a = Main.$inline$int ( 6 ) ; b = Main.$inline$int ( 2 ) ; c = a - b ; return c ; }

Target:
public static int IntSubtraction ( ) { int a ; int b ; int c ; a = 6 ; b = 2 ; c = a - b ; return c ; }
Source:
public void testContains_NullPointerException ( ) { try { java.util.concurrent.ConcurrentHashMap c = new java.util.concurrent.ConcurrentHashMap ( 5 ) ; c.contains ( null ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testContains_NullPointerException ( ) { java.util.concurrent.ConcurrentHashMap c = new java.util.concurrent.ConcurrentHashMap ( 5 ) ; try { c.contains ( null ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }
Source:
private void connectToWebsite ( java.lang.String urlString ) { java.net.HttpURLConnection urlConnection = null ; try { final java.net.URL url = new java.net.URL ( ( "http://" + urlString ) ) ; urlConnection = ( ( java.net.HttpURLConnection ) ( url.openConnection ( ) ) ) ; urlConnection.setConnectTimeout ( 2000 ) ; urlConnection.setReadTimeout ( 2000 ) ; urlConnection.getResponseCode ( ) ; } catch ( java.io.IOException e ) { android.util.Log.w ( com.android.cts.deviceowner.NetworkLoggingTest.TAG , ( "Failed to connect to " + urlString ) , e ) ; } finally { if ( urlConnection != null ) { urlConnection.disconnect ( ) ; } } }

Target:
private void connectToWebsite ( java.lang.String server ) { java.net.HttpURLConnection urlConnection = null ; try { final java.net.URL url = new java.net.URL ( ( "http://" + server ) ) ; urlConnection = ( ( java.net.HttpURLConnection ) ( url.openConnection ( ) ) ) ; urlConnection.setConnectTimeout ( 2000 ) ; urlConnection.setReadTimeout ( 2000 ) ; urlConnection.getResponseCode ( ) ; } catch ( java.io.IOException e ) { android.util.Log.w ( com.android.cts.deviceowner.NetworkLoggingTest.TAG , ( "Failed to connect to " + server ) , e ) ; } finally { if ( urlConnection != null ) { urlConnection.disconnect ( ) ; } } }
Source:
public void fireOnChange ( ) { myDestPushTargetPanelComponent.fireOnChange ( ) ; for ( com.intellij.dvcs.push.RepositoryNodeListener < T > listener : myListeners ) { listener.onTargetChanged ( myDestPushTargetPanelComponent.getValue ( ) ) ; } }

Target:
public void fireOnChange ( ) { myDestPushTargetPanelComponent.fireOnChange ( ) ; T target = myDestPushTargetPanelComponent.getValue ( ) ; if ( target == null ) return ; for ( com.intellij.dvcs.push.RepositoryNodeListener < T > listener : myListeners ) { listener.onTargetChanged ( target ) ; } }
Source:
public void testVersion12 ( ) { android.renderscript.cts.ScriptC_set_target_api_12 test12 = new android.renderscript.cts.ScriptC_set_target_api_12 ( mRS , mRes , R.raw.set_target_api_12 ) ; test12.invoke_check ( 12 ) ; waitForMessage ( ) ; checkForErrors ( ) ; }

Target:
public void testVersion12 ( ) { android.renderscript.cts.ScriptC_set_target_api_12 test12 = new android.renderscript.cts.ScriptC_set_target_api_12 ( mRS ) ; test12.invoke_check ( 12 ) ; waitForMessage ( ) ; checkForErrors ( ) ; }
Source:
public java.lang.annotation.Annotation [ ] [ ] getParameterAnnotations ( ) { return libcore.reflect.AnnotationAccess.getParameterAnnotations ( declaringClassOfOverriddenMethod , dexMethodIndex ) ; }

Target:
public abstract java.lang.annotation.Annotation [ ] [ ] getParameterAnnotations ( ) ;
Source:
public com.google.devtools.build.android.UnvalidatedAndroidData convert ( java.lang.String input ) throws com.google.devtools.common.options.OptionsParsingException { try { return com.google.devtools.build.android.UnvalidatedAndroidData.valueOf ( input ) ; } catch ( java.lang.IllegalArgumentException e ) { throw new com.google.devtools.common.options.OptionsParsingException ( java.lang.String.format ( "invalid UnvalidatedAndroidData: %s" , e.getMessage ( ) ) , e ) ; } }

Target:
public java.lang.String convert ( java.lang.String input ) { return input ; }
Source:
public void test_twoDex_init ( ) throws java.lang.Exception { java.lang.ClassLoader cl = createLoader ( dex1 , dex2 ) ; java.io.File [ ] files = optimizedDir.listFiles ( dalvik.system.DexClassLoaderTest.DEX_FILE_NAME_FILTER ) ; assertNotNull ( files ) ; assertEquals ( 2 , files.length ) ; }

Target:
public void test_twoDex_init ( ) throws java.lang.Exception { java.lang.ClassLoader cl = createLoader ( dex1 , dex2 ) ; }
Source:
public void int_to_long ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( INT_TO_LONG ) . setSrcDirName ( "jm" ) . setRefDirName ( "." ) . addReferenceExtraSources ( new java.io.File ( com.android.jack.test.toolchain.AbstractTestTools.getJackRootDir ( ) , "toolchain/jack/jack-tests/src/com/android/jack/DxTestCase.java" ) ) . compileAndRunTest ( ) ; }

Target:
public void int_to_long ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( INT_TO_LONG ) . compileAndRunTest ( ) ; }
Source:
public static int [ ] copyOf ( int [ ] original , int newLength ) { if ( newLength < 0 ) { throw new java.lang.NegativeArraySizeException ( ) ; } return java.util.Arrays.copyOfRange ( original , 0 , newLength ) ; }

Target:
public static int [ ] copyOf ( int [ ] original , int newLength ) { if ( newLength < 0 ) { throw new java.lang.NegativeArraySizeException ( java.lang.Integer.toString ( newLength ) ) ; } return java.util.Arrays.copyOfRange ( original , 0 , newLength ) ; }
Source:
protected synchronized int peekData ( java.net.DatagramPacket p ) throws java.io.IOException { doRecv ( p , android.system.OsConstants.MSG_PEEK ) ; return p.getPort ( ) ; }

Target:
protected synchronized native int peekData ( java.net.DatagramPacket p ) throws java.io.IOException ;
Source:
private void getIssuerAlternativeNames ( java.security.cert.CertificateFactory f ) throws java.lang.Exception { java.security.cert.X509Certificate c = getCertificate ( f , libcore.java.security.cert.X509CertificateTest.CERT_RSA ) ; java.util.Collection < java.util.List < ? > > col = c.getSubjectAlternativeNames ( ) ; checkAlternativeNames ( col ) ; }

Target:
private void getIssuerAlternativeNames ( java.security.cert.CertificateFactory f ) throws java.lang.Exception { java.security.cert.X509Certificate c = getCertificate ( f , libcore.java.security.cert.X509CertificateTest.CERT_RSA ) ; java.util.Collection < java.util.List < ? > > col = c.getIssuerAlternativeNames ( ) ; checkAlternativeNames ( col ) ; }
Source:
public void copyTo ( float [ ] d ) { validateIsFloat32 ( ) ; mRS.validate ( ) ; mRS.nAllocationRead ( getID ( mRS ) , d ) ; }

Target:
public void copyTo ( float [ ] d ) { validateIsFloat32 ( ) ; copyTo ( d , Element.DataType.FLOAT_32 , d.length ) ; }
Source:
java.lang.String getCFlags ( ) ;

Target:
java.util.List < java.lang.String > getCFlags ( ) ;
Source:
private static void waitFor ( android.os.ConditionVariable conditionVariable ) { if ( conditionVariable.block ( com.android.server.ConnectivityServiceTest.TIMEOUT_MS ) ) { return ; } fail ( ( ( "ConditionVariable was blocked for more than " + ( com.android.server.ConnectivityServiceTest.TIMEOUT_MS ) ) + "ms" ) ) ; }

Target:
private static void waitFor ( android.os.ConditionVariable conditionVariable ) { assertTrue ( conditionVariable.block ( com.android.server.ConnectivityServiceTest.TIMEOUT_MS ) ) ; }
Source:
synchronized long nAllocationCreateTyped ( long type , int mip , int usage , int pointer ) { validate ( ) ; return rsnAllocationCreateTyped ( mContext , type , mip , usage , pointer ) ; }

Target:
synchronized long nAllocationCreateTyped ( long type , int mip , int usage , long pointer ) { validate ( ) ; return rsnAllocationCreateTyped ( mContext , type , mip , usage , pointer ) ; }
Source:
public abstract void setResult ( java.lang.String result ) ;

Target:
public abstract void log ( java.lang.String log ) ;
Source:
native void rsnScriptGroupSetOutput ( int con , int group , int kernel , int alloc ) ;

Target:
native void rsnScriptGroupSetOutput ( long con , long group , long kernel , long alloc ) ;
Source:
public void error ( java.lang.String tag , java.lang.String message ) { com.android.ide.eclipse.adt.AdtPlugin.log ( IStatus.ERROR , message ) ; }

Target:
public void error ( java.lang.String tag , java.lang.String message , java.lang.Object data ) { com.android.ide.eclipse.adt.AdtPlugin.log ( IStatus.ERROR , message ) ; }
Source:
public void callSessionHandover ( com.android.ims.internal.IImsCallSession session , int srcAccessTech , int targetAccessTech , com.android.ims.ImsReasonInfo reasonInfo ) { if ( ( mListener ) != null ) { mListener.callSessionHandover ( this , srcAccessTech , targetAccessTech , reasonInfo ) ; } }

Target:
public void callSessionHandover ( int srcAccessTech , int targetAccessTech , com.android.ims.ImsReasonInfo reasonInfo ) { if ( ( mListener ) != null ) { mListener.callSessionHandover ( this , srcAccessTech , targetAccessTech , reasonInfo ) ; } }
Source:
private void populateBottomPanel ( ) { bottomPanel.setBorder ( javax.swing.BorderFactory.createLineBorder ( com.intellij.util.ui.UIUtil.getBorderColor ( ) , 1 ) ) ; myConfigurationCountLabel = new javax.swing.JLabel ( ) ; updateConfigurationCountLabel ( ) ; bottomPanel.add ( myConfigurationCountLabel ) ; }

Target:
private void populateBottomPanel ( ) { bottomPanel.setBorder ( javax.swing.BorderFactory.createLineBorder ( com.intellij.util.ui.UIUtil.getBorderColor ( ) , 1 ) ) ; updateConfigurationCountLabel ( ) ; bottomPanel.add ( myConfigurationCountLabel ) ; }
Source:
public boolean isDefault ( ) { return ( mDefaultValue ) == ( mCurrentValue ) ; }

Target:
public boolean isDefault ( ) { return ( ( mDefaultValue ) != null ) & ( mDefaultValue.equals ( mCurrentValue ) ) ; }
Source:
public native int getxattr ( java.lang.String path , java.lang.String name , byte [ ] outValue ) throws android.system.ErrnoException ;

Target:
public native byte [ ] getxattr ( java.lang.String path , java.lang.String name ) throws android.system.ErrnoException ;
Source:
public static android.telephony.MbmsStreamingManager create ( android.content.Context context , android.telephony.mbms.MbmsStreamingManagerCallback callback , android.os.Handler handler ) throws android.telephony.mbms.MbmsException { return android.telephony.MbmsStreamingManager.create ( context , callback , android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) , handler ) ; }

Target:
public static android.telephony.MbmsStreamingManager create ( android.content.Context context , android.telephony.mbms.MbmsStreamingManagerCallback callback ) throws android.telephony.mbms.MbmsException { return android.telephony.MbmsStreamingManager.create ( context , callback , android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ) ; }
Source:
public boolean handles ( int c , int breakType ) { return ( ( breakType >= 0 ) && ( breakType < ( fHandled.length ) ) ) && ( fHandled [ breakType ] . contains ( c ) ) ; }

Target:
public boolean handles ( int c , int breakType ) { return ( ( breakType >= 0 ) && ( breakType < ( fHandled.length ( ) ) ) ) && ( fHandled.get ( breakType ) . contains ( c ) ) ; }