auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void test_UT_array_init ( ) { com.android.rs.test.UT_array_init test = new com.android.rs.test.UT_array_init ( null , mStubContext ) ; test.run ( ) ; org.junit.Assert.assertTrue ( ( ( test.getResult ( ) ) == ( UnitTest.TEST_PASSED ) ) ) ; }

Target:
public void test_UT_array_init ( ) { com.android.rs.test.UT_array_init test = new com.android.rs.test.UT_array_init ( null , mContext ) ; test.run ( ) ; org.junit.Assert.assertTrue ( ( ( test.getResult ( ) ) == ( UnitTest.TEST_PASSED ) ) ) ; }
Source:
public void timeAtan2 ( int reps ) { for ( int rep = 0 ; rep < reps ; ++ rep ) { java.lang.Math.atan2 ( 3 , 4 ) ; } }

Target:
public double timeAtan2 ( int reps ) { double result = d ; for ( int rep = 0 ; rep < reps ; ++ rep ) { result = java.lang.Math.atan2 ( 3 , 4 ) ; } return result ; }
Source:
public com.google.common.base.CharMatcher or ( com.google.common.base.CharMatcher other ) { com.google.common.base.Preconditions.checkNotNull ( other ) ; return this ; }

Target:
public com.google.common.base.CharMatcher and ( com.google.common.base.CharMatcher other ) { com.google.common.base.Preconditions.checkNotNull ( other ) ; return this ; }
Source:
public void propertyChange ( org.eclipse.jface.util.PropertyChangeEvent event ) { if ( event.getSource ( ) . equals ( mUseAdbHost ) ) { mAdbHostValue.setEnabled ( mUseAdbHost.getBooleanValue ( ) , getFieldEditorParent ( ) ) ; } }

Target:
public void propertyChange ( org.eclipse.jface.util.PropertyChangeEvent event ) { if ( event.getSource ( ) . equals ( mUseAdbHost ) ) { mAdbHostValue.setEnabled ( mUseAdbHost.getBooleanValue ( ) , getFieldEditorParent ( ) ) ; } super . propertyChange ( event ) ; }
Source:
void ensureProviderChosen ( ) { getSpi ( null ) ; }

Target:
void ensureProviderChosen ( ) { getSpi ( ) ; }
Source:
public long read ( ) { long count = 0 ; for ( java.lang.management.GarbageCollectorMXBean gc : gcs ) { count += gc.getCollectionTime ( ) ; } return count * 1000 ; }

Target:
public long read ( ) { long count = 0 ; for ( java.lang.management.GarbageCollectorMXBean gc : gcs ) { count += gc.getCollectionTime ( ) ; } return ( count * 1000 ) * 1000 ; }
Source:
public void tearDown ( ) throws java.lang.Exception { android.support.test.espresso.IdlingPolicies.setMasterPolicyTimeout ( 60 , java.util.concurrent.TimeUnit.SECONDS ) ; super . tearDown ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { android.support.test.espresso.IdlingPolicies.setMasterPolicyTimeout ( 60 , java.util.concurrent.TimeUnit.SECONDS ) ; }
Source:
public android.bluetooth.BluetoothGatt connectGatt ( android.content.Context context , boolean autoConnect , android.bluetooth.BluetoothGattCallback callback , int transport , int phy ) { return connectGatt ( context , autoConnect , callback , android.bluetooth.BluetoothDevice.TRANSPORT_AUTO , android.bluetooth.BluetoothDevice.PHY_LE_1M_MASK , null ) ; }

Target:
public android.bluetooth.BluetoothGatt connectGatt ( android.content.Context context , boolean autoConnect , android.bluetooth.BluetoothGattCallback callback , int transport , int phy ) { return connectGatt ( context , autoConnect , callback , transport , phy , null ) ; }
Source:
public static int $noinline$AddAddSubAddConst ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( ( arg + 1 ) + 2 ) - 3 ) + 4 ; }

Target:
public static int $noinline$AddAddSubAddConst ( int arg ) { return ( ( ( arg + 1 ) + 2 ) - 3 ) + 4 ; }
Source:
public void execute ( com.android.build.gradle.model.AndroidBinary androidBinary ) { com.android.build.gradle.model.DefaultAndroidBinary binary = ( ( com.android.build.gradle.model.DefaultAndroidBinary ) ( androidBinary ) ) ; binary.setBuildType ( new com.android.build.gradle.managed.adaptor.BuildTypeAdaptor ( buildType ) ) ; binary.setProductFlavors ( flavorCombo.getFlavorList ( ) ) ; }

Target:
public void execute ( com.android.build.gradle.model.AndroidBinary androidBinary ) { com.android.build.gradle.model.DefaultAndroidBinary binary = ( ( com.android.build.gradle.model.DefaultAndroidBinary ) ( androidBinary ) ) ; binary.setBuildType ( buildType ) ; binary.setProductFlavors ( flavorCombo.getFlavorList ( ) ) ; }
Source:
public void test_getInstance_provider0 ( ) throws java.lang.Exception { test_getInstance ( java.security.Security.getProviders ( ) [ 0 ] ) ; }

Target:
public void test_getInstance_provider0 ( ) throws java.lang.Exception { test_getInstance ( 0 ) ; }
Source:
public java.lang.Boolean getPackageBuildConfig ( ) { return false ; }

Target:
public java.lang.Boolean getPackageBuildConfig ( ) { return true ; }
Source:
public com.android.ide.eclipse.adt.internal.resources.manager.ResourceFile getFile ( com.android.io.IAbstractFile file ) { if ( ( mFiles ) != null ) { for ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFile f : mFiles ) { if ( f.getFile ( ) . equals ( file ) ) { return f ; } } } return null ; }

Target:
private com.android.ide.eclipse.adt.internal.resources.manager.ResourceFile getFile ( com.android.io.IAbstractFile file ) { if ( ( mFiles ) != null ) { for ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFile f : mFiles ) { if ( f.getFile ( ) . equals ( file ) ) { return f ; } } } return null ; }
Source:
public void testForName_Null ( ) { try { java.nio.charset.Charset.forName ( null ) ; fail ( "Should throw IllegalArgumentException!" ) ; } catch ( java.lang.IllegalArgumentException e ) { } }

Target:
public void testForName_Null ( ) { try { java.nio.charset.Charset.forName ( null ) ; fail ( ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }
Source:
public static void computeTanpi ( android.renderscript.cts.TestTanpi.ArgumentsFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 4 , 128 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.tanpi ( args.inX , t ) ; }

Target:
public static void computeTanpi ( android.renderscript.cts.TestTanpi.ArgumentsFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 4 , 128 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.tanpi ( args.inV , t ) ; }
Source:
protected static com.ibm.icu.util.UResourceBundle loadFromCache ( java.lang.ClassLoader cl , java.lang.String fullName , com.ibm.icu.util.ULocale defaultLocale ) { synchronized ( com.ibm.icu.util.UResourceBundle.cacheKey ) { com.ibm.icu.util.UResourceBundle.cacheKey.setKeyValues ( cl , fullName , defaultLocale ) ; return com.ibm.icu.util.UResourceBundle.BUNDLE_CACHE.get ( com.ibm.icu.util.UResourceBundle.cacheKey ) ; } }

Target:
protected static com.ibm.icu.util.UResourceBundle loadFromCache ( java.lang.String fullName , com.ibm.icu.util.ULocale defaultLocale ) { synchronized ( com.ibm.icu.util.UResourceBundle.cacheKey ) { com.ibm.icu.util.UResourceBundle.cacheKey.setKeyValues ( fullName , defaultLocale ) ; return com.ibm.icu.util.UResourceBundle.BUNDLE_CACHE.get ( com.ibm.icu.util.UResourceBundle.cacheKey ) ; } }
Source:
native void rsnAllocationCopyFromBitmap ( int con , int alloc , android.graphics.Bitmap bmp ) ;

Target:
native void rsnAllocationCopyFromBitmap ( long con , long alloc , android.graphics.Bitmap bmp ) ;
Source:
public void setFocus ( ) { tree.setFocus ( ) ; }

Target:
public boolean setFocus ( ) { return tree.setFocus ( ) ; }
Source:
public void callSessionConferenceStateUpdated ( com.android.ims.internal.IImsCallSession session , com.android.ims.ImsConferenceState state ) { if ( ( mListener ) != null ) { mListener.callSessionConferenceStateUpdated ( this , state ) ; } }

Target:
public void callSessionConferenceStateUpdated ( com.android.ims.ImsConferenceState state ) { if ( ( mListener ) != null ) { mListener.callSessionConferenceStateUpdated ( this , state ) ; } }
Source:
public static long XorIntLong ( ) { int lhs = Main.$inline$int ( 10 ) ; long rhs = Main.$inline$long ( 3L ) ; return lhs ^ rhs ; }

Target:
public static long XorIntLong ( ) { int lhs = 10 ; long rhs = 3 ; return lhs ^ rhs ; }
Source:
public java.util.Set < K > keySet ( ) { java.util.Set < K > ks ; return ( ks = keySet ) == null ? keySet = new LinkedKeySet ( ) : ks ; }

Target:
public java.util.Set < K > keySet ( ) { java.util.Set < K > ks = keySet ; if ( ks == null ) { ks = new LinkedKeySet ( ) ; keySet = ks ; } return ks ; }
Source:
public ScriptGroup2.Closure asyncLaunch ( android.renderscript.ScriptGroup2.Builder builder , java.lang.Object in , android.renderscript.Type outputType ) { return builder.addKernel ( getKernelID ( ) , outputType , new java.lang.Object [ ] { in } , new java.util.HashMap < android.renderscript.Script.FieldID , java.lang.Object > ( ) ) ; }

Target:
public ScriptGroup2.Closure asyncLaunch ( android.renderscript.ScriptGroup2.Builder builder , java.lang.Object in , android.renderscript.Type outputType ) { return builder.addKernel ( getKernelID ( ) , outputType , in ) ; }
Source:
public static android.renderscript.Element MATRIX_3X3 ( android.renderscript.RenderScript rs ) { if ( ( rs.mElement_MATRIX_3X3 ) == null ) { rs.mElement_MATRIX_3X3 = android.renderscript.Element.createUser ( rs , android.renderscript.Element.DataType.MATRIX_3X3 ) ; } return rs.mElement_MATRIX_3X3 ; }

Target:
public static android.renderscript.Element MATRIX_3X3 ( android.renderscript.RenderScript rs ) { if ( ( rs.mElement_MATRIX_3X3 ) == null ) { synchronized ( rs ) { if ( ( rs.mElement_MATRIX_3X3 ) == null ) { rs.mElement_MATRIX_3X3 = android.renderscript.Element.createUser ( rs , android.renderscript.Element.DataType.MATRIX_3X3 ) ; } } } return rs.mElement_MATRIX_3X3 ; }
Source:
public static double DoubleAddition ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 1.0 ) ; b = Main.$inline$double ( 2.0 ) ; c = a + b ; return c ; }

Target:
public static double DoubleAddition ( ) { double a ; double b ; double c ; a = 1.0 ; b = 2.0 ; c = a + b ; return c ; }
Source:
public void playDtmfTone ( char digit ) { try { if ( mConnected ) { mConnectionService.playDtmfTone ( mConnectionId , digit ) ; } } catch ( android.os.RemoteException ignored ) { } }

Target:
public void playDtmfTone ( char digit ) { try { if ( mConnected ) { mConnectionService.playDtmfTone ( mConnectionId , digit , null ) ; } } catch ( android.os.RemoteException ignored ) { } }
Source:
public void testRegistered ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/HandlerTest.java:12: Warning: This Handler class should be static or leaks might occur (test.pkg.HandlerTest.Inner) [HandlerLeak]\n" + ( ( ( ( ( ( " public class Inner extends Handler { // ERROR\n" + " ~~~~~\n" ) + "src/test/pkg/HandlerTest.java:18: Warning: This Handler class should be static or leaks might occur (test.pkg.HandlerTest.1) [HandlerLeak]\n" ) + " Handler anonymous = new Handler() { // ERROR\n" ) + " ~~~~~~~\n" ) + "0 errors, 2 warnings\n" ) + "" ) ) , lintProject ( "bytecode/HandlerTest.java.txt=>src/test/pkg/HandlerTest.java" , "bytecode/HandlerTest.class.data=>bin/classes/test/pkg/HandlerTest.class" , "bytecode/HandlerTest$Inner.class.data=>bin/classes/test/pkg/HandlerTest$Inner.class" , "bytecode/HandlerTest$StaticInner.class.data=>bin/classes/test/pkg/HandlerTest$StaticInner.class" , "bytecode/HandlerTest$WithArbitraryLooper.class.data=>bin/classes/test/pkg/HandlerTest$WithArbitraryLooper.class" , "bytecode/HandlerTest$1.class.data=>bin/classes/test/pkg/HandlerTest$1.class" , "bytecode/HandlerTest$2.class.data=>bin/classes/test/pkg/HandlerTest$2.class" ) ) ; }

Target:
public void testRegistered ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/HandlerTest.java:12: Warning: This Handler class should be static or leaks might occur (test.pkg.HandlerTest.Inner) [HandlerLeak]\n" + ( ( ( ( ( " public class Inner extends Handler { // ERROR\n" + " ~~~~~\n" ) + "src/test/pkg/HandlerTest.java:18: Warning: This Handler class should be static or leaks might occur (new android.os.Handler(){}) [HandlerLeak]\n" ) + " Handler anonymous = new Handler() { // ERROR\n" ) + " ^\n" ) + "0 errors, 2 warnings\n" ) ) , lintProject ( "bytecode/HandlerTest.java.txt=>src/test/pkg/HandlerTest.java" , "bytecode/HandlerTest.class.data=>bin/classes/test/pkg/HandlerTest.class" , "bytecode/HandlerTest$Inner.class.data=>bin/classes/test/pkg/HandlerTest$Inner.class" , "bytecode/HandlerTest$StaticInner.class.data=>bin/classes/test/pkg/HandlerTest$StaticInner.class" , "bytecode/HandlerTest$WithArbitraryLooper.class.data=>bin/classes/test/pkg/HandlerTest$WithArbitraryLooper.class" , "bytecode/HandlerTest$1.class.data=>bin/classes/test/pkg/HandlerTest$1.class" , "bytecode/HandlerTest$2.class.data=>bin/classes/test/pkg/HandlerTest$2.class" ) ) ; }
Source:
public void terminate ( int reason ) { }

Target:
public void terminate ( int reason ) { this . terminate ( reason ) ; }
Source:
public boolean hasSameBehavior ( java.lang.Object a , java.lang.Object b ) { return a == b ; }

Target:
public boolean hasSameBehavior ( java.lang.Object a , java.lang.Object b ) { return a.equals ( b ) ; }
Source:
public static float [ ] copyOf ( float [ ] original , int newLength ) { if ( newLength < 0 ) { throw new java.lang.NegativeArraySizeException ( ) ; } return java.util.Arrays.copyOfRange ( original , 0 , newLength ) ; }

Target:
public static float [ ] copyOf ( float [ ] original , int newLength ) { if ( newLength < 0 ) { throw new java.lang.NegativeArraySizeException ( java.lang.Integer.toString ( newLength ) ) ; } return java.util.Arrays.copyOfRange ( original , 0 , newLength ) ; }
Source:
public void onUserSwitchComplete ( int newUserId ) throws android.os.RemoteException { updateAlarm ( ) ; profileChanged ( newUserId ) ; }

Target:
public void onUserSwitchComplete ( int newUserId ) throws android.os.RemoteException { profileChanged ( newUserId ) ; }
Source:
public void onStreamMethodUpdated ( int methodType ) { try { callback.streamMethodUpdated ( methodType ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }

Target:
public void onStreamMethodUpdated ( int methodType ) { try { callback.onStreamMethodUpdated ( methodType ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }
Source:
private void pause ( ) { if ( ( mState ) == ( android.webkit.HTML5Audio.STARTED ) ) { if ( ( mTimer ) != null ) { mTimer.purge ( ) ; } mMediaPlayer.pause ( ) ; mState = android.webkit.HTML5Audio.PAUSED ; } }

Target:
private void pause ( int state ) { if ( ( mState ) == ( android.webkit.HTML5Audio.STARTED ) ) { if ( ( mTimer ) != null ) { mTimer.purge ( ) ; } mMediaPlayer.pause ( ) ; mState = state ; } }
Source:
public abstract com.android.jack.test.toolchain.JackBasedToolchain setSanityChecks ( boolean sanityChecks ) ;

Target:
public com.android.jack.test.toolchain.JackBasedToolchain setSanityChecks ( boolean sanityChecks ) { this . sanityChecks = sanityChecks ; return this ; }
Source:
public void onCreate ( android.os.Bundle icicle ) { super . onCreate ( icicle ) ; mRS = android.renderscript.RenderScript.create ( this ) ; RSTC = new com.android.rs.test.RSTestCore ( this ) ; RSTC.init ( mRS , getResources ( ) ) ; }

Target:
public void onCreate ( android.os.Bundle icicle ) { super . onCreate ( icicle ) ; mRS = android.renderscript.RenderScript.create ( this ) ; RSTC = new com.android.rs.test.RSTestCore ( this ) ; RSTC.init ( mRS ) ; }
Source:
public void onResults ( android.net.wifi.WifiScanner [ ] results ) { android.util.Log.e ( com.android.server.wifi.WifiStateMachine.TAG , ( "WifiScanListener onResults2 " + ( results.length ) ) ) ; }

Target:
public void onResults ( android.net.wifi.WifiScanner [ ] results ) { }
Source:
public static < T > org.hamcrest.Matcher < T > nullValue ( ) { return new org.hamcrest.core.IsNull < T > ( ) ; }

Target:
public static < T > org.hamcrest.Matcher < T > nullValue ( java.lang.Class < T > type ) { return new org.hamcrest.core.IsNull < T > ( ) ; }
Source:
void traverse ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JVisitor visitor ) { for ( java.util.List < com.android.jack.ir.ast.JAnnotationLiteral > annotation : annotations.values ( ) ) { visitor.accept ( annotation ) ; } }

Target:
void traverse ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JVisitor visitor ) { for ( java.util.ArrayList < com.android.jack.ir.ast.JAnnotationLiteral > annotation : annotations.values ( ) ) { visitor.accept ( annotation ) ; } }
Source:
public com.android.ahat.heapdump.Reference get ( int index ) { java.lang.String field = ( ".roots[" + ( java.lang.Integer.toString ( index ) ) ) + "]" ; return new com.android.ahat.heapdump.Reference ( null , field , mRoots.get ( index ) , true ) ; }

Target:
public com.android.ahat.heapdump.Reference get ( int index ) { java.lang.String field = ( ".roots[" + ( java.lang.Integer.toString ( index ) ) ) + "]" ; return new com.android.ahat.heapdump.Reference ( this , field , mRoots.get ( index ) , true ) ; }
Source:
synchronized long nElementCreate2 ( int [ ] elements , java.lang.String [ ] names , int [ ] arraySizes ) { validate ( ) ; return rsnElementCreate2 ( mContext , elements , names , arraySizes ) ; }

Target:
synchronized long nElementCreate2 ( long [ ] elements , java.lang.String [ ] names , int [ ] arraySizes ) { validate ( ) ; return rsnElementCreate2 ( mContext , elements , names , arraySizes ) ; }
Source:
public abstract java.util.List < java.lang.String > targetProcessPrefix ( java.io.File workingDirectory ) ;

Target:
public abstract java.util.List < java.lang.String > targetProcessPrefix ( ) ;
Source:
public synchronized void setDefaultFixedFontSize ( int size ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract void setDefaultFixedFontSize ( int size ) ;
Source:
public void test_getInstance_provider3 ( ) throws java.lang.Exception { test_getInstance ( java.security.Security.getProviders ( ) [ 3 ] ) ; }

Target:
public void test_getInstance_provider3 ( ) throws java.lang.Exception { test_getInstance ( 3 ) ; }
Source:
int getThreadCount ( ) ;

Target:
java.lang.Integer getThreadCount ( ) ;
Source:
public void testConstructor2 ( ) { try { java.util.PriorityQueue q = new java.util.PriorityQueue ( 0 ) ; shouldThrow ( ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor2 ( ) { try { new java.util.PriorityQueue ( 0 ) ; shouldThrow ( ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
protected int getTimeToLive ( ) throws java.io.IOException { return ( ( java.lang.Integer ) ( libcore.io.IoBridge.getSocketOption ( fd , libcore.io.IoBridge.JAVA_IP_MULTICAST_TTL ) ) ) ; }

Target:
protected native int getTimeToLive ( ) throws java.io.IOException ;
Source:
public void terminate ( ) { fileImage.dispose ( ) ; folderImage.dispose ( ) ; }

Target:
public void dispose ( ) { super . dispose ( ) ; fileImage.dispose ( ) ; folderImage.dispose ( ) ; }
Source:
static int nativeGetPixel ( int nativeBitmap , int x , int y ) { android.graphics.Bitmap_Delegate delegate = android.graphics.Bitmap_Delegate.sManager.getDelegate ( nativeBitmap ) ; if ( delegate == null ) { return 0 ; } return delegate.mImage.getRGB ( x , y ) ; }

Target:
static int nativeGetPixel ( long nativeBitmap , int x , int y ) { android.graphics.Bitmap_Delegate delegate = android.graphics.Bitmap_Delegate.sManager.getDelegate ( nativeBitmap ) ; if ( delegate == null ) { return 0 ; } return delegate.mImage.getRGB ( x , y ) ; }
Source:
public void drawImage ( ) { java.awt.image.BufferedImage image ; synchronized ( this ) { image = mImage ; mImage = null ; mPendingDrawing = false ; } mImageOverlay.setImage ( image ) ; redraw ( ) ; }

Target:
public void drawImage ( ) { synchronized ( this ) { mImageOverlay.setImage ( mImage ) ; mImage = null ; mPendingDrawing = false ; } redraw ( ) ; }
Source:
public static void begin ( java.lang.String name ) { if ( org.chromium.base.TraceEvent.sEnabled ) org.chromium.base.TraceEvent.nativeBegin ( name , null ) ; }

Target:
public static void begin ( java.lang.String name ) { org.chromium.base.TraceEvent.begin ( name , null ) ; }
Source:
private static native boolean findNextImpl ( long addr , int [ ] offsets ) ;

Target:
private static native boolean findNextImpl ( long addr , java.lang.String s , int [ ] offsets ) ;
Source:
public int getNumAllFailedTests ( ) { return ( getNumTestsInState ( TestStatus.FAILURE ) ) + ( getNumTestsInState ( TestStatus.ASSUMPTION_FAILURE ) ) ; }

Target:
public int getNumAllFailedTests ( ) { return getNumTestsInState ( TestStatus.FAILURE ) ; }
Source:
private static java.lang.String normalizeCountryIso ( java.lang.String countryIso ) { return countryIso.toLowerCase ( java.util.Locale.US ) ; }

Target:
static java.lang.String normalizeCountryIso ( java.lang.String countryIso ) { return countryIso.toLowerCase ( java.util.Locale.US ) ; }
Source:
public void exit ( ) { logd ( "WifiStateMachine: Leaving Connected state" ) ; if ( ( mWifiConnectivityManager ) != null ) { mWifiConnectivityManager.handleConnectionStateChanged ( WifiConnectivityManager.WIFI_STATE_TRANSITIONING ) ; } mLastDriverRoamAttempt = 0 ; mWifiInjector.getWifiLastResortWatchdog ( ) . connectedStateTransition ( false ) ; }

Target:
public void exit ( ) { mWifiConnectivityManager.handleConnectionStateChanged ( WifiConnectivityManager.WIFI_STATE_TRANSITIONING ) ; }
Source:
public boolean acceptThirdPartyCookies ( android.webkit.WebView webview ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract boolean acceptThirdPartyCookies ( android.webkit.WebView webview ) ;
Source:
public void testCanCreateResource ( ) throws java.lang.Exception { assertTrue ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@layout/foo" ) ) ; assertTrue ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@string/foo" ) ) ; assertTrue ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@dimen/foo" ) ) ; assertTrue ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@color/foo" ) ) ; assertFalse ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@typo/foo" ) ) ; assertFalse ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@layout/foo bar" ) ) ; assertFalse ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@layout/new" ) ) ; assertFalse ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@animator/foo" ) ) ; assertFalse ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@android:string/foo" ) ) ; assertFalse ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@android:dimen/foo" ) ) ; assertFalse ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@android:color/foo" ) ) ; }

Target:
public void testCanCreateResource ( ) throws java.lang.Exception { assertTrue ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@layout/foo" ) ) ; assertTrue ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@string/foo" ) ) ; assertTrue ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@dimen/foo" ) ) ; assertTrue ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@color/foo" ) ) ; assertFalse ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@typo/foo" ) ) ; assertFalse ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@layout/foo bar" ) ) ; assertFalse ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@layout/new" ) ) ; assertFalse ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@android:string/foo" ) ) ; assertFalse ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@android:dimen/foo" ) ) ; assertFalse ( com.android.ide.eclipse.adt.internal.resources.ResourceHelper.canCreateResource ( "@android:color/foo" ) ) ; }
Source:
private void writeObject ( java.io.ObjectOutputStream stream ) throws java.io.IOException { if ( getOpenSSLKey ( ) . isEngineBased ( ) ) { throw new java.io.NotSerializableException ( "engine-based keys can not be serialized" ) ; } ensureReadParams ( ) ; stream.defaultWriteObject ( ) ; }

Target:
private void writeObject ( java.io.ObjectOutputStream stream ) throws java.io.IOException { ensureReadParams ( ) ; stream.defaultWriteObject ( ) ; }
Source:
public void enter ( ) { mWifiStateMachine.setSupplicantRunning ( true ) ; mWifiStateMachine.setOperationalMode ( WifiStateMachine.SCAN_ONLY_WITH_WIFI_OFF_MODE ) ; mDisabledTimestamp = android.os.SystemClock.elapsedRealtime ( ) ; ( mDeferredEnableSerialNumber ) ++ ; mHaveDeferredEnable = false ; mWifiStateMachine.clearANQPCache ( ) ; }

Target:
public void enter ( ) { mWifiStateMachine.setOperationalMode ( WifiStateMachine.SCAN_ONLY_WITH_WIFI_OFF_MODE ) ; mWifiStateMachine.setSupplicantRunning ( true ) ; mDisabledTimestamp = android.os.SystemClock.elapsedRealtime ( ) ; ( mDeferredEnableSerialNumber ) ++ ; mHaveDeferredEnable = false ; mWifiStateMachine.clearANQPCache ( ) ; }
Source:
public void setreuid ( int ruid , int euid ) throws android.system.ErrnoException { os.setregid ( ruid , euid ) ; }

Target:
public void setreuid ( int ruid , int euid ) throws android.system.ErrnoException { os.setreuid ( ruid , euid ) ; }
Source:
private void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback , int timeoutMs , int legacyType , android.os.Handler handler ) { android.net.ConnectivityManager.CallbackHandler cbHandler = new android.net.ConnectivityManager.CallbackHandler ( handler ) ; android.net.NetworkCapabilities nc = request.networkCapabilities ; sendRequestForNetwork ( nc , networkCallback , timeoutMs , android.net.ConnectivityManager.REQUEST , legacyType , cbHandler ) ; }

Target:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback , int timeoutMs , int legacyType , android.os.Handler handler ) { android.net.ConnectivityManager.CallbackHandler cbHandler = new android.net.ConnectivityManager.CallbackHandler ( handler ) ; android.net.NetworkCapabilities nc = request.networkCapabilities ; sendRequestForNetwork ( nc , networkCallback , timeoutMs , android.net.ConnectivityManager.REQUEST , legacyType , cbHandler ) ; }
Source:
void createNewUserLILPw ( int userHandle , java.io.File path ) { if ( ( mInstaller ) != null ) { mSettings.createNewUserLILPw ( mInstaller , userHandle , path ) ; } }

Target:
void createNewUserLILPw ( int userHandle , java.io.File path ) { if ( ( mInstaller ) != null ) { mSettings.createNewUserLILPw ( this , mInstaller , userHandle , path ) ; } }
Source:
synchronized void nAllocationData1D ( int id , int off , int mip , int count , float [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }

Target:
synchronized void nAllocationData1D ( long id , int off , int mip , int count , short [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }
Source:
public static void sort ( short [ ] 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 ( short [ ] a ) { java.util.DualPivotQuicksort.sort ( a , 0 , ( ( a.length ) - 1 ) , null , 0 , 0 ) ; }
Source:
public void exit ( ) { if ( ( mWifiConnectivityManager ) != null ) { mWifiConnectivityManager.handleConnectionStateChanged ( WifiConnectivityManager.WIFI_STATE_TRANSITIONING ) ; } }

Target:
public void exit ( ) { mWifiConnectivityManager.handleConnectionStateChanged ( WifiConnectivityManager.WIFI_STATE_TRANSITIONING ) ; }
Source:
protected void stdout ( java.lang.String format , java.lang.Object ... args ) { java.lang.String output = java.lang.String.format ( format , args ) ; output = com.android.sdklib.util.LineUtil.reflowLine ( output ) ; mLog.printf ( "%s\n" , output ) ; }

Target:
protected void stdout ( java.lang.String format , java.lang.Object ... args ) { java.lang.String output = java.lang.String.format ( format , args ) ; output = com.android.sdklib.util.LineUtil.reflowLine ( output ) ; mLog.info ( "%s\n" , output ) ; }
Source:
public void onLinkPropertiesChanged ( android.net.Network network , android.net.LinkProperties newLp ) { checkExpectedThread ( ) ; handleLinkProp ( network , newLp ) ; }

Target:
public void onLinkPropertiesChanged ( android.net.Network network , android.net.LinkProperties newLp ) { handleLinkProp ( network , newLp ) ; }
Source:
private static com.android.mms.layout.LayoutParameters getLayoutParameters ( int displayType ) { switch ( displayType ) { case LayoutParameters.HVGA_LANDSCAPE : return new com.android.mms.layout.HVGALayoutParameters ( LayoutParameters.HVGA_LANDSCAPE ) ; case LayoutParameters.HVGA_PORTRAIT : return new com.android.mms.layout.HVGALayoutParameters ( LayoutParameters.HVGA_PORTRAIT ) ; } throw new java.lang.IllegalArgumentException ( ( "Unsupported display type: " + displayType ) ) ; }

Target:
private com.android.mms.layout.LayoutParameters getLayoutParameters ( int displayType ) { switch ( displayType ) { case LayoutParameters.HVGA_LANDSCAPE : return new com.android.mms.layout.HVGALayoutParameters ( mContext , LayoutParameters.HVGA_LANDSCAPE ) ; case LayoutParameters.HVGA_PORTRAIT : return new com.android.mms.layout.HVGALayoutParameters ( mContext , LayoutParameters.HVGA_PORTRAIT ) ; } throw new java.lang.IllegalArgumentException ( ( "Unsupported display type: " + displayType ) ) ; }
Source:
private void removeHotlist ( com.android.server.wifi.scanner.WifiScanningServiceImpl.ClientInfo ci , int handler ) { mActiveHotlistSettings.removeRequest ( ci , handler ) ; resetHotlist ( ) ; }

Target:
private void removeHotlist ( com.android.server.wifi.scanner.WifiScanningServiceImpl.ClientInfo ci , int handler ) { if ( ci != null ) { mActiveHotlistSettings.removeRequest ( ci , handler ) ; resetHotlist ( ) ; } }
Source:
private void setMonitoring ( java.lang.String iface , boolean enabled ) { mMonitoringMap.put ( iface , enabled ) ; }

Target:
public void setMonitoring ( java.lang.String iface , boolean enabled ) { mMonitoringMap.put ( iface , enabled ) ; }
Source:
private void checkReference ( ) { if ( ( mTaskReferenceCount ) == 0 ) { unbindService ( mConnection ) ; mConnection = null ; } }

Target:
private void checkReference ( ) { if ( ( mConnection ) == null ) { return ; } if ( ( mTaskReferenceCount ) == 0 ) { unbindService ( mConnection ) ; mConnection = null ; } }
Source:
public org.objectweb.asm.AnnotationVisitor visitAnnotation ( java.lang.String desc , boolean visible ) { org.objectweb.asm.AnnotationVisitor av = mv.visitAnnotation ( remapper.mapDesc ( desc ) , visible ) ; return av == null ? av : new org.objectweb.asm.commons.RemappingAnnotationAdapter ( av , remapper ) ; }

Target:
public org.objectweb.asm.AnnotationVisitor visitAnnotation ( java.lang.String desc , boolean visible ) { org.objectweb.asm.AnnotationVisitor av = super . visitAnnotation ( remapper.mapDesc ( desc ) , visible ) ; return av == null ? av : new org.objectweb.asm.commons.RemappingAnnotationAdapter ( av , remapper ) ; }
Source:
public com.android.ahat.heapdump.Value getField ( java.lang.String fieldName ) { for ( com.android.ahat.heapdump.FieldValue field : mFieldValues ) { if ( fieldName.equals ( field.getName ( ) ) ) { return field.getValue ( ) ; } } return null ; }

Target:
public com.android.ahat.heapdump.Value getField ( java.lang.String fieldName ) { for ( com.android.ahat.heapdump.FieldValue field : mFieldValues ) { if ( fieldName.equals ( field.name ) ) { return field.value ; } } return null ; }
Source:
public void callSessionInviteParticipantsRequestDelivered ( com.android.ims.internal.IImsCallSession session ) { if ( ( mListener ) != null ) { mListener.callSessionInviteParticipantsRequestDelivered ( this ) ; } }

Target:
public void callSessionInviteParticipantsRequestDelivered ( ) { if ( ( mListener ) != null ) { mListener.callSessionInviteParticipantsRequestDelivered ( this ) ; } }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { onBrowseSdCard ( ) ; validatePage ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { validatePage ( ) ; }
Source:
public boolean getAcceptThirdPartyCookies ( ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract boolean getAcceptThirdPartyCookies ( ) ;
Source:
public java.lang.Class < ? > getDeclaringClass ( ) { if ( libcore.reflect.AnnotationAccess.isAnonymousClass ( this ) ) { return null ; } return libcore.reflect.AnnotationAccess.getEnclosingClass ( this ) ; }

Target:
public java.lang.Class < ? > getDeclaringClass ( ) { if ( isAnonymousClass ( ) ) { return null ; } return libcore.reflect.AnnotationAccess.getEnclosingClass ( this ) ; }
Source:
public static void logEvent ( java.lang.String message ) { }

Target:
static void logEvent ( @ java.lang.SuppressWarnings ( value = "unused" ) java.lang.String message ) { }
Source:
protected final void set0 ( int n , java.lang.Object obj ) { throwIfImmutable ( ) ; try { arr [ n ] = obj ; } catch ( java.lang.ArrayIndexOutOfBoundsException ex ) { throwIndex ( n ) ; } }

Target:
protected final void set0 ( int n , java.lang.Object obj ) { throwIfImmutable ( ) ; arr [ n ] = obj ; }
Source:
public void onMessageSendFailed ( @ java.lang.SuppressWarnings ( value = "unused" ) int messageId , @ android.net.wifi.nan.WifiNanDiscoverySessionCallback.SessionReasonCodes int reason ) { }

Target:
public void onMessageSendFailed ( @ java.lang.SuppressWarnings ( value = "unused" ) int messageId ) { }
Source:
private com.android.sdklib.devices.DeviceManager createDeviceManager ( ) { com.android.sdklib.mock.MockLog log = super . getLog ( ) ; java.io.File sdkLocation = getSdkManager ( ) . getLocalSdk ( ) . getLocation ( ) ; return com.android.sdklib.devices.DeviceManager.createInstance ( sdkLocation , log ) ; }

Target:
private com.android.sdklib.devices.DeviceManager createDeviceManager ( ) { log = super . getLog ( ) ; java.io.File sdkLocation = getSdkManager ( ) . getLocalSdk ( ) . getLocation ( ) ; return com.android.sdklib.devices.DeviceManager.createInstance ( sdkLocation , log ) ; }
Source:
private boolean isEnabled ( ) { if ( ( mAdapter.getState ( ) ) == ( BluetoothAdapter.STATE_ON ) ) return true ; return false ; }

Target:
private boolean isEnabled ( ) { return ( mAdapter.getState ( ) ) == ( BluetoothAdapter.STATE_ON ) ; }
Source:
private void writeLineIfDifferentFromCurrent ( @ javax.annotation.Nonnegative int lineNumber , boolean isStartLine ) throws java.io.IOException { if ( lineNumber != ( currentLineNumber ) ) { writeCurrentLine ( lineNumber ) ; } }

Target:
private void writeLineIfDifferentFromCurrent ( @ javax.annotation.Nonnegative int lineNumber ) throws java.io.IOException { if ( lineNumber != ( currentLineNumber ) ) { writeCurrentLine ( lineNumber ) ; } }
Source:
public void testTimeZoneNotChangedByParse ( ) throws java.lang.Exception { java.text.SimpleDateFormat df = new java.text.SimpleDateFormat ( "dd MMM yyyy HH:mm:ss zzz" ) ; df.setTimeZone ( libcore.java.text.SimpleDateFormatTest.UTC ) ; df.parse ( "22 Jul 1977 12:23:45 HST" ) ; assertEquals ( libcore.java.text.SimpleDateFormatTest.UTC , df.getTimeZone ( ) ) ; libcore.java.text.e161a7 Merge ; libcore.java.text.Fix CTS ; }

Target:
public void testTimeZoneNotChangedByParse ( ) throws java.lang.Exception { java.text.SimpleDateFormat df = new java.text.SimpleDateFormat ( "dd MMM yyyy HH:mm:ss zzz" ) ; df.setTimeZone ( libcore.java.text.SimpleDateFormatTest.UTC ) ; df.parse ( "22 Jul 1977 12:23:45 HST" ) ; assertEquals ( libcore.java.text.SimpleDateFormatTest.UTC , df.getTimeZone ( ) ) ; }
Source:
public boolean containsValue ( @ javax.annotation.Nullable java.lang.Object value ) { for ( java.util.Collection < V > valueCollection : map.values ( ) ) { if ( valueCollection.contains ( value ) ) { return true ; } } return false ; }

Target:
public boolean containsValue ( @ javax.annotation.Nullable java.lang.Object value ) { return ( value != null ) && ( super . containsValue ( value ) ) ; }
Source:
synchronized void nMeshGetIndices ( int id , int [ ] idxIds , int [ ] primitives , int vtxIdCount ) { validate ( ) ; rsnMeshGetIndices ( mContext , id , idxIds , primitives , vtxIdCount ) ; }

Target:
synchronized void nMeshGetIndices ( long id , int [ ] idxIds , int [ ] primitives , int vtxIdCount ) { validate ( ) ; rsnMeshGetIndices ( mContext , id , idxIds , primitives , vtxIdCount ) ; }
Source:
public void uncaughtException ( java.lang.Thread t , java.lang.Throwable e ) { if ( e instanceof TestException ) { passed [ TEST_OTHER ] = true ; } else { super . uncaughtException ( t , e ) ; } }

Target:
public void uncaughtException ( java.lang.Thread t , java.lang.Throwable e ) { if ( e instanceof TestException ) { passed [ 0 ] = true ; } super . uncaughtException ( t , e ) ; }
Source:
public com.android.jack.dx.rop.cst.CstFieldRef getFieldRef ( ) { if ( ( fieldRef ) == null ) { fieldRef = new com.android.jack.dx.rop.cst.CstFieldRef ( getDefiningClass ( ) , getNat ( ) ) ; } return fieldRef ; }

Target:
public com.android.jack.dx.rop.cst.CstFieldRef getFieldRef ( ) { if ( ( fieldRef ) == null ) { fieldRef = new com.android.jack.dx.rop.cst.CstFieldRef ( getDefiningClass ( ) , getName ( ) , getNat ( ) ) ; } return fieldRef ; }
Source:
public void sendRttModifyResponse ( boolean status ) { }

Target:
public void sendRttModifyResponse ( boolean status ) { this . sendRttModifyResponse ( status ) ; }
Source:
public void registerListener ( com.android.sdklib.devices.DeviceManager.DevicesChangeListener listener ) { synchronized ( com.android.sdklib.devices.DeviceManager.listeners ) { com.android.sdklib.devices.DeviceManager.listeners.add ( listener ) ; } }

Target:
public void registerListener ( com.android.sdklib.devices.DeviceManager.DevicesChangeListener listener ) { com.android.sdklib.devices.DeviceManager.listeners.add ( listener ) ; }
Source:
public com.android.sched.vfs.VPath getPathFromRoot ( @ javax.annotation.Nonnull com.android.sched.vfs.InputVFile file ) { return ( ( com.android.sched.vfs.BaseVFS ) ( vfs ) ) . getPathFromRoot ( ( ( com.android.sched.vfs.BaseVFile ) ( ( ( com.android.sched.vfs.GenericInputVFile ) ( file ) ) . getVFile ( ) ) ) ) ; }

Target:
public com.android.sched.vfs.VPath getPathFromRoot ( @ javax.annotation.Nonnull com.android.sched.vfs.InputVFile file ) { return ( ( com.android.sched.vfs.BaseVFS ) ( vfs ) ) . getPathFromRoot ( ( ( com.android.sched.vfs.BaseVFile ) ( file.getVFile ( ) ) ) ) ; }
Source:
void addNormalBasicBlock ( @ javax.annotation.Nonnull com.android.jack.cfg.NormalBasicBlock block , @ javax.annotation.Nonnull com.android.jack.ir.ast.JStatement targetStatement ) { assert block != null ; assert targetStatement != null ; blocksToResolve.add ( new com.android.jack.cfg.ForwardBranchResolver.NormalBasicBlockToResolve ( block , targetStatement ) ) ; }

Target:
void addNormalBasicBlock ( @ javax.annotation.Nonnull com.android.jack.cfg.NormalBasicBlock block , @ javax.annotation.CheckForNull com.android.jack.ir.ast.JStatement targetStatement ) { assert block != null ; blocksToResolve.add ( new com.android.jack.cfg.ForwardBranchResolver.NormalBasicBlockToResolve ( block , targetStatement ) ) ; }
Source:
public boolean start ( ) { if ( com.android.bluetooth.opp.BluetoothOppService.V ) android.util.Log.v ( com.android.bluetooth.opp.BluetoothOppService.TAG , "start()" ) ; startListener ( ) ; updateFromProvider ( ) ; return true ; }

Target:
public boolean start ( ) { if ( com.android.bluetooth.opp.BluetoothOppService.V ) android.util.Log.v ( com.android.bluetooth.opp.BluetoothOppService.TAG , "start()" ) ; updateFromProvider ( ) ; return true ; }
Source:
public boolean canThrow ( ) { return false ; }

Target:
public boolean canThrow ( ) { return true ; }
Source:
protected final java.lang.Object getContent ( @ org.jetbrains.annotations.NotNull com.intellij.designer.DesignerEditorPanelFacade designer ) { com.intellij.designer.LightToolWindow toolWindow = ( ( com.intellij.designer.LightToolWindow ) ( designer.getClientProperty ( getComponentName ( ) ) ) ) ; return toolWindow.getContent ( ) ; }

Target:
protected final java.lang.Object getContent ( @ org.jetbrains.annotations.NotNull com.intellij.designer.DesignerEditorPanelFacade designer ) { com.intellij.designer.LightToolWindow toolWindow = ( ( com.intellij.designer.LightToolWindow ) ( designer.getClientProperty ( getComponentName ( ) ) ) ) ; assert toolWindow != null ; return toolWindow.getContent ( ) ; }
Source:
void beforeExecute ( org.gradle.api.Task task ) { taskRecords.put ( task.getName ( ) , new com.android.build.gradle.internal.profile.RecordingBuildListener.TaskRecord ( mRecorder.allocationRecordId ( ) , java.lang.System.currentTimeMillis ( ) ) ) ; }

Target:
public void beforeExecute ( org.gradle.api.Task task ) { taskRecords.put ( task.getName ( ) , new com.android.build.gradle.internal.profile.RecordingBuildListener.TaskRecord ( mRecorder.allocationRecordId ( ) , java.lang.System.currentTimeMillis ( ) ) ) ; }
Source:
public com.android.ide.eclipse.adt.internal.ui.ConfigurationSelector.ConfigurationState getState ( ) { if ( ( mSelectedConfiguration.getInvalidQualifier ( ) ) != null ) { return com.android.ide.eclipse.adt.internal.ui.ConfigurationSelector.ConfigurationState.INVALID_CONFIG ; } if ( ( mSelectedConfiguration.checkRegion ( ) ) == false ) { return com.android.ide.eclipse.adt.internal.ui.ConfigurationSelector.ConfigurationState.REGION_WITHOUT_LANGUAGE ; } return com.android.ide.eclipse.adt.internal.ui.ConfigurationSelector.ConfigurationState.OK ; }

Target:
public com.android.ide.eclipse.adt.internal.ui.ConfigurationSelector.ConfigurationState getState ( ) { if ( ( mSelectedConfiguration.getInvalidQualifier ( ) ) != null ) { return com.android.ide.eclipse.adt.internal.ui.ConfigurationSelector.ConfigurationState.INVALID_CONFIG ; } return com.android.ide.eclipse.adt.internal.ui.ConfigurationSelector.ConfigurationState.OK ; }
Source:
public void close ( ) throws java.io.IOException { synchronized ( channelImpl ) { if ( channelImpl.isOpen ( ) ) { channelImpl.close ( ) ; } else { super . close ( ) ; } } }

Target:
public void close ( ) throws java.io.IOException { synchronized ( channelImpl ) { super . close ( ) ; if ( channelImpl.isOpen ( ) ) { channelImpl.close ( ) ; } } }
Source:
public boolean onSetSurface ( android.view.Surface surface ) { mSurface = surface ; draw ( ) ; return true ; }

Target:
public boolean onSetSurface ( android.view.Surface surface ) { mSurface = surface ; if ( surface != null ) { draw ( ) ; } return true ; }
Source:
void putIntUnchecked ( int i , int x ) { putInt ( ix ( i ) , x ) ; }

Target:
final void putIntUnchecked ( int i , int x ) { putInt ( ix ( i ) , x ) ; }
Source:
public boolean putAll ( @ javax.annotation.Nullable K key , java.lang.Iterable < ? extends V > values ) { boolean changed = false ; for ( V value : values ) { changed |= put ( key , value ) ; } return changed ; }

Target:
public int size ( ) { return size ; }
Source:
public synchronized com.google.android.gles_jni.EGLDisplay eglGetCurrentDisplay ( ) { int value = _eglGetCurrentDisplay ( ) ; if ( value == 0 ) { return EGL10.EGL_NO_DISPLAY ; } if ( ( mDisplay.mEGLDisplay ) != value ) mDisplay = new com.google.android.gles_jni.EGLDisplayImpl ( value ) ; return mDisplay ; }

Target:
public synchronized com.google.android.gles_jni.EGLDisplay eglGetCurrentDisplay ( ) { long value = _eglGetCurrentDisplay ( ) ; if ( value == 0 ) { return EGL10.EGL_NO_DISPLAY ; } if ( ( mDisplay.mEGLDisplay ) != value ) mDisplay = new com.google.android.gles_jni.EGLDisplayImpl ( value ) ; return mDisplay ; }
Source:
public boolean isProductionValid ( @ javax.annotation.Nonnull com.android.sched.scheduler.ManagedRunnable runner ) { return runner.getProductions ( ) . containsAll ( missingProductions ) ; }

Target:
public boolean isProductionValid ( @ javax.annotation.Nonnull com.android.sched.scheduler.ManagedRunnable runner ) { return missingProductions.containsAll ( runner.getProductions ( ) ) ; }
Source:
public synchronized android.webkit.WebHistoryItem getItemAtIndex ( int index ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract android.webkit.WebHistoryItem getItemAtIndex ( int index ) ;
Source:
public static int consistentHash ( com.google.common.hash.HashCode hashCode , int buckets ) { return com.google.common.hash.Hashing.consistentHash ( com.google.common.hash.Hashing.padToLong ( hashCode ) , buckets ) ; }

Target:
public static int consistentHash ( com.google.common.hash.HashCode hashCode , int buckets ) { return com.google.common.hash.Hashing.consistentHash ( hashCode.padToLong ( ) , buckets ) ; }
Source:
private void setContactId ( long rawContactId , long contactId ) { mContactIdUpdate.bindLong ( 1 , contactId ) ; mContactIdUpdate.bindLong ( 2 , rawContactId ) ; mContactIdUpdate.execute ( ) ; }

Target:
protected void setContactId ( long rawContactId , long contactId ) { mContactIdUpdate.bindLong ( 1 , contactId ) ; mContactIdUpdate.bindLong ( 2 , rawContactId ) ; mContactIdUpdate.execute ( ) ; }
Source:
void crunchPng ( @ com.android.annotations.NonNull java.io.File from , @ com.android.annotations.NonNull java.io.File to ) throws com.android.ide.common.internal.PngException ;

Target:
void crunchPng ( int key , @ com.android.annotations.NonNull java.io.File from , @ com.android.annotations.NonNull java.io.File to ) throws com.android.ide.common.internal.PngException ;
Source:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; cursor = android.support.test.espresso.matcher.CursorMatchersTest.makeCursor ( android.support.test.espresso.matcher.CursorMatchersTest.COLUMN_NAMES , android.support.test.espresso.matcher.CursorMatchersTest.COLUMN_VALUES ) ; cursor.moveToFirst ( ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { cursor = android.support.test.espresso.matcher.CursorMatchersTest.makeCursor ( android.support.test.espresso.matcher.CursorMatchersTest.COLUMN_NAMES , android.support.test.espresso.matcher.CursorMatchersTest.COLUMN_VALUES ) ; cursor.moveToFirst ( ) ; }
Source:
public static int $noinline$Shr24And255 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > 24 ) & 255 ; }

Target:
public static int $noinline$Shr24And255 ( int arg ) { return ( arg > > 24 ) & 255 ; }
Source:
public void test_readLByteBufferJ_Position_As_Long ( ) throws java.lang.Exception { java.nio.ByteBuffer readBuffer = java.nio.ByteBuffer.allocate ( org.apache.harmony.tests.java.nio.channels.FileChannelTest.CAPACITY ) ; try { readOnlyFileChannel.read ( readBuffer , java.lang.Long.MAX_VALUE ) ; } catch ( java.io.IOException expected ) { } }

Target:
public void test_readLByteBufferJ_Position_As_Long ( ) throws java.lang.Exception { java.nio.ByteBuffer readBuffer = java.nio.ByteBuffer.allocate ( org.apache.harmony.tests.java.nio.channels.FileChannelTest.CAPACITY ) ; try { readOnlyFileChannel.read ( readBuffer , java.lang.Long.MAX_VALUE ) ; fail ( ) ; } catch ( java.io.IOException expected ) { } }
Source:
final void putInt ( int offset , int value ) { sun.nio.ch.NativeObject.unsafe.putInt$ ( ( offset + ( address ) ) , value ) ; }

Target:
final void putInt ( int offset , int value ) { sun.nio.ch.NativeObject.unsafe.putInt ( ( offset + ( address ) ) , value ) ; }
Source:
public void test ( ) { org.junit.Assert.assertTrue ( "Runnable field was not mocked" , ( ( runnable ) != null ) ) ; }

Target:
public void test ( ) { org.junit.Assert.assertNotNull ( "Runnable field was not mocked" , runnable ) ; }