auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void testConfigurationUpdatesWhenRotatingToSideFromDocked ( ) throws java.lang.Exception { android.server.cts.bf839d Merge ; android.server.cts.Do not ; android.server.cts.isInMultiWindowMode in ; android.server.cts.mode t ; }

Target:
public void testConfigurationUpdatesWhenRotatingToSideFromDocked ( ) throws java.lang.Exception { setDeviceRotation ( 0 ) ; launchActivityInDockStack ( android.server.cts.LAUNCHING_ACTIVITY ) ; launchActivityToSide ( false , false , android.server.cts.ActivityManagerAppConfigurationTests.RESIZEABLE_ACTIVITY_NAME ) ; final android.server.cts.ReportedSizes initialSizes = getActivityDisplaySize ( android.server.cts.ActivityManagerAppConfigurationTests.RESIZEABLE_ACTIVITY_NAME , android.server.cts.FULLSCREEN_WORKSPACE_STACK_ID ) ; rotateAndCheckSizes ( initialSizes , android.server.cts.FULLSCREEN_WORKSPACE_STACK_ID ) ; }
Source:
private void fillData ( ) { fetchName ( ) ; fetchBtClass ( ) ; updateProfiles ( ) ; migratePhonebookPermissionChoice ( ) ; migrateMessagePermissionChoice ( ) ; fetchMessageRejectionCount ( ) ; dispatchAttributesChanged ( ) ; }

Target:
private void fillData ( ) { fetchName ( ) ; fetchBtClass ( ) ; updateProfiles ( ) ; fetchActiveDevices ( ) ; migratePhonebookPermissionChoice ( ) ; migrateMessagePermissionChoice ( ) ; fetchMessageRejectionCount ( ) ; dispatchAttributesChanged ( ) ; }
Source:
private native void nativeDoRunLoopOnce ( long messagePumpDelegateNative , long delayedScheduledTimeTicks ) ;

Target:
private native void nativeDoRunLoopOnce ( long messagePumpDelegateNative , long messagePumpNative , long delayedScheduledTimeTicks ) ;
Source:
public void test_TestSSLEnginePair_create ( ) throws java.lang.Exception { libcore.javax.net.ssl.TestSSLEnginePair test = libcore.javax.net.ssl.TestSSLEnginePair.create ( null ) ; assertNotNull ( test.c ) ; assertNotNull ( test.server ) ; assertNotNull ( test.client ) ; assertConnected ( test ) ; }

Target:
public void test_TestSSLEnginePair_create ( ) throws java.lang.Exception { libcore.javax.net.ssl.TestSSLEnginePair test = libcore.javax.net.ssl.TestSSLEnginePair.create ( null ) ; assertNotNull ( test.c ) ; assertNotNull ( test.server ) ; assertNotNull ( test.client ) ; assertConnected ( test ) ; test.close ( ) ; }
Source:
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 ; return result ; }

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 void disable ( java.lang.String id ) { disable.add ( id ) ; severities.put ( id , Severity.IGNORE ) ; }

Target:
public void warning ( java.lang.String id ) { severities.put ( id , com.android.tools.lint.detector.api.Severity.WARNING ) ; }
Source:
public boolean isConnected ( int callSessionType , int callType ) throws android.os.RemoteException { synchronized ( mLock ) { return this . isConnected ( callSessionType , callType ) ; } }

Target:
public void acknowledgeSms ( int messageRef , int result ) { synchronized ( mLock ) { this . acknowledgeSms ( messageRef , result ) ; } }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { onDeviceConfigChange ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { selectTarget ( target ) ; onRenderingTargetChange ( ) ; }
Source:
static double $opt$ShortToDouble ( short a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( double ) ( a ) ) ; }

Target:
static double $opt$noinline$ShortToDouble ( short a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( double ) ( a ) ) ; }
Source:
public final void scheduleResumeActivity ( android.os.IBinder token , boolean isForward ) { queueOrSendMessage ( android.app.ActivityThread.H.RESUME_ACTIVITY , token , ( isForward ? 1 : 0 ) ) ; }

Target:
public final void scheduleResumeActivity ( android.os.IBinder token , int processState , boolean isForward ) { updateProcessState ( processState , false ) ; sendMessage ( android.app.ActivityThread.H.RESUME_ACTIVITY , token , ( isForward ? 1 : 0 ) ) ; }
Source:
public java.lang.Boolean call ( ) { return onKeyUp ( keyCode , event ) ; }

Target:
public java.lang.Boolean call ( ) { return onKeyDown ( keyCode , event ) ; }
Source:
public java.io.File call ( ) throws java.lang.Exception { return variantData.getFinalResourcesDir ( ) ; }

Target:
public java.io.File call ( ) throws java.lang.Exception { return scope.getVariantScope ( ) . getFinalResourcesDir ( ) ; }
Source:
public void setCaptureInstance ( boolean captureInstance ) { this . captureInstance = captureInstance ; }

Target:
public void resolveMethodId ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethodId methodId ) { this . mthIdWithErasure = methodId ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setInfraLogPath ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 524288 ; infraLogPath_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setInfraLogPath ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 1048576 ; infraLogPath_ = value ; onChanged ( ) ; return this ; }
Source:
private native void _finalize ( int uniqueId ) ;

Target:
private native int _initialize ( ) ;
Source:
private static native void native_drawTextOnPath ( int nativeCanvas , char [ ] text , int index , int count , int path , float hOffset , float vOffset , int bidiFlags , int paint ) ;

Target:
private static native void native_drawTextOnPath ( long nativeCanvas , char [ ] text , int index , int count , long nativePath , float hOffset , float vOffset , int bidiFlags , long nativePaint ) ;
Source:
public void deauthenticateNetwork ( long holdoff , boolean ess ) { mWifiStateMachine.deauthenticateNetwork ( mWifiStateMachineChannel , holdoff , ess ) ; }

Target:
public void deauthenticateNetwork ( long holdoff , boolean ess ) { mLog.trace ( "deauthenticateNetwork uid=%" ) . c ( android.os.Binder.getCallingUid ( ) ) . flush ( ) ; mWifiStateMachine.deauthenticateNetwork ( mWifiStateMachineChannel , holdoff , ess ) ; }
Source:
private com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor [ ] getAttributeDescriptor ( org.eclipse.jdt.core.IType type , com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor parentDescriptor ) { return parentDescriptor.getAttributes ( ) ; }

Target:
private com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor [ ] getAttributeDescriptor ( org.eclipse.jdt.core.IType type , com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor parentDescriptor ) { return parentDescriptor.getAttributes ( ) ; }
Source:
public void testTargetAnnotationInner ( ) throws java.lang.Exception { assertEquals ( "ApiTargetTest2.java:32: Error: Call requires API level 14 (current min is 3): android.widget.GridLayout#<init>" , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk1.xml=>AndroidManifest.xml" , "apicheck/ApiTargetTest2.java.txt=>src/test/pkg/ApiTargetTest2.java" , "apicheck/ApiTargetTest2.class.data=>bin/classes/test/pkg/ApiTargetTest2.class" , "apicheck/ApiTargetTest2$1.class.data=>bin/classes/test/pkg/ApiTargetTest2$1.class" , "apicheck/ApiTargetTest2$1$2.class.data=>bin/classes/test/pkg/ApiTargetTest2$1$2.class" , "apicheck/ApiTargetTest2$1$1.class.data=>bin/classes/test/pkg/ApiTargetTest2$1$1.class" ) ) ; }

Target:
public void testTargetAnnotationInner ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/ApiTargetTest2.java:32: Error: Call requires API level 14 (current min is 3): android.widget.GridLayout#<init> [NewApi]\n" + ( ( ( " new GridLayout(null, null, 0);\n" + " ~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) + "" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk1.xml=>AndroidManifest.xml" , "apicheck/ApiTargetTest2.java.txt=>src/test/pkg/ApiTargetTest2.java" , "apicheck/ApiTargetTest2.class.data=>bin/classes/test/pkg/ApiTargetTest2.class" , "apicheck/ApiTargetTest2$1.class.data=>bin/classes/test/pkg/ApiTargetTest2$1.class" , "apicheck/ApiTargetTest2$1$2.class.data=>bin/classes/test/pkg/ApiTargetTest2$1$2.class" , "apicheck/ApiTargetTest2$1$1.class.data=>bin/classes/test/pkg/ApiTargetTest2$1$1.class" ) ) ; }
Source:
private boolean isScoAcceptable ( ) { return ( mVoiceRecognitionStarted ) || ( isInCall ( ) ) ; }

Target:
private boolean isScoAcceptable ( ) { if ( mForceScoAudio ) return true ; return ( mAudioRouteAllowed ) && ( ( ( mVoiceRecognitionStarted ) || ( isInCall ( ) ) ) || ( ( android.bluetooth.BluetoothHeadset.isInbandRingingSupported ( mService ) ) && ( isRinging ( ) ) ) ) ; }
Source:
public void test_U8_2_SCALE20_20_inRectangle ( ) { testReszie ( inX , inY , Element.DataType.UNSIGNED_8 , 2 , 2.0F , 2.0F ) ; }

Target:
public void test_U8_2_SCALE20_20_inRectangle ( ) { testResize ( inX , inY , Element.DataType.UNSIGNED_8 , 2 , 2.0F , 2.0F ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JExpression expr ) { throw new com.android.jack.ir.JNodeInternalError ( expr , ( "Unexpected expression in CFG block element: " + ( this . blockElement.toSource ( ) ) ) ) ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JExpression expr ) { throw new com.android.jack.ir.JNodeInternalError ( expr , ( ( ( ( "Unexpected expression in CFG: " + ( expr.toSource ( ) ) ) + " (" ) + ( expr.getClass ( ) . getSimpleName ( ) ) ) + ")" ) ) ; }
Source:
public android.net.NetworkRequest.Builder setNetworkSpecifier ( android.net.NetworkSpecifier networkSpecifier ) { if ( networkSpecifier instanceof android.net.MatchAllNetworkSpecifier ) { throw new java.lang.IllegalArgumentException ( "NetworkRequests must not use MatchAllNetworkSpecifier" ) ; } mNetworkCapabilities.setNetworkSpecifier ( networkSpecifier ) ; return this ; }

Target:
public android.net.NetworkRequest.Builder setNetworkSpecifier ( android.net.NetworkSpecifier networkSpecifier ) { android.net.MatchAllNetworkSpecifier.checkNotMatchAllNetworkSpecifier ( networkSpecifier ) ; mNetworkCapabilities.setNetworkSpecifier ( networkSpecifier ) ; return this ; }
Source:
public int getMaxExpansion ( int order ) { return this . icuIterator.getMaxExpansion ( order ) ; }

Target:
public int getOffset ( ) { return this . icuIterator.getOffset ( ) ; }
Source:
static com.google.common.util.concurrent.RateLimiter create ( com.google.common.util.concurrent.RateLimiter.SleepingTicker ticker , double permitsPerSecond , long warmupPeriod , java.util.concurrent.TimeUnit timeUnit ) { com.google.common.util.concurrent.RateLimiter rateLimiter = new com.google.common.util.concurrent.RateLimiter.WarmingUp ( ticker , warmupPeriod , timeUnit ) ; rateLimiter.setRate ( permitsPerSecond ) ; return rateLimiter ; }

Target:
static com.google.common.util.concurrent.RateLimiter create ( com.google.common.util.concurrent.RateLimiter.SleepingStopwatch stopwatch , double permitsPerSecond , long warmupPeriod , java.util.concurrent.TimeUnit unit ) { com.google.common.util.concurrent.RateLimiter rateLimiter = new com.google.common.util.concurrent.SmoothRateLimiter.SmoothWarmingUp ( stopwatch , warmupPeriod , unit ) ; rateLimiter.setRate ( permitsPerSecond ) ; return rateLimiter ; }
Source:
public void testMembershipKeyAccessors_IPv4 ( ) throws java.lang.Exception { testMembershipKeyAccessors ( libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , ipv4NetworkInterface ) ; }

Target:
public void testMembershipKeyAccessors_IPv4 ( ) throws java.lang.Exception { checkMembershipKeyAccessors ( libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , ipv4NetworkInterface ) ; }
Source:
static char $opt$ByteToChar ( byte a ) { return ( ( char ) ( a ) ) ; }

Target:
static short $opt$ByteToShort ( byte a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( short ) ( a ) ) ; }
Source:
public void testNewInstance_Object ( ) { checkNewInstanceTag ( "Ljava/lang/Object;" , "()V" , new org.apache.harmony.jpda.tests.jdwp.ClassType.NoConstructorArgumentProvider ( ) , JDWPConstants.Tag.OBJECT_TAG ) ; }

Target:
public void testNewInstance_Object ( ) { checkNewInstanceTag ( "Ljava/lang/Object;" , "()V" , new org.apache.harmony.jpda.tests.jdwp.ClassType.NoConstructorArgumentProvider ( ) , new org.apache.harmony.jpda.tests.jdwp.ClassType.Checker ( JDWPConstants.Tag.OBJECT_TAG ) ) ; }
Source:
synchronized void nAllocationRead ( int id , short [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }

Target:
synchronized long nScriptFieldIDCreate ( long sid , int slot ) { validate ( ) ; return rsnScriptFieldIDCreate ( mContext , sid , slot ) ; }
Source:
public byte [ ] getBody ( ) { return body ; }

Target:
public java.io.InputStream getBodyStream ( ) { return body ; }
Source:
public void describeTo ( org.hamcrest.Description description ) { description.appendText ( "same(" ) . appendValue ( object ) . appendText ( ")" ) ; }

Target:
public void describeTo ( org.hamcrest.Description description ) { description.appendText ( "sameInstance(" ) . appendValue ( object ) . appendText ( ")" ) ; }
Source:
public final void testGetTopLeft ( ) { com.android.ide.eclipse.adt.editors.layout.gscripts.Rect r = new com.android.ide.eclipse.adt.editors.layout.gscripts.Rect ( 3 , 4 , 20 , 30 ) ; com.android.ide.eclipse.adt.editors.layout.gscripts.Point p = r.getTopLeft ( ) ; assertEquals ( 3 , p.x ) ; assertEquals ( 4 , p.y ) ; }

Target:
public final void testGetTopLeft ( ) { com.android.ide.common.api.Rect r = new com.android.ide.common.api.Rect ( 3 , 4 , 20 , 30 ) ; com.android.ide.common.api.Point p = r.getTopLeft ( ) ; assertEquals ( 3 , p.x ) ; assertEquals ( 4 , p.y ) ; }
Source:
private static int getDefaultKeySize ( int keyType ) { if ( keyType == ( com.android.org.conscrypt.NativeCrypto.EVP_PKEY_EC ) ) { return android.security.AndroidKeyPairGenerator.EC_DEFAULT_KEY_SIZE ; } else if ( keyType == ( com.android.org.conscrypt.NativeCrypto.EVP_PKEY_RSA ) ) { return android.security.AndroidKeyPairGenerator.RSA_DEFAULT_KEY_SIZE ; } return - 1 ; }

Target:
private static int getDefaultKeySize ( int keyType ) { if ( keyType == ( com.android.org.conscrypt.NativeConstants.EVP_PKEY_EC ) ) { return android.security.AndroidKeyPairGenerator.EC_DEFAULT_KEY_SIZE ; } else if ( keyType == ( com.android.org.conscrypt.NativeConstants.EVP_PKEY_RSA ) ) { return android.security.AndroidKeyPairGenerator.RSA_DEFAULT_KEY_SIZE ; } return - 1 ; }
Source:
public void printPosition ( java.lang.StringBuilder stringBuilder ) { com.android.utils.PositionXmlParser.Position position = getPosition ( ) ; if ( position == null ) { stringBuilder.append ( "Unknown position" ) ; return ; } dumpPosition ( stringBuilder , position ) ; }

Target:
public XmlLoader.SourceLocation getSourceLocation ( ) { return getDocument ( ) . getSourceLocation ( ) ; }
Source:
public void nvReadItemResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String var2 ) { }

Target:
public void nvReadItemResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String result ) { responseString ( responseInfo , result ) ; }
Source:
private void timeUpdated ( ) { android.content.Intent timeChanged = new android.content.Intent ( android.content.Intent.ACTION_TIME_CHANGED ) ; getActivity ( ) . sendBroadcast ( timeChanged ) ; }

Target:
private void timeUpdated ( boolean is24Hour ) { android.content.Intent timeChanged = new android.content.Intent ( android.content.Intent.ACTION_TIME_CHANGED ) ; timeChanged.putExtra ( Intent.EXTRA_TIME_PREF_24_HOUR_FORMAT , is24Hour ) ; getActivity ( ) . sendBroadcast ( timeChanged ) ; }
Source:
static byte $opt$IntToByte ( int a ) { return ( ( byte ) ( a ) ) ; }

Target:
static float $opt$DoubleToFloat ( double a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( float ) ( a ) ) ; }
Source:
public static void computeRootn ( android.renderscript.cts.TestRootn.ArgumentsFloatIntFloat args ) { args.ulf = 16 ; args.ulfRelaxed = 16 ; args.out = ( ( float ) ( java.lang.StrictMath.pow ( args.inV , ( 1.0 / ( ( double ) ( args.inN ) ) ) ) ) ) ; }

Target:
public static void computeConvert ( android.renderscript.cts.TestConvert.ArgumentsShortUchar args ) { args.out = android.renderscript.cts.CoreMathVerifier.convertShortToUchar ( args.inV ) ; }
Source:
private static boolean addClassToDex ( com.android.dx.dex.file.ClassDefItem clazz ) { synchronized ( com.android.dx.command.dexer.Main.outputDex ) { com.android.dx.command.dexer.Main.outputDex.add ( clazz ) ; } return true ; }

Target:
private boolean addClassToDex ( com.android.dx.dex.file.ClassDefItem clazz ) { synchronized ( outputDex ) { outputDex.add ( clazz ) ; } return true ; }
Source:
public void getEnhancedVoicePrivacy ( android.os.Message onComplete ) { this . mCM.getPreferredVoicePrivacy ( onComplete ) ; }

Target:
public void getEnhancedVoicePrivacy ( android.os.Message onComplete ) { mCi.getPreferredVoicePrivacy ( onComplete ) ; }
Source:
private void verifyTimeServiceTimeZoneWasSet ( java.lang.String timeZoneId ) { org.mockito.Mockito.verify ( mTimeServiceHelper , org.mockito.Mockito.times ( 1 ) ) . setDeviceTimeZone ( timeZoneId ) ; }

Target:
com.android.internal.telephony.NitzStateMachineTest.Script verifyOnlyTimeZoneWasSetAndReset ( java.lang.String timeZoneId , int times ) { mDevice.verifyTimeZoneWasSet ( timeZoneId , times ) ; mDevice.verifyTimeWasNotSet ( ) ; mDevice.checkNoUnverifiedSetOperations ( ) ; mDevice.resetInvocations ( ) ; return this ; }
Source:
public void setRebindRetryTime ( com.android.internal.telephony.ims.ImsServiceController.RebindRetry retry ) { mRebindRetry = retry ; }

Target:
public long getMaximumDelay ( ) { return com.android.internal.telephony.ims.ImsServiceController.REBIND_MAXIMUM_DELAY_MS ; }
Source:
double getScale ( ) { return mHScale.getScale ( ) ; }

Target:
com.android.ide.common.api.Point layoutToControlPoint ( int canvasX , int canvasY ) { int x = mHScale.translate ( canvasX ) ; int y = mVScale.translate ( canvasY ) ; return new com.android.ide.common.api.Point ( x , y ) ; }
Source:
public java.lang.String getUsage ( ) { return "a path to a Jar" ; }

Target:
public java.lang.String getUsage ( ) { return ( "a path to a jar file (" + ( getDetailedUsage ( ) ) ) + ")" ; }
Source:
void enableReliabilityTriggering ( ) ;

Target:
void scheduleReliabilityTrigger ( long minimumDelayMillis ) ;
Source:
public java.io.File getJavaOutputDir ( ) { return new java.io.File ( ( ( ( ( ( globalScope.getBuildDir ( ) ) + "/" ) + ( com.android.builder.model.AndroidProject.FD_INTERMEDIATES ) ) + "/classes/" ) + ( variantData.getVariantConfiguration ( ) . getDirName ( ) ) ) ) ; }

Target:
public java.io.File getRenderscriptLibOutputDir ( ) { return new java.io.File ( globalScope.getGeneratedDir ( ) , ( ( "rs/" + ( variantData.getVariantConfiguration ( ) . getDirName ( ) ) ) + "/lib" ) ) ; }
Source:
void onSaveInstanceState ( android.os.Bundle outState ) { mTabControl.saveState ( outState ) ; if ( ! ( outState.isEmpty ( ) ) ) { outState.putSerializable ( "lastActiveDate" , java.util.Calendar.getInstance ( ) ) ; } }

Target:
public void onSaveInstanceState ( android.os.Bundle outState ) { android.os.Bundle saveState = createSaveState ( ) ; mCrashRecoveryHandler.writeState ( saveState ) ; mSettings.setLastRunPaused ( true ) ; }
Source:
private static void verifyScanResultsRecieved ( org.mockito.InOrder order , android.os.Handler handler , int listenerId , android.net.wifi.WifiScanner ... expected ) { android.os.Message scanResultMessage = com.android.server.wifi.scanner.WifiScanningServiceTest.verifyHandleMessageAndGetMessage ( order , handler , WifiScanner.CMD_SCAN_RESULT ) ; com.android.server.wifi.scanner.WifiScanningServiceTest.assertScanResultsMessage ( listenerId , expected , scanResultMessage ) ; }

Target:
private static void verifyScanResultsReceived ( org.mockito.InOrder order , android.os.Handler handler , int listenerId , android.net.wifi.WifiScanner ... expected ) { android.os.Message scanResultMessage = com.android.server.wifi.scanner.WifiScanningServiceTest.verifyHandleMessageAndGetMessage ( order , handler , WifiScanner.CMD_SCAN_RESULT ) ; com.android.server.wifi.scanner.WifiScanningServiceTest.assertScanResultsMessage ( listenerId , expected , scanResultMessage ) ; }
Source:
void updateAfterRadioTechnologyChange ( ) { if ( com.android.phone.InCallScreen.DBG ) android.util.Log.d ( com.android.phone.InCallScreen.LOG_TAG , "updateAfterRadioTechnologyChange()..." ) ; unregisterForPhoneStates ( ) ; registerForPhoneStates ( ) ; }

Target:
void updateAfterRadioTechnologyChange ( ) { if ( com.android.phone.InCallScreen.DBG ) android.util.Log.d ( com.android.phone.InCallScreen.LOG_TAG , "updateAfterRadioTechnologyChange()..." ) ; resetInCallScreenMode ( ) ; unregisterForPhoneStates ( ) ; registerForPhoneStates ( ) ; }
Source:
public void mouseUp ( org.eclipse.swt.events.MouseEvent e ) { on_Table_mouseUp ( e ) ; }

Target:
public void mouseUp ( org.eclipse.swt.events.MouseEvent event ) { on_UserTable_mouseUp ( event ) ; }
Source:
public boolean onPrepareOptionsMenu ( com.android.stk.Menu menu ) { super . onPrepareOptionsMenu ( menu ) ; menu.findItem ( StkApp.MENU_ID_END_SESSION ) . setVisible ( true ) ; menu.findItem ( StkApp.MENU_ID_HELP ) . setVisible ( mStkInput.helpAvailable ) ; return true ; }

Target:
public boolean onPrepareOptionsMenu ( android.view.Menu menu ) { super . onPrepareOptionsMenu ( menu ) ; prepareOptionsMenuInternal ( menu ) ; return true ; }
Source:
public int hashCode ( ) { return com.google.common.base.Objects.hashCode ( mSourceFile , mBuildToolsRevision ) ; }

Target:
public int hashCode ( ) { return com.google.common.base.Objects.hashCode ( mSourceFile , mBuildToolsRevision , mJumboMode ) ; }
Source:
public java.lang.String getDeviceInitializerApp ( ) { return null ; }

Target:
public android.content.ComponentName getDeviceInitializerComponent ( ) { return null ; }
Source:
public static java.lang.String prettyPrint ( @ com.android.annotations.NonNull org.w3c.dom.Node node ) { return com.android.ide.eclipse.adt.internal.editors.formatting.EclipseXmlPrettyPrinter.prettyPrint ( node , com.android.ide.eclipse.adt.internal.editors.formatting.EclipseXmlFormatPreferences.create ( ) , com.android.ide.common.xml.XmlFormatStyle.get ( node ) , null ) ; }

Target:
public static java.lang.String prettyPrint ( @ com.android.annotations.NonNull org.w3c.dom.Node node , boolean endWithNewline ) { return com.android.ide.eclipse.adt.internal.editors.formatting.EclipseXmlPrettyPrinter.prettyPrint ( node , com.android.ide.eclipse.adt.internal.editors.formatting.EclipseXmlFormatPreferences.create ( ) , com.android.ide.common.xml.XmlFormatStyle.get ( node ) , null , endWithNewline ) ; }
Source:
private void reloadMissedCallsOfUser ( android.os.UserHandle userHandle ) { mMissedCallNotifier.reloadFromDatabase ( mLock , this , mContactsAsyncHelper , mCallerInfoAsyncQueryFactory , userHandle ) ; }

Target:
private void reloadMissedCallsOfUser ( android.os.UserHandle userHandle ) { mMissedCallNotifier.reloadFromDatabase ( mCallerInfoLookupHelper , new com.android.server.telecom.MissedCallNotifier.CallInfoFactory ( ) , userHandle ) ; }
Source:
public java.util.Collection < java.lang.String > getApplicableAttributes ( ) { return java.util.Arrays.asList ( com.android.SdkConstants.ATTR_TEXT , com.android.SdkConstants.ATTR_CONTENT_DESCRIPTION , com.android.SdkConstants.ATTR_HINT , com.android.SdkConstants.ATTR_LABEL , com.android.SdkConstants.ATTR_PROMPT ) ; }

Target:
public java.util.Collection < java.lang.String > getApplicableAttributes ( ) { return java.util.Arrays.asList ( com.android.SdkConstants.ATTR_TEXT , com.android.SdkConstants.ATTR_CONTENT_DESCRIPTION , com.android.SdkConstants.ATTR_HINT , com.android.SdkConstants.ATTR_LABEL , com.android.SdkConstants.ATTR_PROMPT , com.android.SdkConstants.ATTR_TITLE ) ; }
Source:
public synchronized void appendMessages ( final java.util.List < com.android.ddmuilib.logcat.LogCatMessage > messages ) { ensureSpace ( messages.size ( ) ) ; for ( com.android.ddmuilib.logcat.LogCatMessage m : messages ) { mQ.offer ( m ) ; } }

Target:
public synchronized void appendMessages ( final java.util.List < com.android.ddmlib.logcat.LogCatMessage > messages ) { ensureSpace ( messages.size ( ) ) ; for ( com.android.ddmlib.logcat.LogCatMessage m : messages ) { mQ.offer ( m ) ; } }
Source:
public android.icu.impl.UResource.TableSink getOrCreateTableSink ( int index , int initialSize ) { return null ; }

Target:
public android.icu.impl.UResource.ArraySink getOrCreateArraySink ( android.icu.impl.UResource.Key key ) { return null ; }
Source:
public void testNonTranslatable1 ( ) throws java.lang.Exception { TranslationDetector.COMPLETE_REGIONS = true ; assertEquals ( ( "values-nb/nontranslatable.xml:3: Error: The resource string \"dummy\" has been " + "marked as translatable=\"false\"" ) , lintProject ( "res/values/nontranslatable.xml" , "res/values/nontranslatable2.xml=>res/values-nb/nontranslatable.xml" ) ) ; }

Target:
public void testNonTranslatable1 ( ) throws java.lang.Exception { TranslationDetector.COMPLETE_REGIONS = true ; assertEquals ( ( "res/values-nb/nontranslatable.xml:3: Error: The resource string \"dummy\" has been marked as translatable=\"false\" [ExtraTranslation]\n" + ( ( ( " <string name=\"dummy\">Ignore Me</string>\n" + " ~~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) + "" ) ) , lintProject ( "res/values/nontranslatable.xml" , "res/values/nontranslatable2.xml=>res/values-nb/nontranslatable.xml" ) ) ; }
Source:
private com.android.internal.telephony.gsm.PdpConnection findFreePdp ( ) { for ( com.android.internal.telephony.DataConnection conn : pdpList ) { com.android.internal.telephony.gsm.PdpConnection pdp = ( ( com.android.internal.telephony.gsm.PdpConnection ) ( conn ) ) ; if ( ( pdp.getState ( ) ) == ( DataConnection.State.INACTIVE ) ) { return pdp ; } } return null ; }

Target:
private com.android.internal.telephony.gsm.GsmDataConnection findFreePdp ( ) { for ( com.android.internal.telephony.DataConnection conn : pdpList ) { com.android.internal.telephony.gsm.GsmDataConnection pdp = ( ( com.android.internal.telephony.gsm.GsmDataConnection ) ( conn ) ) ; if ( pdp.isInactive ( ) ) { return pdp ; } } return null ; }
Source:
public int hashCode ( ) { int result = super . hashCode ( ) ; result = ( 31 * result ) + ( myRoot.hashCode ( ) ) ; return result ; }

Target:
public int hashCode ( ) { int result = super . hashCode ( ) ; result = ( 31 * result ) + ( myRoots.hashCode ( ) ) ; return result ; }
Source:
public void setImeWindowStatus ( android.os.IBinder imeToken , int vis , int backDisposition ) { try { mService.setImeWindowStatus ( imeToken , vis , backDisposition ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public void setImeWindowStatus ( android.os.IBinder imeToken , int vis , int backDisposition ) { try { mService.setImeWindowStatus ( imeToken , vis , backDisposition ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
protected void finalize ( ) throws java.io.IOException { close ( ) ; }

Target:
protected void finalize ( ) throws java.io.IOException { if ( ( guard ) != null ) { guard.warnIfOpen ( ) ; } close ( ) ; }
Source:
public java.lang.String getHandshakeApplicationProtocol​() { synchronized(ssl) { return (state) == (EngineStates.STATE_HANDSHAKE_STARTED) ? getApplicationProtocol​() : null; } }

Target:
public java.lang.String getHandshakeApplicationProtocol ( ) { synchronized ( ssl ) { return ( state ) == ( EngineStates.STATE_HANDSHAKE_STARTED ) ? getApplicationProtocol ( ) : null ; } }
Source:
final void showAskCompatModeDialogLocked ( com.android.server.am.ActivityRecord r ) { android.os.Message msg = android.os.Message.obtain ( ) ; msg.what = com.android.server.am.ActivityManagerService.SHOW_COMPAT_MODE_DIALOG_MSG ; msg.obj = ( r.task.askedCompatMode ) ? null : r ; mHandler.sendMessage ( msg ) ; }

Target:
final void showAskCompatModeDialogLocked ( com.android.server.am.ActivityRecord r ) { android.os.Message msg = android.os.Message.obtain ( ) ; msg.what = com.android.server.am.ActivityManagerService.SHOW_COMPAT_MODE_DIALOG_MSG ; msg.obj = ( r.task.askedCompatMode ) ? null : r ; mUiHandler.sendMessage ( msg ) ; }
Source:
public java.lang.Object getTargetSdkVersion ( @ com.android.annotations.NonNull java.io.File manifestFile ) { try { return com.android.xml.AndroidManifest.getTargetSdkVersion ( new com.android.io.FileWrapper ( manifestFile ) ) ; } catch ( javax.xml.xpath.XPathExpressionException e ) { } catch ( com.android.io.StreamException e ) { throw new java.lang.RuntimeException ( e ) ; } return - 1 ; }

Target:
public synchronized int getVersionCode ( @ com.android.annotations.NonNull java.io.File manifestFile ) { if ( ( mVersionCode ) == null ) { try { java.lang.String value = com.android.builder.core.DefaultManifestParser.getStringValue ( manifestFile , "/manifest/@android:versionCode" ) ; if ( value != null ) { mVersionCode = com.google.common.base.Optional.of ( java.lang.Integer.valueOf ( value ) ) ; } } catch ( java.lang.NumberFormatException ignored ) { mVersionCode = com.google.common.base.Optional.absent ( ) ; } } return mVersionCode.or ( ( - 1 ) ) ; }
Source:
public boolean install ( com.android.sdklib.internal.repository.ArchiveReplacement archiveInfo , java.lang.String osSdkRoot , boolean forceHttp , com.android.sdklib.SdkManager sdkManager , com.android.sdklib.internal.repository.DownloadCache cache , com.android.sdklib.internal.repository.ITaskMonitor monitor ) { mInstalled.add ( archiveInfo ) ; return true ; }

Target:
public boolean install ( com.android.sdklib.internal.repository.archives.ArchiveReplacement archiveInfo , java.lang.String osSdkRoot , boolean forceHttp , com.android.sdklib.SdkManager sdkManager , com.android.sdklib.internal.repository.DownloadCache cache , com.android.sdklib.internal.repository.ITaskMonitor monitor ) { mInstalled.add ( archiveInfo ) ; return true ; }
Source:
public com.android.internal.telephony.gsm.stk.ResultCode result ( ) { return mResult ; }

Target:
public com.android.internal.telephony.cat.ResultCode result ( ) { return mResult ; }
Source:
public void setPrimary ( com.android.incallui.incall.protocol.PrimaryInfo primaryInfo ) { this . primaryInfo = primaryInfo ; updatePrimaryNameAndPhoto ( ) ; updateBottomRow ( ) ; }

Target:
public void setPrimary ( com.android.incallui.incall.protocol.PrimaryInfo primaryInfo ) { this . primaryInfo = primaryInfo ; updatePrimaryNameAndPhoto ( ) ; updateBottomRow ( ) ; updateDeviceNumberRow ( ) ; }
Source:
public static void fail ( ) { throw new java.lang.AssertionError ( "Fail" ) ; }

Target:
public static void fail ( java.lang.String reason ) { throw new java.lang.AssertionError ( reason ) ; }
Source:
public void imageLoaded ( ) { synchronized ( this ) { loadImage ( ) ; crosshairLocation = model.getCrosshairLocation ( ) ; } redraw ( ) ; }

Target:
public void imageLoaded ( ) { synchronized ( this ) { loadImage ( ) ; crosshairLocation = model.getCrosshairLocation ( ) ; zoom = model.getZoom ( ) ; } doRedraw ( ) ; }
Source:
public static java.lang.String retrieveJavaTimeFieldValueName ( java.lang.String id , int field , int value , int style , java.util.Locale locale ) { return null ; }

Target:
public static java.lang.String retrieveJavaTimeFieldValueName ( java.lang.String id , int field , int value , int style , java.util.Locale locale ) { return sun.util.locale.provider.CalendarDataUtility.retrieveFieldValueName ( id , field , value , style , locale ) ; }
Source:
public void setDialing ( java.lang.String callId ) { findConnectionForAction ( callId , "setDialing" ) . setState ( Connection.STATE_DIALING ) ; }

Target:
public void setDialing ( java.lang.String callId , android.telecom.Logging.Session.Info sessionInfo ) { findConnectionForAction ( callId , "setDialing" ) . setState ( Connection.STATE_DIALING ) ; }
Source:
public void set ( com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration config ) { set ( config , false ) ; }

Target:
public void set ( com.android.ide.common.resources.configuration.FolderConfiguration config ) { set ( config , false ) ; }
Source:
android.content.Intent getIntent ( @ android.support.annotation.NonNull android.content.Context context , @ android.support.annotation.NonNull java.lang.String number ) ;

Target:
com.google.common.base.Optional < android.content.Intent > getCallIntent ( @ android.support.annotation.NonNull java.lang.String number ) ;
Source:
protected boolean isVertical ( com.android.ide.common.api.INode node ) { return com.android.ide.common.layout.LinearLayoutRule.VALUE_VERTICAL.equals ( node.getStringAttr ( com.android.ide.common.layout.ANDROID_URI , com.android.ide.common.layout.LinearLayoutRule.ATTR_ORIENTATION ) ) ; }

Target:
protected boolean isVertical ( com.android.ide.common.api.INode node ) { return com.android.ide.common.layout.LayoutConstants.VALUE_VERTICAL.equals ( node.getStringAttr ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_ORIENTATION ) ) ; }
Source:
public com.google.common.primitives.UnsignedLong add ( com.google.common.primitives.UnsignedLong val ) { com.google.common.base.Preconditions.checkNotNull ( val ) ; return com.google.common.primitives.UnsignedLong.asUnsigned ( ( ( this . value ) + ( val.value ) ) ) ; }

Target:
public com.google.common.primitives.UnsignedLong minus ( com.google.common.primitives.UnsignedLong val ) { return com.google.common.primitives.UnsignedLong.fromLongBits ( ( ( this . value ) - ( com.google.common.base.Preconditions.checkNotNull ( val ) . value ) ) ) ; }
Source:
public com.android.sched.vfs.BaseVDir getRootDir ( ) { return vfs.getRootDir ( ) ; }

Target:
public com.android.sched.vfs.DeflateFS.DeflateVDir getRootDir ( ) { return new com.android.sched.vfs.DeflateFS.DeflateVDir ( this , vfs.getRootDir ( ) ) ; }
Source:
public void run ( ) { try { mDevice.runLogService ( "main" , logReceiver ) ; } catch ( java.io.IOException e ) { } }

Target:
public void run ( ) { try { mDevice.runLogService ( "main" , logReceiver ) ; } catch ( java.io.IOException e ) { } catch ( com.android.ddmlib.TimeoutException e ) { } catch ( com.android.ddmlib.AdbCommandRejectedException e ) { } }
Source:
public static com.android.build.gradle.integration.common.truth.ApkSubjectFactory apk ( ) { return new com.android.build.gradle.integration.common.truth.ApkSubjectFactory ( ) ; }

Target:
public static com.android.build.gradle.integration.common.truth.ApkSubjectFactory factory ( ) { return new com.android.build.gradle.integration.common.truth.ApkSubjectFactory ( ) ; }
Source:
public void clear ( ) { multimap ( ) . clear ( ) ; }

Target:
public java.util.Collection < V > apply ( K key ) { return multimap.get ( key ) ; }
Source:
public java.lang.String getPropertyPrefix ( ) { return propertyPrefix ; }

Target:
public java.lang.String buildPropertyName ( @ javax.annotation.CheckForNull java.lang.String suffix ) { return ( propertyPrefix ) + ( suffix == null ? "" : suffix ) ; }
Source:
public boolean isConnected ( int callSessionType , int callType ) throws android.os.RemoteException { synchronized ( mLock ) { return this . isConnected ( callSessionType , callType ) ; } }

Target:
public void changeCapabilitiesConfiguration ( android.telephony.ims.internal.feature.CapabilityChangeRequest request , android.telephony.ims.internal.aidl.IImsCapabilityCallback c ) throws android.os.RemoteException { this . requestChangeEnabledCapabilities ( request , c ) ; }
Source:
protected abstract int getCompilationType ( ) ;

Target:
protected void setCompilationStatus ( int status ) { mLastCompilationStatus |= status ; }
Source:
public void execute ( com.android.build.gradle.model.AndroidBinary androidBinary ) { com.android.build.gradle.model.DefaultAndroidBinary binary = ( ( com.android.build.gradle.model.DefaultAndroidBinary ) ( androidBinary ) ) ; variantManager.createTasksForVariantData ( new com.android.build.gradle.model.TaskCollectionBuilderAdaptor ( tasks ) , binary.getVariantData ( ) ) ; }

Target:
public void execute ( com.android.build.gradle.model.AndroidBinary androidBinary ) { com.android.build.gradle.model.DefaultAndroidBinary binary = ( ( com.android.build.gradle.model.DefaultAndroidBinary ) ( androidBinary ) ) ; variantManager.createTasksForVariantData ( new com.android.build.gradle.model.TaskModelMapAdaptor ( tasks ) , binary.getVariantData ( ) ) ; }
Source:
native void rsnAllocationRead ( long con , long id , float [ ] d ) ;

Target:
native void rsnScriptSetVarF ( long con , long id , int slot , float val , boolean mUseInc ) ;
Source:
public void testExistingIUserE ( ) { int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_EXTERNAL ; int iFlags = PackageManager.INSTALL_INTERNAL ; setExistingXUserX ( userSetting , iFlags , PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY ) ; }

Target:
public void testUserPrefOffUserE ( ) { if ( android.os.Environment.isExternalStorageEmulated ( ) ) { return ; } int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_EXTERNAL ; int iloc = android.content.pm.PackageInfo.INSTALL_LOCATION_UNSPECIFIED ; setUserX ( false , userSetting , iloc ) ; }
Source:
public void removeMessageReceivedEventListener ( com.android.ddmuilib.logcat.ILogCatMessageEventListener l ) { mLogCatMessageListeners.remove ( l ) ; }

Target:
public void addMessageReceivedEventListener ( com.android.ddmuilib.logcat.ILogCatBufferChangeListener l ) { mLogCatMessageListeners.add ( l ) ; }
Source:
public void addSuffix ( @ javax.annotation.Nonnull java.lang.CharSequence suffix ) { com.android.sched.vfs.VPath.VPathFragment pe = new com.android.sched.vfs.VPath.VPathFragment ( suffix , com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) ; assert pe.isValidSuffix ( ) ; pathFragments.add ( pe ) ; }

Target:
public void appendPath ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { pathFragments.add ( new com.android.sched.vfs.VPath.VPathFragment ( java.lang.String.valueOf ( com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) , com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) ) ; pathFragments.addAll ( path.getPathFragments ( ) ) ; }
Source:
public void visitMultiANewArrayInsn ( java.lang.String desc , int dims ) { printer.visitMultiANewArrayInsn ( desc , dims ) ; printTypeOfOperandStackTop ( ) ; super . visitMultiANewArrayInsn ( desc , dims ) ; }

Target:
public void visitInsn ( int opcode ) { printer.visitInsn ( opcode ) ; printTypeOfOperandStack ( ) ; super . visitInsn ( opcode ) ; }
Source:
public void sendUssdResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { }

Target:
public void requestIccSimAuthenticationResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , com.android.internal.telephony.V1_0.IccIoResult result ) { responseICC_IOBase64 ( responseInfo , result ) ; }
Source:
public final void setShouldCache ( boolean shouldCache ) { mShouldCache = shouldCache ; }

Target:
public final com.android.volley.Request < ? > setShouldCache ( boolean shouldCache ) { mShouldCache = shouldCache ; return this ; }
Source:
public java.lang.String getNetworkCountryIso ( int subId ) { return getNetworkCountryIsoForPhone ( getPhoneId ( subId ) ) ; }

Target:
public java.lang.String getNetworkCountryIso ( int subId ) { int phoneId = android.telephony.SubscriptionManager.getPhoneId ( subId ) ; return getNetworkCountryIsoForPhone ( phoneId ) ; }
Source:
com.android.server.wifi.nan.WifiNanClientState getClient ( int clientId ) { return mClients.get ( clientId ) ; }

Target:
com.android.server.wifi.aware.WifiAwareClientState getClient ( int clientId ) { return mClients.get ( clientId ) ; }
Source:
public void registerRemoteControlClient ( android.media.RemoteControlClient rcClient ) { if ( ( rcClient == null ) || ( ( rcClient.getRcMediaIntent ( ) ) == null ) ) { return ; } rcClient.registerWithSession ( android.media.session.MediaSessionLegacyHelper.getHelper ( mApplicationContext ) ) ; }

Target:
public void unregisterRemoteControlClient ( android.media.RemoteControlClient rcClient ) { if ( ( rcClient == null ) || ( ( rcClient.getRcMediaIntent ( ) ) == null ) ) { return ; } rcClient.unregisterWithSession ( android.media.session.MediaSessionLegacyHelper.getHelper ( getContext ( ) ) ) ; }
Source:
public java.util.Scanner useLocale ( java.util.Locale l ) { if ( l == null ) { throw new java.lang.NullPointerException ( "l == null" ) ; } this . locale = l ; return this ; }

Target:
public java.util.Scanner useLocale ( java.util.Locale l ) { if ( l == null ) { throw new java.lang.NullPointerException ( "l == null" ) ; } setLocale ( l ) ; return this ; }
Source:
public final long readLong ( ) { return android.os.Parcel.nativeReadLong ( mNativePtr ) ; }

Target:
public final int readInt ( ) { return android.os.Parcel.nativeReadInt ( mNativePtr ) ; }
Source:
public java.util.Map.Entry < K , V > ceilingEntry ( K key ) { return getNearEntry ( key , ( ( m.GT ) | ( m.EQ ) ) ) ; }

Target:
public K lowerKey ( K key ) { return getNearKey ( key , java.util.concurrent.ConcurrentSkipListMap.LT ) ; }
Source:
public static java.util.Map < java.lang.String , java.lang.Integer > retrieveFieldValueNames ( java.lang.String id , int field , int style , java.util.Locale locale ) { return null ; }

Target:
public static java.util.Map < java.lang.String , java.lang.Integer > retrieveJavaTimeFieldValueNames ( java.lang.String id , int field , int style , java.util.Locale locale ) { return sun.util.locale.provider.CalendarDataUtility.retrieveFieldValueNames ( id , field , style , locale ) ; }
Source:
public void testSuspiciousRegion ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( "res/values-ff-rNO: Warning: Suspicious language and region combination ff (Fulah) with NO (Norway): language ff is usually paired with: CM (Cameroon), GN (Guinea), MR (Mauritania), SN (Senegal) [WrongRegion]\n" + "res/values-nb-rSE: Warning: Suspicious language and region combination nb (Norwegian Bokmål) with SE (Sweden): language nb is usually paired with: NO (Norway), SJ (Svalbard and Jan Mayen) [WrongRegion]\n" ) + "0 errors, 2 warnings\n" ) ) , lintProject ( "res/values/strings.xml" , "res/values/strings.xml=>res/values-no/strings.xml" , "res/values/strings.xml=>res/values-nb-rNO/strings.xml" , "res/values/strings.xml=>res/values-nb-rSJ/strings.xml" , "res/values/strings.xml=>res/values-nb-rSE/strings.xml" , "res/values/strings.xml=>res/values-ff-rNO/strings.xml" ) ) ; }

Target:
public void testSuspiciousRegion ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "res/values-ff-rNO: Warning: Suspicious language and region combination ff (Fulah) with NO (Norway): language ff is usually paired with: SN (Senegal), CM (Cameroon), GN (Guinea), MR (Mauritania) [WrongRegion]\n" + "res/values-nb-rSE: Warning: Suspicious language and region combination nb (Norwegian Bokmål) with SE (Sweden): language nb is usually paired with: NO (Norway), SJ (Svalbard and Jan Mayen) [WrongRegion]\n" ) + "res/values-sv-rSV: Warning: Suspicious language and region combination sv (Swedish) with SV (El Salvador): language sv is usually paired with: SE (Sweden), AX (Åland Islands), FI (Finland) [WrongRegion]\n" ) + "0 errors, 3 warnings\n" ) ) , lintProject ( "res/values/strings.xml" , "res/values/strings.xml=>res/values-no/strings.xml" , "res/values/strings.xml=>res/values-nb-rNO/strings.xml" , "res/values/strings.xml=>res/values-nb-rSJ/strings.xml" , "res/values/strings.xml=>res/values-nb-rSE/strings.xml" , "res/values/strings.xml=>res/values-sv-rSV/strings.xml" , "res/values/strings.xml=>res/values-ff-rNO/strings.xml" ) ) ; }
Source:
public void testNoDpi ( ) throws java.lang.Exception { assertEquals ( ( "drawable-xlarge-nodpi-v11/frame.png: Warning: The frame.png icon has identical contents in the following configuration folders: drawable-mdpi, drawable-nodpi, drawable-xlarge-nodpi-v11\n" + ( "frame.png: Warning: The following images appear in both -nodpi and in a density folder: frame.png\n" + "res: Warning: Missing density variation folders in res: drawable-hdpi, drawable-xhdpi" ) ) , lintProject ( "res/drawable-mdpi/frame.png" , "res/drawable-nodpi/frame.png" , "res/drawable-xlarge-nodpi-v11/frame.png" ) ) ; }

Target:
public void testNoDpi ( ) throws java.lang.Exception { assertEquals ( ( "res/drawable-mdpi/frame.png: Warning: The following images appear in both -nodpi and in a density folder: frame.png [IconNoDpi]\n" + ( ( ( ( ( "res/drawable-xlarge-nodpi-v11/frame.png: Warning: The frame.png icon has identical contents in the following configuration folders: drawable-mdpi, drawable-nodpi, drawable-xlarge-nodpi-v11 [IconDuplicatesConfig]\n" + " res/drawable-nodpi/frame.png: <No location-specific message\n" ) + " res/drawable-mdpi/frame.png: <No location-specific message\n" ) + "res: Warning: Missing density variation folders in res: drawable-hdpi, drawable-xhdpi [IconMissingDensityFolder]\n" ) + "0 errors, 3 warnings\n" ) + "" ) ) , lintProject ( "res/drawable-mdpi/frame.png" , "res/drawable-nodpi/frame.png" , "res/drawable-xlarge-nodpi-v11/frame.png" ) ) ; }
Source:
void expectAvailableCallbacks ( com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { expectAvailableCallbacks ( agent , false , com.android.server.ConnectivityServiceTest.TestNetworkCallback.TIMEOUT_MS ) ; }

Target:
void expectAvailableCallbacksUnvalidated ( com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { expectAvailableCallbacks ( agent , false , false , com.android.server.ConnectivityServiceTest.TestNetworkCallback.TIMEOUT_MS ) ; }
Source:
protected void checkRemoteConfigured ( ) { assertNotNull ( myRepository ) ; assertNotNull ( "GitHub remote is not configured" , org.jetbrains.plugins.github.GithubUtil.findGithubRemoteUrl ( myRepository ) ) ; }

Target:
protected void checkRemoteConfigured ( ) { assertNotNull ( myRepository ) ; assertNotNull ( "GitHub remote is not configured" , org.jetbrains.plugins.github.util.GithubUtil.findGithubRemoteUrl ( myRepository ) ) ; }
Source:
public void postInvalidateOnAnimation ( android.view.View view ) { view.invalidate ( ) ; }

Target:
public void postInvalidateOnAnimation ( android.view.View view ) { view.postInvalidate ( ) ; }
Source:
public boolean isTrue ( ) throws android.support.test.uiautomator.UiObjectNotFoundException { return device.findObject ( new android.support.test.uiautomator.UiSelector ( ) . packageName ( "com.trello" ) ) . exists ( ) ; }

Target:
public boolean isTrue ( ) throws android.support.test.uiautomator.UiObjectNotFoundException { return device.findObject ( new android.support.test.uiautomator.UiSelector ( ) . textContains ( application ) ) . exists ( ) ; }
Source:
private void enableType ( com.google.gct.testing.dimension.GoogleCloudTestingType type ) { if ( ! ( enabledTypes.contains ( type ) ) ) { enabledTypes.add ( type ) ; } }

Target:
private void enableType ( com.google.gct.testing.dimension.CloudTestingType type ) { if ( ! ( enabledTypes.contains ( type ) ) ) { enabledTypes.add ( type ) ; } }
Source:
public abstract com.android.tools.lint.client.api.IJavaParser getJavaParser ( ) ;

Target:
public abstract com.android.tools.lint.client.api.JavaParser getJavaParser ( @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Project project ) ;
Source:
public com.android.ide.eclipse.adt.internal.editors.descriptors.TextAttributeDescriptor create ( java.lang.String xmlLocalName , java.lang.String uiName , java.lang.String nsUri , java.lang.String tooltip , com.android.ide.eclipse.adt.editors.layout.gscripts.IAttributeInfo attrInfo ) { return new com.android.ide.eclipse.adt.internal.editors.descriptors.ListAttributeDescriptor ( xmlLocalName , uiName , nsUri , tooltip , attrInfo ) ; }

Target:
public com.android.ide.eclipse.adt.internal.editors.descriptors.TextAttributeDescriptor create ( java.lang.String xmlLocalName , java.lang.String uiName , java.lang.String nsUri , java.lang.String tooltip , com.android.ide.common.api.IAttributeInfo attrInfo ) { return new com.android.ide.eclipse.adt.internal.editors.descriptors.ListAttributeDescriptor ( xmlLocalName , uiName , nsUri , tooltip , attrInfo ) ; }