auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void onIsConferencedChanged ( com.android.server.telecom.Call call ) { com.android.server.telecom.Call parentCall = call.getParentCall ( ) ; if ( parentCall == null ) { com.android.server.telecom.Log.i ( LOG_TAG , ( ( ( "Call TC@" + ( call.getId ( ) ) ) + " left conference and will" ) + " now be tracked by CallAudioManager." ) ) ; onCallAdded ( call ) ; } else { if ( ( mCallStateToCalls.get ( call.getState ( ) ) ) != null ) { mCallStateToCalls.get ( call.getState ( ) ) . remove ( call ) ; } updateForegroundCall ( ) ; mCalls.remove ( call ) ; } }

Target:
public void onIsConferencedChanged ( com.android.server.telecom.Call call ) { com.android.server.telecom.Call parentCall = call.getParentCall ( ) ; if ( parentCall == null ) { android.telecom.Log.i ( LOG_TAG , ( ( ( "Call TC@" + ( call.getId ( ) ) ) + " left conference and will" ) + " now be tracked by CallAudioManager." ) ) ; onCallAdded ( call ) ; } else { if ( ( mCallStateToCalls.get ( call.getState ( ) ) ) != null ) { mCallStateToCalls.get ( call.getState ( ) ) . remove ( call ) ; } updateForegroundCall ( ) ; mCalls.remove ( call ) ; } }
Source:
static double $opt$ByteToDouble ( byte a ) { return ( ( double ) ( a ) ) ; }

Target:
static double $opt$ByteToDouble ( byte a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( double ) ( a ) ) ; }
Source:
public static native double exp ( double a ) ;

Target:
public static native double ceil ( double a ) ;
Source:
public int getDensity ( ) { java.lang.String densityValue = getProperty ( IDevice.PROP_DEVICE_DENSITY ) ; if ( densityValue != null ) { return java.lang.Integer.parseInt ( densityValue ) ; } return 0 ; }

Target:
public int getDensity ( ) { java.lang.String densityValue = getProperty ( IDevice.PROP_DEVICE_DENSITY ) ; if ( densityValue != null ) { try { return java.lang.Integer.parseInt ( densityValue ) ; } catch ( java.lang.NumberFormatException e ) { return - 1 ; } } return - 1 ; }
Source:
void stop ( ) { if ( com.android.bluetooth.mapclient.MnsService.VDBG ) android.util.Log.v ( com.android.bluetooth.mapclient.MnsService.TAG , "stop()" ) ; mShutdown = true ; if ( ( com.android.bluetooth.mapclient.MnsService.mServerSockets ) != null ) { com.android.bluetooth.mapclient.MnsService.mServerSockets.shutdown ( false ) ; com.android.bluetooth.mapclient.MnsService.mServerSockets = null ; } }

Target:
void stop ( ) { if ( com.android.bluetooth.mapclient.MnsService.VDBG ) android.util.Log.v ( com.android.bluetooth.mapclient.MnsService.TAG , "stop()" ) ; mShutdown = true ; cleanUpSdpRecord ( ) ; if ( ( com.android.bluetooth.mapclient.MnsService.sServerSockets ) != null ) { com.android.bluetooth.mapclient.MnsService.sServerSockets.shutdown ( false ) ; com.android.bluetooth.mapclient.MnsService.sServerSockets = null ; } }
Source:
private void resetDialogState ( ) { mError = null ; mDialogState = com.android.settings.SimLockSettings.SIM_OLD_MODE ; mPin = "" ; setDialogValues ( ) ; }

Target:
private void resetDialogState ( ) { mError = null ; mDialogState = com.android.settings.IccLockSettings.ICC_OLD_MODE ; mPin = "" ; setDialogValues ( ) ; }
Source:
public static void testStaticMethod ( ) { class Inner { final java.lang.String x ; public Inner ( java.lang.String x ) { this . x = x ; } } new Inner ( "test" ) ; }

Target:
public static void testStaticMethod ( ) { class Inner { final java.lang.String x ; public Inner ( java.lang.String x ) { this . x = x ; } } new Inner ( "test" ) ; new TestInnerLocal.Inner1Static ( "test" ) ; new TestInnerLocal.Inner1Static.Inner2Static ( "test" ) ; }
Source:
public void setClassIndex ( int index ) { if ( index < 0 ) { throw new java.lang.IllegalArgumentException ( "index < 0" ) ; } if ( ( this . classIndex ) >= 0 ) { throw new java.lang.RuntimeException ( "class index already set" ) ; } this . classIndex = index ; }

Target:
public void setClassIndex ( int index ) { if ( index < 0 ) { throw new java.lang.IllegalArgumentException ( "index < 0" ) ; } if ( ( this . classIndex ) >= 0 ) { throw new java.lang.IllegalStateException ( "class index already set" ) ; } this . classIndex = index ; }
Source:
public boolean onPreferenceClick ( android.support.v7.preference.Preference preference ) { com.android.traceur.AtraceUtils.atraceDumpAndSendInBackground ( getContext ( ) , com.android.traceur.Receiver.getActiveTags ( getContext ( ) , mPrefs , true ) ) ; return true ; }

Target:
public boolean onPreferenceClick ( android.support.v7.preference.Preference preference ) { refreshTags ( true ) ; android.widget.Toast.makeText ( getContext ( ) , getContext ( ) . getString ( R.string.default_categories_restored ) , Toast.LENGTH_SHORT ) . show ( ) ; return true ; }
Source:
public java.lang.Boolean call ( ) { return requestChildRectangleOnScreen ( child , rect , immediate ) ; }

Target:
public void run ( ) { setBackgroundColor ( color ) ; }
Source:
public static java.lang.String getCompilerVersion ( ) { return com.android.jack.test.toolchain.JackApiToolchainBase.compilerVersion ; }

Target:
public java.lang.String getCompilerVersion ( ) { return compilerVersion ; }
Source:
public void loadData ( java.lang.String data , java.lang.String mimeType , java.lang.String encoding ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "loadData" ) ; mProvider.loadData ( data , mimeType , encoding ) ; }

Target:
public void loadData ( java.lang.String data , java.lang.String mimeType , java.lang.String encoding ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "loadData" ) ; mProvider.loadData ( data , mimeType , encoding ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearModulesDone ( ) { bitField0_ = ( bitField0_ ) & ( ~ 131072 ) ; modulesDone_ = 0 ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearTestType ( ) { bitField0_ = ( bitField0_ ) & ( ~ 32768 ) ; testType_ = 0 ; onChanged ( ) ; return this ; }
Source:
private void exceptionInConstructor ( ) { try { new libcore.java.lang.ref.FinalizeTest.ConstructionFails ( ) ; } catch ( java.lang.AssertionError expected ) { } }

Target:
private void exceptionInConstructor ( ) { boolean thrown = false ; try { new libcore.java.lang.ref.FinalizeTest.ConstructionFails ( ) ; } catch ( java.lang.AssertionError expected ) { thrown = true ; } if ( ! thrown ) { fail ( ) ; } }
Source:
public void parse ( java.lang.String numberToParse , java.lang.String defaultRegion , com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber ) throws com.google.i18n.phonenumbers.NumberParseException { parseHelper ( numberToParse , defaultRegion , false , true , phoneNumber ) ; }

Target:
public com.google.i18n.phonenumbers.Phonenumber.PhoneNumber parseAndKeepRawInput ( java.lang.CharSequence numberToParse , java.lang.String defaultRegion ) throws com.google.i18n.phonenumbers.NumberParseException { com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber = new com.google.i18n.phonenumbers.Phonenumber.PhoneNumber ( ) ; parseAndKeepRawInput ( numberToParse , defaultRegion , phoneNumber ) ; return phoneNumber ; }
Source:
private void setMap ( java.util.concurrent.ConcurrentNavigableMap < E , java.lang.Object > map ) { java.util.concurrent.ConcurrentSkipListSet.unsafe.putObjectVolatile ( this , java.util.concurrent.ConcurrentSkipListSet.mapOffset , map ) ; }

Target:
private void setMap ( java.util.concurrent.ConcurrentNavigableMap < E , java.lang.Object > map ) { java.util.concurrent.ConcurrentSkipListSet.UNSAFE.putObjectVolatile ( this , java.util.concurrent.ConcurrentSkipListSet.mapOffset , map ) ; }
Source:
public void checkValue ( @ javax.annotation.Nonnull com.android.sched.util.codec.CodecContext context , @ javax.annotation.Nonnull com.android.sched.util.file.InputStreamFile stream ) throws com.android.sched.util.codec.CheckingException { checkValue ( context , ( ( com.android.sched.util.file.AbstractStreamFile ) ( stream ) ) ) ; }

Target:
public void checkValue ( @ javax.annotation.Nonnull com.android.sched.util.codec.CodecContext context , @ javax.annotation.Nonnull com.android.sched.util.file.InputStreamFile stream ) throws com.android.sched.util.codec.CheckingException { if ( ( stream.isStandard ( ) ) && ( ! ( allowStandardIO ) ) ) { throw new com.android.sched.util.codec.CheckingException ( "Standard input is not allowed" ) ; } }
Source:
void addConfig ( java.lang.String name , com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration config ) { synchronized ( mConfigs ) { doAddConfig ( name , config ) ; seal ( ) ; } }

Target:
void addConfig ( java.lang.String name , com.android.ide.common.resources.configuration.FolderConfiguration config ) { synchronized ( mConfigs ) { doAddConfig ( name , config ) ; seal ( ) ; } }
Source:
protected boolean start ( ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , "start()" ) ; } initNative ( ) ; mNativeAvailable = true ; return true ; }

Target:
protected boolean start ( ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , "start()" ) ; } mHandler = new com.android.bluetooth.hid.HidDeviceService.HidDeviceServiceHandler ( ) ; com.android.bluetooth.hid.HidDeviceService.setHidDeviceService ( this ) ; mHidDeviceNativeInterface.init ( ) ; mNativeAvailable = true ; return true ; }
Source:
private void test_isValid ( ) throws java.io.IOException { assertTrue ( key.isValid ( ) ) ; client.close ( ) ; assertFalse ( key.isValid ( ) ) ; }

Target:
private void check_isValid ( ) throws java.io.IOException { assertTrue ( key.isValid ( ) ) ; client.close ( ) ; assertFalse ( key.isValid ( ) ) ; }
Source:
private native void set ( int fd , int type , long seconds , long nanoseconds ) ;

Target:
private native void set ( long nativeData , int type , long seconds , long nanoseconds ) ;
Source:
public void focusChanged ( ) { imageChanged ( ) ; }

Target:
public void run ( ) { synchronized ( this ) { loadImage ( ) ; crosshairLocation = model.getCrosshairLocation ( ) ; zoom = model.getZoom ( ) ; overlayImage = model.getOverlayImage ( ) ; } }
Source:
protected void releaseResources ( ) { android.util.Log.d ( com.android.server.IpSecService.TAG , ( "Closing port " + ( mPort ) ) ) ; closeQuietly ( mSocket ) ; mSocket = null ; }

Target:
protected void releaseResources ( ) { android.util.Log.d ( com.android.server.IpSecService.TAG , ( "Closing port " + ( mPort ) ) ) ; libcore.io.IoUtils.closeQuietly ( mSocket ) ; mSocket = null ; }
Source:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsShortShortShort args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( short ) ( java.lang.StrictMath.min ( args.inV1 , args.inV2 ) ) ) ; }

Target:
public static void computeMax ( android.renderscript.cts.TestMax.ArgumentsUcharUcharUchar args ) { args.out = android.renderscript.cts.CoreMathVerifier.maxU8 ( args.inV1 , args.inV2 ) ; }
Source:
public void onCreate ( com.android.ide.common.api.INode node , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onCreate ( node , parent , insertType ) ; if ( insertType == ( com.android.ide.common.api.InsertType.CREATE ) ) { node.setAttribute ( com.android.ide.common.layout.ANDROID_URI , com.android.ide.common.layout.ATTR_SRC , getSampleImageSrc ( ) ) ; } }

Target:
public void onCreate ( com.android.ide.common.api.INode node , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onCreate ( node , parent , insertType ) ; if ( insertType == ( com.android.ide.common.api.InsertType.CREATE ) ) { node.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_SRC , getSampleImageSrc ( ) ) ; } }
Source:
public static com.google.common.io.InputSupplier < java.io.InputStreamReader > newReaderSupplier ( java.io.File file , java.nio.charset.Charset charset ) { return com.google.common.io.CharStreams.newReaderSupplier ( com.google.common.io.Files.newInputStreamSupplier ( file ) , charset ) ; }

Target:
public static com.google.common.io.ByteSource asByteSource ( java.io.File file ) { return new com.google.common.io.Files.FileByteSource ( file ) ; }
Source:
public void test_parse_h_z_4DigitOffsetNoGMT ( ) throws java.lang.Exception { assertParse ( "h z" , "14 +0001 " , new java.util.Date ( 46800000 ) , 0 , 8 ) ; assertParse ( "h z" , "14 -0001 " , new java.util.Date ( 54000000 ) , 0 , 8 ) ; }

Target:
public void test_parse_h_z_4DigitOffsetNoGMT ( ) throws java.lang.Exception { assertParse ( "h z" , "14 +0100 " , new java.util.Date ( 46800000 ) , 0 , 8 ) ; assertParse ( "h z" , "14 -0100 " , new java.util.Date ( 54000000 ) , 0 , 8 ) ; }
Source:
public void setListener ( com.android.ims.internal.IImsCallSessionListener listener ) { }

Target:
public void sendRttModifyRequest ( android.telephony.ims.ImsCallProfile toProfile ) { }
Source:
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor ( ) { return com.android.uiautomator.actions.ImageHelper.loadImageDescriptorFromResource ( "images/screenshot.png" ) ; }

Target:
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor ( ) { if ( mCompressed ) return com.android.uiautomator.actions.ImageHelper.loadImageDescriptorFromResource ( "images/screenshotcompressed.png" ) ; else return com.android.uiautomator.actions.ImageHelper.loadImageDescriptorFromResource ( "images/screenshot.png" ) ; }
Source:
public int generate ( java.lang.String name ) throws android.os.RemoteException ;

Target:
public int insert ( java.lang.String name , byte [ ] item , int uid ) throws android.os.RemoteException ;
Source:
public com.google.gct.login.User getActiveUser ( ) { synchronized ( this ) { return activeUser ; } }

Target:
public com.google.gct.login.CredentialedUser getActiveUser ( ) { return activeUser ; }
Source:
public boolean isFakeValue ( ) { return ( this ) == ( com.android.sdklib.resources.DockMode.NONE ) ; }

Target:
public boolean isFakeValue ( ) { return ( this ) == ( com.android.resources.DockMode.NONE ) ; }
Source:
public boolean enableNetworkWithoutConnect ( int netId ) { if ( com.android.server.wifi.WifiNative.DBG ) logDbg ( ( "enableNetworkWithoutConnect nid=" + ( java.lang.Integer.toString ( netId ) ) ) ) ; return doBooleanCommand ( ( ( ( "ENABLE_NETWORK " + netId ) + " " ) + "no-connect" ) ) ; }

Target:
public void setSupplicantLogLevel ( boolean turnOnVerbose ) { doStringCommand ( ( "LOG_LEVEL " + ( turnOnVerbose ? "DEBUG" : "INFO" ) ) ) ; }
Source:
public void compare ( ) throws com.android.jack.comparator.DifferenceFoundException , com.android.jack.test.comparator.ComparatorException { try { com.android.jack.shrob.ListingComparator.compare ( reference , getListingOfDex ( candidate ) ) ; } catch ( java.io.IOException e ) { throw new com.android.jack.test.comparator.ComparatorException ( e ) ; } }

Target:
public void compare ( ) throws com.android.jack.comparator.DifferenceFoundException , com.android.jack.test.comparator.ComparatorException { try { com.android.jack.shrob.ListingComparator.compare ( reference , getListingOfDex ( candidate ) ) ; } catch ( java.io.IOException | com.android.sched.util.file.CannotCloseException | com.android.sched.util.file.CannotReadException e ) { throw new com.android.jack.test.comparator.ComparatorException ( e ) ; } }
Source:
public void getProfile ( java.lang.String callingPackage , java.lang.String iccid , com.android.internal.telephony.euicc.IGetProfileCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onException ( java.lang.Throwable e ) { try { callback.onComplete ( getResultCode ( e ) , null ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
native void rsnAllocationRead ( int con , int id , byte [ ] d ) ;

Target:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , float [ ] d , int sizeBytes ) ;
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { updateVisibleRange ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { selectContext ( ( ( mContextSwitchCombo.getSelectionIndex ( ) ) - 1 ) ) ; }
Source:
public void start ( ) { mLog.log ( android.net.ip.ConnectivityPacketTracker.MARK_START ) ; mPacketListener.start ( ) ; }

Target:
public void start ( ) { mRunning = true ; mPacketListener.start ( ) ; }
Source:
public int addPasspointManagementObject ( java.lang.String mo ) { try { return mService.addPasspointManagementObject ( mo ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public boolean removePasspointConfiguration ( java.lang.String fqdn ) { try { return mService.removePasspointConfiguration ( fqdn ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public boolean isConnected ( int callServiceType , int callType ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . isConnected ( mSlotId , mSupportedFeature , callServiceType , callType ) ; } }

Target:
public com.android.ims.internal.IImsMultiEndpoint getMultiEndpointInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getMultiEndpointInterface ( mSlotId , mSupportedFeature ) ; } }
Source:
public static native int getDexOptNeeded ( java.lang.String fileName , java.lang.String instructionSet , java.lang.String compilerFilter , boolean newProfile ) throws java.io.FileNotFoundException , java.io.IOException ;

Target:
public static native int getDexOptNeeded ( java.lang.String fileName , java.lang.String instructionSet , java.lang.String compilerFilter , boolean newProfile , boolean downgrade ) throws java.io.FileNotFoundException , java.io.IOException ;
Source:
public int length ( ) { return count ; }

Target:
public int length ( ) { return ( count ) & ( java.lang.Integer.MAX_VALUE ) ; }
Source:
public com.android.ide.eclipse.adt.internal.editors.uimodel.UiAttributeNode createUiNode ( com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode uiParent ) { return new com.android.ide.eclipse.adt.internal.editors.uimodel.UiResourceAttributeNode ( com.android.ide.eclipse.adt.internal.resources.ResourceType.STYLE , this , uiParent ) ; }

Target:
public com.android.ide.eclipse.adt.internal.editors.uimodel.UiAttributeNode createUiNode ( com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode uiParent ) { return new com.android.ide.eclipse.adt.internal.editors.uimodel.UiResourceAttributeNode ( com.android.resources.ResourceType.STYLE , this , uiParent ) ; }
Source:
public boolean isAnnotationPresent ( java.lang.Class < ? extends java.lang.annotation.Annotation > annotationType ) { if ( annotationType == null ) { throw new java.lang.NullPointerException ( "annotationType == null" ) ; } return libcore.reflect.AnnotationAccess.isDeclaredAnnotationPresent ( this , annotationType ) ; }

Target:
public < A extends java.lang.annotation.Annotation > A getAnnotation ( java.lang.Class < A > annotationType ) { if ( annotationType == null ) { throw new java.lang.NullPointerException ( "annotationType == null" ) ; } return getAnnotationNative ( annotationType ) ; }
Source:
public void onNothingSelected ( android.widget.AdapterView parent ) { }

Target:
com.android.rs.image2.TestBase changeTest ( int id , boolean setupUI ) { com.android.rs.image2.IPTestList.TestName t = IPTestList.TestName.values ( ) [ id ] ; return changeTest ( t , setupUI ) ; }
Source:
private native boolean bindResponseNative ( int ind_id , boolean ind_status , byte [ ] address ) ;

Target:
private native boolean bindResponseNative ( int indId , boolean indStatus , byte [ ] address ) ;
Source:
static int $opt$LongToInt ( long a ) { return ( ( int ) ( a ) ) ; }

Target:
static int $opt$LongToInt ( long a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( int ) ( a ) ) ; }
Source:
public void onComplete ( int resultCode ) { callback.onComplete ( resultCode , null ) ; }

Target:
public void onComplete ( int resultCode , android.telephony.euicc.EuiccNotification [ ] notifications ) { executor.execute ( ( ) -> callback.onComplete ( resultCode , notifications ) ) ; }
Source:
public void setUp ( com.android.tradefed.device.ITestDevice device , com.android.tradefed.build.IBuildInfo buildInfo ) throws com.android.tradefed.device.DeviceNotAvailableException , com.android.tradefed.targetprep.BuildError , com.android.tradefed.targetprep.TargetSetupError { pushFileGroups ( device , buildInfo ) ; super . setUp ( device , buildInfo ) ; }

Target:
public void setUp ( com.android.tradefed.device.ITestDevice device , com.android.tradefed.build.IBuildInfo buildInfo ) throws com.android.tradefed.device.DeviceNotAvailableException , com.android.tradefed.targetprep.BuildError , com.android.tradefed.targetprep.TargetSetupError { mInvocationHelper = new com.android.compatibility.common.tradefed.build.VtsCompatibilityInvocationHelper ( ) ; pushFileGroups ( device , buildInfo ) ; super . setUp ( device , buildInfo ) ; }
Source:
public java.util.Iterator < K > iterator ( ) { return com.google.common.collect.Maps.keyIterator ( multimap ( ) . entries ( ) . iterator ( ) ) ; }

Target:
public java.util.Iterator < K > iterator ( ) { return com.google.common.collect.Maps.keyIterator ( multimap.entries ( ) . iterator ( ) ) ; }
Source:
public android.os.Bundle confirmCredentials ( android.accounts.AccountAuthenticatorResponse r , android.accounts.Account account , android.os.Bundle bundle ) throws android.accounts.NetworkErrorException { android.util.Log.d ( com.android.bluetooth.pbapclient.Authenticator.TAG , "got call" , new java.lang.Exception ( ) ) ; return null ; }

Target:
public android.os.Bundle getAuthToken ( android.accounts.AccountAuthenticatorResponse r , android.accounts.Account account , java.lang.String s , android.os.Bundle bundle ) throws android.accounts.NetworkErrorException { if ( com.android.bluetooth.pbapclient.Authenticator.DBG ) android.util.Log.d ( com.android.bluetooth.pbapclient.Authenticator.TAG , "got call" , new java.lang.Exception ( ) ) ; throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public boolean visitMethodDeclaration ( lombok.ast.MethodDeclaration node ) { mFlagAllocations = isBlockedAllocationMethod ( node ) ; return super . visitMethodDeclaration ( node ) ; }

Target:
public boolean visitMethodDeclaration ( lombok.ast.MethodDeclaration node ) { mFlagAllocations = com.android.tools.lint.checks.JavaPerformanceDetector.PerformanceVisitor.isBlockedAllocationMethod ( node ) ; return super . visitMethodDeclaration ( node ) ; }
Source:
protected java.lang.ref.SoftReference < U > newReference ( @ javax.annotation.CheckForNull U referent ) { return new java.lang.ref.SoftReference < U > ( referent ) ; }

Target:
private T getLoadedProgram ( ) { return loadedProgram.get ( ) ; }
Source:
public void incrementalBuildFromFolder ( ) throws java.lang.Exception { incrementalBuildFromFolder ( null ) ; }

Target:
public void incrementalBuildFromFolder ( ) throws java.lang.Exception { incrementalBuildFromFolder ( null , java.util.Collections.< java.io.File > emptyList ( ) ) ; }
Source:
public void notifyCellInfo ( java.util.List < android.telephony.CellInfo > cellInfo ) { mNotifier.notifyCellInfo ( this , cellInfo ) ; }

Target:
public void notifyCellInfo ( java.util.List < android.telephony.CellInfo > cellInfo ) { mNotifier.notifyCellInfo ( this , privatizeCellInfoList ( cellInfo ) ) ; }
Source:
private static native boolean native_quickReject ( int nativeCanvas , int path ) ;

Target:
private static native boolean native_quickReject ( long nativeCanvas , long nativePath ) ;
Source:
static int nativeWidth ( long nativeBitmap ) { android.graphics.Bitmap_Delegate delegate = android.graphics.Bitmap_Delegate.sManager.getDelegate ( nativeBitmap ) ; if ( delegate == null ) { return 0 ; } return delegate.mImage.getWidth ( ) ; }

Target:
static void nativeReconfigure ( long nativeBitmap , int width , int height , int config , int allocSize ) { com.android.layoutlib.bridge.Bridge.getLog ( ) . error ( LayoutLog.TAG_UNSUPPORTED , "Bitmap.reconfigure() is not supported" , null ) ; }
Source:
public java.util.Set < java.io.File > getDirectories ( ) { return fileResolver.resolveFiles ( source.toArray ( ) ) . getFiles ( ) ; }

Target:
public java.util.Set < java.io.File > getSrcDirs ( ) { return fileResolver.resolveFiles ( source.toArray ( ) ) . getFiles ( ) ; }
Source:
public void testVFE10 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.aput_boolean.d.T_aput_boolean_8" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.aput_boolean.d.T_aput_boolean_1" , java.lang.ArrayIndexOutOfBoundsException.class , new boolean [ 2 ] , 2 , true ) ; }
Source:
private void assertCommonAttributes ( ) { assertEquals ( com.android.ddmlib.testrunner.InstrumentationResultParserTest.CLASS_NAME , mTestResult.mSuiteName ) ; assertEquals ( 1 , mTestResult.mTestCount ) ; assertEquals ( com.android.ddmlib.testrunner.InstrumentationResultParserTest.TEST_NAME , mTestResult.mTestName ) ; }

Target:
private void assertCommonAttributes ( ) { assertEquals ( com.android.ddmlib.testrunner.InstrumentationResultParserTest.RUN_NAME , mTestResult.mTestRunName ) ; assertEquals ( com.android.ddmlib.testrunner.InstrumentationResultParserTest.CLASS_NAME , mTestResult.mSuiteName ) ; assertEquals ( 1 , mTestResult.mTestCount ) ; assertEquals ( com.android.ddmlib.testrunner.InstrumentationResultParserTest.TEST_NAME , mTestResult.mTestName ) ; }
Source:
public static long longToIntToLong ( long value ) { return ( ( long ) ( ( int ) ( value ) ) ) ; }

Target:
public static double $noinline$longToIntToDouble ( long value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( double ) ( ( int ) ( value ) ) ) ; }
Source:
void onSelectNewUpdates ( boolean selectNew , boolean selectUpdates , boolean selectTop ) { mDiffLogic.checkNewUpdateItems ( selectNew , selectUpdates , selectTop , SdkConstants.CURRENT_PLATFORM ) ; }

Target:
void onSelectNewUpdates ( boolean selectNew , boolean selectUpdates , boolean selectTop ) { mDiffLogic.checkNewUpdateItems ( selectNew , selectUpdates , selectTop , SdkConstants.CURRENT_PLATFORM ) ; syncViewerSelection ( ) ; }
Source:
public void onShellCommand ( java.io.FileDescriptor in , java.io.FileDescriptor out , java.io.FileDescriptor err , java.lang.String [ ] args , android.os.ResultReceiver resultReceiver ) throws android.os.RemoteException { new com.android.server.pm.OtaDexoptShellCommand ( this ) . exec ( this , in , out , err , args , resultReceiver ) ; }

Target:
public void onShellCommand ( java.io.FileDescriptor in , java.io.FileDescriptor out , java.io.FileDescriptor err , java.lang.String [ ] args , android.os.ShellCallback callback , android.os.ResultReceiver resultReceiver ) { new com.android.server.pm.OtaDexoptShellCommand ( this ) . exec ( this , in , out , err , args , callback , resultReceiver ) ; }
Source:
public static java.lang.invoke.VarHandle arrayElementVarHandle ( java.lang.Class < ? > arrayClass ) throws java.lang.IllegalArgumentException { java.lang.invoke.MethodHandles.unsupported ( "MethodHandles.arrayElementVarHandle()" ) ; return null ; }

Target:
public static java.lang.invoke.VarHandle arrayElementVarHandle ( java.lang.Class < ? > arrayClass ) throws java.lang.IllegalArgumentException { java.lang.invoke.MethodHandles.checkClassIsArray ( arrayClass ) ; return java.lang.invoke.ArrayElementVarHandle.create ( arrayClass ) ; }
Source:
public java.util.Map.Entry < K , V > floorEntry ( K key ) { return getNearEntry ( key , ( ( m.LT ) | ( m.EQ ) ) ) ; }

Target:
public java.util.Map.Entry < K , V > floorEntry ( K key ) { return getNearEntry ( key , ( ( java.util.concurrent.ConcurrentSkipListMap.LT ) | ( java.util.concurrent.ConcurrentSkipListMap.EQ ) ) ) ; }
Source:
public void test41_001 ( ) throws java.lang.Exception { super . test41_001 ( ) ; }

Target:
public void test41_001 ( ) throws java.lang.Exception { checkToolchainIsNotJillBased ( ) ; super . test41_001 ( ) ; }
Source:
public void waitToFinishRendering ( ) throws java.lang.InterruptedException { if ( ! ( mFinishedRendering.await ( 30 , java.util.concurrent.TimeUnit.SECONDS ) ) ) { throw new java.lang.IllegalStateException ( "Coudn't finish drawing frames!" ) ; } }

Target:
public void waitToFinishRendering ( ) throws java.lang.InterruptedException { if ( ! ( android.graphics.cts.CameraGpuCtsActivity.nIsCameraReady ( mNativeRenderer ) ) ) { return ; } if ( ! ( mFinishedRendering.await ( 30 , java.util.concurrent.TimeUnit.SECONDS ) ) ) { throw new java.lang.IllegalStateException ( "Coudn't finish drawing frames!" ) ; } }
Source:
public static java.lang.String getCaptivePortalServerHttpUrl ( android.content.Context context ) { return com.android.server.connectivity.NetworkMonitor.getSetting ( context , Settings.Global.CAPTIVE_PORTAL_HTTP_URL , com.android.server.connectivity.NetworkMonitor.DEFAULT_HTTP_URL ) ; }

Target:
public static java.lang.String getCaptivePortalServerHttpUrl ( com.android.server.connectivity.NetworkMonitor.NetworkMonitorSettings settings , android.content.Context context ) { return settings.getSetting ( context , Settings.Global.CAPTIVE_PORTAL_HTTP_URL , com.android.server.connectivity.NetworkMonitor.DEFAULT_HTTP_URL ) ; }
Source:
public void setUntrustedConnectionAllowed ( boolean allowed ) { android.util.Log.i ( com.android.server.wifi.WifiConnectivityManager.TAG , ( "setUntrustedConnectionAllowed: allowed=" + allowed ) ) ; if ( ( mUntrustedConnectionAllowed ) != allowed ) { mUntrustedConnectionAllowed = allowed ; startConnectivityScan ( com.android.server.wifi.WifiConnectivityManager.SCAN_IMMEDIATELY ) ; } }

Target:
public void setUntrustedConnectionAllowed ( boolean allowed ) { localLog ( ( "setUntrustedConnectionAllowed: allowed=" + allowed ) ) ; if ( ( mUntrustedConnectionAllowed ) != allowed ) { mUntrustedConnectionAllowed = allowed ; startConnectivityScan ( com.android.server.wifi.WifiConnectivityManager.SCAN_IMMEDIATELY ) ; } }
Source:
protected void addRevocablePermissions ( @ com.android.annotations.NonNull java.util.Set < java.lang.String > result ) { if ( isRevocable ( ) ) { result.add ( name ) ; } }

Target:
protected void addRevocablePermissions ( @ com.android.annotations.NonNull java.util.Set < java.lang.String > result , @ com.android.annotations.NonNull com.android.tools.lint.checks.PermissionHolder revocable ) { if ( isRevocable ( revocable ) ) { result.add ( name ) ; } }
Source:
public void run ( ) { takeScreenshot ( ) ; }

Target:
public void onUEvent ( android.os.UEventObserver.UEvent event ) { setHdmiPlugged ( "1" . equals ( event.get ( "SWITCH_STATE" ) ) ) ; }
Source:
public void onInputBufferAvailable ( android.media.MediaCodec codec , int index ) { fail ( ( ( codec + " onInputBufferAvailable " ) + index ) ) ; }

Target:
public void onInputBufferAvailable ( android.media.MediaCodec codec , int index ) { assertTrue ( ( "video onInputBufferAvailable " + index ) , mMime.startsWith ( "audio/" ) ) ; synchronized ( mInputBufferIndices ) { mInputBufferIndices.add ( index ) ; } }
Source:
public void run ( ) { synchronized ( this ) { if ( isRunning ( ) ) { dalvik.system.VMRuntime.getRuntime ( ) . startHeapTaskProcessor ( ) ; } } dalvik.system.VMRuntime.getRuntime ( ) . runHeapTasks ( ) ; }

Target:
public void runInternal ( ) { synchronized ( this ) { if ( isRunning ( ) ) { dalvik.system.VMRuntime.getRuntime ( ) . startHeapTaskProcessor ( ) ; } } dalvik.system.VMRuntime.getRuntime ( ) . runHeapTasks ( ) ; }
Source:
public static com.google.common.primitives.UnsignedInteger asUnsigned ( int value ) { return new com.google.common.primitives.UnsignedInteger ( value ) ; }

Target:
public static com.google.common.primitives.UnsignedInteger fromIntBits ( int bits ) { return new com.google.common.primitives.UnsignedInteger ( bits ) ; }
Source:
private boolean queryCallsStart ( ) { if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , "queryCallsStart" ) ; } clearPendingAction ( ) ; queryCurrentCallsNative ( ) ; addQueuedAction ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.QUERY_CURRENT_CALLS , 0 ) ; return true ; }

Target:
private boolean queryCallsStart ( ) { if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , "queryCallsStart" ) ; } clearPendingAction ( ) ; queryCurrentCallsNative ( getByteAddress ( mCurrentDevice ) ) ; addQueuedAction ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.QUERY_CURRENT_CALLS , 0 ) ; return true ; }
Source:
public void testPackageOverride ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { java.lang.String xml = "" + ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"" ) + " package=\"com.foo.old\" >\n" ) + " <activity android:name=\"activityOne\"/>\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument refDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testPackageOverride#xml" ) , xml ) ; ManifestMerger2.SystemProperty.PACKAGE.addTo ( refDocument.getXml ( ) , "com.bar.new" ) ; assertEquals ( "com.bar.new" , refDocument.getRootNode ( ) . getXml ( ) . getAttribute ( "package" ) ) ; }

Target:
public void testPackageOverride ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { java.lang.String xml = "" + ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"" ) + " package=\"com.foo.old\" >\n" ) + " <activity android:name=\"activityOne\"/>\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument refDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testPackageOverride#xml" ) , xml ) ; ManifestMerger2.SystemProperty.PACKAGE.addTo ( mActionRecorder , refDocument , "com.bar.new" ) ; assertEquals ( "com.bar.new" , refDocument.getRootNode ( ) . getXml ( ) . getAttribute ( "package" ) ) ; }
Source:
public void addConfigurationChangeListener ( com.google.gct.testing.ConfigurationChangeListener listener ) { changeListeners.add ( listener ) ; }

Target:
public boolean removeConfigurationChangeListener ( com.google.gct.testing.ConfigurationChangeListener listener ) { return changeListeners.remove ( listener ) ; }
Source:
public boolean hasTestSuites ( ) { return ( getRoot ( ) . getChildren ( ) . size ( ) ) > 0 ; }

Target:
public boolean hasTestSuites ( ) { return ! ( getRoot ( ) . getChildren ( ) . isEmpty ( ) ) ; }
Source:
public synchronized void close ( ) throws com.android.sched.util.file.CannotCloseInputException { if ( ! ( closed ) ) { try { zipFile.close ( ) ; } catch ( java.io.IOException e ) { throw new com.android.sched.util.file.CannotCloseInputException ( this , e ) ; } closed = true ; } }

Target:
public synchronized void close ( ) throws com.android.sched.util.file.CannotCloseException { if ( ! ( closed ) ) { try { zipFile.close ( ) ; } catch ( java.io.IOException e ) { throw new com.android.sched.util.file.CannotCloseException ( this , e ) ; } closed = true ; } }
Source:
boolean onInitialize ( java.lang.String fqcn ) ;

Target:
boolean onInitialize ( java.lang.String fqcn , com.android.ide.common.api.IClientRulesEngine engine ) ;
Source:
static void addNewIncomingCall ( @ android.support.annotation.NonNull android.content.Context context ) { com.android.dialer.common.LogUtil.enterBlock ( "SimulatorVoiceCall.addNewIncomingCall" ) ; java.lang.String callerId = "+44 (0) 20 7031 3000" ; com.android.dialer.simulator.impl.SimulatorConnectionService.addNewIncomingCall ( context , new android.os.Bundle ( ) , callerId ) ; }

Target:
private void addNewIncomingCall ( boolean isSpam ) { java.lang.String callerId = ( isSpam ) ? "+1-661-778-3020" : "+44 (0) 20 7031 3000" ; connectionTag = com.android.dialer.simulator.impl.SimulatorSimCallManager.addNewIncomingCall ( context , callerId , false ) ; }
Source:
final boolean isPowered ( ) { return ( ( mAcOnline ) || ( mUsbOnline ) ) || ( ( mBatteryStatus ) == ( android.os.BatteryManager.BATTERY_STATUS_UNKNOWN ) ) ; }

Target:
final boolean isPowered ( ) { return ( ( mBatteryStatus ) == ( android.os.BatteryManager.BATTERY_STATUS_CHARGING ) ) || ( ( mBatteryStatus ) == ( android.os.BatteryManager.BATTERY_STATUS_UNKNOWN ) ) ; }
Source:
public boolean await ( ) throws java.lang.InterruptedException { return android.location.cts.TestUtils.waitFor ( mCountDownLatch ) ; }

Target:
public boolean await ( ) throws java.lang.InterruptedException { return android.location.cts.TestUtils.waitFor ( mCountDownLatch , android.location.cts.TestGnssStatusCallback.TIMEOUT_IN_SEC ) ; }
Source:
public void testIntended_NoIntents ( ) { intento.internalIntended ( android.support.test.espresso.intent.matcher.IntentMatchers.anyIntent ( ) , android.support.test.espresso.intent.Intents.times ( 0 ) , new java.util.ArrayList < android.support.test.espresso.intent.VerifiableIntent > ( ) ) ; }

Target:
public void intended_NoIntents ( ) { intento.internalIntended ( android.support.test.espresso.intent.matcher.IntentMatchers.anyIntent ( ) , android.support.test.espresso.intent.Intents.times ( 0 ) , new java.util.ArrayList < android.support.test.espresso.intent.VerifiableIntent > ( ) ) ; }
Source:
native void rsnAllocationRead ( long con , long id , int [ ] d ) ;

Target:
native void rsnScriptSetVarD ( long con , long id , int slot , double val , boolean mUseInc ) ;
Source:
public static char $opt$getCharField ( Main m ) { return m.charField ; }

Target:
public static char $opt$noinline$getCharField ( Main m ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return m.charField ; }
Source:
public void sendOemRilRequestRawResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < java.lang.Byte > var2 ) { }

Target:
public void getCellInfoListResponse_1_2 ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < com.android.internal.telephony.V1_2.CellInfo > cellInfo ) { responseCellInfoList_1_2 ( responseInfo , cellInfo ) ; }
Source:
public void visitClassConstant ( proguard.classfile.constant.visitor.Clazz clazz , proguard.classfile.constant.ClassConstant classConstant ) { if ( ! ( classConstant.getName ( clazz ) . equals ( exceptClassName ) ) ) { constantVisitor.visitClassConstant ( clazz , classConstant ) ; } }

Target:
public void visitClassConstant ( proguard.classfile.Clazz clazz , proguard.classfile.constant.ClassConstant classConstant ) { if ( ! ( classConstant.getName ( clazz ) . equals ( exceptClassName ) ) ) { constantVisitor.visitClassConstant ( clazz , classConstant ) ; } }
Source:
public static com.android.dialer.app.calllog.IntentProvider getInstallDuoIntentProvider ( ) { return new com.android.dialer.app.calllog.IntentProvider ( ) { @ java.lang.Override public android.content.Intent getIntent ( android.content.Context context ) { return com.android.dialer.duo.DuoComponent.get ( context ) . getDuo ( ) . getInstallDuoIntent ( ) . orNull ( ) ; } } ; }

Target:
public void logInteraction ( android.content.Context context ) { com.android.dialer.logging.Logger.get ( context ) . logImpression ( DialerImpression.Type.DUO_CALL_LOG_SET_UP_INSTALL ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setTarget ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 8 ; target_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setTargetBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 16 ; target_ = value ; onChanged ( ) ; return this ; }
Source:
public java.util.Collection < java.lang.String > getApplicableAttributes ( ) { return java.util.Arrays.asList ( com.android.SdkConstants.ATTR_EDITABLE , com.android.SdkConstants.ATTR_INPUT_METHOD , com.android.SdkConstants.ATTR_AUTO_TEXT , com.android.SdkConstants.ATTR_CAPITALIZE , com.android.SdkConstants.ATTR_NUMERIC , com.android.SdkConstants.ATTR_PHONE_NUMBER , com.android.SdkConstants.ATTR_PASSWORD ) ; }

Target:
public java.util.Collection < java.lang.String > getApplicableAttributes ( ) { return java.util.Arrays.asList ( com.android.SdkConstants.ATTR_EDITABLE , com.android.SdkConstants.ATTR_INPUT_METHOD , com.android.SdkConstants.ATTR_AUTO_TEXT , com.android.SdkConstants.ATTR_CAPITALIZE , com.android.SdkConstants.ATTR_SINGLE_LINE , com.android.SdkConstants.ATTR_NUMERIC , com.android.SdkConstants.ATTR_PHONE_NUMBER , com.android.SdkConstants.ATTR_PASSWORD ) ; }
Source:
protected java.util.List < org.w3c.dom.Attr > findNamespaceAttributes ( ) { org.w3c.dom.Document document = getDomDocument ( ) ; if ( document != null ) { org.w3c.dom.Element root = document.getDocumentElement ( ) ; return findNamespaceAttributes ( root ) ; } return java.util.Collections.emptyList ( ) ; }

Target:
protected static java.util.List < org.w3c.dom.Attr > findNamespaceAttributes ( org.w3c.dom.Document document ) { if ( document != null ) { org.w3c.dom.Element root = document.getDocumentElement ( ) ; return com.android.ide.eclipse.adt.internal.editors.layout.refactoring.VisualRefactoring.findNamespaceAttributes ( root ) ; } return java.util.Collections.emptyList ( ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JArrayLength x ) { com.android.jack.ir.ast.JExpression instance = x.getInstance ( ) ; parenPush ( x , instance ) ; accept ( instance ) ; parenPop ( x , instance ) ; print ( ".length" ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField x ) { print ( com.android.jack.ir.ast.JModifier.getStringFieldModifier ( x.getModifier ( ) ) ) ; printType ( x ) ; space ( ) ; printName ( x ) ; return false ; }
Source:
public void onAudioQualityChanged ( int audioQuality ) { setAudioQuality ( audioQuality ) ; }

Target:
public void onAudioQualityChanged ( int audioQuality ) { mHandler.obtainMessage ( com.android.services.telephony.TelephonyConnection.MSG_SET_AUDIO_QUALITY , audioQuality ) . sendToTarget ( ) ; }
Source:
public void testQuickFix_nameWithStartingTrailingDots ( ) { com.google.gct.intellij.endpoints.validation.MethodNameInspection.MyQuickFix myQuickFix = new com.google.gct.intellij.endpoints.validation.MethodNameInspection ( ) . new com.google.gct.intellij.endpoints.validation.MyQuickFix ( ) ; junit.framework.Assert.assertEquals ( "foo" , myQuickFix.getMethodNameSuggestions ( "..foo....." ) ) ; }

Target:
public void testQuickFix_nameWithStartingTrailingDots ( ) { com.google.gct.idea.appengine.validation.MethodNameInspection.MyQuickFix myQuickFix = new com.google.gct.idea.appengine.validation.MethodNameInspection ( ) . new com.google.gct.idea.appengine.validation.MyQuickFix ( ) ; junit.framework.Assert.assertEquals ( "foo" , myQuickFix.getMethodNameSuggestions ( "..foo....." ) ) ; }
Source:
public abstract void setExecutablePermission ( @ com.android.annotations.NonNull java.io.File file ) throws java.io.IOException ;

Target:
void setReadOnly ( @ com.android.annotations.NonNull java.io.File file ) ;
Source:
public libcore.tzdata.update2.tools.TimeZoneBundleBuilder setRulesVersion ( java.lang.String rulesVersion ) { this . rulesVersion = rulesVersion ; return this ; }

Target:
public libcore.tzdata.update2.tools.TimeZoneBundleBuilder setBundleVersion ( libcore.tzdata.update2.BundleVersion bundleVersion ) { this . bundleVersion = bundleVersion ; return this ; }
Source:
public static native void emptyInternalStaticMethod ( ) ;

Target:
public static synchronized native void emptyJniStaticSynchronizedMethod0 ( ) ;
Source:
native void rsnScriptSetVarI ( int con , int id , int slot , int val ) ;

Target:
native void rsnScriptSetVarJ ( long con , long id , int slot , long val ) ;
Source:
public void clear ( ) { this . clear ( ) ; }

Target:
public boolean contains ( java.lang.Object o ) { return map.containsValue ( o ) ; }
Source:
public static final void setIdSize ( int size ) { com.android.tools.perflib.heap.Type.sIdSize = size ; com.android.tools.perflib.heap.Type.sIdSizeMask = - 1L > > > ( ( 8 - size ) * 8 ) ; }

Target:
public int getSize ( ) { return mSize ; }
Source:
public void indicateRingbackTone ( int indicationType , boolean var2 ) { }

Target:
public void indicateRingbackTone ( int indicationType , boolean start ) { mRil.processIndication ( indicationType ) ; if ( RIL.RILJ_LOGD ) mRil.unsljLogvRet ( com.android.internal.telephony.RILConstants.RIL_UNSOL_RINGBACK_TONE , start ) ; mRil.mRingbackToneRegistrants.notifyRegistrants ( new android.os.AsyncResult ( null , start , null ) ) ; }
Source:
public static java.lang.String getVideoCallId ( com.googlecode.android_scripting.facade.telephony.InCallServiceImpl.VideoCall videoCall ) { if ( videoCall != null ) return videoCall.toString ( ) ; else return "" ; }

Target:
public static java.lang.String getVideoCallId ( com.googlecode.android_scripting.facade.telephony.InCallServiceImpl.VideoCall videoCall ) { if ( videoCall != null ) return "VideoCall:" + ( videoCall.hashCode ( ) ) ; else return "" ; }
Source:
public static short $noinline$floatToIntToShort ( float value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( value ) ) ; }

Target:
public static int $noinline$intToFloatToInt ( int value ) { return ( ( int ) ( ( float ) ( value ) ) ) ; }
Source:
private boolean regCodeIsRoaming ( int code ) { return ( android.telephony.ServiceState.RIL_REG_STATE_ROAMING ) == code ; }

Target:
private boolean regCodeIsRoaming ( int code ) { return ( android.telephony.NetworkRegistrationState.REG_STATE_ROAMING ) == code ; }
Source:
public static int IntRemainder ( ) { int a ; int b ; int c ; a = 8 ; b = 3 ; c = a % b ; return c ; }

Target:
public static int IntDivision ( ) { int a ; int b ; int c ; a = Main.$inline$int ( 8 ) ; b = Main.$inline$int ( 3 ) ; c = a / b ; return c ; }
Source:
public void onFailure ( int reason , java.lang.String description ) { android.util.Log.e ( com.android.server.wifi.WifiStateMachine.TAG , "WifiScanListener onFailure" ) ; }

Target:
public void onFailure ( int reason , java.lang.String description ) { mIsScanOngoing = false ; mIsFullScanOngoing = false ; }
Source:
public void writeln ( java.lang.String msg ) { write ( msg , true ) ; }

Target:
public boolean getBooleanProperty ( java.lang.String key ) { return getBooleanProperty ( key , false ) ; }
Source:
private void onDeviceConfigChange ( ) { if ( ( mDisableUpdates ) > 0 ) { return ; } if ( ( computeCurrentConfig ( ) ) && ( ( mListener ) != null ) ) { mListener.onConfigurationChange ( ) ; } }

Target:
private void onDeviceConfigChange ( ) { if ( ( mDisableUpdates ) > 0 ) { return ; } if ( ( computeCurrentConfig ( ) ) && ( ( mListener ) != null ) ) { mListener.onConfigurationChange ( ) ; mListener.onDevicePostChange ( ) ; } }
Source:
public static < T > org.hamcrest.Matcher < java.lang.Iterable < T > > hasItem ( T element ) { return org.junit.internal.matchers.IsCollectionContaining.hasItem ( element ) ; }

Target:
public static < T > org.hamcrest.Matcher < java.lang.Iterable < ? super T > > hasItem ( T element ) { return org.hamcrest.CoreMatchers.hasItem ( element ) ; }