auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public static boolean hasVersionCode ( com.android.sdklib.io.IAbstractFile manifestFile ) throws com.android.sdklib.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.sdklib.xml.AndroidXPathFactory.newXPath ( ) ; java.lang.Object result = xPath.evaluate ( ( ( ( ( ( "/" + ( com.android.sdklib.xml.AndroidManifest.NODE_MANIFEST ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_VERSIONCODE ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) , javax.xml.xpath.XPathConstants.NODE ) ; if ( result != null ) { org.w3c.dom.Node node = ( ( org.w3c.dom.Node ) ( result ) ) ; if ( ( node.getNodeValue ( ) . length ( ) ) > 0 ) { return true ; } } return false ; }

Target:
public static boolean hasVersionCode ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.sdklib.xml.AndroidXPathFactory.newXPath ( ) ; java.lang.Object result = xPath.evaluate ( ( ( ( ( ( "/" + ( com.android.sdklib.xml.AndroidManifest.NODE_MANIFEST ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_VERSIONCODE ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) , javax.xml.xpath.XPathConstants.NODE ) ; if ( result != null ) { org.w3c.dom.Node node = ( ( org.w3c.dom.Node ) ( result ) ) ; if ( ( node.getNodeValue ( ) . length ( ) ) > 0 ) { return true ; } } return false ; }
Source:
private void updateCapabilities ( ) { setCapabilities ( mCapabilities ) ; }

Target:
public void updateCapabilities ( int capabilities ) { capabilities |= ( android.telecom.PhoneCapabilities.MUTE ) | ( android.telecom.PhoneCapabilities.GENERIC_CONFERENCE ) ; setCapabilities ( capabilities ) ; }
Source:
public boolean isCompatibileWithJack ( @ javax.annotation.Nonnull com.android.sched.util.Version jackVersion ) { return true ; }

Target:
public boolean isCompatibileWithJack ( @ javax.annotation.Nonnull com.android.sched.util.Version jackVersion ) { try { return jackVersion.isNewerOrEqualThan ( com.android.jack.coverage.CodeCoveragePlugin.JACK_COMPATIBLE_VERSION_RELEASE_CODE , com.android.jack.coverage.CodeCoveragePlugin.JACK_COMPATIBLE_VERSION_SUBRELEASE_CODE ) ; } catch ( com.android.sched.util.UncomparableVersion e ) { return true ; } }
Source:
private native java.lang.reflect.Constructor < ? > [ ] getDeclaredConstructorsInternal ( boolean publicOnly ) ;

Target:
private native java.lang.reflect.Field [ ] getPublicDeclaredFields ( ) ;
Source:
public void enableOptionalCodecs ( ) { if ( android.bluetooth.BluetoothA2dp.DBG ) android.util.Log.d ( android.bluetooth.BluetoothA2dp.TAG , "enableOptionalCodecs" ) ; enableDisableOptionalCodecs ( true ) ; }

Target:
public void disableOptionalCodecs ( android.bluetooth.BluetoothDevice device ) { if ( android.bluetooth.BluetoothA2dp.DBG ) android.util.Log.d ( android.bluetooth.BluetoothA2dp.TAG , ( ( "disableOptionalCodecs(" + device ) + ")" ) ) ; enableDisableOptionalCodecs ( device , false ) ; }
Source:
public void run ( ) { org.eclipse.swt.graphics.Image screenshotImage = getScreenshotImage ( device ) ; if ( screenshotImage != null ) { com.android.hierarchyviewerlib.models.PixelPerfectModel.getModel ( ) . setImage ( screenshotImage ) ; } synchronized ( this ) { ( mPixelPerfectRefreshesInProgress ) -- ; } }

Target:
public void run ( ) { org.eclipse.swt.graphics.Image screenshotImage = getScreenshotImage ( getHvDevice ( device ) ) ; if ( screenshotImage != null ) { com.android.hierarchyviewerlib.models.PixelPerfectModel.getModel ( ) . setImage ( screenshotImage ) ; } synchronized ( this ) { ( mPixelPerfectRefreshesInProgress ) -- ; } }
Source:
public void TestGetPatternWithNoPlaceholders ( ) { assertEquals ( "" , "Templates and are here." , com.ibm.icu.impl.SimplePatternFormatter.compile ( "Templates {1}{2} and {3} are here." ) . getTextWithNoPlaceholders ( ) ) ; }

Target:
public void TestGetTextWithNoPlaceholders ( ) { assertEquals ( "" , "Templates and are here." , com.ibm.icu.impl.SimplePatternFormatter.compile ( "Templates {1}{2} and {3} are here." ) . getTextWithNoPlaceholders ( ) ) ; }
Source:
public org.eclipse.swt.graphics.Image getColumnImage ( java.lang.Object element , int column ) { return null ; }

Target:
public org.eclipse.swt.graphics.Image getColumnImage ( java.lang.Object element , int column ) { if ( ( mSelectedNode ) == null ) { return null ; } if ( ( column == 1 ) && ( mPropertyValueEditingSupport.canEdit ( element ) ) ) { return mImage ; } return null ; }
Source:
java.lang.String getName ( ) { return "install${scope.getVariantConfiguration().fullName.capitalize()}" ; }

Target:
public java.lang.String getName ( ) { return scope.getTaskName ( "install" ) ; }
Source:
public static void computeRsqrt ( android.renderscript.cts.TestRsqrt.ArgumentsFloatFloat args ) { args.ulf = 2 ; args.ulfRelaxed = 2 ; args.out = ( ( float ) ( java.lang.StrictMath.pow ( args.in , ( - 0.5 ) ) ) ) ; }

Target:
public static void computeConvert ( android.renderscript.cts.TestConvert.ArgumentsShortUint args ) { args.out = android.renderscript.cts.CoreMathVerifier.convertShortToUint ( args.inV ) ; }
Source:
private static boolean isValueResource ( com.android.ide.eclipse.adt.internal.resources.ResourceType type ) { com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType [ ] folderTypes = com.android.ide.eclipse.adt.internal.resources.manager.FolderTypeRelationship.getRelatedFolders ( type ) ; for ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType folderType : folderTypes ) { if ( folderType == ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType.VALUES ) ) { return true ; } } return false ; }

Target:
private static boolean isValueResource ( com.android.resources.ResourceType type ) { com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType [ ] folderTypes = com.android.ide.eclipse.adt.internal.resources.manager.FolderTypeRelationship.getRelatedFolders ( type ) ; for ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType folderType : folderTypes ) { if ( folderType == ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType.VALUES ) ) { return true ; } } return false ; }
Source:
public boolean foo ( boolean b ) { return bar ( b ) ; }

Target:
public boolean foo ( ) { Main [ ] array = new Main [ ] { this , this , this } ; java.util.Arrays.binarySearch ( array , 0 , 3 , this , this ) ; return passed ; }
Source:
private void updateProvisionedValues ( ) { if ( getBooleanCarrierConfigForSlot ( CarrierConfigManager.KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL ) ) { new com.android.ims.ImsManager.AsyncUpdateProvisionedValues ( ) . execute ( ) ; } }

Target:
private void handleUpdateProvisionedValues ( ) { if ( getBooleanCarrierConfigForSlot ( CarrierConfigManager.KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL ) ) { new com.android.ims.ImsManager.AsyncUpdateProvisionedValues ( ) . execute ( ) ; } }
Source:
public void setsockoptGroupSourceReq ( java.io.FileDescriptor fd , int level , int option , libcore.io.StructGroupSourceReq value ) throws libcore.io.ErrnoException { os.setsockoptGroupSourceReq ( fd , level , option , value ) ; }

Target:
public void setsockoptGroupSourceReq ( java.io.FileDescriptor fd , int level , int option , android.system.StructGroupSourceReq value ) throws android.system.ErrnoException { os.setsockoptGroupSourceReq ( fd , level , option , value ) ; }
Source:
public void resetReordering ( ) { reorderTable = null ; reorderCodes = com.ibm.icu.impl.coll.CollationSettings.EMPTY_INT_ARRAY ; }

Target:
public void resetReordering ( ) { reorderTable = null ; minHighNoReorder = 0 ; reorderRanges = null ; reorderCodes = com.ibm.icu.impl.coll.CollationSettings.EMPTY_INT_ARRAY ; }
Source:
private boolean isKeyEntry ( java.lang.String alias ) { if ( alias == null ) { throw new java.lang.NullPointerException ( "alias == null" ) ; } return mKeyStore.contains ( ( ( Credentials.USER_PRIVATE_KEY ) + alias ) ) ; }

Target:
private boolean isPrivateKeyEntry ( java.lang.String alias ) { if ( alias == null ) { throw new java.lang.NullPointerException ( "alias == null" ) ; } return mKeyStore.contains ( ( ( Credentials.USER_PRIVATE_KEY ) + alias ) ) ; }
Source:
public void onUssdFinishedError ( ) { if ( ( mState ) == ( State.PENDING ) ) { mState = State.FAILED ; mMessage = mContext.getText ( com.android.internal.R.string.mmiError ) ; android.telephony.Rlog.d ( com.android.internal.telephony.gsm.GsmMmiCode.LOG_TAG , "onUssdFinishedError" ) ; mPhone.onMMIDone ( this ) ; } }

Target:
private void handlePasswordError ( int res ) { mState = State.FAILED ; java.lang.StringBuilder sb = new java.lang.StringBuilder ( getScString ( ) ) ; sb.append ( "\n" ) ; sb.append ( mContext.getText ( res ) ) ; mMessage = sb ; mPhone.onMMIDone ( this ) ; }
Source:
public static void reboot ( final android.content.Context context , java.lang.String reason , boolean confirm ) { com.android.server.power.ShutdownThread.mReboot = true ; com.android.server.power.ShutdownThread.mRebootSafeMode = false ; com.android.server.power.ShutdownThread.mRebootUpdate = false ; com.android.server.power.ShutdownThread.mRebootReason = reason ; com.android.server.power.ShutdownThread.shutdownInner ( context , confirm ) ; }

Target:
public static void reboot ( final android.content.Context context , java.lang.String reason , boolean confirm ) { com.android.server.power.ShutdownThread.mReboot = true ; com.android.server.power.ShutdownThread.mRebootSafeMode = false ; com.android.server.power.ShutdownThread.mRebootUpdate = false ; com.android.server.power.ShutdownThread.mReason = reason ; com.android.server.power.ShutdownThread.shutdownInner ( context , confirm ) ; }
Source:
public void testVFE7 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.iget_byte.d.T_iget_byte_12" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE5 ( ) { try { new dot.junit.opcodes.iget_byte.d.T_iget_byte_7 ( ) . run ( ) ; fail ( "expected a NoClassDefFoundError exception" ) ; } catch ( java.lang.NoClassDefFoundError e ) { } }
Source:
private void target ( ) throws java.io.IOException { if ( configuration.verbose ) { java.lang.System.out.println ( "Setting target versions..." ) ; } new proguard.Targeter ( configuration ) . execute ( programClassPool ) ; }

Target:
private void initialize ( ) throws java.io.IOException { if ( configuration.verbose ) { java.lang.System.out.println ( "Initializing..." ) ; } new proguard.Initializer ( configuration ) . execute ( programClassPool , libraryClassPool ) ; }
Source:
public void run ( ) { removeJavascriptInterface ( interfaceName ) ; }

Target:
public void run ( ) { flingScroll ( vx , vy ) ; }
Source:
private void addChild ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo child , int index ) { if ( index < 0 ) { index = mChildren.size ( ) ; } mChildren.add ( index , child ) ; }

Target:
public boolean removeChild ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo child ) { return mChildren.remove ( child ) ; }
Source:
public void run ( ) { org.eclipse.core.runtime.Status s = new org.eclipse.core.runtime.Status ( org.eclipse.core.runtime.IStatus.ERROR , "Screenshot" , msg , t ) ; org.eclipse.jface.dialogs.ErrorDialog.openError ( mViewer.getShell ( ) , "Error" , "Cannot take screenshot" , s ) ; }

Target:
public void run ( ) { org.eclipse.core.runtime.Status s = new org.eclipse.core.runtime.Status ( org.eclipse.core.runtime.IStatus.ERROR , "Screenshot" , msg , t ) ; org.eclipse.jface.dialogs.ErrorDialog.openError ( mViewer.getShell ( ) , "Error" , "Error obtaining UI hierarchy" , s ) ; }
Source:
public void plug ( long batteryUptime , long batteryRealtime ) { mPluggedCount = mCount.get ( ) ; }

Target:
public void plug ( long elapsedRealtime , long batteryUptime , long batteryRealtime ) { mPluggedCount = mCount.get ( ) ; }
Source:
public java.util.Map.Entry < K , V > next ( ) { return com.google.common.collect.Maps.unmodifiableEntry ( super . next ( ) ) ; }

Target:
public java.util.NavigableSet < K > navigableKeySet ( ) { return com.google.common.collect.Maps.removeOnlyNavigableSet ( set ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNullLiteral expr ) { return visitNonThrowingPrimitiveRValue ( expr ) ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JLiteral expr ) { return expr.canThrow ( ) ? visitThrowingRValue ( expr ) : visitNonThrowingTriviaRValue ( expr ) ; }
Source:
public static org.hamcrest.org.hamcrest.Matcher < java.lang.Object > is ( java.lang.Class < ? > type ) { return org.hamcrest.core.Is.is ( type ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > any ( java.lang.Class < T > type ) { return org.hamcrest.core.IsInstanceOf.any ( type ) ; }
Source:
public static native long EC_GROUP_get_generator ( long groupCtx ) ;

Target:
public static native int EC_GROUP_get_degree ( org.conscrypt.NativeRef.EC_GROUP groupRef ) ;
Source:
public void test_minusMonths_long_normal ( ) { java.time.LocalDate t = TEST_2007_07_15.minusMonths ( 1 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 6 , 15 ) ) ; }

Target:
public void test_minusMonths_long_normal ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.minusMonths ( 1 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 6 , 15 ) ) ; }
Source:
public void run ( ) { onSelectAll ( ) ; }

Target:
public void run ( ) { deleteSelection ( mDeleteAction.getText ( ) , new java.util.ArrayList < com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasSelection > ( mSelections ) ) ; }
Source:
public void transform ( dalvik.system.EmulatedStackFrame emulatedStackFrame ) throws java.lang.Throwable { throw exceptionType.newInstance ( ) ; }

Target:
public void transform ( dalvik.system.EmulatedStackFrame emulatedStackFrame ) throws java.lang.Throwable { throw emulatedStackFrame.getReference ( 0 , exceptionType ) ; }
Source:
private boolean handleCcbsIncallSupplementaryService ( java.lang.String dialString ) throws com.android.internal.telephony.CallStateException { if ( ( dialString.length ( ) ) > 1 ) { return false ; } android.util.Log.i ( com.android.internal.telephony.gsm.GSMPhone.LOG_TAG , "MmiCode 5: CCBS not supported!" ) ; notifySuppServiceFailed ( Phone.SuppService.UNKNOWN ) ; return true ; }

Target:
private boolean handleCcbsIncallSupplementaryService ( java.lang.String dialString ) throws com.android.internal.telephony.CallStateException { if ( ( dialString.length ( ) ) > 1 ) { return false ; } android.telephony.Rlog.i ( com.android.internal.telephony.gsm.GSMPhone.LOG_TAG , "MmiCode 5: CCBS not supported!" ) ; notifySuppServiceFailed ( Phone.SuppService.UNKNOWN ) ; return true ; }
Source:
private boolean p2pListen ( int timeout ) { if ( timeout <= 0 ) { return p2pListen ( ) ; } return doBooleanCommand ( ( "P2P_LISTEN " + timeout ) ) ; }

Target:
public boolean p2pStopFind ( ) { return mSupplicantP2pIfaceHal.stopFind ( ) ; }
Source:
public static int replaceAccessFlags ( int accessFlags , int newAccessFlags ) { if ( newAccessFlags == ( proguard.classfile.ClassConstants.INTERNAL_ACC_PRIVATE ) ) { accessFlags &= ~ ( proguard.classfile.ClassConstants.INTERNAL_ACC_FINAL ) ; } return ( accessFlags & ( ~ ( proguard.classfile.util.AccessUtil.ACCESS_MASK ) ) ) | ( newAccessFlags & ( proguard.classfile.util.AccessUtil.ACCESS_MASK ) ) ; }

Target:
public static int replaceAccessFlags ( int accessFlags , int newAccessFlags ) { if ( newAccessFlags == ( proguard.classfile.ClassConstants.ACC_PRIVATE ) ) { accessFlags &= ~ ( proguard.classfile.ClassConstants.ACC_FINAL ) ; } return ( accessFlags & ( ~ ( proguard.classfile.util.AccessUtil.ACCESS_MASK ) ) ) | ( newAccessFlags & ( proguard.classfile.util.AccessUtil.ACCESS_MASK ) ) ; }
Source:
public void run ( ) { try { server.startHandshake ( ) ; } catch ( java.lang.RuntimeException e ) { throw e ; } catch ( java.lang.Exception e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public java.lang.Void call ( ) throws java.lang.Exception { server.startHandshake ( ) ; return null ; }
Source:
public void startFlush ( ) { if ( ( mTestSensorEventListener ) == null ) { return ; } java.lang.String message = formatAssertionMessage ( "Flush" ) ; junit.framework.Assert.assertTrue ( message , mSensorManager.flush ( mTestSensorEventListener ) ) ; }

Target:
public void startFlush ( ) { if ( ( mTestSensorEventListener ) == null ) { return ; } java.lang.String message = android.hardware.cts.helpers.SensorCtsHelper.formatAssertionMessage ( mSensor , "Flush" ) ; junit.framework.Assert.assertTrue ( message , mSensorManager.flush ( mTestSensorEventListener ) ) ; }
Source:
public static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService create ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart editor ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService renderService = new com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService ( editor ) ; return renderService ; }

Target:
public static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService create ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart editor , com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration configuration , com.android.ide.common.resources.ResourceResolver resolver ) { return editor.createRenderService ( configuration , resolver ) ; }
Source:
private com.android.compatibility.common.util.TestStatus getTestResultStatus ( int testResult ) { switch ( testResult ) { case TestResult.TEST_RESULT_PASSED : return com.android.compatibility.common.util.TestStatus.PASS ; case TestResult.TEST_RESULT_FAILED : return com.android.compatibility.common.util.TestStatus.FAIL ; case TestResult.TEST_RESULT_NOT_EXECUTED : return null ; default : throw new java.lang.IllegalArgumentException ( ( "Unknown test result: " + testResult ) ) ; } }

Target:
private java.lang.String getTestResultString ( int testResult ) { switch ( testResult ) { case TestResult.TEST_RESULT_PASSED : return "pass" ; case TestResult.TEST_RESULT_FAILED : return "fail" ; case TestResult.TEST_RESULT_NOT_EXECUTED : return "not-executed" ; default : throw new java.lang.IllegalArgumentException ( ( "Unknown test result: " + testResult ) ) ; } }
Source:
public V forcePut ( @ javax.annotation.Nullable K key , @ javax.annotation.Nullable V value ) { return super . forcePut ( key , value ) ; }

Target:
public V forcePut ( @ javax.annotation.Nullable K key , @ javax.annotation.Nullable V value ) { return put ( key , value , true ) ; }
Source:
private void removePreferenceFromScreen ( java.lang.String key ) { android.preference.Preference pref = findPreference ( key ) ; if ( pref != null ) { getPreferenceScreen ( ) . removePreference ( pref ) ; } }

Target:
private void removePreferenceFromScreen ( java.lang.String key ) { android.support.v7.preference.Preference pref = findPreference ( key ) ; if ( pref != null ) { getPreferenceScreen ( ) . removePreference ( pref ) ; } }
Source:
public int setBitmap ( android.graphics.Bitmap fullImage , android.graphics.Rect visibleCropHint , boolean allowBackup ) throws java.io.IOException { return setBitmap ( fullImage , visibleCropHint , allowBackup , android.app.WallpaperManager.FLAG_SYSTEM ) ; }

Target:
public int setBitmap ( android.graphics.Bitmap fullImage , android.graphics.Rect visibleCropHint , boolean allowBackup ) throws java.io.IOException { return setBitmap ( fullImage , visibleCropHint , allowBackup , ( ( android.app.WallpaperManager.FLAG_SYSTEM ) | ( android.app.WallpaperManager.FLAG_LOCK ) ) ) ; }
Source:
public void close ( ) throws java.io.IOException { if ( ( mCookie ) != null ) { guard.close ( ) ; dalvik.system.DexFile.closeDexFile ( mCookie ) ; mCookie = null ; } }

Target:
public void close ( ) throws java.io.IOException { if ( ( mInternalCookie ) != null ) { if ( dalvik.system.DexFile.closeDexFile ( mInternalCookie ) ) { mInternalCookie = null ; } guard.close ( ) ; mCookie = null ; } }
Source:
public int size ( ) { return values.length ; }

Target:
public int size ( ) { return longs.length ; }
Source:
public int getVoiceNetworkType ( ) { return getVoiceNetworkType ( android.telephony.TelephonyManager.getDefaultSubscription ( ) ) ; }

Target:
public int getDataNetworkType ( ) { return getDataNetworkType ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) ) ; }
Source:
public void setCompileSdkVersion ( @ com.android.annotations.NonNull java.lang.String compileSdkVersion ) { com.android.sdklib.AndroidVersion androidVersion = com.android.sdklib.AndroidTargetHash.getVersionFromHash ( compileSdkVersion ) ; com.google.common.base.Preconditions.checkState ( ( androidVersion != null ) ) ; this . compileSdkVersion = com.android.sdklib.AndroidTargetHash.getPlatformHashString ( androidVersion ) ; }

Target:
public void setCompileSdkVersion ( @ com.android.annotations.NonNull java.lang.String compileSdkVersion ) { com.android.sdklib.AndroidVersion androidVersion = com.android.sdklib.AndroidTargetHash.getVersionFromHash ( compileSdkVersion ) ; com.google.common.base.Preconditions.checkState ( ( androidVersion != null ) ) ; this . compileSdkVersion = com.android.sdklib.AndroidTargetHash.getPlatformHashString ( androidVersion ) ; resolvedSdkVersion = false ; }
Source:
public boolean isPrimitive ( ) { return ( primitiveType ) != 0 ; }

Target:
public boolean isPrimitive ( ) { return ( ( primitiveType ) & 65535 ) != 0 ; }
Source:
public boolean removeAll ( java.util.Collection < ? > collection ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public boolean addAll ( java.util.Collection < ? extends E > es ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public void setDataEnabled ( boolean enable ) { setUserMobileDataEnabled ( enable ) ; }

Target:
public void setDataEnabled ( boolean enable ) { setDataEnabled ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) , enable ) ; }
Source:
private void loge ( java.lang.String s ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CdmaSubscriptionSourceManager.LOG_TAG , ( "[CdmaSSM] " + s ) ) ; }

Target:
private void logw ( java.lang.String s ) { android.telephony.Rlog.w ( com.android.internal.telephony.cdma.CdmaSubscriptionSourceManager.LOG_TAG , s ) ; }
Source:
public boolean apply ( E input ) { return ( predicate.apply ( input ) ) && ( collection.contains ( input ) ) ; }

Target:
public boolean retainAll ( final java.util.Collection < ? > collection ) { return com.google.common.collect.Iterables.removeIf ( unfiltered , com.google.common.base.Predicates.and ( predicate , com.google.common.base.Predicates.not ( com.google.common.base.Predicates.in ( collection ) ) ) ) ; }
Source:
public void setVar ( int index , android.support.v8.renderscript.FieldPacker v ) { mRS.nScriptSetVarV ( getID ( mRS ) , index , v.getData ( ) ) ; }

Target:
public void setVar ( int index , android.support.v8.renderscript.FieldPacker v ) { mRS.nScriptSetVarV ( getID ( mRS ) , index , v.getData ( ) , mUseIncSupp ) ; }
Source:
public void testPreconditions ( ) { assertNotNull ( mNoOverlayIV ) ; assertNotNull ( mTypeOverlayIV ) ; assertNotNull ( mFlavorOverlayIV ) ; assertNotNull ( mTypeFlavorOverlayIV ) ; }

Target:
public void testPreconditions ( ) { assertNotNull ( mNoOverlayIV ) ; assertNotNull ( mTypeOverlayIV ) ; assertNotNull ( mFlavorOverlayIV ) ; assertNotNull ( mTypeFlavorOverlayIV ) ; assertNotNull ( mVariantTypeFlavorOverlayIV ) ; }
Source:
public void startFlush ( ) { if ( ( mTestSensorEventListener ) == null ) { return ; } junit.framework.Assert.assertTrue ( android.hardware.cts.helpers.SensorCtsHelper.formatAssertionMessage ( "Flush" , mEnvironment ) , mSensorManager.flush ( mTestSensorEventListener ) ) ; }

Target:
public void requestFlush ( ) { if ( ( mTestSensorEventListener ) == null ) { android.util.Log.w ( android.hardware.cts.helpers.TestSensorManager.LOG_TAG , "No listener registered, returning." ) ; return ; } junit.framework.Assert.assertTrue ( android.hardware.cts.helpers.SensorCtsHelper.formatAssertionMessage ( "Flush" , mEnvironment ) , mSensorManager.flush ( mTestSensorEventListener ) ) ; }
Source:
private static void log ( java.lang.String s ) { android.util.Log.d ( com.android.internal.telephony.DebugService.TAG , ( "DebugService " + s ) ) ; }

Target:
private static void log ( java.lang.String s ) { android.telephony.Rlog.d ( com.android.internal.telephony.DebugService.TAG , ( "DebugService " + s ) ) ; }
Source:
public void setDataEnabled ( boolean enable ) { setDataEnabled ( android.telephony.SubscriptionManager.getDefaultDataSubId ( ) , enable ) ; }

Target:
public android.telephony.NetworkScan requestNetworkScan ( android.telephony.NetworkScanRequest request , android.telephony.TelephonyScanManager.NetworkScanCallback callback ) { synchronized ( this ) { if ( ( mTelephonyScanManager ) == null ) { mTelephonyScanManager = new android.telephony.TelephonyScanManager ( ) ; } } return mTelephonyScanManager.requestNetworkScan ( getSubId ( ) , request , callback ) ; }
Source:
com.google.common.collect.ImmutableList < java.io.File > getTestedApks ( int density , @ com.android.annotations.Nullable java.lang.String language , @ com.android.annotations.Nullable java.lang.String region , @ com.android.annotations.NonNull java.util.List < java.lang.String > abis ) ;

Target:
com.google.common.collect.ImmutableList < java.io.File > getTestedApks ( @ com.android.annotations.NonNull com.android.ide.common.process.ProcessExecutor processExecutor , @ com.android.annotations.Nullable java.io.File splitSelectExe , @ com.android.annotations.NonNull com.android.builder.testing.api.DeviceConfigProvider deviceConfigProvider ) throws com.android.ide.common.process.ProcessException ;
Source:
public void dragOperationChanged ( org.eclipse.swt.dnd.DropTargetEvent event ) { com.android.ide.eclipse.adt.AdtPlugin.printErrorToConsole ( "DEBUG" , "drag changed" , event ) ; checkDataType ( event ) ; recomputeDragType ( event ) ; }

Target:
public void dragOperationChanged ( org.eclipse.swt.dnd.DropTargetEvent event ) { if ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasDropListener.DEBUG ) com.android.ide.eclipse.adt.AdtPlugin.printErrorToConsole ( "DEBUG" , "drag changed" , event ) ; checkDataType ( event ) ; recomputeDragType ( event ) ; }
Source:
public void openConnection ( ) { debuggeeWrapper.openConnection ( ) ; logWriter.println ( "Opened transport connection" ) ; debuggeeWrapper.vmMirror.adjustTypeLength ( ) ; logWriter.println ( "Adjusted VM-dependent type lengths" ) ; }

Target:
public void openConnection ( ) { openConnectionWithoutTypeLength ( ) ; debuggeeWrapper.vmMirror.adjustTypeLength ( ) ; logWriter.println ( "Adjusted VM-dependent type lengths" ) ; }
Source:
public void setScanInterval ( int scanInterval ) { doBooleanCommand ( ( "SCAN_INTERVAL " + scanInterval ) ) ; }

Target:
public boolean startPnoScan ( com.android.server.wifi.WifiNative.PnoSettings pnoSettings ) { return mWificondControl.startPnoScan ( pnoSettings ) ; }
Source:
public boolean hasBuildId ( ) { return ( ( bitField0_ ) & 8 ) == 8 ; }

Target:
public boolean hasTarget ( ) { return ( ( bitField0_ ) & 8 ) == 8 ; }
Source:
public java.lang.String toString ( ) { return java.lang.String.format ( ( ( "%0" + ( ( com.android.tools.rpclib.binary.Handle.SIZE ) * 2 ) ) + "x" ) , new java.math.BigInteger ( mValue ) ) ; }

Target:
public java.lang.String toString ( ) { return javax.xml.bind.DatatypeConverter.printHexBinary ( mValue ) . toLowerCase ( ) ; }
Source:
public void testVFE14 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_7" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE15 ( ) { try { new dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_16 ( ) . run ( new dot.junit.opcodes.invoke_interface_range.ITestImpl ( ) ) ; fail ( "expected NoSuchMethodError" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }
Source:
public boolean isActiveDevice ( android.bluetooth.BluetoothDevice device ) { if ( ( mService ) == null ) return false ; return mService.isActiveDevice ( device ) ; }

Target:
public java.util.List < android.bluetooth.BluetoothDevice > getActiveDevices ( ) { if ( ( mService ) == null ) return new java.util.ArrayList < > ( ) ; return mService.getActiveDevices ( ) ; }
Source:
public void testMockLocations ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestDetector.MOCK_LOCATION ) ; assertEquals ( ( "" + ( ( ( "AndroidManifest.xml:9: Error: Mock locations should only be requested in a debug-specific manifest file (typically src/debug/AndroidManifest.xml) [MockLocation]\n" + " <uses-permission android:name=\"android.permission.ACCESS_MOCK_LOCATION\" /> \n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "mock_location.xml=>AndroidManifest.xml" , "multiproject/library.properties=>build.gradle" ) ) ; }

Target:
public void testMockLocations ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestDetector.MOCK_LOCATION ) ; assertEquals ( ( "" + ( ( ( "AndroidManifest.xml:9: Error: Mock locations should only be requested in a debug-specific manifest file (typically src/debug/AndroidManifest.xml) [MockLocation]\n" + " <uses-permission android:name=\"android.permission.ACCESS_MOCK_LOCATION\" /> \n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "mock_location.xml=>AndroidManifest.xml" , "mock_location.xml=>debug/AndroidManifest.xml" , "mock_location.xml=>test/AndroidManifest.xml" , "multiproject/library.properties=>build.gradle" ) ) ; }
Source:
public static void computeNativeDivide ( android.renderscript.cts.TestNativeDivide.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( android.renderscript.cts.CoreMathVerifier.NATIVE_PRECISION , android.renderscript.cts.CoreMathVerifier.NATIVE_PRECISION , true ) ; args.out = t.divide ( t.new32 ( args.inLhs ) , t.new32 ( args.inRhs ) ) ; }

Target:
public static void computeNativeDivide ( android.renderscript.cts.TestNativeDivide.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( android.renderscript.cts.CoreMathVerifier.NATIVE_PRECISION , android.renderscript.cts.CoreMathVerifier.NATIVE_PRECISION , true ) ; args.out = t.divide ( t.new32 ( args.inLeftVector ) , t.new32 ( args.inRightVector ) ) ; }
Source:
public final byte [ ] getEncoded ( ) { if ( key.isEngineBased ( ) ) { return null ; } return org.conscrypt.NativeCrypto.i2d_PKCS8_PRIV_KEY_INFO ( key.getPkeyContext ( ) ) ; }

Target:
public final byte [ ] getEncoded ( ) { if ( key.isEngineBased ( ) ) { return null ; } return org.conscrypt.NativeCrypto.i2d_PKCS8_PRIV_KEY_INFO ( key.getNativeRef ( ) ) ; }
Source:
private static libcore.tzdata.shared2.TimeZoneDistro createValidTimeZoneDistro ( java.lang.String rulesVersion , int revision ) throws java.lang.Exception { return libcore.tzdata.update2.TimeZoneDistroInstallerTest.createValidTimeZoneDistroBuilder ( rulesVersion , revision ) . build ( ) ; }

Target:
private static com.android.timezone.distro.TimeZoneDistro createValidTimeZoneDistro ( java.lang.String rulesVersion , int revision ) throws java.lang.Exception { return libcore.tzdata.update2.TimeZoneDistroInstallerTest.createValidTimeZoneDistroBuilder ( rulesVersion , revision ) . build ( ) ; }
Source:
public void tearDown ( ) { mHandlerThread.quit ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { mHandlerThread.quit ( ) ; mStreamingSession.close ( ) ; mMiddlewareControl.reset ( ) ; }
Source:
boolean isBooleanField ( ) { return ( ( getType ( ) . equals ( boolean . class ) ) || ( getType ( ) . equals ( com.google.devtools.common.options.TriState.class ) ) ) || ( ( getConverter ( ) ) instanceof com.google.devtools.common.options.BoolOrEnumConverter ) ; }

Target:
public boolean usesBooleanValueSyntax ( ) { return ( ( getType ( ) . equals ( boolean . class ) ) || ( getType ( ) . equals ( com.google.devtools.common.options.TriState.class ) ) ) || ( ( getConverter ( ) ) instanceof com.google.devtools.common.options.BoolOrEnumConverter ) ; }
Source:
public int getCdmaEriIconIndex ( ) { return getCdmaEriIconIndex ( android.telephony.TelephonyManager.getDefaultSubscription ( ) ) ; }

Target:
public boolean setVoiceMailNumber ( java.lang.String alphaTag , java.lang.String number ) { return setVoiceMailNumber ( getSubId ( ) , alphaTag , number ) ; }
Source:
public void test_minusWeeks_overYears ( ) { java.time.LocalDate t = java.time.LocalDate.of ( 2008 , 7 , 13 ) . minusWeeks ( 52 ) ; org.testng.Assert.assertEquals ( t , TEST_2007_07_15 ) ; }

Target:
public void test_minusWeeks_overYears ( ) { java.time.LocalDate t = java.time.LocalDate.of ( 2008 , 7 , 13 ) . minusWeeks ( 52 ) ; org.testng.Assert.assertEquals ( t , tck.java.time.TCKLocalDate.TEST_2007_07_15 ) ; }
Source:
public java.io.File call ( ) throws java.lang.Exception { com.google.common.base.Preconditions.checkNotNull ( androidBuilder.getTarget ( ) , "ensureTargetSetup not called" ) ; return new java.io.File ( androidBuilder.getTarget ( ) . getPath ( IAndroidTarget.ANDROID_JAR ) ) ; }

Target:
public void createMockableJarTask ( com.android.build.gradle.internal.TaskFactory tasks ) { createMockableJar = androidTasks.create ( tasks , new com.android.build.gradle.internal.tasks.MockableAndroidJarTask.ConfigAction ( globalScope ) ) ; }
Source:
public void saveProperties ( java.util.Properties props ) { super . saveProperties ( props ) ; if ( ! ( getMinToolsRevision ( ) . equals ( com.android.sdklib.internal.repository.packages.MIN_TOOLS_REV_NOT_SPECIFIED ) ) ) { props.setProperty ( PkgProps.MIN_TOOLS_REV , getMinToolsRevision ( ) . toShortString ( ) ) ; } }

Target:
public com.android.sdklib.repository.FullRevision getMinToolsRevision ( ) { return mMinToolsMixin.getMinToolsRevision ( ) ; }
Source:
public void postCategoryItemsChanged ( ) { for ( com.android.sdkuilib.internal.repository.sdkman2.PkgCategory cat : getCategories ( ) ) { java.util.Collections.sort ( cat.getItems ( ) ) ; } }

Target:
public void postCategoryItemsChanged ( ) { for ( com.android.sdkuilib.internal.repository.core.PkgCategory cat : getCategories ( ) ) { java.util.Collections.sort ( cat.getItems ( ) ) ; } }
Source:
private android.net.NetworkRequest sendRequestForNetwork ( android.net.NetworkCapabilities need , android.net.ConnectivityManager.NetworkCallback callback , int timeoutMs , int action , int legacyType ) { return sendRequestForNetwork ( need , callback , getHandler ( ) , timeoutMs , action , legacyType ) ; }

Target:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback ) { requestNetwork ( request , networkCallback , getDefaultHandler ( ) ) ; }
Source:
public void testIntegerArray ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.array.config_virtualKeyVibePattern ; final int [ ] expected = new int [ ] { 0 , 10 , 20 , 30 } ; assertResource ( resId , expected , expected ) ; }

Target:
public void testMatrix110010 ( ) throws java.lang.Throwable { final int resId = R.integer.matrix_110010 ; setLocale ( "sv_SE" ) ; assertResource ( resId , 200 , 200 , 200 ) ; }
Source:
private int decompositionMode_Java_ICU ( int mode ) { switch ( mode ) { case java.text.Collator.CANONICAL_DECOMPOSITION : return libcore.icu.RuleBasedCollatorICU.VALUE_ON ; case java.text.Collator.NO_DECOMPOSITION : return libcore.icu.RuleBasedCollatorICU.VALUE_OFF ; } throw new java.lang.IllegalArgumentException ( ( "Bad mode: " + mode ) ) ; }

Target:
private int decompositionMode_Java_ICU ( int mode ) { switch ( mode ) { case java.text.Collator.CANONICAL_DECOMPOSITION : return java.text.com.ibm.icu.text.Collator ; case java.text.Collator.NO_DECOMPOSITION : return java.text.com.ibm.icu.text.Collator ; } throw new java.lang.IllegalArgumentException ( ( "Bad mode: " + mode ) ) ; }
Source:
protected GsmAlphabet.TextEncodingDetails calculateLength ( java.lang.CharSequence messageBody , boolean use7bitOnly ) { return com.android.internal.telephony.gsm.SmsMessage.calculateLength ( messageBody , use7bitOnly ) ; }

Target:
protected com.android.internal.telephony.GsmAlphabet.TextEncodingDetails calculateLength ( java.lang.CharSequence messageBody , boolean use7bitOnly ) { return com.android.internal.telephony.util.SMSDispatcherUtil.calculateLengthGsm ( messageBody , use7bitOnly ) ; }
Source:
public android.net.IpSecTransform.Builder setNattKeepalive ( int intervalSeconds ) { mConfig.nattKeepaliveInterval = intervalSeconds ; return this ; }

Target:
public android.net.IpSecTransform.Builder setIpv4Encapsulation ( android.net.IpSecManager.UdpEncapsulationSocket localSocket , int remotePort ) { mConfig.setEncapType ( android.net.IpSecTransform.ENCAP_ESPINUDP ) ; mConfig.setEncapSocketResourceId ( localSocket.getResourceId ( ) ) ; mConfig.setEncapRemotePort ( remotePort ) ; return this ; }
Source:
public java.lang.String shell ( java.lang.String cmd ) { return shell ( cmd , 5000 ) ; }

Target:
public java.lang.String shell ( java.lang.String cmd ) { return shell ( cmd , com.android.ddmlib.DdmPreferences.getTimeOut ( ) ) ; }
Source:
public boolean hasAlternativeName ( @ javax.annotation.Nonnull java.lang.String oldName ) { return nameProvider.hasAlternativeName ( oldName ) ; }

Target:
public boolean hasAlternativeName ( @ javax.annotation.Nonnull com.android.jack.shrob.obfuscation.key.Key key ) { return nameProvider.hasAlternativeName ( key ) ; }
Source:
public boolean isChromiumLinkerLibrary ( java.lang.String library ) { return library.equals ( org.chromium.base.library_loader.Linker.LINKER_JNI_LIBRARY ) ; }

Target:
public boolean isChromiumLinkerLibrary ( java.lang.String library ) { return ( library.equals ( org.chromium.base.library_loader.Linker.LINKER_JNI_LIBRARY ) ) || ( library.equals ( ( ( org.chromium.base.library_loader.Linker.LINKER_JNI_LIBRARY ) + ".cr" ) ) ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { Main.doTest ( 10000 ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { art.Main.bindAgentJNIForClass ( Main.class ) ; Main.doTest ( 10000 ) ; }
Source:
public static void computeRsqrt ( android.renderscript.cts.TestRsqrt.ArgumentsFloatFloat args ) { args.ulf = 2 ; args.ulfRelaxed = 2 ; args.out = ( ( float ) ( java.lang.StrictMath.pow ( args.in , ( - 0.5 ) ) ) ) ; }

Target:
public static void computeRsqrt ( android.renderscript.cts.TestRsqrt.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( ( 1.0F / ( android.renderscript.cts.CoreMathVerifier.sqrt ( args.in ) ) ) , 2 , 2 ) ; }
Source:
public com.appspot.gsamplesindex.samplesindex.model.Sample deriveValue ( @ org.jetbrains.annotations.NotNull com.android.tools.idea.wizard.ScopedStateStore.ScopedStateStore state , com.google.gct.idea.samples.Key changedKey , @ org.jetbrains.annotations.Nullable com.appspot.gsamplesindex.samplesindex.model.Sample currentValue ) { return state.get ( com.google.gct.idea.samples.SampleImportWizardPath.SAMPLE_KEY ) ; }

Target:
public com.appspot.gsamplesindex.samplesindex.model.Sample deriveValue ( @ org.jetbrains.annotations.NotNull com.android.tools.idea.wizard.dynamic.ScopedStateStore state , com.google.gct.idea.samples.Key changedKey , @ org.jetbrains.annotations.Nullable com.appspot.gsamplesindex.samplesindex.model.Sample currentValue ) { return state.get ( com.google.gct.idea.samples.SampleImportWizardPath.SAMPLE_KEY ) ; }
Source:
private int keySizeBytes ( ) { if ( ( key ) == null ) { throw new java.lang.IllegalStateException ( "cipher is not initialized" ) ; } return org.conscrypt.NativeCrypto.RSA_size ( this . key.getPkeyContext ( ) ) ; }

Target:
private int keySizeBytes ( ) { if ( ( key ) == null ) { throw new java.lang.IllegalStateException ( "cipher is not initialized" ) ; } return org.conscrypt.NativeCrypto.RSA_size ( this . key.getNativeRef ( ) ) ; }
Source:
void addItems ( java.util.Collection < I > items ) { for ( I item : items ) { mItems.put ( item.getKey ( ) , item ) ; item.setSource ( this ) ; } }

Target:
public void replace ( @ com.android.annotations.NonNull I oldItem , @ com.android.annotations.NonNull I newItem ) { mItems.remove ( oldItem.getKey ( ) ) ; oldItem.setSource ( null ) ; newItem.setSource ( this ) ; mItems.put ( newItem.getKey ( ) , newItem ) ; }
Source:
public static int macAddressType ( byte [ ] addr ) { if ( ! ( android.net.MacAddress.isMacAddress ( addr ) ) ) { return android.net.MacAddress.TYPE_UNKNOWN ; } return android.net.MacAddress.fromBytes ( addr ) . addressType ( ) ; }

Target:
public static int macAddressType ( byte [ ] addr ) { if ( ! ( android.net.MacAddress.isMacAddress ( addr ) ) ) { return android.net.MacAddress.TYPE_UNKNOWN ; } return android.net.MacAddress.fromBytes ( addr ) . getAddressType ( ) ; }
Source:
void defineComponentType ( org.gradle.platform.base.ComponentTypeBuilder < com.android.build.gradle.model.AndroidComponentSpec > builder ) { builder.defaultImplementation ( com.android.build.gradle.model.DefaultAndroidComponentSpec ) ; }

Target:
public void defineComponentType ( org.gradle.platform.base.ComponentTypeBuilder < com.android.build.gradle.model.AndroidComponentSpec > builder ) { builder.defaultImplementation ( com.android.build.gradle.model.DefaultAndroidComponentSpec.class ) ; }
Source:
public void testEmpty ( ) { org.junit.Assert.assertTrue ( new org.jacoco.core.matcher.WildcardMatcher ( "" ) . apply ( "" ) ) ; org.junit.Assert.assertFalse ( new org.jacoco.core.matcher.WildcardMatcher ( "" ) . apply ( "abc" ) ) ; }

Target:
public void testEmpty ( ) { org.junit.Assert.assertTrue ( new org.jacoco.core.matcher.WildcardMatcher ( "" ) . matches ( "" ) ) ; org.junit.Assert.assertFalse ( new org.jacoco.core.matcher.WildcardMatcher ( "" ) . matches ( "abc" ) ) ; }
Source:
public com.android.builder.VariantConfiguration addProductFlavor ( @ com.android.annotations.NonNull com.android.builder.DefaultProductFlavor productFlavor , @ com.android.annotations.NonNull com.android.builder.model.SourceProvider sourceProvider ) { mFlavorConfigs.add ( productFlavor ) ; mFlavorSourceProviders.add ( sourceProvider ) ; mMergedFlavor = productFlavor.mergeOver ( mMergedFlavor ) ; return this ; }

Target:
public com.android.builder.VariantConfiguration addProductFlavor ( @ com.android.annotations.NonNull com.android.builder.DefaultProductFlavor productFlavor , @ com.android.annotations.NonNull com.android.builder.model.SourceProvider sourceProvider ) { mFlavorConfigs.add ( productFlavor ) ; mFlavorSourceProviders.add ( sourceProvider ) ; mMergedFlavor = productFlavor.mergeOver ( mMergedFlavor ) ; computeNdkConfig ( ) ; return this ; }
Source:
public android.net.util.AvoidBadWifiTracker createAvoidBadWifiTracker ( android.content.Context c , android.os.Handler h , java.lang.Runnable r ) { final com.android.server.ConnectivityServiceTest.WrappedAvoidBadWifiTracker tracker = new com.android.server.ConnectivityServiceTest.WrappedAvoidBadWifiTracker ( c , h , r ) ; return tracker ; }

Target:
public android.net.util.MultinetworkPolicyTracker createMultinetworkPolicyTracker ( android.content.Context c , android.os.Handler h , java.lang.Runnable r ) { final com.android.server.ConnectivityServiceTest.WrappedMultinetworkPolicyTracker tracker = new com.android.server.ConnectivityServiceTest.WrappedMultinetworkPolicyTracker ( c , h , r ) ; return tracker ; }
Source:
public static java.io.InputStream getEntryInputStream ( java.util.zip.ZipFile zipFile , java.lang.String entryPath ) throws java.io.IOException { java.util.zip.ZipEntry entry = com.intellij.updater.Utils.getZipEntry ( zipFile , entryPath ) ; return com.intellij.updater.Utils.findEntryInputStreamForEntry ( zipFile , entry ) ; }

Target:
public static java.io.InputStream getEntryInputStream ( com.intellij.updater.MultiZipFile zipFile , java.lang.String entryPath ) throws java.io.IOException { java.util.zip.ZipEntry entry = com.intellij.updater.Utils.getZipEntry ( zipFile , entryPath ) ; return com.intellij.updater.Utils.findEntryInputStreamForEntry ( zipFile , entry ) ; }
Source:
public void run ( ) { mNM.notify ( 1 , notificationWithNumbers ( 333 ) ) ; }

Target:
public void run ( ) { mNM.notify ( 1 , notificationWithNumbers ( 1 ) ) ; mNM.notify ( 2 , notificationWithNumbers ( 2 ) ) ; mNM.cancel ( 2 ) ; }
Source:
public void run ( ) { mNM.notify ( 1 , notificationWithNumbers ( 4444 ) ) ; }

Target:
public void run ( ) { mNM.notify ( 1 , notificationWithNumbers ( 333 ) ) ; }
Source:
abstract long getLastModified ( @ javax.annotation.Nonnull FILE file ) ;

Target:
abstract java.nio.file.attribute.FileTime getLastModified ( @ javax.annotation.Nonnull FILE file ) throws com.android.sched.util.file.CannotGetModificationTimeException ;
Source:
public void onAborted ( ) { android.os.Bundle bundle = new android.os.Bundle ( ) ; bundle.putInt ( "callbackId" , mCallbackId ) ; bundle.putInt ( "sessionId" , mSessionId ) ; mEventFacade.postEvent ( "WifiNanRangingListenerOnAborted" , bundle ) ; }

Target:
public void onAborted ( ) { android.os.Bundle bundle = new android.os.Bundle ( ) ; bundle.putInt ( "callbackId" , mCallbackId ) ; bundle.putInt ( "sessionId" , mSessionId ) ; mEventFacade.postEvent ( "WifiAwareRangingListenerOnAborted" , bundle ) ; }
Source:
public byte [ ] getEncodingV ( ) { return encoding ; }

Target:
public byte [ ] getEncodingV ( ) { return org.bouncycastle.util.Arrays.clone ( encoding ) ; }
Source:
public final int getAssetInt ( ) { return ( ( int ) ( mAsset ) ) ; }

Target:
public final int getAssetInt ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
com.android.manifmerger.MergingReport.Builder addError ( java.lang.String error ) { mHasErrors = true ; mRecordBuilder.add ( new com.android.manifmerger.MergingReport.Record ( com.android.manifmerger.MergingReport.Record.Type.ERROR , error ) ) ; return this ; }

Target:
com.android.manifmerger.MergingReport.Builder addError ( java.lang.String error ) { mHasErrors = true ; mRecordBuilder.add ( new com.android.manifmerger.MergingReport.Record ( com.android.manifmerger.MergingReport.Record.Severity.ERROR , error ) ) ; return this ; }
Source:
public void run ( ) { mToast.setMargin ( horizontal2 , vertical2 ) ; mToast.show ( ) ; }

Target:
public void run ( ) { mToast.setMargin ( horizontal2 , vertical2 ) ; mToast.show ( ) ; registerLayoutListener ( mToast.getView ( ) ) ; }
Source:
public void remove ( ) { this . remove ( prev ) ; prev = prev.prev ; }

Target:
public java.lang.Object next ( ) { if ( ( next ) == null ) { throw new java.util.NoSuchElementException ( ) ; } org.objectweb.asm.tree.AbstractInsnNode result = next ; prev = result ; next = result.next ; remove = result ; return result ; }
Source:
public static int AddNegs2 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } int temp1 = - arg1 ; int temp2 = - arg2 ; return ( temp1 + temp2 ) | ( temp1 + temp2 ) ; }

Target:
public static int $noinline$AddNegs2 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } int temp1 = - arg1 ; int temp2 = - arg2 ; return ( temp1 + temp2 ) | ( temp1 + temp2 ) ; }
Source:
public void checkValidity ( ) { if ( ( parent ) != null ) { throw new com.android.jack.ir.InternalCompilerException ( this , "Invalid parent" ) ; } }

Target:
public void checkValidity ( ) { if ( ( parent ) != null ) { throw new com.android.jack.ir.JNodeInternalError ( this , "Invalid parent" ) ; } }