auphong2707/dl4se-code-review-dataset huggingface dataset:
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_tlsext_host_name ( s , hostname ) ; 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_tlsext_host_name ( s , hostname ) ; return s ; }
Source:
protected void onError ( com.android.internal.telephony.sip.DisconnectCause cause ) { if ( com.android.internal.telephony.sip.SipPhone.SipConnection.SCN_DBG ) log ( ( "onError: " + cause ) ) ; onCallEnded ( cause ) ; }

Target:
protected void onError ( int cause ) { if ( com.android.internal.telephony.sip.SipPhone.SipConnection.SCN_DBG ) log ( ( "onError: " + cause ) ) ; onCallEnded ( cause ) ; }
Source:
public void appendPath ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { pathFragments.add ( new com.android.sched.vfs.VPath.VPathFragment ( java.lang.String.valueOf ( com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) , com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) ) ; pathFragments.addAll ( path.getPathFragments ( ) ) ; }

Target:
public com.android.sched.vfs.VPath appendPath ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { pathFragments.add ( new com.android.sched.vfs.VPath.VPathFragment ( java.lang.String.valueOf ( com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) , com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) ) ; pathFragments.addAll ( path.getPathFragments ( ) ) ; return this ; }
Source:
public void testIllegalReference ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestDetector.ILLEGAL_REFERENCE ) ; assertEquals ( ( "" + ( ( ( ( ( ( ( ( ( ( ( ( "AndroidManifest.xml:2: Warning: The android:versionCode cannot be a resource url, it must be a literal integer [IllegalResourceRef]\n" + "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + "^\n" ) + "AndroidManifest.xml:2: Warning: The android:versionName cannot be a resource url, it must be a literal string [IllegalResourceRef]\n" ) + "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + "^\n" ) + "AndroidManifest.xml:7: Warning: The android:minSdkVersion cannot be a resource url, it must be a literal integer (or string if a preview codename) [IllegalResourceRef]\n" ) + " <uses-sdk android:minSdkVersion=\"@dimen/minSdkVersion\" android:targetSdkVersion=\"@dimen/targetSdkVersion\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "AndroidManifest.xml:7: Warning: The android:targetSdkVersion cannot be a resource url, it must be a literal integer (or string if a preview codename) [IllegalResourceRef]\n" ) + " <uses-sdk android:minSdkVersion=\"@dimen/minSdkVersion\" android:targetSdkVersion=\"@dimen/targetSdkVersion\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 4 warnings\n" ) ) , lintProject ( "illegal_version.xml=>AndroidManifest.xml" ) ) ; }

Target:
public void testIllegalReference ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestDetector.ILLEGAL_REFERENCE ) ; assertEquals ( ( "" + ( ( ( ( ( ( ( ( ( "AndroidManifest.xml:2: Warning: The android:versionCode cannot be a resource url, it must be a literal integer [IllegalResourceRef]\n" + "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + "^\n" ) + "AndroidManifest.xml:7: Warning: The android:minSdkVersion cannot be a resource url, it must be a literal integer (or string if a preview codename) [IllegalResourceRef]\n" ) + " <uses-sdk android:minSdkVersion=\"@dimen/minSdkVersion\" android:targetSdkVersion=\"@dimen/targetSdkVersion\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "AndroidManifest.xml:7: Warning: The android:targetSdkVersion cannot be a resource url, it must be a literal integer (or string if a preview codename) [IllegalResourceRef]\n" ) + " <uses-sdk android:minSdkVersion=\"@dimen/minSdkVersion\" android:targetSdkVersion=\"@dimen/targetSdkVersion\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 3 warnings\n" ) ) , lintProject ( "illegal_version.xml=>AndroidManifest.xml" ) ) ; }
Source:
public int getField ( java.util.Date d , int f ) { getFieldCal.setTime ( d ) ; int ret = getFieldCal.get ( f ) ; return ret ; }

Target:
private int getField ( java.util.Date d , int f ) { getFieldCal.setTime ( d ) ; int ret = getFieldCal.get ( f ) ; return ret ; }
Source:
void registerContentObservers ( android.content.Context appContext , com.android.dialer.phonelookup.PhoneLookup.ContentObserverCallbacks contentObserverCallbacks ) ;

Target:
void registerContentObservers ( android.content.Context appContext ) ;
Source:
public native long getLong ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public native long getLong ( java.lang.Object obj ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public void onRecordTimeRangeChanged ( ) { if ( ( mTimeShiftManager.isAvailable ( ) ) && ( isShown ( ) ) ) { updateControls ( ) ; } }

Target:
public void onRecordTimeRangeChanged ( ) { if ( mTimeShiftManager.isAvailable ( ) ) { updateControls ( false ) ; } }
Source:
void openRead ( com.android.tv.tuner.exoplayer.buffer.SampleChunk chunk ) throws java.io.IOException { if ( ( mChunk ) != null ) { mChunk.closeRead ( ) ; } chunk.openRead ( ) ; reset ( chunk ) ; }

Target:
void openRead ( com.android.tv.tuner.exoplayer.buffer.SampleChunk chunk , long offset ) throws java.io.IOException { if ( ( mChunk ) != null ) { mChunk.closeRead ( ) ; } chunk.openRead ( ) ; reset ( chunk , offset ) ; }
Source:
com.android.apksig.internal.util.Pair < java.lang.String , ? extends java.security.spec.AlgorithmParameterSpec > getJcaSignatureAlgorithmAndParams ( ) { return mJcaSignatureAlgAndParams ; }

Target:
public com.android.apksig.internal.util.Pair < java.lang.String , ? extends java.security.spec.AlgorithmParameterSpec > getJcaSignatureAlgorithmAndParams ( ) { return mJcaSignatureAlgAndParams ; }
Source:
public int getSoTimeout ( ) throws java.net.SocketException { return readTimeoutMilliseconds ; }

Target:
public synchronized int getSoTimeout ( ) throws java.net.SocketException { return readTimeoutMilliseconds ; }
Source:
public int transact ( android.os.Bundle ssInfo ) throws android.os.RemoteException { return - 1 ; }

Target:
public int transact ( android.os.Bundle ssInfo ) throws android.os.RemoteException { return this . transact ( ssInfo ) ; }
Source:
synchronized int nAllocationCreateBitmapBackedAllocation ( int type , int mip , android.graphics.Bitmap bmp , int usage ) { validate ( ) ; return rsnAllocationCreateBitmapBackedAllocation ( mContext , type , mip , bmp , usage ) ; }

Target:
synchronized long nAllocationCreateBitmapBackedAllocation ( long type , int mip , android.graphics.Bitmap bmp , int usage ) { validate ( ) ; return rsnAllocationCreateBitmapBackedAllocation ( mContext , type , mip , bmp , usage ) ; }
Source:
public static < T > com.android.volley.Response < T > error ( com.android.volley.VolleyError error ) { return new com.android.volley.Response < T > ( error ) ; }

Target:
public static < T > com.android.volley.Response < T > error ( com.android.volley.VolleyError error ) { return new com.android.volley.Response ( error ) ; }
Source:
public boolean contains ( com.android.ide.eclipse.adt.editors.layout.gscripts.Point p ) { return contains ( p.x , p.y ) ; }

Target:
public boolean contains ( com.android.ide.eclipse.adt.editors.layout.gscripts.Point p ) { return ( p != null ) && ( contains ( p.x , p.y ) ) ; }
Source:
public void dump ( java.lang.StringBuilder sb ) { sb.append ( ( ( "\nProfile: " + ( mName ) ) + "\n" ) ) ; }

Target:
public void dump ( java.lang.StringBuilder sb ) { sb.append ( "\nProfile: " ) ; sb.append ( mName ) ; sb.append ( "\n" ) ; }
Source:
private int paddedBlockSizeBytes ( ) { int paddedBlockSizeBytes = keySizeBytes ( ) ; if ( ( padding ) == ( NativeConstants.RSA_PKCS1_PADDING ) ) { paddedBlockSizeBytes -- ; paddedBlockSizeBytes -= 10 ; } return paddedBlockSizeBytes ; }

Target:
protected int paddedBlockSizeBytes ( ) { int paddedBlockSizeBytes = keySizeBytes ( ) ; if ( ( padding ) == ( NativeConstants.RSA_PKCS1_PADDING ) ) { paddedBlockSizeBytes -- ; paddedBlockSizeBytes -= 10 ; } return paddedBlockSizeBytes ; }
Source:
private void clearBleApps ( ) { synchronized ( this ) { mBleApps.clear ( ) ; com.android.server.BluetoothManagerService.mBleAppCount = 0 ; } }

Target:
private void clearBleApps ( ) { mBleApps.clear ( ) ; }
Source:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVFile file ) throws com.android.sched.util.file.WrongPermissionException { return new java.util.zip.DeflaterOutputStream ( vfs.openWrite ( file ) , new java.util.zip.Deflater ( ) ) ; }

Target:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVFile file , boolean append ) throws com.android.sched.util.file.WrongPermissionException { return new java.util.zip.DeflaterOutputStream ( vfs.openWrite ( file , append ) , new java.util.zip.Deflater ( ) ) ; }
Source:
public static java.security.Provider [ ] getProviders ( ) { synchronized ( org.apache.harmony.security.fortress.Services.providers ) { return org.apache.harmony.security.fortress.Services.providers.toArray ( new java.security.Provider [ org.apache.harmony.security.fortress.Services.providers.size ( ) ] ) ; } }

Target:
public static synchronized java.security.Provider [ ] getProviders ( ) { return org.apache.harmony.security.fortress.Services.providers.toArray ( new java.security.Provider [ org.apache.harmony.security.fortress.Services.providers.size ( ) ] ) ; }
Source:
public boolean simIdentityResponse ( int id , java.lang.String response ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.sendCurrentNetworkEapIdentityResponse ( response ) ; } else { return doBooleanCommand ( ( ( ( "CTRL-RSP-IDENTITY-" + id ) + ":" ) + response ) ) ; } }

Target:
public boolean simIdentityResponse ( int id , java.lang.String response ) { return mSupplicantStaIfaceHal.sendCurrentNetworkEapIdentityResponse ( response ) ; }
Source:
public void visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField x , @ javax.annotation.Nonnull com.android.sched.transform.TransformRequest transformRequest ) throws java.lang.Exception { visit ( ( ( com.android.jack.ir.ast.JNode ) ( x ) ) , transformRequest ) ; }

Target:
public void visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField field , @ javax.annotation.Nonnull com.android.sched.transform.TransformRequest transformRequest ) throws java.lang.Exception { visit ( ( ( com.android.jack.ir.ast.JNode ) ( field ) ) , transformRequest ) ; }
Source:
public void setResult ( java.lang.String resultFormat , java.lang.Object ... args ) { }

Target:
public void log ( java.lang.String format , java.lang.Object ... args ) { }
Source:
public java.lang.annotation.Annotation [ ] [ ] getParameterAnnotations ( ) { java.lang.annotation.Annotation [ ] [ ] parameterAnnotations = getParameterAnnotationsNative ( ) ; if ( parameterAnnotations == null ) { parameterAnnotations = new java.lang.annotation.Annotation [ getParameterTypes ( ) . length ] [ 0 ] ; } return parameterAnnotations ; }

Target:
public java.lang.annotation.Annotation [ ] [ ] getParameterAnnotations ( ) { return super . getParameterAnnotations ( ) ; }
Source:
private void assertValidRequestMethod ( java.lang.String requestMethod ) throws java.lang.Exception { java.net.HttpURLConnection connection = ( ( java.net.HttpURLConnection ) ( server.getUrl ( "/" ) . openConnection ( ) ) ) ; connection.setRequestMethod ( requestMethod ) ; assertEquals ( requestMethod , connection.getRequestMethod ( ) ) ; }

Target:
private void assertValidRequestMethod ( java.lang.String requestMethod ) throws java.lang.Exception { java.net.HttpURLConnection connection = ( ( java.net.HttpURLConnection ) ( server.getUrl ( "/" ) . openConnection ( ) ) ) ; connection.setRequestMethod ( requestMethod ) ; org.junit.Assert.assertEquals ( requestMethod , connection.getRequestMethod ( ) ) ; }
Source:
public static void sort ( char [ ] a , int fromIndex , int toIndex ) { java.util.Arrays.rangeCheck ( a.length , fromIndex , toIndex ) ; java.util.DualPivotQuicksort.sort ( a , fromIndex , ( toIndex - 1 ) ) ; }

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

Target:
public static int $noinline$shortToLongToInt ( short value ) { return ( ( int ) ( ( long ) ( value ) ) ) ; }
Source:
private static native < T > java.lang.reflect.Constructor < T > [ ] getDeclaredConstructors ( java.lang.Class < T > clazz , boolean publicOnly ) ;

Target:
private static native < T > java.lang.reflect.Constructor < T > [ ] getDeclaredConstructors ( java.lang.Class < T > c , boolean publicOnly ) ;
Source:
public synchronized android.bluetooth.BluetoothDevice getCurrentDevice ( ) { return mCurrentDevice ; }

Target:
synchronized android.bluetooth.BluetoothDevice getCurrentDevice ( ) { return mCurrentDevice ; }
Source:
public static java.text.BreakIterator getCharacterInstance ( java.util.Locale where ) { return new java.text.RuleBasedBreakIterator ( libcore.icu.NativeBreakIterator.getCharacterInstance ( where ) ) ; }

Target:
public static java.text.BreakIterator getCharacterInstance ( java.util.Locale locale ) { return new java.text.RuleBasedBreakIterator ( libcore.icu.NativeBreakIterator.getCharacterInstance ( locale ) ) ; }
Source:
public void run ( ) { if ( mTimeShiftManager.isAvailable ( ) ) { mTimeShiftManager.jumpToPrevious ( ) ; updateControls ( ) ; } }

Target:
public void run ( ) { if ( mTimeShiftManager.isAvailable ( ) ) { mTimeShiftManager.jumpToPrevious ( ) ; updateControls ( true ) ; } }
Source:
public org.bouncycastle.cert.X509v2CRLBuilder setNextUpdate ( java.util.Date date ) { tbsGen.setNextUpdate ( new org.bouncycastle.asn1.x509.Time ( date ) ) ; return this ; }

Target:
public org.bouncycastle.cert.X509v2CRLBuilder setNextUpdate ( java.util.Date date ) { return this . setNextUpdate ( new org.bouncycastle.asn1.x509.Time ( date ) ) ; }
Source:
public java.util.List < android.content.Intent > getAndClearBroadcastIntents ( ) { java.util.List < android.content.Intent > intents = mBroadcastIntents ; mBroadcastIntents = com.google.android.collect.Lists.newArrayList ( ) ; return intents ; }

Target:
public java.util.List < android.content.Intent > getAndClearBroadcastIntents ( ) { java.util.List < android.content.Intent > intents = mBroadcastIntents ; mBroadcastIntents = new java.util.ArrayList < > ( ) ; return intents ; }
Source:
public void compareLibCoreStructureWithJill ( ) throws java.lang.Exception { com.android.jill.JillTestTools.checkStructureWithJill ( null , null , com.android.jill.compile.androidtree.core.CoreCompilationTest.SOURCELIST , false ) ; }

Target:
public void compareLibCoreStructureWithJill ( ) throws java.lang.Exception { com.android.jill.JillTestTools.checkStructureWithJill ( null , com.android.jill.compile.androidtree.core.CoreCompilationTest.SOURCELIST , false ) ; }
Source:
public static int $noinline$AddNegs1 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( - arg1 ) + ( - arg2 ) ; }

Target:
public static int $noinline$AddNegs1 ( int arg1 , int arg2 ) { return ( - arg1 ) + ( - arg2 ) ; }
Source:
public long getSupportedProfiles ( ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) return 0 ; return service.getSupportedProfiles ( ) ; }

Target:
public long getSupportedProfiles ( ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) { return 0 ; } return service.getSupportedProfiles ( ) ; }
Source:
public void testEnableDisable ( ) { doEnable ( 0 ) ; doDisable ( 0 ) ; }

Target:
public void testEnableDisable ( ) { doEnable ( 0 , false ) ; doDisable ( 0 , false ) ; }
Source:
public int getAdapterConnectionState ( ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) return android.bluetooth.BluetoothAdapter.STATE_DISCONNECTED ; return service.getAdapterConnectionState ( ) ; }

Target:
public int getAdapterConnectionState ( ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) { return android.bluetooth.BluetoothAdapter.STATE_DISCONNECTED ; } return service.getAdapterConnectionState ( ) ; }
Source:
native void rsnAllocationData1D ( int con , int id , int off , int mip , int count , int [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData1D ( long con , long id , int off , int mip , int count , long [ ] d , int sizeBytes ) ;
Source:
public static < T > org.hamcrest.Matcher < T [ ] > hasItemInArray ( org.hamcrest.Matcher < T > elementMatcher ) { return new org.hamcrest.collection.IsArrayContaining < T > ( elementMatcher ) ; }

Target:
public static < T > org.hamcrest.Matcher < T [ ] > hasItemInArray ( org.hamcrest.Matcher < ? super T > elementMatcher ) { return new org.hamcrest.collection.IsArrayContaining < T > ( elementMatcher ) ; }
Source:
native void rsnScriptSetVarVE ( int con , int id , int slot , byte [ ] val , int e , int [ ] dims ) ;

Target:
native void rsnScriptSetVarVE ( long con , long id , int slot , byte [ ] val , long e , int [ ] dims ) ;
Source:
public boolean hasResourcesOfType ( com.android.resources.ResourceType type ) { java.util.List < com.android.ide.common.resources.ResourceItem > items = mResourceMap.get ( type ) ; return ( items != null ) && ( ( items.size ( ) ) > 0 ) ; }

Target:
public boolean hasResourcesOfType ( com.android.resources.ResourceType type ) { java.util.Map < java.lang.String , com.android.ide.common.resources.ResourceItem > items = mResourceMap.get ( type ) ; return ( items != null ) && ( ( items.size ( ) ) > 0 ) ; }
Source:
public void setMute ( boolean muted ) { }

Target:
public void setMute ( boolean muted ) { this . setMute ( muted ) ; }
Source:
public void sendOnPostDialWait ( java.lang.String id , java.lang.String remaining ) throws java.lang.Exception { for ( com.android.internal.telecom.IConnectionServiceAdapter a : mConnectionServiceAdapters ) { a.onPostDialWait ( id , remaining ) ; } }

Target:
public void sendOnPostDialWait ( java.lang.String id , java.lang.String remaining ) throws java.lang.Exception { for ( com.android.internal.telecom.IConnectionServiceAdapter a : mConnectionServiceAdapters ) { a.onPostDialWait ( id , remaining , null ) ; } }
Source:
static void inlinedForNull ( java.lang.Iterable < ? > it ) { if ( it != null ) { if ( Main.doThrow ) { throw new java.lang.Error ( "" ) ; } } }

Target:
static void inlinedForNull ( java.lang.Iterable < ? > it ) { if ( it != null ) { throw new java.lang.Error ( "" ) ; } }
Source:
public int compare ( java.lang.Double o1 , java.lang.Double o2 ) { return - ( o1.compareTo ( o2 ) ) ; }

Target:
public int compare ( java.lang.Double o1 , java.lang.Double o2 ) { int result = o1.compareTo ( o2 ) ; return result > 0 ? - 1 : result < 0 ? 1 : 0 ; }
Source:
public final com.android.jack.dx.rop.cst.CstString getName ( ) { return method.getNat ( ) . getName ( ) ; }

Target:
public final com.android.jack.dx.rop.cst.CstString getName ( ) { return method.getName ( ) ; }
Source:
private com.android.browser.Tab getNextTab ( ) { return mTabControl.getTab ( java.lang.Math.min ( ( ( mTabControl.getTabCount ( ) ) - 1 ) , ( ( mTabControl.getCurrentPosition ( ) ) + 1 ) ) ) ; }

Target:
private com.android.browser.Tab getNextTab ( ) { int pos = ( mTabControl.getCurrentPosition ( ) ) + 1 ; if ( pos >= ( mTabControl.getTabCount ( ) ) ) { pos = 0 ; } return mTabControl.getTab ( pos ) ; }
Source:
private void assertParcelingIsLossless ( android.net.LinkAddress l ) { android.net.LinkAddress l2 = passThroughParcel ( l ) ; assertEquals ( l , l2 ) ; }

Target:
private void assertParcelingIsLossless ( android.net.LinkAddress l ) { android.net.LinkAddress l2 = passThroughParcel ( l ) ; org.junit.Assert.assertEquals ( l , l2 ) ; }
Source:
public java.lang.Object clone ( ) throws java.lang.CloneNotSupportedException { android.icu.text.DictionaryBreakEngine.DequeI result = ( ( android.icu.text.DictionaryBreakEngine.DequeI ) ( super . clone ( ) ) ) ; data = data.clone ( ) ; return result ; }

Target:
public java.lang.Object clone ( ) throws java.lang.CloneNotSupportedException { android.icu.text.DictionaryBreakEngine.DequeI result = ( ( android.icu.text.DictionaryBreakEngine.DequeI ) ( super . clone ( ) ) ) ; result.data = data.clone ( ) ; return result ; }
Source:
private static native int apfSimulate ( byte [ ] program , byte [ ] packet , int filter_age ) ;

Target:
private static native int apfSimulate ( byte [ ] program , byte [ ] packet , byte [ ] data , int filter_age ) ;
Source:
public static native java.lang.String SSL_SESSION_get_version ( int sslSessionNativePointer ) ;

Target:
public static native java.lang.String SSL_SESSION_get_version ( long sslSessionNativePointer ) ;
Source:
synchronized void nAllocationData2D ( int id , int xoff , int yoff , int mip , int face , android.graphics.Bitmap b ) { validate ( ) ; rsnAllocationData2D ( mContext , id , xoff , yoff , mip , face , b ) ; }

Target:
synchronized void nAllocationData2D ( long id , int xoff , int yoff , int mip , int face , android.graphics.Bitmap b ) { validate ( ) ; rsnAllocationData2D ( mContext , id , xoff , yoff , mip , face , b ) ; }
Source:
public void testDisabled ( ) { com.android.build.gradle.internal.dsl.AbiSplitOptions options = new com.android.build.gradle.internal.dsl.AbiSplitOptions ( ) ; java.util.Set < java.lang.String > values = options.getApplicableFilters ( ) ; org.junit.Assert.assertEquals ( 1 , values.size ( ) ) ; org.junit.Assert.assertTrue ( values.contains ( OutputFile.NO_FILTER ) ) ; }

Target:
public void testDisabled ( ) { com.android.build.gradle.internal.dsl.AbiSplitOptions options = new com.android.build.gradle.internal.dsl.AbiSplitOptions ( ) ; java.util.Set < java.lang.String > values = options.getApplicableFilters ( ) ; org.junit.Assert.assertEquals ( 0 , values.size ( ) ) ; }
Source:
public boolean updateQuery ( @ android.support.annotation.Nullable java.lang.String query ) { contactFilterCursor.filter ( query ) ; return true ; }

Target:
public boolean updateQuery ( @ android.support.annotation.Nullable java.lang.String query ) { contactFilterCursor.filter ( query , context ) ; return true ; }
Source:
public final java.net.URL getLocation ( ) { return this . location ; }

Target:
public final java.net.URL getLocation ( ) { return null ; }
Source:
public java.util.Set < K > keySet ( ) { java.util.Set < K > ks = keySet ; return ks != null ? ks : ( keySet = new KeySet ( ) ) ; }

Target:
public java.util.Set < K > keySet ( ) { java.util.Set < K > ks = keySet ; if ( ks == null ) { ks = new KeySet ( ) ; keySet = ks ; } return ks ; }
Source:
private void printRow ( java.io.PrintWriter pw , java.lang.String format , java.lang.Object ... objs ) { pw.println ( java.lang.String.format ( format , objs ) ) ; }

Target:
static void printRow ( java.io.PrintWriter pw , java.lang.String format , java.lang.Object ... objs ) { pw.println ( java.lang.String.format ( format , objs ) ) ; }
Source:
protected static int [ ] getIntValues ( int fieldId , int count ) throws java.lang.IllegalAccessException { int [ ] resultInts = new int [ count ] ; android.opengl.GLES20.glGetIntegerv ( fieldId , resultInts , 0 ) ; return resultInts ; }

Target:
protected static int [ ] getIntValues ( int fieldId , int count ) throws java.lang.IllegalAccessException { int [ ] resultInts = new int [ count ] ; if ( count > 0 ) { android.opengl.GLES20.glGetIntegerv ( fieldId , resultInts , 0 ) ; } return resultInts ; }
Source:
public void onCreate ( @ android.support.annotation.Nullable android.os.Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; preCallCoordinator = new com.android.dialer.precall.impl.PreCallCoordinatorImpl ( this ) ; preCallCoordinator.onCreate ( getIntent ( ) , savedInstanceState ) ; getWindow ( ) . addFlags ( LayoutParams.FLAG_SHOW_WHEN_LOCKED ) ; }

Target:
public void onCreate ( @ android.support.annotation.Nullable android.os.Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; preCallCoordinator = new com.android.dialer.precall.impl.PreCallCoordinatorImpl ( this ) ; preCallCoordinator.onCreate ( getIntent ( ) , savedInstanceState ) ; }
Source:
public void testIsEmpty ( ) { java.util.concurrent.CopyOnWriteArraySet empty = new java.util.concurrent.CopyOnWriteArraySet ( ) ; java.util.concurrent.CopyOnWriteArraySet full = jsr166.CopyOnWriteArraySetTest.populatedSet ( 3 ) ; assertTrue ( empty.isEmpty ( ) ) ; assertFalse ( full.isEmpty ( ) ) ; }

Target:
public void testIsEmpty ( ) { assertTrue ( jsr166.CopyOnWriteArraySetTest.populatedSet ( 0 ) . isEmpty ( ) ) ; assertFalse ( jsr166.CopyOnWriteArraySetTest.populatedSet ( 3 ) . isEmpty ( ) ) ; }
Source:
public static boolean $noinline$constNonAsciiString14Equals ( java.lang.String s ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return "р1234567890123" . equals ( s ) ; }

Target:
public static boolean $noinline$constNonAsciiString14Equals ( java.lang.String s ) { return "р1234567890123" . equals ( s ) ; }
Source:
public void testInvalidInvokeinterface ( ) { mn.visitInsn ( org.objectweb.asm.tree.analysis.ACONST_NULL ) ; mn.visitTypeInsn ( org.objectweb.asm.tree.analysis.CHECKCAST , "java/util/List" ) ; mn.visitInsn ( org.objectweb.asm.tree.analysis.FCONST_0 ) ; mn.visitMethodInsn ( org.objectweb.asm.tree.analysis.INVOKEINTERFACE , "java/util/List" , "get" , "(I)Ljava/lang/Object;" ) ; assertInvalid ( ) ; }

Target:
public void testInvalidInvokeinterface ( ) { mn.visitInsn ( org.objectweb.asm.tree.analysis.ACONST_NULL ) ; mn.visitTypeInsn ( org.objectweb.asm.tree.analysis.CHECKCAST , "java/util/List" ) ; mn.visitInsn ( org.objectweb.asm.tree.analysis.FCONST_0 ) ; mn.visitMethodInsn ( org.objectweb.asm.tree.analysis.INVOKEINTERFACE , "java/util/List" , "get" , "(I)Ljava/lang/Object;" , true ) ; assertInvalid ( ) ; }
Source:
private final void updateLruProcessLocked ( com.android.server.am.ProcessRecord app , boolean oomAdj , boolean updateActivityTime ) { ( mLruSeq ) ++ ; updateLruProcessInternalLocked ( app , oomAdj , updateActivityTime , 0 ) ; }

Target:
final void updateLruProcessLocked ( com.android.server.am.ProcessRecord app , boolean oomAdj , boolean updateActivityTime ) { ( mLruSeq ) ++ ; updateLruProcessInternalLocked ( app , oomAdj , updateActivityTime , 0 ) ; }
Source:
public void loadUrl ( java.lang.String url ) { switchOutDrawHistory ( ) ; mWebViewCore.sendMessage ( EventHub.LOAD_URL , url ) ; clearTextEntry ( ) ; }

Target:
public void loadUrl ( java.lang.String url ) { if ( url == null ) { return ; } switchOutDrawHistory ( ) ; mWebViewCore.sendMessage ( EventHub.LOAD_URL , url ) ; clearTextEntry ( ) ; }
Source:
public void update ( ) { if ( ( mActionList ) == null ) { mActionList = createActions ( ) ; updateActions ( ) ; setItemList ( mActionList ) ; } else { if ( updateActions ( ) ) { setItemList ( mActionList ) ; } } }

Target:
public void update ( ) { if ( ( mActionList ) == null ) { mActionList = createActions ( ) ; setItemList ( mActionList ) ; } else { updateActions ( ) ; } }
Source:
void _put ( int i , byte b ) { put ( i , b ) ; }

Target:
final void _put ( int i , byte b ) { put ( i , b ) ; }
Source:
public static android.net.Uri getVoicemailRingtoneUri ( android.telephony.TelephonyManager telephonyManager , android.telecom.PhoneAccountHandle accountHandle ) { if ( ( android.os.Build.VERSION.SDK_INT ) < ( android.os.Build.VERSION_CODES.N ) ) { return null ; } return telephonyManager.getVoicemailRingtoneUri ( accountHandle ) ; }

Target:
public static android.net.Uri getVoicemailRingtoneUri ( android.telephony.TelephonyManager telephonyManager , android.telecom.PhoneAccountHandle accountHandle ) { return telephonyManager.getVoicemailRingtoneUri ( accountHandle ) ; }
Source:
public UResource.ArraySink getOrCreateArraySink ( com.ibm.icu.impl.UResource.Key key , int initialSize ) { cutoffType = com.ibm.icu.impl.DayPeriodRules.CutoffType.fromStringOrNull ( key ) ; return cutoffSink ; }

Target:
public UResource.ArraySink getOrCreateArraySink ( com.ibm.icu.impl.UResource.Key key ) { cutoffType = com.ibm.icu.impl.DayPeriodRules.CutoffType.fromStringOrNull ( key ) ; return cutoffSink ; }
Source:
public void shutdown ( ) { shutdownConnections ( ) ; synchronized ( lock ) { isAcceptingRequests = false ; lock.notifyAll ( ) ; } }

Target:
public void shutdown ( ) { synchronized ( lock ) { if ( isAcceptingRequests ) { shutdownConnections ( ) ; isAcceptingRequests = false ; lock.notifyAll ( ) ; } } }
Source:
public static long $noinline$Shr0 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg > > 0 ; }

Target:
public static long $noinline$Shr0 ( long arg ) { return arg > > 0 ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { selectDevice ( device ) ; onDeviceChange ( true ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { selectDevice ( d ) ; onDeviceChange ( true ) ; }
Source:
static void native_setLastPoint ( int nPath , float dx , float dy ) { android.graphics.Path_Delegate pathDelegate = android.graphics.Path_Delegate.sManager.getDelegate ( nPath ) ; if ( pathDelegate == null ) { return ; } pathDelegate.mLastX = dx ; pathDelegate.mLastY = dy ; }

Target:
static void native_setLastPoint ( long nPath , float dx , float dy ) { android.graphics.Path_Delegate pathDelegate = android.graphics.Path_Delegate.sManager.getDelegate ( nPath ) ; if ( pathDelegate == null ) { return ; } pathDelegate.mLastX = dx ; pathDelegate.mLastY = dy ; }
Source:
public void run ( ) { removeCallbacks ( this ) ; updateViews ( null ) ; }

Target:
public void run ( ) { removeCallbacks ( this ) ; updateViews ( false ) ; }
Source:
public org.hamcrest.Matcher < android.view.View > getConstraints ( ) { return android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom ( android.support.v4.widget.DrawerLayout.class ) ; }

Target:
public final org.hamcrest.Matcher < android.view.View > getConstraints ( ) { return android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom ( android.support.v4.widget.DrawerLayout.class ) ; }
Source:
public void unregisterForLocked ( android.os.Handler h ) { synchronized ( mLock ) { mPinLockedRegistrants.remove ( h ) ; } }

Target:
protected void unregisterForLocked ( android.os.Handler h ) { synchronized ( mLock ) { mPinLockedRegistrants.remove ( h ) ; } }
Source:
private void pollAndExecAll ( ) { for ( java.util.concurrent.ForkJoinTask < ? > t ; ( t = poll ( ) ) != null ; ) t.doExec ( ) ; }

Target:
final void pollAndExecAll ( ) { for ( java.util.concurrent.ForkJoinTask < ? > t ; ( t = poll ( ) ) != null ; ) t.doExec ( ) ; }
Source:
public void testAtan2F32 ( ) { script_f32 = new android.renderscript.cts.ScriptC_atan2_f32 ( mRS , mRes , R.raw.atan2_f32 ) ; android.renderscript.cts.ScriptField_atan2_f32_in in = new android.renderscript.cts.ScriptField_atan2_f32_in ( mRS , INPUTSIZE ) ; mIn = in.getAllocation ( ) ; doF32 ( 75384 , 6 ) ; }

Target:
public void testAtan2F32 ( ) { android.renderscript.cts.ScriptField_atan2_f32_in in = new android.renderscript.cts.ScriptField_atan2_f32_in ( mRS , INPUTSIZE ) ; mIn = in.getAllocation ( ) ; doF32 ( 75384 , 6 ) ; }
Source:
public UResource.TableSink getOrCreateTableSink ( com.ibm.icu.impl.UResource.Key key , int initialSize ) { if ( key.contentEquals ( "relative" ) ) { return relativeSink ; } else if ( key.contentEquals ( "relativeTime" ) ) { return relativeTimeSink ; } return null ; }

Target:
public UResource.TableSink getOrCreateTableSink ( com.ibm.icu.impl.UResource.Key key ) { if ( key.contentEquals ( "relative" ) ) { return relativeSink ; } else if ( key.contentEquals ( "relativeTime" ) ) { return relativeTimeSink ; } return null ; }
Source:
private void reportAllocation ( lombok.ast.Node node ) { mContext.report ( com.android.tools.lint.checks.JavaPerformanceDetector.PAINT_ALLOC , node , mContext.getLocation ( node ) , ( "Avoid object allocations during draw/layout operations (preallocate and " + "reuse instead)" ) , null ) ; }

Target:
private void reportAllocation ( lombok.ast.Node node ) { mContext.report ( com.android.tools.lint.checks.JavaPerformanceDetector.PAINT_ALLOC , node , mContext.getLocation ( node ) , ( "Avoid object allocations during draw/layout operations (preallocate and " + "reuse instead)" ) ) ; }
Source:
public void onVirtualCableUnplug ( ) { mCallback.onVirtualCableUnplug ( ) ; }

Target:
public void onVirtualCableUnplug ( android.bluetooth.BluetoothDevice device ) { mCallback.onVirtualCableUnplug ( device ) ; }
Source:
public com.android.jack.dx.rop.type.Type getType ( ) { return type.getClassType ( ) ; }

Target:
public com.android.jack.dx.rop.type.Type getType ( ) { return type ; }
Source:
public void testNearest ( ) { mScript.invoke_test_RGBA ( mAlloc_RGBA_1D , mAlloc_RGBA_2D ) ; mRS.finish ( ) ; checkForErrors ( ) ; waitForMessage ( ) ; }

Target:
public void testNearest ( ) { mScript.invoke_test_RGBA ( mAlloc_RGBA_1D , mAlloc_RGBA_2D ) ; mRS.finish ( ) ; waitForMessage ( ) ; checkForErrors ( ) ; }
Source:
public boolean canEncode ( char c ) { return implCanEncode ( java.nio.CharBuffer.wrap ( new char [ ] { c } ) ) ; }

Target:
public boolean canEncode ( char c ) { return canEncode ( java.nio.CharBuffer.wrap ( new char [ ] { c } ) ) ; }
Source:
public static < T > org.hamcrest.Matcher < T > nullValue ( @ java.lang.SuppressWarnings ( value = "unused" ) java.lang.Class < T > type ) { return org.hamcrest.core.IsNull.nullValue ( ) ; }

Target:
public static < T > org.hamcrest.Matcher < T > nullValue ( java.lang.Class < T > type ) { return new org.hamcrest.core.IsNull < T > ( ) ; }
Source:
public synchronized boolean onConnect ( android.bluetooth.BluetoothDevice device , android.bluetooth.BluetoothSocket socket ) { boolean isValid = mMapService.onConnect ( device , this ) ; if ( isValid == true ) { mRemoteDevice = device ; mConnSocket = socket ; } return isValid ; }

Target:
public synchronized boolean onConnect ( android.bluetooth.BluetoothDevice device , android.bluetooth.BluetoothSocket socket ) { boolean isValid = mMapService.onConnect ( device , this ) ; if ( isValid ) { mRemoteDevice = device ; mConnSocket = socket ; } return isValid ; }
Source:
public void testConstructor_Main ( ) throws java.lang.Exception { vogar.target.TestRunner runner = testRunnerRule.createTestRunner ( ) ; runner.run ( ) ; org.junit.Assert.assertEquals ( ( ( ( ( ( ( ( ( "" + "//00xx{\"outcome\":\"" ) + ( vogar.target.TestRunnerTest.Main.class . getName ( ) ) ) + "\"," ) + "\"runner\":\"" ) + ( vogar.target.MainRunner.class . getName ( ) ) ) + "\"}\n" ) + "//00xx{\"result\":\"SUCCESS\"}\n" ) + "//00xx{\"completedNormally\":true}\n" ) , ios.contents ( Stream.OUT ) ) ; }

Target:
public void testConstructor_Main ( ) throws java.lang.Exception { vogar.target.TestRunner runner = testRunnerRule.createTestRunner ( ) ; runner.run ( ) ; org.junit.Assert.assertEquals ( ( ( ( ( ( "" + "//00xx{\"outcome\":\"" ) + ( vogar.target.TestRunnerTest.Main.class . getName ( ) ) ) + "\"}\n" ) + "//00xx{\"result\":\"SUCCESS\"}\n" ) + "//00xx{\"completedNormally\":true}\n" ) , ios.contents ( Stream.OUT ) ) ; }
Source:
public byte [ ] call ( ) throws java.io.IOException { return com.android.dx.command.dexer.Main.writeDex ( dexFile ) ; }

Target:
public byte [ ] call ( ) throws java.io.IOException { return writeDex ( dexFile ) ; }
Source:
public static long $noinline$MulMulMulConst ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( 10 * arg ) * 11 ) * 12 ; }

Target:
public static long $noinline$MulMulMulConst ( long arg ) { return ( ( 10 * arg ) * 11 ) * 12 ; }
Source:
public void onMediaDescriptionUpdated ( ) { try { listener.mediaDescriptionUpdated ( ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }

Target:
public void onMediaDescriptionUpdated ( ) { try { callback.mediaDescriptionUpdated ( ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }
Source:
public android.graphics.Canvas beginRecording ( int width , int height ) { int ni = android.graphics.Picture.nativeBeginRecording ( mNativePicture , width , height ) ; mRecordingCanvas = new android.graphics.Picture.RecordingCanvas ( this , ni ) ; return mRecordingCanvas ; }

Target:
public android.graphics.Canvas beginRecording ( int width , int height ) { long ni = android.graphics.Picture.nativeBeginRecording ( mNativePicture , width , height ) ; mRecordingCanvas = new android.graphics.Picture.RecordingCanvas ( this , ni ) ; return mRecordingCanvas ; }
Source:
public void test_null_string ( ) throws java.lang.Exception { try { libcore.icu.Transliterator.transliterate ( "Any-Upper" , null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void test_null_string ( ) throws java.lang.Exception { try { libcore.icu.Transliterator t = new libcore.icu.Transliterator ( "Any-Upper" ) ; t.transliterate ( null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
android.service.voice.VoiceInteractionSession.Request removeRequest ( android.os.IBinder reqInterface ) { synchronized ( this ) { android.service.voice.VoiceInteractionSession.Request req = mActiveRequests.get ( reqInterface ) ; if ( req != null ) { mActiveRequests.remove ( req ) ; } return req ; } }

Target:
android.service.voice.VoiceInteractionSession.Request removeRequest ( android.os.IBinder reqInterface ) { synchronized ( this ) { return mActiveRequests.remove ( reqInterface ) ; } }
Source:
public void error ( java.lang.String message ) { log.error ( null , message ) ; }

Target:
public void error ( java.lang.String message ) { log.error ( null , message , null ) ; }
Source:
public boolean startTrace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod type ) { return markIfNecessary ( type ) ; }

Target:
public boolean startTrace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { return markIfNecessary ( method ) ; }
Source:
void useJack ( java.lang.Boolean useJack ) { setUseJack ( useJack ) ; }

Target:
public void useJack ( @ com.android.annotations.Nullable java.lang.Boolean useJack ) { setUseJack ( useJack ) ; }
Source:
private void setupSources ( ) { mUpdaterData.setupDefaultSources ( ) ; mRemotePackagesPage.onSdkReload ( ) ; }

Target:
private void setupSources ( ) { mUpdaterData.setupDefaultSources ( ) ; }
Source:
public com.android.ahat.heapdump.Value getBaseline ( ) { return this ; }

Target:
private com.android.ahat.heapdump.Value getBaseline ( ) { return this ; }
Source:
protected void tearDown ( ) throws java.lang.Exception { ( android.test.SingleLaunchActivityTestCase.sTestCaseCounter ) -- ; if ( ( android.test.SingleLaunchActivityTestCase.sTestCaseCounter ) == 1 ) { android.test.SingleLaunchActivityTestCase.sActivity.finish ( ) ; } super . tearDown ( ) ; }

Target:
protected void tearDown ( ) throws java.lang.Exception { ( android.test.SingleLaunchActivityTestCase.sTestCaseCounter ) -- ; if ( ( android.test.SingleLaunchActivityTestCase.sTestCaseCounter ) == 0 ) { android.test.SingleLaunchActivityTestCase.sActivity.finish ( ) ; } super . tearDown ( ) ; }
Source:
public void setInternalDate ( java.util.Date internalDate ) { this . mInternalDate = internalDate ; }

Target:
public void setInternalDate ( java.util.Date internalDate ) { this . internalDate = internalDate ; }
Source:
void setPropertiesFromPattern ( java.lang.String pattern , boolean ignoreRounding ) { com.ibm.icu.impl.number.PatternString.parseToExistingProperties ( pattern , properties , ignoreRounding ) ; }

Target:
void setPropertiesFromPattern ( java.lang.String pattern , int ignoreRounding ) { com.ibm.icu.impl.number.PatternString.parseToExistingProperties ( pattern , properties , ignoreRounding ) ; }
Source:
public void testFeatureMaskTranslation ( ) { int caps = ( IWifiStaIface.StaIfaceCapabilityMask.BACKGROUND_SCAN ) | ( IWifiStaIface.StaIfaceCapabilityMask.LINK_LAYER_STATS ) ; int expected = ( ( android.net.wifi.WifiManager.WIFI_FEATURE_INFRA ) | ( android.net.wifi.WifiManager.WIFI_FEATURE_SCANNER ) ) | ( android.net.wifi.WifiManager.WIFI_FEATURE_LINK_LAYER_STATS ) ; assertEquals ( expected , mWifiVendorHal.wifiFeatureMaskFromStaCapabilities ( caps ) ) ; }

Target:
public void testFeatureMaskTranslation ( ) { int caps = ( IWifiStaIface.StaIfaceCapabilityMask.BACKGROUND_SCAN ) | ( IWifiStaIface.StaIfaceCapabilityMask.LINK_LAYER_STATS ) ; int expected = ( android.net.wifi.WifiManager.WIFI_FEATURE_SCANNER ) | ( android.net.wifi.WifiManager.WIFI_FEATURE_LINK_LAYER_STATS ) ; assertEquals ( expected , mWifiVendorHal.wifiFeatureMaskFromStaCapabilities ( caps ) ) ; }
Source:
java.util.Set < java.lang.String > getAllMethods ( com.android.tools.lint.checks.Api info ) { java.util.Set < java.lang.String > members = new java.util.HashSet < java.lang.String > ( 100 ) ; addAllMethods ( info , members ) ; return members ; }

Target:
java.util.Set < java.lang.String > getAllMethods ( com.android.tools.lint.checks.Api info ) { java.util.Set < java.lang.String > members = new java.util.HashSet < java.lang.String > ( 100 ) ; addAllMethods ( info , members , true ) ; return members ; }
Source:
public java.util.List < android.bluetooth.BluetoothHeadsetClientCall > getCurrentCalls ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hfpclient.HeadsetClientService service = getService ( ) ; if ( service == null ) { return null ; } return service.getCurrentCalls ( device ) ; }

Target:
public java.util.List < android.bluetooth.BluetoothHeadsetClientCall > getCurrentCalls ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hfpclient.HeadsetClientService service = getService ( ) ; if ( service == null ) { return new java.util.ArrayList < android.bluetooth.BluetoothHeadsetClientCall > ( ) ; } return service.getCurrentCalls ( device ) ; }
Source:
public void onScrollChanged ( int l , int t , int oldl , int oldt ) { mWebViewPrivate.setScrollXRaw ( l ) ; mWebViewPrivate.setScrollYRaw ( t ) ; mWebViewPrivate.onScrollChanged ( l , t , oldl , oldt ) ; }

Target:
public void onScrollChanged ( int l , int t , int oldl , int oldt ) { }
Source:
public synchronized void interrupt ( ) { if ( ( thread ) == null ) { throw new java.lang.IllegalStateException ( "not running" ) ; } thread.interrupt ( ) ; }

Target:
public synchronized void interrupt ( ) { interrupt ( thread ) ; }
Source:
public void focusChanged ( ) { synchronized ( this ) { loadImage ( ) ; selectedNode = model.getSelected ( ) ; } doRedraw ( ) ; }

Target:
public void run ( ) { synchronized ( this ) { loadImage ( ) ; selectedNode = model.getSelected ( ) ; } }
Source:
public java.io.File getJar ( ) { return jar ; }

Target:
private java.io.File getJar ( ) { return jar ; }
Source:
private static boolean isIncoming ( com.android.incallui.incall.protocol.PrimaryCallState state ) { return ( ( state.state ) == ( com.android.incallui.call.DialerCall.State.INCOMING ) ) || ( ( state.state ) == ( com.android.incallui.call.DialerCall.State.CALL_WAITING ) ) ; }

Target:
private static boolean isIncoming ( com.android.incallui.incall.protocol.PrimaryCallState state ) { return ( ( state.state ( ) ) == ( com.android.incallui.call.DialerCall.State.INCOMING ) ) || ( ( state.state ( ) ) == ( com.android.incallui.call.DialerCall.State.CALL_WAITING ) ) ; }
Source:
private void timeUpdated ( boolean is24Hour ) { android.content.Intent timeChanged = new android.content.Intent ( android.content.Intent.ACTION_TIME_CHANGED ) ; timeChanged.putExtra ( Intent.EXTRA_TIME_PREF_24_HOUR_FORMAT , is24Hour ) ; getActivity ( ) . sendBroadcast ( timeChanged ) ; }

Target:
private void timeUpdated ( ) { android.content.Intent timeChanged = new android.content.Intent ( android.content.Intent.ACTION_TIME_CHANGED ) ; getActivity ( ) . sendBroadcast ( timeChanged ) ; }
Source:
public void execute ( java.lang.String ... tasks ) { execute ( java.util.Collections.< java.lang.String > emptyList ( ) , null , false , tasks ) ; }

Target:
public void execute ( java.lang.String ... tasks ) { execute ( java.util.Collections.< java.lang.String > emptyList ( ) , false , tasks ) ; }
Source:
public void assertParcelingIsLossless ( android.net.IpPrefix p ) { android.net.IpPrefix p2 = passThroughParcel ( p ) ; assertEquals ( p , p2 ) ; }

Target:
public void assertParcelingIsLossless ( android.net.IpPrefix p ) { android.net.IpPrefix p2 = passThroughParcel ( p ) ; org.junit.Assert.assertEquals ( p , p2 ) ; }
Source:
protected void onPause ( ) { super . onPause ( ) ; unregisterReceiver ( mReceiver ) ; }

Target:
protected void onPause ( ) { super . onPause ( ) ; }
Source:
public boolean p2pGroupAdd ( int netId ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.groupAdd ( netId , true ) ; } else { return doBooleanCommand ( ( "P2P_GROUP_ADD persistent=" + netId ) ) ; } }

Target:
public boolean p2pGroupAdd ( int netId ) { return mSupplicantP2pIfaceHal.groupAdd ( netId , true ) ; }
Source:
static void native_addRect ( int nPath , android.graphics.RectF rect , int dir ) { android.graphics.Path_Delegate pathDelegate = android.graphics.Path_Delegate.sManager.getDelegate ( nPath ) ; if ( pathDelegate == null ) { return ; } pathDelegate.addRect ( rect.left , rect.top , rect.right , rect.bottom , dir ) ; }

Target:
static void native_addRect ( long nPath , android.graphics.RectF rect , int dir ) { android.graphics.Path_Delegate pathDelegate = android.graphics.Path_Delegate.sManager.getDelegate ( nPath ) ; if ( pathDelegate == null ) { return ; } pathDelegate.addRect ( rect.left , rect.top , rect.right , rect.bottom , dir ) ; }
Source:
public void test_remove ( ) { s = new java.util.Scanner ( "aab*b*" ) . useDelimiter ( "\\*" ) ; try { s.remove ( ) ; fail ( "should throw UnsupportedOperationException" ) ; } catch ( java.lang.UnsupportedOperationException e ) { } }

Target:
public void test_remove ( ) { s = new java.util.Scanner ( "aab*b*" ) . useDelimiter ( "\\*" ) ; try { s.remove ( ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }
Source:
protected void finalize ( ) throws java.lang.Throwable { android.graphics.Rasterizer.finalizer ( native_instance ) ; }

Target:
protected void finalize ( ) throws java.lang.Throwable { android.graphics.Rasterizer.finalizer ( native_instance ) ; native_instance = 0 ; }
Source:
public static void sleep ( long ms ) { try { java.lang.Thread.sleep ( ms ) ; } catch ( java.lang.InterruptedException e ) { java.lang.System.err.println ( "sleep interrupted" ) ; } }

Target:
public static void sleep ( long ms ) { try { java.lang.Thread.sleep ( ms ) ; } catch ( java.lang.InterruptedException e ) { java.lang.System.out.println ( "sleep interrupted" ) ; } }
Source:
public static float $noinline$Div2 ( float arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg / 2.0F ; }

Target:
public static float $noinline$Div2 ( float arg ) { return arg / 2.0F ; }
Source:
public boolean connectToNetwork ( android.net.wifi.WifiConfiguration configuration , boolean shouldDisconnect ) { return mSupplicantStaIfaceHal.connectToNetwork ( configuration , shouldDisconnect ) ; }

Target:
public boolean connectToNetwork ( android.net.wifi.WifiConfiguration configuration ) { return mSupplicantStaIfaceHal.connectToNetwork ( configuration ) ; }
Source:
protected void runImpl ( android.annotation.cts.Profile profile ) { mHostSideTestRunner = new com.android.cts.HostSideOnlyTest.HostSideTestRunner ( this ) ; mHostSideTestRunner.start ( ) ; }

Target:
protected void runImpl ( ) { mHostSideTestRunner = new com.android.cts.HostSideOnlyTest.HostSideTestRunner ( this ) ; mHostSideTestRunner.start ( ) ; }