auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public native boolean unwindInProcess ( boolean full_signatures , int i , boolean b ) ;

Target:
public native boolean unwindInProcess ( boolean fullSignatures , int i , boolean b ) ;
Source:
public void handle ( com.android.ide.common.api.INode n ) { n.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_WIDTH , valueId ) ; }

Target:
public void handle ( com.android.ide.common.api.INode n ) { n.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_WIDTH , newAttrValue ) ; }
Source:
protected void registerForRuimRecordEvents ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; if ( r == null ) { return ; } r.registerForRecordsEvents ( this , com.android.internal.telephony.cdma.EVENT_ICC_RECORD_EVENTS , null ) ; r.registerForRecordsLoaded ( this , com.android.internal.telephony.cdma.EVENT_RUIM_RECORDS_LOADED , null ) ; }

Target:
protected void unregisterForRuimRecordEvents ( ) { com.android.internal.telephony.uicc.IccRecords r = mIccRecords.get ( ) ; if ( r == null ) { return ; } r.unregisterForRecordsEvents ( this ) ; r.unregisterForRecordsLoaded ( this ) ; }
Source:
public void setPermissionPolicy ( @ android.annotation.NonNull android.content.ComponentName admin , int policy ) { throwIfParentInstance ( "setPermissionPolicy" ) ; try { mService.setPermissionPolicy ( admin , policy ) ; } catch ( android.os.RemoteException re ) { throw re.rethrowFromSystemServer ( ) ; } }

Target:
public void setPermissionPolicy ( @ android.annotation.NonNull android.content.ComponentName admin , int policy ) { throwIfParentInstance ( "setPermissionPolicy" ) ; try { mService.setPermissionPolicy ( admin , mContext.getPackageName ( ) , policy ) ; } catch ( android.os.RemoteException re ) { throw re.rethrowFromSystemServer ( ) ; } }
Source:
public double readDouble ( ) { checkType ( com.android.dx.io.EncodedValueReader.ENCODED_DOUBLE ) ; type = com.android.dx.io.EncodedValueReader.MUST_READ ; return java.lang.Double.longBitsToDouble ( com.android.dx.util.EncodedValueUtils.readUnsignedLong ( in , arg , true ) ) ; }

Target:
public double readDouble ( ) { checkType ( com.android.dex.EncodedValueReader.ENCODED_DOUBLE ) ; type = com.android.dex.EncodedValueReader.MUST_READ ; return java.lang.Double.longBitsToDouble ( com.android.dex.EncodedValueCodec.readUnsignedLong ( in , arg , true ) ) ; }
Source:
public void hold ( com.android.ims.ImsStreamMediaProfile profile ) throws android.os.RemoteException { }

Target:
public void hold ( android.telephony.ims.ImsStreamMediaProfile profile ) { this . hold ( profile ) ; }
Source:
public void onDescriptorWrite ( java.lang.String address , int status , int srvcType , int srvcInstId , android.os.ParcelUuid srvcUuid , int charInstId , android.os.ParcelUuid charUuid , int descrInstId , android.os.ParcelUuid descrUuid ) throws android.os.RemoteException { }

Target:
public void onSearchComplete ( java.lang.String address , java.util.List < android.bluetooth.BluetoothGattService > services , int status ) throws android.os.RemoteException { }
Source:
synchronized void nScriptSetVarObj ( int id , int slot , int val ) { validate ( ) ; rsnScriptSetVarObj ( mContext , id , slot , val ) ; }

Target:
synchronized void nScriptSetVarI ( long id , int slot , int val ) { validate ( ) ; rsnScriptSetVarI ( mContext , id , slot , val ) ; }
Source:
public void transform ( org.eclipse.jdt.core.dom.CompilationUnit cu , org.eclipse.jface.text.Document document ) { transformer.transform ( cu , document ) ; }

Target:
public void transform ( com.google.currysrc.api.transform.Context context , org.eclipse.jdt.core.dom.CompilationUnit cu ) { org.eclipse.jface.text.Document document = context.document ( ) ; transformer.transform ( cu , document ) ; }
Source:
public void onStreamStateUpdated ( int state , int reason ) { this . onStreamStateUpdated ( state , reason ) ; }

Target:
public void streamStateUpdated ( int state , int reason ) { onStreamStateUpdated ( state , reason ) ; }
Source:
public void handleMessage ( android.os.Message msg ) { mDisplayView.invalidate ( ) ; }

Target:
public void run ( ) { synchronized ( mProcessor ) { if ( ( mShowsPending ) > 0 ) { ( mShowsPending ) -- ; mProcessor.notifyAll ( ) ; } } }
Source:
public void test_minus_longTemporalUnit_negativeDays ( ) { java.time.LocalDate t = TEST_2007_07_15.minus ( ( - 25 ) , java.time.temporal.ChronoUnit.DAYS ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 8 , 9 ) ) ; }

Target:
public void test_minus_longTemporalUnit_negativeDays ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.minus ( ( - 25 ) , java.time.temporal.ChronoUnit.DAYS ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 8 , 9 ) ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setFailedTestCaseCount ( int value ) { bitField0_ |= 8192 ; failedTestCaseCount_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearEndTime ( ) { bitField0_ = ( bitField0_ ) & ( ~ 512 ) ; endTime_ = 0L ; onChanged ( ) ; return this ; }
Source:
public void run ( ) { director.initDebugBridge ( ) ; director.startListenForDevices ( ) ; director.populateDeviceSelectionModel ( ) ; }

Target:
public void run ( ) { if ( director.acquireBridge ( ) ) { director.startListenForDevices ( ) ; director.populateDeviceSelectionModel ( ) ; } }
Source:
public void testHasWindowFocus ( ) { android.view.View view = new android.view.View ( mActivity ) ; assertFalse ( view.hasWindowFocus ( ) ) ; view = mActivity.findViewById ( R.id.fit_windows ) ; assertTrue ( view.hasWindowFocus ( ) ) ; }

Target:
protected boolean check ( ) { return view2.hasWindowFocus ( ) ; }
Source:
public void writeToParcel ( android.os.Parcel out , int flags ) { out.writeByteArray ( securityManagerTk ) ; }

Target:
public void writeToParcel ( android.os.Parcel out , int flags ) { out.writeByteArray ( securityManagerTk ) ; out.writeByteArray ( leSecureConnectionsConfirmation ) ; out.writeByteArray ( leSecureConnectionsRandom ) ; }
Source:
public boolean isWifiCallingAvailable ( ) { try { return getITelephony ( ) . isWifiCallingAvailable ( ) ; } catch ( android.os.RemoteException ex ) { return false ; } catch ( java.lang.NullPointerException ex ) { return false ; } }

Target:
public int getImsRegTechnologyForMmTel ( ) { try { return getITelephony ( ) . getImsRegTechnologyForMmTel ( getSubId ( ) ) ; } catch ( android.os.RemoteException ex ) { return android.telephony.ims.stub.ImsRegistrationImplBase.REGISTRATION_TECH_NONE ; } }
Source:
static float $opt$DoubleToFloat ( double a ) { return ( ( float ) ( a ) ) ; }

Target:
static float $opt$DoubleToFloat ( double a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( float ) ( a ) ) ; }
Source:
public void invokeOemRilRequestStrings ( java.lang.String [ ] strings , android.os.Message response ) { if ( response != null ) { android.os.AsyncResult.forMessage ( response ) . result = strings ; response.sendToTarget ( ) ; } }

Target:
public void registerForModemReset ( android.os.Handler h , int what , java.lang.Object obj ) { com.android.internal.telephony.test.SimulatedCommandsVerifier.getInstance ( ) . registerForModemReset ( h , what , obj ) ; super . registerForModemReset ( h , what , obj ) ; }
Source:
public static com.ibm.icu.impl.SimplePatternFormatter compile ( java.lang.String pattern ) { return com.ibm.icu.impl.SimplePatternFormatter.compileMinMaxPlaceholders ( pattern , 0 , java.lang.Integer.MAX_VALUE ) ; }

Target:
public static com.ibm.icu.impl.SimplePatternFormatter compile ( java.lang.CharSequence pattern ) { return com.ibm.icu.impl.SimplePatternFormatter.compileMinMaxPlaceholders ( pattern , 0 , java.lang.Integer.MAX_VALUE ) ; }
Source:
public static java.util.Set < java.lang.String > getFullLocaleNameSet ( ) { return com.ibm.icu.impl.ICUResourceBundle.getFullLocaleNameSet ( com.ibm.icu.impl.ICUResourceBundle.ICU_BASE_NAME , com.ibm.icu.impl.ICUResourceBundle.ICU_DATA_CLASS_LOADER ) ; }

Target:
public static java.util.Set < java.lang.String > getFullLocaleNameSet ( ) { return com.ibm.icu.impl.ICUResourceBundle.getFullLocaleNameSet ( ICUData.ICU_BASE_NAME , com.ibm.icu.impl.ICUResourceBundle.ICU_DATA_CLASS_LOADER ) ; }
Source:
public void testSetOnDismissListener ( ) throws java.lang.InterruptedException { if ( isTelevision ( ) ) { return ; } android.app.stubs.SearchManagerStubActivity.setCTSResult ( this ) ; setupActivity ( SearchManagerStubActivity.TEST_ON_DISMISSLISTENER ) ; waitForResult ( ) ; }

Target:
public void testSetOnDismissListener ( ) throws java.lang.InterruptedException { if ( ! ( hasGlobalSearchActivity ( ) ) ) { return ; } android.app.stubs.SearchManagerStubActivity.setCTSResult ( this ) ; setupActivity ( SearchManagerStubActivity.TEST_ON_DISMISSLISTENER ) ; waitForResult ( ) ; }
Source:
public void testCreate ( ) { java.util.Properties props = createProps ( ) ; com.android.sdklib.internal.repository.packages.MinToolsPackageTest.MockMinToolsPackage p = new com.android.sdklib.internal.repository.packages.MinToolsPackageTest.MockMinToolsPackage ( null , props , ( - 1 ) , null , null , null , com.android.sdklib.internal.repository.archives.Archive.Os.ANY , com.android.sdklib.internal.repository.archives.Archive.Arch.ANY , LOCAL_ARCHIVE_PATH ) ; testCreatedPackage ( p ) ; }

Target:
public void testCreate ( ) { java.util.Properties props = createExpectedProps ( ) ; com.android.sdklib.internal.repository.packages.MinToolsPackageTest.MockMinToolsPackage p = new com.android.sdklib.internal.repository.packages.MinToolsPackageTest.MockMinToolsPackage ( null , props , ( - 1 ) , null , null , null , com.android.sdklib.internal.repository.archives.Archive.Os.ANY , com.android.sdklib.internal.repository.archives.Archive.Arch.ANY , LOCAL_ARCHIVE_PATH ) ; testCreatedPackage ( p ) ; }
Source:
public android.net.IpSecTransform buildTransportModeTransform ( java.net.InetAddress remoteAddress ) throws IpSecManager.ResourceUnavailableException , IpSecManager.SpiUnavailableException , java.io.IOException { mConfig.setMode ( android.net.IpSecTransform.MODE_TRANSPORT ) ; mConfig.setRemoteAddress ( remoteAddress.getHostAddress ( ) ) ; return new android.net.IpSecTransform ( mContext , mConfig ) . activate ( ) ; }

Target:
public android.net.IpSecTransform.Builder setAuthentication ( @ android.annotation.NonNull android.net.IpSecAlgorithm algo ) { com.android.internal.util.Preconditions.checkNotNull ( algo ) ; mConfig.setAuthentication ( algo ) ; return this ; }
Source:
public void expectMessage ( org.hamcrest.Matcher < java.lang.String > matcher ) { expect ( hasMessage ( matcher ) ) ; }

Target:
public void expectMessage ( org.hamcrest.Matcher < java.lang.String > matcher ) { expect ( org.junit.internal.matchers.ThrowableMessageMatcher.hasMessage ( matcher ) ) ; }
Source:
public void addI8 ( android.support.v8.renderscript.Byte2 v ) { mN.addI8 ( new android.support.v8.renderscript.Byte2 ( v.x , v.y ) ) ; }

Target:
public void addI8 ( android.support.v8.renderscript.Byte2 v ) { mN.addI8 ( new android.support.v8.renderscript.Byte2 ( v.x , v.y ) ) ; mPos += 2 ; }
Source:
public void skippedEntity ( java.lang.String name ) { data_skippedEntity.append ( name ) ; data_skippedEntity.append ( tests.api.javax.xml.parsers.SAXParserTestSupport.SEPARATOR_ELEMENT ) ; }

Target:
public void skippedEntity ( java.lang.String name ) { data_skippedEntity.append ( name ) ; data_skippedEntity.append ( org.apache.harmony.tests.javax.xml.parsers.SAXParserTestSupport.SEPARATOR_ELEMENT ) ; }
Source:
protected java.lang.ref.WeakReference < U > newReference ( @ javax.annotation.CheckForNull U referent ) { return new java.lang.ref.WeakReference < U > ( referent ) ; }

Target:
private void setLoadedProgram ( @ javax.annotation.CheckForNull T program ) { loadedProgram = new java.lang.ref.SoftReference < > ( program ) ; }
Source:
public android.database.Cursor loadInBackground ( ) { android.database.Cursor cursor = super . loadInBackground ( ) ; com.android.dialer.searchfragment.cp2.ContactFilterCursor contactFilterCursor = new com.android.dialer.searchfragment.cp2.ContactFilterCursor ( cursor , query , getContext ( ) ) ; return com.android.dialer.searchfragment.cp2.SearchContactsCursor.newInstance ( getContext ( ) , contactFilterCursor ) ; }

Target:
private android.database.Cursor dialpadSearchLoadInBackground ( ) { com.android.dialer.dialpadview.SmartDialCursorLoader loader = new com.android.dialer.dialpadview.SmartDialCursorLoader ( getContext ( ) ) ; loader.configureQuery ( query ) ; android.database.Cursor cursor = loader.loadInBackground ( ) ; return com.android.dialer.searchfragment.cp2.SearchContactsCursorLoader.SmartDialCursor.newInstance ( getContext ( ) , cursor ) ; }
Source:
public int modifyPasspointManagementObject ( java.lang.String fqdn , java.util.List < android.net.wifi.PasspointManagementObjectDefinition > mos ) { try { return mService.modifyPasspointManagementObject ( fqdn , mos ) ; } 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:
private void inlinedForFalse ( boolean value , java.lang.Iterable it ) { if ( value ) { it.iterator ( ) ; } }

Target:
private void inlinedForFalse ( boolean value , java.lang.Iterable it ) { if ( value ) { if ( Main.doThrow ) { throw new java.lang.Error ( "" ) ; } } }
Source:
static short $opt$ByteToShort ( byte a ) { return ( ( short ) ( a ) ) ; }

Target:
static char $opt$ByteToChar ( byte a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( char ) ( a ) ) ; }
Source:
public void setJarDependencies ( java.util.List < com.android.builder.JarDependency > jars ) { mJars.addAll ( jars ) ; }

Target:
public com.android.builder.VariantConfiguration setJarDependencies ( java.util.List < com.android.builder.JarDependency > jars ) { mJars.addAll ( jars ) ; return this ; }
Source:
public boolean handleError ( java.lang.String message ) { return false ; }

Target:
public boolean handleError ( java.lang.String message ) { com.android.ide.eclipse.adt.AdtPlugin.displayError ( "Android SDK Verification" , message ) ; return false ; }
Source:
public java.lang.String getType ( ) { return mType ; }

Target:
public com.android.resources.ResourceType getResourceType ( ) { return mType ; }
Source:
native void rsnScriptSetVarVE ( long con , long id , int slot , byte [ ] val , long e , int [ ] dims ) ;

Target:
native long rsnIncTypeCreate ( long con , long eid , int x , int y , int z , boolean mips , boolean faces , int yuv ) ;
Source:
public android.telephony.ims.feature.MMTelFeature onCreateMMTelImsFeature ( int slotId ) { android.util.Log.i ( com.android.phone.testapps.imstestapp.TestImsService.LOG_TAG , "TestImsService: onCreateMMTelImsFeature" ) ; return mTestMmTelFeature ; }

Target:
public android.telephony.ims.stub.ImsConfigImplBase getConfig ( int slotId ) { return mTestImsConfig ; }
Source:
public void getClipResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int var2 ) { }

Target:
public void cancelPendingUssdResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { responseVoid ( responseInfo ) ; }
Source:
private void assertVerifiedForEachForMinSdkVersion ( java.lang.String apkFilenameInResources , java.lang.String [ ] args , int minSdkVersion ) throws java.lang.Exception { assertVerifiedForEach ( apkFilenameInResources , args , minSdkVersion ) ; }

Target:
private void assertVerified ( java.lang.String apkFilenameInResources , java.lang.Integer minSdkVersionOverride , java.lang.Integer maxSdkVersionOverride ) throws java.lang.Exception { com.android.apksig.ApkVerifierTest.assertVerified ( verify ( apkFilenameInResources , minSdkVersionOverride , maxSdkVersionOverride ) ) ; }
Source:
private void runTestNewInstanceString ( java.lang.String constructorSignature , org.apache.harmony.jpda.tests.jdwp.ClassType.ConstructorArgumentsProvider provider ) { checkNewInstanceTag ( "Ljava/lang/String;" , constructorSignature , provider , JDWPConstants.Tag.STRING_TAG ) ; }

Target:
private void runTestNewInstanceString ( java.lang.String constructorSignature , java.lang.String expectedString , org.apache.harmony.jpda.tests.jdwp.ClassType.ConstructorArgumentsProvider provider ) { checkNewInstanceTag ( "Ljava/lang/String;" , constructorSignature , provider , new org.apache.harmony.jpda.tests.jdwp.ClassType.NewInstanceStringTest.StringChecker ( expectedString ) ) ; }
Source:
com.google.common.hash.HashCode hashString ( java.lang.CharSequence input ) ;

Target:
com.google.common.hash.HashCode hashUnencodedChars ( java.lang.CharSequence input ) ;
Source:
public E poll ( ) { final java.util.concurrent.locks.ReentrantLock lock = this . lock ; lock.lock ( ) ; try { return ( count ) == 0 ? null : extract ( ) ; } finally { lock.unlock ( ) ; } }

Target:
public E poll ( ) { final java.util.concurrent.locks.ReentrantLock lock = this . lock ; lock.lock ( ) ; try { return ( count ) == 0 ? null : dequeue ( ) ; } finally { lock.unlock ( ) ; } }
Source:
public void onTrigger ( android.hardware.TriggerEvent event ) { synchronized ( this ) { significantMotionLocked ( ) ; } }

Target:
public void onTrigger ( android.hardware.TriggerEvent event ) { synchronized ( this ) { active = false ; motionLocked ( ) ; } }
Source:
public void setSimPowerState ( boolean powerUp ) { setSimPowerStateForSlot ( getDefaultSim ( ) , powerUp ) ; }

Target:
public void setSimOperatorNumeric ( java.lang.String numeric ) { int phoneId = getPhoneId ( ) ; setSimOperatorNumericForPhone ( phoneId , numeric ) ; }
Source:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) throws java.lang.Exception { com.android.jack.transformations.parent.ParentChecker.ParentCheckerVisitor checker = new com.android.jack.transformations.parent.ParentChecker.ParentCheckerVisitor ( ) ; checker.accept ( session ) ; }

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) throws java.lang.Exception { com.android.jack.transformations.parent.AstChecker.AstCheckerVisitor checker = new com.android.jack.transformations.parent.AstChecker.AstCheckerVisitor ( ) ; checker.accept ( session ) ; }
Source:
public java.util.List < com.android.resources.ResourceType > getResourceTypes ( ) { return com.android.ide.eclipse.adt.internal.resources.manager.FolderTypeRelationship.getRelatedResourceTypes ( getFolder ( ) . getType ( ) ) ; }

Target:
public java.util.List < com.android.resources.ResourceType > getResourceTypes ( ) { return com.android.resources.FolderTypeRelationship.getRelatedResourceTypes ( getFolder ( ) . getType ( ) ) ; }
Source:
public com.android.sdklib.repository.MajorRevision getMajorRevision ( ) { return null ; }

Target:
void setUpdate ( @ com.android.annotations.Nullable com.android.sdklib.repository.remote.RemotePkgInfo update ) { mUpdate = update ; }
Source:
public void connectToKernel ( ) throws android.system.ErrnoException , java.net.SocketException { connectTo ( new android.system.NetlinkSocketAddress ( 0 , 0 ) ) ; }

Target:
public static void connectToKernel ( java.io.FileDescriptor fd ) throws android.system.ErrnoException , java.net.SocketException { android.system.Os.connect ( fd , ( ( java.net.SocketAddress ) ( new android.system.NetlinkSocketAddress ( 0 , 0 ) ) ) ) ; }
Source:
public boolean handleMessage ( android.os.Message message ) { if ( message != null ) { android.widget.Toast.makeText ( this , message.what , Toast.LENGTH_SHORT ) . show ( ) ; } return true ; }

Target:
public boolean handleMessage ( android.os.Message message ) { android.widget.Toast.makeText ( this , message.what , Toast.LENGTH_SHORT ) . show ( ) ; if ( ( message.what ) != ( R.string.disconnected ) ) { updateForegroundNotification ( message.what ) ; } return true ; }
Source:
protected synchronized void finalize ( ) throws java.lang.Throwable { finalized = true ; notifyAll ( ) ; }

Target:
protected synchronized void finalize ( ) throws java.lang.Throwable { if ( finalized ) { throw new java.lang.AssertionError ( ) ; } finalized = true ; notifyAll ( ) ; }
Source:
public void reset ( ) { mExistingFiles.clear ( ) ; mExistingFolders.clear ( ) ; }

Target:
public void reset ( ) { mExistingFiles.clear ( ) ; mExistingFolders.clear ( ) ; mOutputStreams.clear ( ) ; }
Source:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir dir ) { return vfs.getVDirLocation ( dir ) ; }

Target:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir dir ) { return vfs.getVDirLocation ( dir.getWrappedDir ( ) ) ; }
Source:
public void testDecode_NullDecoder ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset2 c = new tests.api.java.nio.charset.CharsetTest.MockCharset2 ( "mock2" , null ) ; try { c.decode ( java.nio.ByteBuffer.wrap ( "hehe" . getBytes ( ) ) ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void testDecode_NullDecoder ( ) { org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset2 c = new org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset2 ( "mock2" , null ) ; try { c.decode ( java.nio.ByteBuffer.wrap ( "hehe" . getBytes ( ) ) ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
private boolean querySoundEffectsEnabled ( int user ) { return ( Settings.System.getIntForUser ( getContext ( ) . getContentResolver ( ) , Settings.System.SOUND_EFFECTS_ENABLED , 0 , user ) ) != 0 ; }

Target:
private boolean querySoundEffectsEnabled ( int user ) { return ( Settings.System.getIntForUser ( mApplicationContext.getContentResolver ( ) , Settings.System.SOUND_EFFECTS_ENABLED , 0 , user ) ) != 0 ; }
Source:
public boolean hasFatalError ( ) { if ( ( status ) != null ) { return ( ( status.getCode ( ) ) != ( Status.Code.OK ) ) && ( ( status.getCode ( ) ) != ( Status.Code.UNAVAILABLE ) ) ; } return false ; }

Target:
public boolean hasFatalError ( ) { if ( ( status ) != null ) { return ( ( status.getCode ( ) ) != ( io.grpc.Status.Code.OK ) ) && ( ( status.getCode ( ) ) != ( io.grpc.Status.Code.UNAVAILABLE ) ) ; } return false ; }
Source:
public synchronized void setPluginsEnabled ( boolean flag ) { if ( android.webkit.DebugFlags.TRACE_API ) android.util.Log.d ( com.android.webview.chromium.ContentSettingsAdapter.LOGTAG , ( "setPluginsEnabled=" + flag ) ) ; mAwSettings.setPluginsEnabled ( flag ) ; }

Target:
public synchronized void setPluginsEnabled ( boolean flag ) { if ( com.android.webview.chromium.ContentSettingsAdapter.TRACE ) android.util.Log.d ( com.android.webview.chromium.ContentSettingsAdapter.LOGTAG , ( "setPluginsEnabled=" + flag ) ) ; mAwSettings.setPluginsEnabled ( flag ) ; }
Source:
public void checkRead ( java.lang.String file , java.lang.Object context ) { if ( ( isRelevant ( ) ) && ( ! ( isReadingAllowed ( file ) ) ) ) { throw com.android.ide.common.rendering.RenderSecurityException.create ( "Read" , file ) ; } }

Target:
public void checkRead ( java.lang.String file , java.lang.Object context ) { if ( ( ( com.android.ide.common.rendering.RenderSecurityManager.RESTRICT_READS ) && ( isRelevant ( ) ) ) && ( ! ( isReadingAllowed ( file ) ) ) ) { throw com.android.ide.common.rendering.RenderSecurityException.create ( "Read" , file ) ; } }
Source:
public static java.lang.String staticMethod ( ) { return null ; }

Target:
public static java.lang.String staticMethod ( ) { return Main.BarImpl.staticString ; }
Source:
public void recordMisses ( int count ) { missCount.add ( count ) ; }

Target:
public void recordHits ( int count ) { hitCount.add ( count ) ; }
Source:
public void setFrom ( java.util.ArrayList < android.text.util.Rfc822Token > from ) { this . from = from ; }

Target:
public void setFrom ( java.util.ArrayList < android.text.util.Rfc822Token > from ) { this . mFrom = from ; }
Source:
static double $opt$LongToDouble ( long a ) { return ( ( double ) ( a ) ) ; }

Target:
static int $opt$LongToInt ( long a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( int ) ( a ) ) ; }
Source:
public java.lang.String getNfcHandoverRequest ( ) { return doStringCommand ( "NFC_GET_HANDOVER_REQ NDEF P2P-CR" ) ; }

Target:
public java.lang.String getNfcHandoverRequest ( ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.getNfcHandoverRequest ( ) ; } else { return doStringCommand ( "NFC_GET_HANDOVER_REQ NDEF P2P-CR" ) ; } }
Source:
com.android.ide.eclipse.adt.internal.sdk.LayoutDevice getSelectedDevice ( ) { return ( ( com.android.ide.eclipse.adt.internal.sdk.LayoutDevice ) ( mDeviceCombo.getData ( ) ) ) ; }

Target:
com.android.sdklib.devices.Device getSelectedDevice ( ) { return ( ( com.android.sdklib.devices.Device ) ( mDeviceCombo.getData ( ) ) ) ; }
Source:
public java.io.InputStream getInputStream ( ) throws java.io.IOException { checkOpenAndConnected ( ) ; if ( isInputShutdown ( ) ) { throw new java.net.SocketException ( "Socket input is shutdown" ) ; } return new java.nio.SocketChannelImpl.SocketChannelInputStream ( channel ) ; }

Target:
public java.io.OutputStream getOutputStream ( ) throws java.io.IOException { return new java.nio.SocketChannelImpl.BlockingCheckOutputStream ( super . getOutputStream ( ) , channel ) ; }
Source:
public int size ( ) { return java.lang.Integer.bitCount ( setBits ) ; }

Target:
protected java.util.Set < E > get ( final int setBits ) { return new com.google.common.collect.Sets.SubSet < E > ( inputSet , setBits ) ; }
Source:
public void testString ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.string.phoneTypeHome ; setLocale ( "en_US" ) ; assertResource ( resId , "Home" , "Home" ) ; setLocale ( "sv_SE" ) ; assertResource ( resId , "Hem" , "Hem" ) ; }

Target:
public void testMatrix100101 ( ) throws java.lang.Throwable { final int resId = R.integer.matrix_100101 ; setLocale ( "sv_SE" ) ; assertResource ( resId , 100 , 400 , 600 ) ; }
Source:
public void testPublishConfigBuilderBadPublishType ( ) { new android.net.wifi.nan.PublishConfig.Builder ( ) . setPublishType ( 5 ) ; }

Target:
public void testPublishConfigBuilderBadPublishType ( ) { new android.net.wifi.aware.PublishConfig.Builder ( ) . setPublishType ( 5 ) ; }
Source:
public void iccTransmitApduBasicChannel ( int cla , int instruction , int p1 , int p2 , int p3 , java.lang.String data , android.os.Message response ) { iccTransmitApduHelper ( com.android.internal.telephony.RIL_REQUEST_SIM_TRANSMIT_APDU_BASIC , 0 , cla , instruction , p1 , p2 , p3 , data , response ) ; }

Target:
void processIndication ( int indicationType ) { if ( indicationType == ( android.hardware.radio.V1_0.RadioIndicationType.UNSOLICITED_ACK_EXP ) ) { sendAck ( ) ; if ( com.android.internal.telephony.RIL.RILJ_LOGD ) riljLog ( "Unsol response received; Sending ack to ril.cpp" ) ; } else { } }
Source:
protected void unwanted ( ) { if ( ( this ) != ( mNetworkAgent ) ) return ; if ( com.android.server.wifi.WifiStateMachine.DBG ) log ( ( "WifiNetworkAgent -> Wifi unwanted score " + ( java.lang.Integer.toString ( mWifiInfo.score ) ) ) ) ; unwantedNetwork ( com.android.server.wifi.WifiStateMachine.network_status_unwanted_disconnect ) ; }

Target:
protected void unwanted ( ) { if ( ( this ) != ( mNetworkAgent ) ) return ; if ( mVerboseLoggingEnabled ) { log ( ( "WifiNetworkAgent -> Wifi unwanted score " + ( java.lang.Integer.toString ( mWifiInfo.score ) ) ) ) ; } unwantedNetwork ( com.android.server.wifi.WifiStateMachine.NETWORK_STATUS_UNWANTED_DISCONNECT ) ; }
Source:
public void setOriginator ( java.lang.String filter ) { if ( "" . equals ( filter ) ) { originator = null ; } else { originator = filter ; } }

Target:
public void setOriginator ( java.lang.String filter ) { if ( ( filter != null ) && ( filter.isEmpty ( ) ) ) { originator = null ; } else { originator = filter ; } }
Source:
public void onCompletion ( android.media.MediaPlayer mp ) { assertTrue ( ( mp == mediaPlayer ) ) ; onCompletionCalled.open ( ) ; }

Target:
public void onCompletion ( android.media.MediaPlayer mp ) { assertTrue ( ( mp == ( mMediaPlayer ) ) ) ; mOnCompletionCalled.open ( ) ; }
Source:
void initRttCallScreenDelegate ( android.content.Context context , com.android.incallui.rtt.protocol.RttCallScreen rttCallScreen ) ;

Target:
void onLocalMessage ( java.lang.String message ) ;
Source:
public void setAvrcpAbsoluteVolume ( int volume ) { mAvrcp.setAbsoluteVolume ( volume ) ; }

Target:
public void setAvrcpAbsoluteVolume ( int volume ) { if ( ( com.android.bluetooth.avrcp.AvrcpTargetService.get ( ) ) != null ) { com.android.bluetooth.avrcp.AvrcpTargetService.get ( ) . sendVolumeChanged ( volume ) ; return ; } mAvrcp.setAbsoluteVolume ( volume ) ; }
Source:
public void onAccessPointChanged ( com.android.settingslib.wifi.AccessPoint accessPoint ) { ( ( com.android.settings.wifi.LongPressAccessPointPreference ) ( accessPoint.getTag ( ) ) ) . refresh ( ) ; }

Target:
public void run ( ) { java.lang.Object tag = accessPoint.getTag ( ) ; if ( tag != null ) { ( ( com.android.settings.wifi.LongPressAccessPointPreference ) ( tag ) ) . refresh ( ) ; } }
Source:
android.net.NetworkCapabilities expectCapabilitiesWith ( int capability , com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { com.android.server.ConnectivityServiceTest.CallbackInfo cbi = expectCallback ( com.android.server.ConnectivityServiceTest.CallbackState.NETWORK_CAPABILITIES , agent ) ; android.net.NetworkCapabilities nc = ( ( android.net.NetworkCapabilities ) ( cbi.arg ) ) ; org.junit.Assert.assertTrue ( nc.hasCapability ( capability ) ) ; return nc ; }

Target:
android.net.NetworkCapabilities expectCapabilitiesWith ( int capability , com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { return expectCapabilitiesWith ( capability , agent , com.android.server.ConnectivityServiceTest.TestNetworkCallback.TIMEOUT_MS ) ; }
Source:
private void setSpeakerphoneOn ( boolean on ) { if ( ( mAudioManager.isSpeakerphoneOn ( ) ) != on ) { com.android.server.telecom.Log.i ( this , "turning speaker phone %s" , on ) ; mAudioManager.setSpeakerphoneOn ( on ) ; } }

Target:
private void setSpeakerphoneOn ( boolean on ) { if ( ( mAudioManager.isSpeakerphoneOn ( ) ) != on ) { android.telecom.Log.i ( this , "turning speaker phone %s" , on ) ; mAudioManager.setSpeakerphoneOn ( on ) ; mStatusBarNotifier.notifySpeakerphone ( on ) ; } }
Source:
public void perform ( android.support.test.espresso.UiController uiController , android.view.View view ) { getActivity ( ) . setTouchDelay ( 0 ) ; }

Target:
public void perform ( android.support.test.espresso.UiController uiController , android.view.View view ) { activity.setTouchDelay ( 0 ) ; }
Source:
public static com.android.dialer.common.database.Selection fromString ( @ android.support.annotation.Nullable java.lang.String selection , @ android.support.annotation.Nullable java.lang.String ... args ) { return new com.android.dialer.common.database.Selection.Builder ( selection , args ) . build ( ) ; }

Target:
public static com.android.dialer.common.database.Selection fromString ( @ android.support.annotation.Nullable java.lang.String selection , java.util.Collection < java.lang.String > args ) { return new com.android.dialer.common.database.Selection.Builder ( selection , args ) . build ( ) ; }
Source:
public void bluetoothMediaAvrcpMediaBrowserServiceStart ( ) { com.googlecode.android_scripting.Log.d ( ( ( com.googlecode.android_scripting.facade.bluetooth.BluetoothMediaFacade.TAG ) + "Staring BluetoothAvrcpMediaBrowserService" ) ) ; android.content.Intent startIntent = new android.content.Intent ( mContext , com.googlecode.android_scripting.facade.bluetooth.BluetoothAvrcpMediaBrowserService.class ) ; mContext.startService ( startIntent ) ; }

Target:
public void bluetoothMediaPhoneSL4AMBSStart ( ) { com.googlecode.android_scripting.Log.d ( ( ( com.googlecode.android_scripting.facade.bluetooth.BluetoothMediaFacade.TAG ) + "Starting BluetoothSL4AAudioSrcMBS" ) ) ; android.content.Intent startIntent = new android.content.Intent ( mContext , com.googlecode.android_scripting.facade.bluetooth.media.BluetoothSL4AAudioSrcMBS.class ) ; mContext.startService ( startIntent ) ; }
Source:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , int [ ] data ) { validateIsInt32 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data ) ; }

Target:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , int [ ] data ) { validateIsInt32 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data , Element.DataType.SIGNED_32 , data.length ) ; }
Source:
java.io.File generate ( org.eclipse.jdt.core.dom.CompilationUnit cu ) ;

Target:
java.io.File generate ( org.eclipse.jdt.core.dom.CompilationUnit cu , java.io.File inputFile ) ;
Source:
public void setValue ( @ org.jetbrains.annotations.Nullable java.lang.String newValue , @ org.jetbrains.annotations.NotNull com.intellij.ui.HyperlinkLabel component ) { component.setHyperlinkTarget ( newValue ) ; newValue = ( com.intellij.openapi.util.text.StringUtil.isEmpty ( newValue ) ) ? "" : "Browse Source" ; component.setHyperlinkText ( newValue ) ; }

Target:
public void setValue ( @ org.jetbrains.annotations.Nullable java.lang.String newValue , @ org.jetbrains.annotations.NotNull com.intellij.ui.HyperlinkLabel component ) { component.setHyperlinkTarget ( newValue ) ; newValue = ( com.intellij.openapi.util.text.StringUtil.isEmpty ( newValue ) ) ? "" : com.google.gct.idea.util.GctBundle.message ( "sample.browse.source" ) ; component.setHyperlinkText ( newValue ) ; }
Source:
public final void err ( java.lang.String message ) { msg ( message , com.ibm.icu.dev.test.ERR , true , false ) ; }

Target:
public static final void errln ( java.lang.String message ) { org.junit.Assert.fail ( message ) ; }
Source:
protected void makeSystemImageFolder ( com.android.sdklib.ISystemImage systemImage ) throws java.io.IOException { java.io.File imagesDir = systemImage.getLocation ( ) ; imagesDir.mkdirs ( ) ; makeFakeSysImgInternal ( imagesDir , systemImage.getAbiType ( ) ) ; }

Target:
protected void makeSystemImageFolder ( com.android.sdklib.ISystemImage systemImage ) throws java.io.IOException { java.io.File imagesDir = systemImage.getLocation ( ) ; imagesDir.mkdirs ( ) ; makeFakeSysImgInternal ( imagesDir , systemImage.getTag ( ) . getId ( ) , systemImage.getAbiType ( ) ) ; }
Source:
public void close ( ) throws java.io.IOException { super . close ( ) ; closed = true ; }

Target:
public void close ( ) throws java.io.IOException { super . close ( ) ; if ( ( ( jarFile ) != null ) && ( ! ( jarFileMustBehaveAsCached ) ) ) { jarFile.close ( ) ; closed = true ; } }
Source:
public boolean getDataRoamingEnabled ( ) { return mDataConnectionTracker.getDataOnRoamingEnabled ( ) ; }

Target:
public boolean getDataRoamingEnabled ( ) { return mDcTracker.getDataOnRoamingEnabled ( ) ; }
Source:
public android.net.IpSecTransform buildTransportModeTransform ( java.net.InetAddress remoteAddress ) throws IpSecManager.ResourceUnavailableException , IpSecManager.SpiUnavailableException , java.io.IOException { mConfig.mode = android.net.IpSecTransform.MODE_TRANSPORT ; mConfig.remoteAddress = remoteAddress ; return new android.net.IpSecTransform ( mContext , mConfig ) . activate ( ) ; }

Target:
public android.net.IpSecTransform.Builder setUnderlyingNetwork ( android.net.Network net ) { mConfig.setNetwork ( net ) ; return this ; }
Source:
public final void appendEncoded ( java.lang.StringBuilder builder , java.lang.String s ) { appendEncoded ( builder , s , Charsets.UTF_8 , false ) ; }

Target:
public final void appendPartiallyEncoded ( java.lang.StringBuilder builder , java.lang.String s ) { appendEncoded ( builder , s , com.android.exchange.utility.UriCodec.UTF_8 , true ) ; }
Source:
private void handleSmsReceived ( android.content.Intent intent ) { android.telephony.gsm.SmsMessage [ ] msgs = android.provider.Telephony.Sms.Intents.getMessagesFromIntent ( intent ) ; android.net.Uri messageUri = insertMessage ( this , msgs ) ; if ( messageUri != null ) { com.android.mms.transaction.MessagingNotification.updateNewMessageIndicator ( this , true ) ; } }

Target:
private void handleSmsReceived ( android.content.Intent intent ) { android.telephony.SmsMessage [ ] msgs = android.provider.Telephony.Sms.Intents.getMessagesFromIntent ( intent ) ; android.net.Uri messageUri = insertMessage ( this , msgs ) ; if ( messageUri != null ) { com.android.mms.transaction.MessagingNotification.updateNewMessageIndicator ( this , true ) ; } }
Source:
public native void setByte ( java.lang.Object object , byte value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native int getInt ( java.lang.Object object , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
boolean isEmpty ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVDir dir ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
boolean isEmpty ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVDir dir ) { return list ( dir ) . isEmpty ( ) ; }
Source:
public synchronized void setPluginsEnabled ( boolean flag ) { setPluginState ( android.webkit.WebSettings.PluginState.ON ) ; }

Target:
public synchronized void setPluginsEnabled ( boolean flag ) { setPluginState ( ( flag ? android.webkit.WebSettings.PluginState.ON : android.webkit.WebSettings.PluginState.OFF ) ) ; }
Source:
private static boolean canManageConference ( com.android.incallui.Call call ) { return ( call != null ) && ( call.can ( PhoneCapabilities.MANAGE_CONFERENCE ) ) ; }

Target:
public void onDetailsChanged ( com.android.incallui.Call call , com.android.incallui.Call.Details details ) { updatePrimaryCallState ( ) ; if ( ( call.can ( PhoneCapabilities.MANAGE_CONFERENCE ) ) != ( android.telecom.PhoneCapabilities.can ( details.getCallCapabilities ( ) , PhoneCapabilities.MANAGE_CONFERENCE ) ) ) { maybeShowManageConferenceCallButton ( ) ; } }
Source:
synchronized void nScriptSetVarVE ( long id , int slot , byte [ ] val , long e , int [ ] dims ) { validate ( ) ; rsnScriptSetVarVE ( mContext , id , slot , val , e , dims ) ; }

Target:
synchronized void nScriptSetVarI ( long id , int slot , int val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarI ( curCon , id , slot , val , mUseInc ) ; }
Source:
public java.lang.String getCdmaMin ( ) { return getCdmaMin ( android.telephony.TelephonyManager.getDefaultSubscription ( ) ) ; }

Target:
public int getSlotIndex ( ) { int slotIndex = android.telephony.SubscriptionManager.getSlotIndex ( getSubId ( ) ) ; if ( slotIndex == ( SubscriptionManager.SIM_NOT_INSERTED ) ) { slotIndex = SubscriptionManager.DEFAULT_SIM_SLOT_INDEX ; } return slotIndex ; }
Source:
native void rsnScriptForEachClipped ( long con , long id , int slot , long ain , long aout , byte [ ] params , int xstart , int xend , int ystart , int yend , int zstart , int zend ) ;

Target:
native void rsnScriptSetVarF ( long con , long id , int slot , float val , boolean mUseInc ) ;
Source:
public static java.lang.String toUnicode ( java.lang.String input ) { return libcore.icu.NativeIDN.toUnicode ( input , 0 ) ; }

Target:
public static java.lang.String toUnicode ( java.lang.String input ) { return java.net.IDN.toUnicode ( input , 0 ) ; }
Source:
public void enableAdvertisingSet ( int advertiserId , boolean enable , int timeout ) { com.android.bluetooth.gatt.GattService service = getService ( ) ; if ( service == null ) return ; service.enableAdvertisingSet ( advertiserId , enable , timeout ) ; }

Target:
public void enableAdvertisingSet ( int advertiserId , boolean enable , int duration , int maxExtAdvEvents ) { com.android.bluetooth.gatt.GattService service = getService ( ) ; if ( service == null ) return ; service.enableAdvertisingSet ( advertiserId , enable , duration , maxExtAdvEvents ) ; }
Source:
public int read ( byte [ ] buffer , int offset , int count ) throws java.io.IOException { return in.read ( buffer , offset , count ) ; }

Target:
public int read ( byte [ ] buffer , int byteOffset , int byteCount ) throws java.io.IOException { return in.read ( buffer , byteOffset , byteCount ) ; }
Source:
public void turnOnIms ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; getServiceInterface ( mBinder ) . turnOnIms ( mSlotId , mSupportedFeature ) ; } }

Target:
public void setUiTTYMode ( int uiTtyMode , android.os.Message onComplete ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; getServiceInterface ( mBinder ) . setUiTTYMode ( mSlotId , mSupportedFeature , uiTtyMode , onComplete ) ; } }
Source:
public void test_getLoopbackAddress ( ) throws java.lang.Exception { assertTrue ( java.net.InetAddress.getLoopbackAddress ( ) . isLoopbackAddress ( ) ) ; }

Target:
public void test_getLoopbackAddress ( ) throws java.lang.Exception { org.junit.Assert.assertTrue ( java.net.InetAddress.getLoopbackAddress ( ) . isLoopbackAddress ( ) ) ; }
Source:
public void copy3DRangeFrom ( int xoff , int yoff , int zoff , int w , int h , int d , int [ ] data ) { validateIsInt32 ( ) ; copy3DRangeFromUnchecked ( xoff , yoff , zoff , w , h , d , data ) ; }

Target:
public void copyTo ( java.lang.Object array ) { copyTo ( array , validateObjectIsPrimitiveArray ( array , true ) , java.lang.reflect.Array.getLength ( array ) ) ; }
Source:
private com.android.rs.test.Int4 pack_i4 ( int [ ] val ) { assert ( val.length ) == 4 ; return new com.android.rs.test.Int4 ( val [ 0 ] , val [ 1 ] , val [ 2 ] , val [ 3 ] ) ; }

Target:
private android.renderscript.Int4 pack_i4 ( int [ ] val ) { assert ( val.length ) == 4 ; return new android.renderscript.Int4 ( val [ 0 ] , val [ 1 ] , val [ 2 ] , val [ 3 ] ) ; }
Source:
public void setBottomProducerValue ( int index , proguard.evaluation.value.Value value ) { producerStack.setBottom ( index , value ) ; }

Target:
public proguard.evaluation.value.Value getTopActualProducerValue ( int index ) { return actualProducerStack.getTop ( index ) ; }
Source:
public static java.lang.String setProperty ( java.lang.String name , java.lang.String value ) { java.lang.System.checkPropertyName ( name ) ; return ( ( java.lang.String ) ( java.lang.System.getProperties ( ) . setProperty ( name , value ) ) ) ; }

Target:
public static java.lang.String setProperty ( java.lang.String name , java.lang.String value ) { java.lang.System.checkPropertyName ( name ) ; return ( ( java.lang.String ) ( java.lang.System.systemProperties.setProperty ( name , value ) ) ) ; }
Source:
static < T extends java.lang.Throwable > T uncheckedThrowable ( final java.lang.Throwable t , final java.lang.Class < T > c ) { return ( ( T ) ( t ) ) ; }

Target:
static < T extends java.lang.Throwable > void uncheckedThrow ( java.lang.Throwable t ) throws T { throw ( ( T ) ( t ) ) ; }
Source:
public final java.nio.ByteBuffer order ( java.nio.ByteOrder byteOrder ) { orderImpl ( byteOrder ) ; return this ; }

Target:
public final java.nio.ByteBuffer order ( java.nio.ByteOrder byteOrder ) { if ( byteOrder == null ) { byteOrder = java.nio.ByteOrder.LITTLE_ENDIAN ; } order = byteOrder ; return this ; }
Source:
public void connectionFailureDoesNotSetHasEverConnectedTrue ( ) throws java.lang.Exception { testDhcpFailure ( ) ; android.net.wifi.WifiConfiguration checkConfig = getWifiConfigurationForNetwork ( com.android.server.wifi.WifiStateMachineTest.DEFAULT_TEST_SSID ) ; org.junit.Assert.assertFalse ( checkConfig.getNetworkSelectionStatus ( ) . getHasEverConnected ( ) ) ; }

Target:
public void connectionFailureDoesNotSetHasEverConnectedTrue ( ) throws java.lang.Exception { testDhcpFailure ( ) ; verify ( mWifiConfigManager , never ( ) ) . updateNetworkAfterConnect ( 0 ) ; }
Source:
public void setVar ( int index , double v ) { mRS.nScriptSetVarD ( getID ( mRS ) , index , v ) ; }

Target:
public void setVar ( int index , double v ) { mRS.nScriptSetVarD ( getID ( mRS ) , index , v , mUseIncSupp ) ; }
Source:
public void test_minusYears_long_normal ( ) { java.time.LocalDate t = TEST_2007_07_15.minusYears ( 1 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2006 , 7 , 15 ) ) ; }

Target:
public void test_minusYears_long_normal ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.minusYears ( 1 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2006 , 7 , 15 ) ) ; }
Source:
protected void fillRandomFloats ( long seed , int fact , int offset , float [ ] inArray ) { android.renderscript.cts.RSUtils.genRandomFloats ( seed , 32 , ( - 16 ) , inArray ) ; }

Target:
protected void fillRandomFloats ( long seed , float min , float max , float [ ] inArray ) { android.renderscript.cts.RSUtils.genRandomFloats ( seed , ( - 16.0F ) , 16.0F , inArray ) ; }
Source:
private void dumpJackLibraryProperties ( @ javax.annotation.CheckForNull java.util.zip.ZipOutputStream zos ) { if ( zos != null ) { dumpPropertiesToZip ( zos , jackLibraryProperties ) ; } else { dumpPropertiesToFile ( new java.io.File ( options.getOutputDir ( ) , com.android.jill.frontend.java.JavaTransformer.JACK_LIBRARY_PROPERTIES ) , jackLibraryProperties ) ; } }

Target:
private void dumpJackLibraryProperties ( @ javax.annotation.CheckForNull java.util.zip.ZipOutputStream zos ) { if ( zos != null ) { dumpPropertiesToZip ( zos , jackLibraryProperties ) ; } else { dumpPropertiesToFile ( new java.io.File ( options.getOutput ( ) , com.android.jill.frontend.java.JavaTransformer.JACK_LIBRARY_PROPERTIES ) , jackLibraryProperties ) ; } }
Source:
public static android.renderscript.RenderScript create ( android.content.Context ctx , android.renderscript.RenderScript.ContextType ct ) { int v = ctx.getApplicationInfo ( ) . targetSdkVersion ; return android.renderscript.RenderScript.create ( ctx , v , ct ) ; }

Target:
public static android.renderscript.RenderScript create ( android.content.Context ctx , android.renderscript.RenderScript.ContextType ct ) { int v = ctx.getApplicationInfo ( ) . targetSdkVersion ; return android.renderscript.RenderScript.create ( ctx , v , ct , android.renderscript.RenderScript.CREATE_FLAG_NONE ) ; }
Source:
private void warnPrintf ( java.lang.String msg , java.lang.Object ... params ) { com.android.ide.eclipse.adt.AdtPlugin.printToConsole ( ( ( mNode ) == null ? "Groovy" : ( mNode.getDescriptor ( ) . getXmlLocalName ( ) ) + ".groovy" ) , java.lang.String.format ( msg , params ) ) ; }

Target:
private void warnPrintf ( java.lang.String msg , java.lang.Object ... params ) { com.android.ide.eclipse.adt.AdtPlugin.printToConsole ( ( ( mNode ) == null ? "" : mNode.getDescriptor ( ) . getXmlLocalName ( ) ) , java.lang.String.format ( msg , params ) ) ; }
Source:
public void onKeyguardExitResult ( boolean success ) { if ( success ) { try { android.app.ActivityManagerNative.getDefault ( ) . stopAppSwitches ( ) ; } catch ( android.os.RemoteException e ) { } sendCloseSystemWindows ( com.android.internal.policy.impl.PhoneWindowManager.SYSTEM_DIALOG_REASON_HOME_KEY ) ; startDockOrHome ( ) ; } }

Target:
public void run ( ) { requestTransientBars ( mNavigationBar ) ; }
Source:
com.android.sched.vfs.BaseVDir createVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.CannotCreateFileException { return changeVFS ( vfs.createVDir ( parent , name ) ) ; }

Target:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVFile file ) throws com.android.sched.util.file.WrongPermissionException { return openWrite ( file , false ) ; }
Source:
public boolean getDataEnabled ( ) { return isDataEnabled ( ) ; }

Target:
public boolean getDataEnabled ( ) { return isUserMobileDataEnabled ( ) ; }
Source:
public boolean isValid ( ) { return ( templates [ com.ibm.icu.text.PluralRules.StandardPluralCategories.OTHER_INDEX ] ) != null ; }

Target:
public boolean isValid ( ) { return ( templates [ com.ibm.icu.impl.StandardPlural.OTHER_INDEX ] ) != null ; }