auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public boolean isIgnored ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message , @ com.android.annotations.Nullable java.lang.Object data ) { return false ; }

Target:
public boolean isIgnored ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message ) { return false ; }
Source:
private static com.android.tools.lint.TypeDescriptor getTypeDescriptor ( @ com.android.annotations.Nullable org.eclipse.jdt.internal.compiler.lookup.TypeBinding resolvedType ) { if ( resolvedType == null ) { return null ; } return new com.android.tools.lint.EcjParser.EcjTypeDescriptor ( resolvedType.readableName ( ) ) ; }

Target:
private static com.android.tools.lint.TypeDescriptor getTypeDescriptor ( @ com.android.annotations.Nullable org.eclipse.jdt.internal.compiler.lookup.TypeBinding resolvedType ) { if ( resolvedType == null ) { return null ; } return new com.android.tools.lint.EcjParser.EcjTypeDescriptor ( resolvedType ) ; }
Source:
public boolean visit ( org.eclipse.jdt.internal.compiler.ast.LocalDeclaration x , org.eclipse.jdt.internal.compiler.lookup.BlockScope scope ) { try { curMethod.body.addLocal ( createLocal ( x ) ) ; return true ; } catch ( java.lang.Throwable e ) { throw translateException ( x , e ) ; } }

Target:
public boolean visit ( org.eclipse.jdt.internal.compiler.ast.LocalDeclaration x , org.eclipse.jdt.internal.compiler.lookup.BlockScope scope ) { try { curMethod.body.addLocal ( createLocal ( x ) ) ; return true ; } catch ( java.lang.RuntimeException e ) { throw translateException ( x , e ) ; } }
Source:
public java.util.regex.Matcher useTransparentBounds ( boolean value ) { transparentBounds = value ; java.util.regex.Matcher.useTransparentBoundsImpl ( address , value ) ; return this ; }

Target:
public java.util.regex.Matcher useTransparentBounds ( boolean value ) { synchronized ( this ) { transparentBounds = value ; java.util.regex.Matcher.useTransparentBoundsImpl ( address , value ) ; } return this ; }
Source:
final int createTheme ( ) { synchronized ( this ) { if ( ! ( mOpen ) ) { throw new java.lang.RuntimeException ( "Assetmanager has been closed" ) ; } int res = newTheme ( ) ; incRefsLocked ( res ) ; return res ; } }

Target:
final long createTheme ( ) { synchronized ( this ) { if ( ! ( mOpen ) ) { throw new java.lang.RuntimeException ( "Assetmanager has been closed" ) ; } long res = newTheme ( ) ; incRefsLocked ( res ) ; return res ; } }
Source:
final byte getByte ( int offset ) { return sun.nio.ch.NativeObject.unsafe.getByte$ ( ( offset + ( address ) ) ) ; }

Target:
final byte getByte ( int offset ) { return sun.nio.ch.NativeObject.unsafe.getByte ( ( offset + ( address ) ) ) ; }
Source:
protected void shutdownOutput ( ) throws java.io.IOException { if ( ( fd ) != null ) { socketShutdown ( java.net.AbstractPlainSocketImpl.SHUT_WR ) ; shut_wr = true ; } }

Target:
protected void shutdownOutput ( ) throws java.io.IOException { if ( ( ( fd ) != null ) && ( fd.valid ( ) ) ) { socketShutdown ( java.net.AbstractPlainSocketImpl.SHUT_WR ) ; shut_wr = true ; } }
Source:
public void run ( ) { mCallback.onConnectionStateChange ( this , status , profileState ) ; }

Target:
public void run ( ) { if ( ( mCallback ) != null ) { mCallback.onConnectionStateChange ( this , status , profileState ) ; } }
Source:
public void onBind ( java.net.InetAddress localAddress , int localPort ) { isBound = true ; impl.onBind ( localAddress , localPort ) ; }

Target:
public void onBind ( java.net.InetAddress localAddress , int localPort ) { isBound = true ; this . localAddress = localAddress ; impl.onBind ( localAddress , localPort ) ; }
Source:
public boolean hasIconSixteen ( ) { if ( ( ( mIconSixteen ) != null ) && ( mIconSixteen.isFile ( ) ) ) { return true ; } else { return false ; } }

Target:
public boolean hasIconSixteen ( ) { return ( ( mIconSixteen ) != null ) && ( mIconSixteen.isFile ( ) ) ; }
Source:
synchronized int nAllocationCreateBitmapRef ( int type , android.graphics.Bitmap bmp ) { validate ( ) ; return rsnAllocationCreateBitmapRef ( mContext , type , bmp ) ; }

Target:
synchronized long nAllocationCreateBitmapRef ( long type , android.graphics.Bitmap bmp ) { validate ( ) ; return rsnAllocationCreateBitmapRef ( mContext , type , bmp ) ; }
Source:
public static java.lang.String getPackageName ( java.lang.String classFullName ) { int lastDot = classFullName.lastIndexOf ( '.' ) ; if ( lastDot < 0 ) { return "" ; } else { return classFullName.substring ( 0 , lastDot ) ; } }

Target:
public static java.lang.String getPackageName ( java.lang.String classFullName ) { int lastDot = classFullName.lastIndexOf ( '.' ) ; return lastDot < 0 ? "" : classFullName.substring ( 0 , lastDot ) ; }
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { android.util.Log.i ( com.android.phone.MobileNetworkSettings.MobileNetworkFragment.LOG_TAG , "onReceive:" ) ; mGsmUmtsOptions = null ; mCdmaOptions = null ; updateBody ( ) ; }

Target:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { android.util.Log.i ( com.android.phone.MobileNetworkSettings.MobileNetworkFragment.LOG_TAG , "onReceive:" ) ; updateBody ( ) ; }
Source:
public static boolean isInstanceOfClass ( com.android.tools.perflib.heap.Instance inst , java.lang.String className ) { com.android.tools.perflib.heap.ClassObj cls = inst.getClassObj ( ) ; return ( cls != null ) && ( className.equals ( cls.getClassName ( ) ) ) ; }

Target:
public static boolean isInstanceOfClass ( com.android.tools.perflib.heap.Instance inst , java.lang.String className ) { com.android.tools.perflib.heap.ClassObj cls = ( inst == null ) ? null : inst.getClassObj ( ) ; return ( cls != null ) && ( className.equals ( cls.getClassName ( ) ) ) ; }
Source:
public static void test ( ) { java.lang.Object [ ] array = new java.lang.Object [ 2 ] ; Main.sArray = array ; java.lang.Object nonNull = array [ 0 ] ; nonNull.getClass ( ) ; array [ 1 ] = nonNull ; }

Target:
public static void test ( ) { java.lang.Object [ ] array = Main.sArray ; java.lang.Object nonNull = array [ 0 ] ; nonNull.getClass ( ) ; array [ 1 ] = nonNull ; }
Source:
public abstract java.io.File getLocation ( ) ;

Target:
public java.io.File getLocation ( ) ;
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.test ( "A" ) ; Main.test ( "B" ) ; Main.test ( "C" ) ; Main.test ( "D" ) ; Main.test ( "E" ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.test ( "A" ) ; Main.test ( "B" ) ; Main.test ( "C" ) ; Main.test ( "D" ) ; }
Source:
native void rsnScriptSetVarF ( int con , int id , int slot , float val ) ;

Target:
native void rsnScriptSetVarF ( long con , long id , int slot , float val ) ;
Source:
public abstract java.lang.String photoUri ( ) ;

Target:
public abstract java.lang.String name ( ) ;
Source:
public void setPackagingOptionsFilter ( com.android.builder.signing.SignedJarBuilder.IZipEntryFilter filter ) { this . packagingOptionsFilter = filter ; }

Target:
void setPackagingOptionsFilter ( com.android.builder.signing.SignedJarBuilder.IZipEntryFilter filter ) ;
Source:
public native short getShort ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public native short getShort ( java.lang.Object obj ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public int getProgress ( ) { assert ( mIncCoef ) > 0 ; return ( mIncCoef ) > 0 ? ( ( int ) ( ( mUi.getProgress ( ) ) / ( mIncCoef ) ) ) : 0 ; }

Target:
public int getProgress ( ) { return ( mIncCoef ) > 0 ? ( ( int ) ( ( mUi.getProgress ( ) ) / ( mIncCoef ) ) ) : 0 ; }
Source:
public void dispose ( ) { super . dispose ( ) ; if ( ( mGraphicalEditor ) != null ) { mGraphicalEditor.dispose ( ) ; mGraphicalEditor = null ; } getEditor ( ) . getSite ( ) . getPage ( ) . removePartListener ( this ) ; }

Target:
public void dispose ( ) { super . dispose ( ) ; if ( ( mGraphicalEditor ) != null ) { mGraphicalEditor.dispose ( ) ; mGraphicalEditor = null ; } }
Source:
public void testPocBug_35048450 ( ) throws java.lang.Exception { enableAdbRoot ( getDevice ( ) ) ; if ( containsDriver ( getDevice ( ) , "/dev/ipa" ) ) { android.security.cts.AdbUtils.runPoc ( "Bug-35048450" , getDevice ( ) , 60 ) ; } }

Target:
public void testPocBug_35048450 ( ) throws java.lang.Exception { enableAdbRoot ( getDevice ( ) ) ; android.security.cts.AdbUtils.runPoc ( "Bug-35048450" , getDevice ( ) , 60 ) ; }
Source:
public java.lang.String getDefaultSkin ( ) { return mDefaultSkin ; }

Target:
public java.io.File getDefaultSkin ( ) { return mDefaultSkin ; }
Source:
public int run ( ) { return 0 ; }

Target:
public void run ( ) { }
Source:
synchronized int nScriptKernelIDCreate ( int sid , int slot , int sig ) { validate ( ) ; return rsnScriptKernelIDCreate ( mContext , sid , slot , sig ) ; }

Target:
synchronized long nScriptKernelIDCreate ( long sid , int slot , int sig ) { validate ( ) ; return rsnScriptKernelIDCreate ( mContext , sid , slot , sig ) ; }
Source:
boolean isRoaming ( ) { return ( ( mAutoRoaming ) == ( WifiAutoJoinController.AUTO_JOIN_ROAMING ) ) || ( ( mAutoRoaming ) == ( WifiAutoJoinController.AUTO_JOIN_EXTENDED_ROAMING ) ) ; }

Target:
boolean isRoaming ( ) { return mAutoRoaming ; }
Source:
public void testRequestAllocInvalidSpi ( ) throws java.lang.Exception { try { mIpSecManager.allocateSecurityParameterIndex ( IpSecTransform.DIRECTION_OUT , android.net.IpSecManagerTest.GOOGLE_DNS_4 , 0 ) ; org.junit.Assert.fail ( "Able to allocate invalid spi" ) ; } catch ( java.lang.IllegalArgumentException e ) { } }

Target:
public void testRequestAllocInvalidSpi ( ) throws java.lang.Exception { try { mIpSecManager.allocateSecurityParameterIndex ( android.net.IpSecManagerTest.GOOGLE_DNS_4 , 0 ) ; org.junit.Assert.fail ( "Able to allocate invalid spi" ) ; } catch ( java.lang.IllegalArgumentException e ) { } }
Source:
public static void testStoreStore ( boolean doThrow ) { Main m = new Main ( ) ; m.intField = 42 ; m.intField2 = 43 ; if ( doThrow ) { throw new java.lang.Error ( m.$opt$noinline$toString ( ) ) ; } }

Target:
public static void testStoreStore ( boolean doThrow ) { Main m = new Main ( ) ; m.intField = 42 ; m.intField = 43 ; if ( doThrow ) { throw new java.lang.Error ( m.$opt$noinline$toString ( ) ) ; } }
Source:
public void startCallWaiting ( ) { mRinger.startCallWaiting ( mRingingCalls.iterator ( ) . next ( ) ) ; }

Target:
public void startCallWaiting ( ) { if ( ( mRingingCalls.size ( ) ) == 1 ) { mRinger.startCallWaiting ( mRingingCalls.iterator ( ) . next ( ) ) ; } }
Source:
public static < T > org.hamcrest.Matcher < T > anything ( java.lang.String description ) { return new org.hamcrest.core.IsAnything < T > ( description ) ; }

Target:
public static org.hamcrest.Matcher < java.lang.Object > anything ( java.lang.String description ) { return new org.hamcrest.core.IsAnything < java.lang.Object > ( description ) ; }
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 ; return ks != null ? ks : ( keySet = new KeySet ( this ) ) ; }
Source:
public void setDescription ( final java.lang.String description ) { if ( acceptLog ( description ) ) { mSdkLog.printf ( "%1$s" , description ) ; } }

Target:
public void setDescription ( final java.lang.String description ) { if ( acceptLog ( description ) ) { mSdkLog.info ( "%1$s" , description ) ; } }
Source:
public void addSelectionChangedListener ( org.eclipse.jface.viewers.ISelectionChangedListener listener ) { if ( ( mListeners ) == null ) { mListeners = new java.util.ArrayList < org.eclipse.jface.viewers.ISelectionChangedListener > ( ) ; } mListeners.add ( listener ) ; }

Target:
public void addSelectionChangedListener ( org.eclipse.jface.viewers.ISelectionChangedListener listener ) { if ( ( mListeners ) == null ) { mListeners = new java.util.ArrayList < org.eclipse.jface.viewers.ISelectionChangedListener > ( 2 ) ; } mListeners.add ( listener ) ; }
Source:
public static < TValue extends java.lang.Number > double getStandardDeviation ( java.util.Collection < TValue > collection ) { android.hardware.cts.helpers.SensorCtsHelper.validateCollection ( collection ) ; double variance = android.hardware.cts.helpers.SensorCtsHelper.getVariance ( collection ) ; return java.lang.Math.sqrt ( variance ) ; }

Target:
public static < TValue extends java.lang.Number > double getStandardDeviation ( java.util.Collection < TValue > collection ) { return java.lang.Math.sqrt ( android.hardware.cts.helpers.SensorCtsHelper.getVariance ( collection ) ) ; }
Source:
public void testSetupConnectedState ( ) { setUpConnectedState ( ) ; org.junit.Assert.assertEquals ( BluetoothProfile.STATE_CONNECTED , mHeadsetStateMachine.getConnectionState ( mTestDevice ) ) ; org.junit.Assert.assertThat ( mHeadsetStateMachine.getCurrentState ( ) , org.hamcrest.core.IsInstanceOf.instanceOf ( HeadsetStateMachine.Connected.class ) ) ; }

Target:
public void testSetupConnectedState ( ) { setUpConnectedState ( ) ; org.junit.Assert.assertEquals ( BluetoothProfile.STATE_CONNECTED , mHeadsetStateMachine.getConnectionState ( ) ) ; org.junit.Assert.assertThat ( mHeadsetStateMachine.getCurrentState ( ) , org.hamcrest.core.IsInstanceOf.instanceOf ( HeadsetStateMachine.Connected.class ) ) ; }
Source:
public synchronized boolean getUseDoubleTree ( ) { return false ; }

Target:
public boolean getUseDoubleTree ( ) { return false ; }
Source:
public com.android.sched.vfs.BaseVDir getVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotDirectoryException { com.android.sched.vfs.BaseVDir dir = this ; for ( java.lang.String name : path.split ( ) ) { dir = vfs.getVDir ( dir , name ) ; } return dir ; }

Target:
public com.android.sched.vfs.BaseVDir getVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotDirectoryException { com.android.sched.vfs.BaseVDir dir = this ; for ( java.lang.String name : path.split ( ) ) { dir = dir.getVDir ( name ) ; } return dir ; }
Source:
public void setEnabled ( boolean enabled ) { super . setEnabled ( enabled ) ; myKindCombo.setEnabled ( enabled ) ; HEAD ( com.intellij.tasks.impl.Merge ) ; }

Target:
public void setEnabled ( boolean enabled ) { super . setEnabled ( enabled ) ; myKindCombo.setEnabled ( enabled ) ; }
Source:
public int pxToDp ( int px ) { fail ( "Not supported in tests yet" ) ; return px ; }

Target:
public int pxToDp ( int px ) { return px / 3 ; }
Source:
public void test_getTrafficClass ( ) { try { java.net.Socket theSocket = new java.net.Socket ( ) ; int trafficClass = theSocket.getTrafficClass ( ) ; ensureExceptionThrownIfOptionIsUnsupportedOnOS ( libcore.java.net.IP_TOS ) ; } catch ( java.lang.Exception e ) { handleException ( e , libcore.java.net.IP_TOS ) ; } }

Target:
public void test_getTrafficClass ( ) { try ( java.net.Socket theSocket = new java.net.Socket ( ) ) { int trafficClass = theSocket.getTrafficClass ( ) ; ensureExceptionThrownIfOptionIsUnsupportedOnOS ( libcore.java.net.IP_TOS ) ; } catch ( java.lang.Exception e ) { handleException ( e , libcore.java.net.IP_TOS ) ; } }
Source:
static void nativeSetHasAlpha ( int nativeBitmap , boolean hasAlpha ) { android.graphics.Bitmap_Delegate delegate = android.graphics.Bitmap_Delegate.sManager.getDelegate ( nativeBitmap ) ; if ( delegate == null ) { return ; } delegate.mHasAlpha = hasAlpha ; }

Target:
static void nativeSetHasAlpha ( long nativeBitmap , boolean hasAlpha ) { android.graphics.Bitmap_Delegate delegate = android.graphics.Bitmap_Delegate.sManager.getDelegate ( nativeBitmap ) ; if ( delegate == null ) { return ; } delegate.mHasAlpha = hasAlpha ; }
Source:
native int rsnAllocationGetType ( int con , int id ) ;

Target:
native long rsnAllocationGetType ( long con , long id ) ;
Source:
private proguard.evaluation.value.ReferenceValue generalizeMayBeNull ( boolean mayBeNull ) { return ( this . mayBeNull ) || ( ! mayBeNull ) ? this : new proguard.evaluation.value.ReferenceValue ( this . type , this . referencedClass , true ) ; }

Target:
public abstract proguard.evaluation.value.ReferenceValue generalizeMayBeNull ( boolean mayBeNull ) ;
Source:
public int codePointAt ( int index ) { if ( ( index < 0 ) || ( index >= ( count ) ) ) { throw new java.lang.StringIndexOutOfBoundsException ( index ) ; } return java.lang.Character.codePointAt ( this , index ) ; }

Target:
public int codePointAt ( int index ) { if ( ( index < 0 ) || ( index >= ( length ( ) ) ) ) { throw new java.lang.StringIndexOutOfBoundsException ( index ) ; } return java.lang.Character.codePointAt ( this , index ) ; }
Source:
protected boolean onCreateOptionsMenu ( android.view.Menu menu ) { if ( ( mMenuState ) == ( com.android.browser.Controller.EMPTY_MENU ) ) { return false ; } android.view.MenuInflater inflater = mActivity.getMenuInflater ( ) ; inflater.inflate ( R.menu.browser , menu ) ; return true ; }

Target:
public boolean onCreateOptionsMenu ( android.view.Menu menu ) { if ( ( mMenuState ) == ( com.android.browser.Controller.EMPTY_MENU ) ) { return false ; } android.view.MenuInflater inflater = mActivity.getMenuInflater ( ) ; inflater.inflate ( R.menu.browser , menu ) ; return true ; }
Source:
public short get ( int index ) { checkIndex ( index ) ; return byteBuffer.getShort ( ( index * ( libcore.io.SizeOf.SHORT ) ) ) ; }

Target:
public short get ( int index ) { return byteBuffer.getShort ( ( index * ( libcore.io.SizeOf.SHORT ) ) ) ; }
Source:
public java.util.Set < java.util.Map.Entry < K , V > > entrySet ( ) { java.util.Set < java.util.Map.Entry < K , V > > result = entrySet ; if ( result == null ) { entrySet = result = createEntrySet ( ) ; } return result ; }

Target:
public java.util.Set < java.util.Map.Entry < K , V > > entrySet ( ) { java.util.Set < java.util.Map.Entry < K , V > > result = entrySet ; return result == null ? entrySet = createEntrySet ( ) : result ; }
Source:
public long getSize ( com.android.ahat.heapdump.AhatInstance element , com.android.ahat.heapdump.AhatHeap heap ) { return element.getRetainedSize ( heap ) ; }

Target:
public long getSize ( com.android.ahat.heapdump.AhatInstance element , com.android.ahat.heapdump.AhatHeap heap ) { return element.getRetainedSize ( heap ) . getSize ( ) ; }
Source:
public boolean lock ( ) { try { return ( mBinder.lock ( ) ) == ( android.security.KeyStore.NO_ERROR ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return false ; } }

Target:
public boolean lock ( int userId ) { try { return ( mBinder.lock ( userId ) ) == ( android.security.KeyStore.NO_ERROR ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return false ; } }
Source:
private static void assertSingleScanCompletedMessage ( int listenerId , android.os.Message completedMessage ) { assertEquals ( "what" , WifiScanner.CMD_SINGLE_SCAN_COMPLETED , completedMessage.what ) ; assertEquals ( "listenerId" , listenerId , completedMessage.arg2 ) ; }

Target:
private static void assertSingleScanCompletedMessage ( int listenerId , android.os.Message completedMessage ) { org.junit.Assert.assertEquals ( "what" , WifiScanner.CMD_SINGLE_SCAN_COMPLETED , completedMessage.what ) ; org.junit.Assert.assertEquals ( "listenerId" , listenerId , completedMessage.arg2 ) ; }
Source:
public static int setCallbackEncode ( long converterHandle , java.nio.charset.CharsetEncoder encoder ) { return libcore.icu.NativeConverter.setCallbackEncode ( converterHandle , libcore.icu.NativeConverter.translateCodingErrorAction ( encoder.malformedInputAction ( ) ) , libcore.icu.NativeConverter.translateCodingErrorAction ( encoder.unmappableCharacterAction ( ) ) , encoder.replacement ( ) ) ; }

Target:
public static void setCallbackEncode ( long converterHandle , java.nio.charset.CharsetEncoder encoder ) { libcore.icu.NativeConverter.setCallbackEncode ( converterHandle , libcore.icu.NativeConverter.translateCodingErrorAction ( encoder.malformedInputAction ( ) ) , libcore.icu.NativeConverter.translateCodingErrorAction ( encoder.unmappableCharacterAction ( ) ) , encoder.replacement ( ) ) ; }
Source:
public synchronized boolean isGroupingUsed ( ) { return ( ( properties.getGroupingSize ( ) ) != ( - 1 ) ) || ( ( properties.getSecondaryGroupingSize ( ) ) != ( - 1 ) ) ; }

Target:
public synchronized boolean isGroupingUsed ( ) { return ( ( properties.getGroupingSize ( ) ) > 0 ) || ( ( properties.getSecondaryGroupingSize ( ) ) > 0 ) ; }
Source:
public java.lang.String toString ( ) { return "class " + ( name ) ; }

Target:
public java.lang.String toString ( ) { return "class " + ( name.toString ( ) ) ; }
Source:
public void writeTo ( java.io.File dexOut ) throws java.io.IOException { java.io.OutputStream out = new java.io.FileOutputStream ( dexOut ) ; writeTo ( out ) ; out.close ( ) ; }

Target:
public void writeTo ( java.io.File dexOut ) throws java.io.IOException { try ( java.io.OutputStream out = new java.io.FileOutputStream ( dexOut ) ) { writeTo ( out ) ; } }
Source:
public void setBuild ( com.android.tradefed.build.IBuildInfo arg0 ) { mBuildHelper = new com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper ( arg0 ) ; mTestPackageName = arg0.getBuildAttributes ( ) . get ( JvmtiPreparer.PACKAGE_NAME_ATTRIBUTE ) ; mTestApk = arg0.getBuildAttributes ( ) . get ( JvmtiPreparer.APK_ATTRIBUTE ) ; }

Target:
public void setBuild ( com.android.tradefed.build.IBuildInfo arg0 ) { mBuildHelper = new com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper ( arg0 ) ; }
Source:
public void handleSetListening ( boolean listening ) { if ( listening ) { mController.addCallback ( mSignalCallback ) ; } else { mController.removeCallback ( mSignalCallback ) ; } }

Target:
public void handleSetListening ( boolean listening ) { if ( ( mController ) == null ) return ; if ( listening ) { mController.addCallback ( mSignalCallback ) ; } else { mController.removeCallback ( mSignalCallback ) ; } }
Source:
public void addDirectMethod ( com.android.jack.dx.dex.file.EncodedMethod method ) { if ( method == null ) { throw new java.lang.NullPointerException ( "method == null" ) ; } directMethods.add ( method ) ; }

Target:
public void addDirectMethod ( com.android.jack.dx.dex.file.EncodedMethod method ) { assert method != null ; directMethods.add ( method ) ; }
Source:
public final boolean isProfileOwnerAction ( java.lang.String action ) { return ( action.equals ( android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE ) ) || ( action.equals ( android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_USER ) ) ; }

Target:
public final boolean isProfileOwnerAction ( java.lang.String action ) { return ( android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE.equals ( action ) ) || ( android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_USER.equals ( action ) ) ; }
Source:
public boolean setWfdDeviceInfo ( java.lang.String hex ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.setWfdDeviceInfo ( hex ) ; } else { return doBooleanCommand ( ( "WFD_SUBELEM_SET 0 " + hex ) ) ; } }

Target:
public boolean setWfdDeviceInfo ( java.lang.String hex ) { return mSupplicantP2pIfaceHal.setWfdDeviceInfo ( hex ) ; }
Source:
public void run ( ) { getActivity ( ) . setVisible ( false ) ; }

Target:
public void run ( ) { getActivity ( ) . setVisible ( true ) ; }
Source:
protected void onDetachedFromWindow ( ) { removeAllCallbacks ( ) ; }

Target:
protected void onDetachedFromWindow ( ) { super . onDetachedFromWindow ( ) ; removeAllCallbacks ( ) ; }
Source:
public java.util.List < com.android.tools.lint.client.api.JavaParser.ResolvedAnnotation > getAnnotations ( @ com.android.annotations.NonNull com.android.tools.lint.client.api.JavaParser.ResolvedClass cls ) { com.android.tools.lint.ExternalAnnotationRepository.ClassInfo c = findClass ( cls ) ; if ( c == null ) { return null ; } return c.annotations ; }

Target:
public java.util.List < com.android.tools.lint.client.api.JavaParser.ResolvedAnnotation > getAnnotations ( @ com.android.annotations.NonNull com.android.tools.lint.client.api.JavaParser.ResolvedClass cls ) { com.android.tools.lint.ExternalAnnotationRepository.ClassInfo c = findClass ( cls ) ; if ( c == null ) { return null ; } return c.getAnnotations ( ) ; }
Source:
void putShortUnchecked ( int index , short value ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
abstract void putShortUnchecked ( int index , short value ) ;
Source:
protected void preCreateContent ( ) { mUpdaterData.setWindowShell ( mShell ) ; mTaskFactory = new com.android.sdkuilib.internal.tasks.ProgressTaskFactory ( mShell ) ; mUpdaterData.setTaskFactory ( mTaskFactory ) ; mUpdaterData.setImageFactory ( new com.android.sdkuilib.internal.repository.icons.ImageFactory ( mShell.getDisplay ( ) ) ) ; }

Target:
private void preCreateContent ( ) { mUpdaterData.setWindowShell ( mShell ) ; mTaskFactory = new com.android.sdkuilib.internal.tasks.ProgressTaskFactory ( mShell ) ; mUpdaterData.setTaskFactory ( mTaskFactory ) ; mUpdaterData.setImageFactory ( new com.android.sdkuilib.internal.repository.icons.ImageFactory ( mShell.getDisplay ( ) ) ) ; }
Source:
public void run ( ) { mNM.notify ( 1 , notificationWithNumbers ( 1 ) ) ; mNM.notify ( 2 , notificationWithNumbers ( 2 ) ) ; mNM.cancel ( 2 ) ; }

Target:
public void run ( ) { mNM.notify ( 1 , notificationWithNumbers ( 1 ) ) ; mNM.notify ( 2 , notificationWithNumbers ( 2 ) ) ; }
Source:
private void callSetupUI ( ) { if ( ! ( mySetupCalled ) ) { mv.visitVarInsn ( Opcodes.ALOAD , 0 ) ; mv.visitMethodInsn ( Opcodes.INVOKESPECIAL , myClassName , com.intellij.uiDesigner.compiler.AsmCodeGenerator.SETUP_METHOD_NAME , "()V" ) ; mySetupCalled = true ; } }

Target:
private void callSetupUI ( ) { if ( ! ( mySetupCalled ) ) { mv.visitVarInsn ( Opcodes.ALOAD , 0 ) ; mv.visitMethodInsn ( Opcodes.INVOKESPECIAL , myClassName , com.intellij.uiDesigner.compiler.AsmCodeGenerator.SETUP_METHOD_NAME , "()V" , false ) ; mySetupCalled = true ; } }
Source:
com.android.build.gradle.internal.Map < java.lang.String , com.android.build.gradle.internal.ProductFlavorData < com.android.build.gradle.internal.dsl.GroupableProductFlavorDsl > > getProductFlavors ( ) { return productFlavors ; }

Target:
public java.util.Map < java.lang.String , com.android.build.gradle.internal.ProductFlavorData < com.android.build.gradle.internal.dsl.GroupableProductFlavorDsl > > getProductFlavors ( ) { return productFlavors ; }
Source:
public android.net.wifi.IApInterface setupDriverForSoftApMode ( android.net.wifi.IWificond wificond ) { android.net.wifi.IApInterface apInterface = mWificondControl.setupDriverForSoftApMode ( wificond ) ; if ( ! ( startHal ( ) ) ) { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "Failed to start HAL for AP mode" ) ; } return apInterface ; }

Target:
public android.net.wifi.IApInterface setupDriverForSoftApMode ( ) { android.net.wifi.IApInterface apInterface = mWificondControl.setupDriverForSoftApMode ( ) ; if ( ! ( startHal ( false ) ) ) { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "Failed to start HAL for AP mode" ) ; } return apInterface ; }
Source:
native void rsnAllocationData1D ( int con , int id , int off , int mip , int count , short [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData1D ( long con , long id , int off , int mip , int count , short [ ] d , int sizeBytes ) ;
Source:
public void printf ( java.lang.String msgFormat , java.lang.Object ... args ) { com.android.ide.eclipse.adt.AdtPlugin.printToConsole ( getProject ( ) , java.lang.String.format ( msgFormat , args ) ) ; }

Target:
public void info ( java.lang.String msgFormat , java.lang.Object ... args ) { com.android.ide.eclipse.adt.AdtPlugin.printToConsole ( getProject ( ) , java.lang.String.format ( msgFormat , args ) ) ; }
Source:
public java.net.URL getUrl ( java.lang.String path ) throws java.net.MalformedURLException , java.net.UnknownHostException { return ( sslSocketFactory ) != null ? new java.net.URL ( ( ( ( ( "https://" + ( getHostName ( ) ) ) + ":" ) + ( getPort ( ) ) ) + path ) ) : new java.net.URL ( ( ( ( ( "http://" + ( getHostName ( ) ) ) + ":" ) + ( getPort ( ) ) ) + path ) ) ; }

Target:
public java.net.URL getUrl ( java.lang.String path ) { try { return ( sslSocketFactory ) != null ? new java.net.URL ( ( ( ( ( "https://" + ( getHostName ( ) ) ) + ":" ) + ( getPort ( ) ) ) + path ) ) : new java.net.URL ( ( ( ( ( "http://" + ( getHostName ( ) ) ) + ":" ) + ( getPort ( ) ) ) + path ) ) ; } catch ( java.net.MalformedURLException e ) { throw new java.lang.AssertionError ( e ) ; } }
Source:
public static void validate ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlockElement element ) { new com.android.jack.ir.ast.cfg.CfgExpressionValidator ( ) . accept ( element ) ; }

Target:
public static void validate ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlockElement element ) { new com.android.jack.ir.ast.cfg.CfgExpressionValidator ( element ) . accept ( element ) ; }
Source:
public void removeFrameSlot ( java.lang.String name ) { assertNotRunning ( ) ; androidx.media.filterfw.FrameManager.FrameSlot slot = getSlot ( name ) ; slot.releaseFrame ( ) ; mFrameSlots.remove ( slot ) ; }

Target:
public void removeFrameSlot ( java.lang.String name ) { assertNotRunning ( ) ; androidx.media.filterfw.FrameManager.FrameSlot slot = getSlot ( name ) ; slot.releaseFrame ( ) ; mFrameSlots.remove ( name ) ; }
Source:
public static void computeLog10 ( android.renderscript.cts.TestLog10.ArgumentsFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 3 , 16 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.log10 ( args.in , t ) ; }

Target:
public static void computeLog10 ( android.renderscript.cts.TestLog10.ArgumentsFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 3 , 16 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.log10 ( args.inV , t ) ; }
Source:
private static native long nativeInit ( com.android.terminal.TerminalCallbacks callbacks , int rows , int cols ) ;

Target:
private static native long nativeInit ( com.android.terminal.TerminalCallbacks callbacks ) ;
Source:
public java.lang.String insnArgString ( com.android.dx.dex.code.DalvInsn insn ) { com.android.dx.rop.code.RegisterSpecList regs = insn.getRegisters ( ) ; return ( ( regs.get ( 0 ) . regString ( ) ) + ", " ) + ( cstString ( insn ) ) ; }

Target:
public java.lang.String insnArgString ( com.android.dx.dex.code.DalvInsn insn ) { com.android.dx.rop.code.RegisterSpecList regs = insn.getRegisters ( ) ; return ( ( regs.get ( 0 ) . regString ( ) ) + ", " ) + ( insn.cstString ( ) ) ; }
Source:
protected void attachBaseContext ( android.content.Context base ) { super . attachBaseContext ( base ) ; assert ( getBaseContext ( ) ) != null ; checkAppBeingReplaced ( ) ; org.chromium.base.multidex.ChromiumMultiDexInstaller.install ( this ) ; }

Target:
protected void attachBaseContext ( android.content.Context base ) { super . attachBaseContext ( base ) ; org.chromium.base.multidex.ChromiumMultiDexInstaller.install ( this ) ; }
Source:
public void sendMessage ( int peerId , @ android.annotation.Nullable byte [ ] message , int messageId ) { sendMessage ( peerId , message , messageId , 0 ) ; }

Target:
public void sendMessage ( int peerId , int messageId , @ android.annotation.Nullable byte [ ] message ) { sendMessage ( peerId , messageId , message , 0 ) ; }
Source:
public int compare ( java.lang.Comparable left , java.lang.Comparable right ) { com.google.common.base.Preconditions.checkNotNull ( left ) ; com.google.common.base.Preconditions.checkNotNull ( right ) ; if ( left == right ) { return 0 ; } return left.compareTo ( right ) ; }

Target:
public int compare ( java.lang.Comparable left , java.lang.Comparable right ) { com.google.common.base.Preconditions.checkNotNull ( left ) ; com.google.common.base.Preconditions.checkNotNull ( right ) ; return left.compareTo ( right ) ; }
Source:
public static float FloatDivision ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 8.0F ) ; b = Main.$inline$float ( 2.5F ) ; c = a / b ; return c ; }

Target:
public static float FloatDivision ( ) { float a ; float b ; float c ; a = 8.0F ; b = 2.5F ; c = a / b ; return c ; }
Source:
private static native int previousImpl ( int address ) ;

Target:
private static native int previousImpl ( int address , java.lang.String text ) ;
Source:
public boolean sameItemAs ( java.lang.Package pkg ) { return pkg instanceof com.android.sdklib.internal.repository.packages.ToolPackage ; }

Target:
public boolean sameItemAs ( java.lang.Package pkg ) { return sameItemAs ( pkg , false ) ; }
Source:
public UResource.TableSink getOrCreateTableSink ( com.ibm.icu.impl.UResource.Key key , int initialSize ) { int setNum = com.ibm.icu.impl.DayPeriodRules.parseSetNum ( key.toString ( ) ) ; if ( setNum > ( data.maxRuleSetNum ) ) { data.maxRuleSetNum = setNum ; } return null ; }

Target:
public UResource.TableSink getOrCreateTableSink ( com.ibm.icu.impl.UResource.Key key ) { int setNum = com.ibm.icu.impl.DayPeriodRules.parseSetNum ( key.toString ( ) ) ; if ( setNum > ( data.maxRuleSetNum ) ) { data.maxRuleSetNum = setNum ; } return null ; }
Source:
public static void noteStackedIface ( java.lang.String stackedIface , java.lang.String baseIface ) { synchronized ( com.android.internal.net.NetworkStatsFactory.sStackedIfaces ) { if ( baseIface != null ) { com.android.internal.net.NetworkStatsFactory.sStackedIfaces.put ( stackedIface , baseIface ) ; } else { com.android.internal.net.NetworkStatsFactory.sStackedIfaces.remove ( stackedIface ) ; } } }

Target:
public static void noteStackedIface ( java.lang.String stackedIface , java.lang.String baseIface ) { if ( ( stackedIface != null ) && ( baseIface != null ) ) { com.android.internal.net.NetworkStatsFactory.sStackedIfaces.put ( stackedIface , baseIface ) ; } }
Source:
public void sendRemoveCall ( java.lang.String id ) throws java.lang.Exception { for ( com.android.internal.telecom.IConnectionServiceAdapter a : mConnectionServiceAdapters ) { a.removeCall ( id ) ; } }

Target:
public void sendRemoveCall ( java.lang.String id ) throws java.lang.Exception { for ( com.android.internal.telecom.IConnectionServiceAdapter a : mConnectionServiceAdapters ) { a.removeCall ( id , null ) ; } }
Source:
private void setUpResources ( android.content.Context ctx ) { org.chromium.android_webview.AwResource.setResources ( com.android.webview.chromium.WebViewChromiumFactoryProvider.getWebViewPackageResources ( ctx ) ) ; org.chromium.android_webview.AwResource.setErrorPageResources ( R.raw.webviewchromium_loaderror , R.raw.webviewchromium_nodomain ) ; org.chromium.android_webview.AwResource.setDefaultTextEncoding ( R.string.webviewchromium_default_text_encoding ) ; org.chromium.android_webview.AwResource.setConfigKeySystemUuidMapping ( R.array.config_keySystemUuidMapping ) ; }

Target:
private void setUpResources ( android.content.Context ctx ) { org.chromium.android_webview.AwResource.setResources ( com.android.webview.chromium.WebViewChromiumFactoryProvider.getWebViewPackageResources ( ctx ) ) ; org.chromium.android_webview.AwResource.setErrorPageResources ( R.raw.webviewchromium_loaderror , R.raw.webviewchromium_nodomain ) ; org.chromium.android_webview.AwResource.setConfigKeySystemUuidMapping ( R.array.config_keySystemUuidMapping ) ; }
Source:
private static com.android.build.VariantOutput getAbiOutput ( java.lang.String filter , int versionCode ) { return new com.android.ide.common.build.SplitOutputMatcherTest.FakeVariantOutput ( new com.android.ide.common.build.SplitOutputMatcherTest.FakeSplitOutput ( null , filter , versionCode ) ) ; }

Target:
private static com.android.build.VariantOutput getAbiOutput ( java.lang.String filter , int versionCode ) { return new com.android.ide.common.build.SplitOutputMatcherTest.FakeVariantOutput ( new com.android.ide.common.build.SplitOutputMatcherTest.FakeSplitOutput ( null , filter ) , versionCode ) ; }
Source:
protected void onResume ( ) { super . onResume ( ) ; if ( mCurrentTest.autoStart ( ) ) { mCurrentTest.status = com.android.cts.verifier.notifications.InteractiveVerifierActivity.READY ; } next ( ) ; }

Target:
protected void onResume ( ) { super . onResume ( ) ; if ( ( ( mCurrentTest ) != null ) && ( mCurrentTest.autoStart ( ) ) ) { mCurrentTest.status = com.android.cts.verifier.notifications.InteractiveVerifierActivity.READY ; } next ( ) ; }
Source:
public void testRemove1_NullPointerException ( ) { try { java.util.concurrent.ConcurrentSkipListMap c = new java.util.concurrent.ConcurrentSkipListMap ( ) ; c.put ( "sadsdf" , "asdads" ) ; c.remove ( null ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testRemove1_NullPointerException ( ) { java.util.concurrent.ConcurrentSkipListMap c = new java.util.concurrent.ConcurrentSkipListMap ( ) ; c.put ( "sadsdf" , "asdads" ) ; try { c.remove ( null ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }
Source:
public synchronized boolean isAlive ( ) { return ( ( isAvailable ( ) ) && ( mCreated ) ) && ( mStarted ) ; }

Target:
public boolean isAlive ( ) { return ( ( isAvailable ( ) ) && ( mCreated ) ) && ( mStarted ) ; }
Source:
public static java.lang.String getDefaultBootclasspathString ( ) { return ( ( com.android.jack.TestTools.getFromAndroidTree ( "toolchain/jack/jack/libs/core-stubs-mini.jar" ) . getAbsolutePath ( ) ) + ( java.io.File.pathSeparator ) ) + ( com.android.jack.TestTools.getFromAndroidTree ( "out/host/common/obj/JAVA_LIBRARIES/junit4-hostdex-jack_intermediates/classes.jar" ) . getAbsolutePath ( ) ) ; }

Target:
public static java.lang.String getDefaultBootclasspathString ( ) { return com.android.jack.TestTools.getFromAndroidTree ( "toolchain/jack/jack/libs/core-stubs-mini.jar" ) . getAbsolutePath ( ) ; }
Source:
static final boolean isFieldSet ( int fieldMask , int field ) { return ( fieldMask & ( 1 << field ) ) != 0 ; }

Target:
static boolean isFieldSet ( int fieldMask , int field ) { return ( fieldMask & ( 1 << field ) ) != 0 ; }
Source:
public static double $noinline$DivMP25 ( double arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg / ( - 0.25F ) ; }

Target:
public static float $noinline$DivMP25 ( float arg ) { return arg / ( - 0.25F ) ; }
Source:
public void expectMessage ( org.hamcrest.Matcher < java.lang.String > matcher ) { expect ( org.junit.internal.matchers.ThrowableMessageMatcher.hasMessage ( matcher ) ) ; }

Target:
public void expectMessage ( org.hamcrest.Matcher < java.lang.String > matcher ) { expect ( hasMessage ( matcher ) ) ; }
Source:
protected boolean updateActions ( ) { return false ; }

Target:
protected void updateActions ( ) { }
Source:
protected boolean cleanup ( ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.cleanup ( ) ; com.android.bluetooth.hfpclient.HeadsetClientService.clearHeadsetClientService ( ) ; return true ; }

Target:
protected void cleanup ( ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.cleanup ( ) ; com.android.bluetooth.hfpclient.HeadsetClientService.clearHeadsetClientService ( ) ; }
Source:
synchronized boolean unplug ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) android.util.Log.v ( com.android.bluetooth.hid.HidDevService.TAG , ( "unplug(): device=" + device ) ) ; if ( ! ( checkDevice ( device ) ) ) { return false ; } return unplugNative ( ) ; }

Target:
synchronized boolean unplug ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDevService.TAG , ( "unplug(): device=" + device ) ) ; } if ( ! ( checkDevice ( device ) ) ) { return false ; } return unplugNative ( ) ; }
Source:
public static void setUp ( android.telecom.PhoneAccountHandle phoneAccountHandle , android.telecom.ConnectionService connectionService ) throws java.lang.Exception { synchronized ( android.telecom.cts.CtsConnectionService.sLock ) { if ( ( android.telecom.cts.CtsConnectionService.sConnectionService ) != null ) { throw new java.lang.Exception ( "Mock ConnectionService exists. Failed to call tearDown()." ) ; } android.telecom.cts.CtsConnectionService.sConnectionService = connectionService ; } }

Target:
public static void setUp ( android.telecom.ConnectionService connectionService ) throws java.lang.Exception { synchronized ( android.telecom.cts.CtsConnectionService.sLock ) { if ( ( android.telecom.cts.CtsConnectionService.sConnectionService ) != null ) { throw new java.lang.Exception ( "Mock ConnectionService exists. Failed to call tearDown()." ) ; } android.telecom.cts.CtsConnectionService.sConnectionService = connectionService ; } }
Source:
public void addrPlayerChangedRsp ( byte [ ] address , int type , int playerId , int uidCounter ) ;

Target:
public void addrPlayerChangedRsp ( int type , int playerId , int uidCounter ) ;
Source:
public static java.nio.file.attribute.FileTime fromMillis ( long value ) { return new java.nio.file.attribute.FileTime ( value , java.util.concurrent.TimeUnit.MILLISECONDS ) ; }

Target:
public static java.nio.file.attribute.FileTime fromMillis ( long value ) { return new java.nio.file.attribute.FileTime ( value , java.util.concurrent.TimeUnit.MILLISECONDS , null ) ; }
Source:
synchronized void nScriptSetVarVE ( int id , int slot , byte [ ] val , int e , int [ ] dims ) { validate ( ) ; rsnScriptSetVarVE ( mContext , id , slot , val , e , dims ) ; }

Target:
synchronized void nScriptSetVarVE ( long id , int slot , byte [ ] val , long e , int [ ] dims ) { validate ( ) ; rsnScriptSetVarVE ( mContext , id , slot , val , e , dims ) ; }
Source:
private static void assertArrayEquals ( byte [ ] expected , byte [ ] actual ) { libcore.io.Base64Test.assertSubArrayEquals ( expected , expected.length , actual ) ; }

Target:
private static void assertArrayEquals ( int [ ] expected , int [ ] actual ) { libcore.io.Base64Test.assertSubArrayEquals ( expected , expected.length , actual ) ; }
Source:
private static < T > void assertEmpty ( T [ ] ts ) { int length = ts.length ; assertEquals ( ( "expected empty array, but length was " + length ) , 0 , length ) ; }

Target:
private static < T > void assertEmpty ( T [ ] ts ) { int length = ts.length ; org.junit.Assert.assertEquals ( ( "expected empty array, but length was " + length ) , 0 , length ) ; }
Source:
public static com.android.cts.verifier.TestListAdapter.TestListItem newCategory ( java.lang.String title ) { return new com.android.cts.verifier.TestListAdapter.TestListItem ( title , null , null ) ; }

Target:
public static com.android.cts.verifier.TestListAdapter.TestListItem newCategory ( java.lang.String title ) { return new com.android.cts.verifier.TestListAdapter.TestListItem ( title , null , null , null , null , null ) ; }
Source:
public void run ( ) { if ( ( nativePtr ) != 0 ) { libcore.util.NativeAllocationRegistry.applyFreeFunction ( freeFunction , nativePtr ) ; } libcore.util.NativeAllocationRegistry.registerNativeFree ( size ) ; }

Target:
public void run ( ) { if ( ( nativePtr ) != 0 ) { libcore.util.NativeAllocationRegistry.applyFreeFunction ( freeFunction , nativePtr ) ; libcore.util.NativeAllocationRegistry.registerNativeFree ( size ) ; } }
Source:
public static final < T extends com.android.jack.test.toolchain.IToolchain > T getReferenceToolchain ( ) { return ( ( T ) ( com.android.jack.test.toolchain.AbstractTestTools.createToolchain ( "reference.toolchain" ) ) ) ; }

Target:
public static final com.android.jack.test.toolchain.IToolchain getReferenceToolchain ( ) { return com.android.jack.test.toolchain.AbstractTestTools.createToolchain ( "reference.toolchain" ) ; }
Source:
public java.util.List < android.bluetooth.BluetoothDevice > bluetoothHfpClientGetConnectedDevices ( ) { return com.googlecode.android_scripting.facade.bluetooth.BluetoothHfpClientFacade.sHfpClientProfile.getConnectedDevices ( ) ; }

Target:
public java.util.List < android.bluetooth.BluetoothDevice > bluetoothHfpClientGetConnectedDevices ( ) { if ( ( com.googlecode.android_scripting.facade.bluetooth.BluetoothHfpClientFacade.sHfpClientProfile ) == null ) return new java.util.ArrayList < android.bluetooth.BluetoothDevice > ( ) ; return com.googlecode.android_scripting.facade.bluetooth.BluetoothHfpClientFacade.sHfpClientProfile.getConnectedDevices ( ) ; }
Source:
public void test_getInstance_provider1 ( ) throws java.lang.Exception { test_getInstance ( java.security.Security.getProviders ( ) [ 1 ] ) ; }

Target:
public void test_getInstance_provider1 ( ) throws java.lang.Exception { test_getInstance ( 1 ) ; }
Source:
public void comment ( java.lang.String comment ) throws java.io.IOException { check ( false ) ; writer.write ( "<!--" ) ; writer.write ( comment ) ; writer.write ( "-->" ) ; }

Target:
public void comment ( java.lang.String comment ) throws java.io.IOException { check ( false ) ; append ( "<!--" ) ; append ( comment ) ; append ( "-->" ) ; }
Source:
public void warning ( java.lang.String message ) { log.warning ( null , message ) ; }

Target:
public void warning ( java.lang.String message ) { log.warning ( null , message , null ) ; }
Source:
public boolean isDataEnabled ( boolean checkUserDataEnabled ) { return mDataEnabledSettings.isDataEnabled ( checkUserDataEnabled ) ; }

Target:
public boolean isDataEnabled ( ) { return mDataEnabledSettings.isDataEnabled ( ) ; }
Source:
public org.eclipse.draw2d.geometry.Rectangle getBounds ( ) { return mConfigComposite.getScreenBounds ( ) ; }

Target:
public org.eclipse.draw2d.geometry.Rectangle getScreenBounds ( ) { return mConfigComposite.getScreenBounds ( ) ; }
Source:
public static float returnFloat ( float [ ] a ) { return a [ 0 ] ; }

Target:
public static float returnFloat ( float [ ] a ) { return ( a [ 0 ] ) + ( a [ 1 ] ) ; }
Source:
public void setObfuscationTask ( com.android.build.gradle.internal.scope.AndroidTask < ? extends org.gradle.api.Task > obfuscationTask ) { this . obfuscationTask = obfuscationTask ; }

Target:
void setObfuscationTask ( com.android.build.gradle.internal.scope.AndroidTask < ? extends org.gradle.api.Task > obfuscationTask ) ;
Source:
private ApkVerifier.Result verifyForMinSdkVersion ( java.lang.String apkFilenameInResources , int minSdkVersion ) throws com.android.apksig.apk.ApkFormatException , java.io.IOException , java.security.NoSuchAlgorithmException { return verify ( apkFilenameInResources , minSdkVersion ) ; }

Target:
private ApkVerifier.Result verify ( java.lang.String apkFilenameInResources ) throws com.android.apksig.apk.ApkFormatException , java.io.IOException , java.security.NoSuchAlgorithmException { return verify ( apkFilenameInResources , null , null ) ; }
Source:
private static long computeClassID ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws java.security.NoSuchAlgorithmException { byte [ ] digest = com.android.jack.coverage.CodeCoverageSelector.computeClassDigest ( type ) ; java.math.BigInteger bigInteger = new java.math.BigInteger ( digest ) ; return bigInteger.longValue ( ) ; }

Target:
public static long computeClassID ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws java.security.NoSuchAlgorithmException { byte [ ] digest = com.android.jack.coverage.CodeCoverageSelector.computeClassDigest ( type ) ; java.math.BigInteger bigInteger = new java.math.BigInteger ( digest ) ; return bigInteger.longValue ( ) ; }
Source:
public java.util.Iterator getEncodings ( ) { return org.apache.harmony.security.provider.cert.X509CertPathImpl.encodings.iterator ( ) ; }

Target:
public java.util.Iterator < java.lang.String > getEncodings ( ) { return org.apache.harmony.security.provider.cert.X509CertPathImpl.encodings.iterator ( ) ; }