auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
protected void clean ( org.eclipse.core.runtime.IProgressMonitor monitor ) throws org.eclipse.core.runtime.CoreException { super . clean ( monitor ) ; org.eclipse.core.resources.IProject project = getProject ( ) ; removeMarkersFromProject ( project , AndroidConstants.MARKER_ADT ) ; }

Target:
protected void clean ( org.eclipse.core.runtime.IProgressMonitor monitor ) throws org.eclipse.core.runtime.CoreException { super . clean ( monitor ) ; org.eclipse.core.resources.IProject project = getProject ( ) ; removeMarkersFromContainer ( project , AndroidConstants.MARKER_ADT ) ; }
Source:
public void shutdown ( ) { for ( com.android.monkeyrunner.adb.AdbMonkeyDevice device : devices ) { device.dispose ( ) ; } com.android.ddmlib.AndroidDebugBridge.terminate ( ) ; }

Target:
public void shutdown ( ) { for ( com.android.monkeyrunner.core.IMonkeyDevice device : devices ) { device.dispose ( ) ; } com.android.ddmlib.AndroidDebugBridge.terminate ( ) ; }
Source:
public java.util.List < com.android.jack.ir.ast.JAnnotationLiteral > getAnnotations ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotationType ) { return annotations.getAnnotation ( annotationType ) ; }

Target:
public java.util.List < com.android.jack.ir.ast.JAnnotationLiteral > getAnnotations ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationType annotationType ) { return annotations.getAnnotation ( annotationType ) ; }
Source:
public int addPasspointManagementObject ( java.lang.String mo ) { return mWifiStateMachine.syncAddPasspointManagementObject ( mWifiStateMachineChannel , mo ) ; }

Target:
public java.util.List < android.net.wifi.hotspot2.PasspointConfiguration > getPasspointConfigurations ( ) { enforceAccessPermission ( ) ; return mPasspointManager.getProviderConfigs ( ) ; }
Source:
public synchronized boolean check ( ) { return mExpectedResult.equals ( mActualResult ) ; }

Target:
public synchronized boolean check ( ) { return mGotResult ; }
Source:
public long getNextValueAsClassID ( ) { return this . getNextValueAsObjectID ( ) ; }

Target:
public long getNextValueAsInterfaceID ( ) { return this . getNextValueAsReferenceTypeID ( ) ; }
Source:
private static com.google.currysrc.api.process.Rule createHideOriginalDeprecatedClassesRule ( ) { java.util.List < com.google.currysrc.api.process.ast.BodyDeclarationLocator > blacklist = com.google.currysrc.api.process.ast.BodyDeclarationLocators.createLocatorsFromStrings ( com.android.icu4j.srcgen.Icu4jTransform.INITIAL_DEPRECATED_SET ) ; return com.android.icu4j.srcgen.Icu4jTransformRules.createOptionalRule ( new com.android.icu4j.srcgen.HideOriginalDeprecatedSet ( blacklist ) ) ; }

Target:
private static com.google.currysrc.api.process.Rule createHideOriginalDeprecatedClassesRule ( ) { java.util.List < com.google.currysrc.api.process.ast.BodyDeclarationLocator > blacklist = com.google.currysrc.api.process.ast.BodyDeclarationLocators.createLocatorsFromStrings ( com.android.icu4j.srcgen.Icu4jTransform.INITIAL_DEPRECATED_SET ) ; return com.android.icu4j.srcgen.Icu4jTransformRules.createOptionalRule ( new com.android.icu4j.srcgen.TagMatchingDeclarations ( blacklist , "@hide original deprecated declaration" ) ) ; }
Source:
public boolean getCallForwardingIndicator ( ) { return mIccRecords.getVoiceCallForwardingFlag ( ) ; }

Target:
public java.lang.String getIccSerialNumber ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.iccid : "" ; }
Source:
public static void main ( java.lang.String [ ] args ) { try { Main.doTopCall ( true ) ; } catch ( java.lang.Error e ) { e.printStackTrace ( ) ; } }

Target:
public static void main ( java.lang.String [ ] args ) { try { Main.doTopCall ( true ) ; } catch ( java.lang.Error e ) { e.printStackTrace ( java.lang.System.out ) ; } }
Source:
public void setInitialScale ( int scaleInPercent ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "setInitialScale=" + scaleInPercent ) ) ; mProvider.setInitialScale ( scaleInPercent ) ; }

Target:
public void setInitialScale ( int scaleInPercent ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "setInitialScale=" + scaleInPercent ) ) ; mProvider.setInitialScale ( scaleInPercent ) ; }
Source:
public com.android.tools.lint.TypeDescriptor getContainingClass ( ) { if ( ( mBinding ) instanceof org.eclipse.jdt.internal.compiler.lookup.NestedTypeBinding ) { org.eclipse.jdt.internal.compiler.lookup.NestedTypeBinding ntb = ( ( org.eclipse.jdt.internal.compiler.lookup.NestedTypeBinding ) ( mBinding ) ) ; if ( ( ntb.enclosingType ) != null ) { return com.android.tools.lint.EcjParser.getTypeDescriptor ( ntb.enclosingType ) ; } } return null ; }

Target:
public com.android.tools.lint.ResolvedClass getContainingClass ( ) { if ( ( mBinding ) instanceof org.eclipse.jdt.internal.compiler.lookup.NestedTypeBinding ) { org.eclipse.jdt.internal.compiler.lookup.NestedTypeBinding ntb = ( ( org.eclipse.jdt.internal.compiler.lookup.NestedTypeBinding ) ( mBinding ) ) ; if ( ( ntb.enclosingType ) != null ) { return new com.android.tools.lint.EcjParser.EcjResolvedClass ( ntb.enclosingType ) ; } } return null ; }
Source:
private void recordBrowserProcessHistogram ( ) { if ( org.chromium.base.library_loader.Linker.getInstance ( ) . isUsed ( ) ) { nativeRecordChromiumAndroidLinkerBrowserHistogram ( mIsUsingBrowserSharedRelros , mLoadAtFixedAddressFailed , getLibraryLoadFromApkStatus ( ) , mLibraryLoadTimeMs ) ; } if ( ( org.chromium.base.library_loader.LibraryLoader.sLibraryPreloader ) != null ) { nativeRecordLibraryPreloaderBrowserHistogram ( mLibraryPreloaderStatus ) ; } }

Target:
public void onNativeInitializationComplete ( android.content.Context context ) { recordBrowserProcessHistogram ( context ) ; }
Source:
public void preWindowOpen ( ) { org.eclipse.ui.application.IWorkbenchWindowConfigurer configurer = getWindowConfigurer ( ) ; configurer.setShowStatusLine ( true ) ; configurer.setShowPerspectiveBar ( true ) ; configurer.setTitle ( "Android Debug Monitor" ) ; }

Target:
public void preWindowOpen ( ) { org.eclipse.ui.application.IWorkbenchWindowConfigurer configurer = getWindowConfigurer ( ) ; configurer.setShowStatusLine ( true ) ; configurer.setShowPerspectiveBar ( true ) ; configurer.setTitle ( "Android Device Monitor" ) ; }
Source:
public void run ( ) { requestFocusNodeHref ( hrefMsg ) ; }

Target:
public void run ( ) { requestImageRef ( msg ) ; }
Source:
public boolean isCallerActiveNwScorer ( int uid ) { return android.net.NetworkScorerAppManager.isCallerActiveScorer ( mContext , uid ) ; }

Target:
public android.app.admin.DevicePolicyManagerInternal getDevicePolicyManagerInternal ( ) { return com.android.server.LocalServices.getService ( android.app.admin.DevicePolicyManagerInternal.class ) ; }
Source:
public void enter ( ) { infoLog ( "Entering OnState" ) ; com.android.bluetooth.btservice.AdapterService adapterService = mAdapterService ; if ( adapterService == null ) { errorLog ( "Entered OnState after cleanup" ) ; return ; } adapterService.updateUuids ( ) ; }

Target:
public void enter ( ) { infoLog ( "Entering OnState" ) ; com.android.bluetooth.btservice.AdapterService adapterService = mAdapterService ; if ( adapterService == null ) { errorLog ( "Entered OnState after cleanup" ) ; return ; } adapterService.updateUuids ( ) ; adapterService.setBluetoothClassFromConfig ( ) ; }
Source:
public PhoneConstants.State getState ( ) { return mCT.state ; }

Target:
public com.android.internal.telephony.cdma.CdmaCall getRingingCall ( ) { return mCT.mRingingCall ; }
Source:
public void mediaDescriptionUpdated ( ) throws android.os.RemoteException { mHandler.post ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { mAppCallback.onMediaDescriptionUpdated ( ) ; } } ) ; }

Target:
public void onMediaDescriptionUpdated ( ) throws android.os.RemoteException { if ( mIsStopped ) { return ; } mHandler.post ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { mAppCallback.onMediaDescriptionUpdated ( ) ; } } ) ; }
Source:
public native int getInt ( long address ) ;

Target:
public native short getShort ( long address ) ;
Source:
public void onCreate ( com.android.ide.common.api.INode node , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onCreate ( node , parent , insertType ) ; node.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_WIDTH , getFillParentValueName ( ) ) ; node.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_NUM_COLUMNS , "3" ) ; }

Target:
public void onCreate ( com.android.ide.common.api.INode node , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onCreate ( node , parent , insertType ) ; node.setAttribute ( com.android.util.XmlUtils.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_WIDTH , getFillParentValueName ( ) ) ; node.setAttribute ( com.android.util.XmlUtils.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_NUM_COLUMNS , "3" ) ; }
Source:
public void setLayoutParams ( com.android.ide.eclipse.adt.internal.resources.ViewClassInfo.LayoutParamsInfo layoutData ) { if ( mIsLayout ) { mLayoutData = layoutData ; } }

Target:
public void setLayoutParams ( com.android.ide.common.resources.platform.ViewClassInfo.LayoutParamsInfo layoutData ) { if ( mIsLayout ) { mLayoutData = layoutData ; } }
Source:
android.content.res.Resources getTopLevelResources ( java.lang.String resDir , int displayId , android.content.res.Configuration overrideConfiguration , android.app.LoadedApk pkgInfo ) { return getTopLevelResources ( resDir , displayId , overrideConfiguration , pkgInfo.mCompatibilityInfo.get ( ) ) ; }

Target:
android.content.res.Resources getTopLevelResources ( java.lang.String resDir , java.lang.String [ ] overlayDirs , int displayId , android.content.res.Configuration overrideConfiguration , android.app.LoadedApk pkgInfo ) { return mResourcesManager.getTopLevelResources ( resDir , overlayDirs , displayId , overrideConfiguration , pkgInfo.getCompatibilityInfo ( ) , null ) ; }
Source:
void initDebugBuildTypes ( @ org.gradle.model.Path ( value = "android.buildTypes" ) org.gradle.model.collection.ManagedSet < com.android.build.gradle.managed.BuildType > buildTypes , @ org.gradle.model.Path ( value = "android.signingConfigs" ) org.gradle.model.collection.ManagedSet < com.android.build.gradle.managed.SigningConfig > signingConfigs ) { final com.android.build.gradle.managed.SigningConfig debugSigningConfig = buildTypes.beforeEach ; { com.android.build.gradle.managed.BuildType buildType ; com.android.build.gradle.model.BaseComponentModelPlugin.Rules.initBuildType ( buildType ) ; } buildTypes.afterEach = $missing$ ; com.android.build.gradle.managed.BuildType buildType ; buildType.setSigningConfig ( debugSigningConfig ) ; }

Target:
public void execute ( com.android.build.gradle.managed.BuildType buildType ) { if ( buildType.getName ( ) . equals ( com.android.builder.core.BuilderConstants.DEBUG ) ) { buildType.setSigningConfig ( debugSigningConfig ) ; } }
Source:
protected void onCreate ( android.os.Bundle icicle ) { super . onCreate ( icicle ) ; dumpFontSize ( ) ; }

Target:
protected void onCreate ( android.os.Bundle icicle ) { super . onCreate ( icicle ) ; dumpActivityDpi ( ) ; dumpFontSize ( ) ; }
Source:
public com.google.mockwebserver.MockResponse setBody ( java.lang.String body ) { try { return setBody ( body.getBytes ( com.google.mockwebserver.MockWebServer.ASCII ) ) ; } catch ( java.io.UnsupportedEncodingException e ) { throw new java.lang.AssertionError ( ) ; } }

Target:
public java.lang.String getStatus ( ) { return status ; }
Source:
public void run ( ) { while ( true ) { try { process ( ) ; } catch ( java.lang.Exception e ) { android.util.Log.e ( com.android.server.WindowManagerService.TAG , "Exception in input dispatcher" , e ) ; } } }

Target:
public void run ( ) { while ( true ) { try { process ( ) ; } catch ( java.lang.Exception e ) { android.util.Slog.e ( com.android.server.WindowManagerService.TAG , "Exception in input dispatcher" , e ) ; } } }
Source:
public static java.lang.String getString ( int foo ) { return java.lang.Integer.toString ( foo ) ; }

Target:
public static java.lang.String getStringInternal ( int foo ) { return java.lang.Integer.toString ( foo ) ; }
Source:
public boolean executeHardwareAction ( java.lang.Runnable action ) { return mWebView.executeHardwareAction ( action ) ; }

Target:
public void onFinishTemporaryDetach ( ) { mAwContents.onFinishTemporaryDetach ( ) ; }
Source:
private void onError ( org.chromium.mojo.system.MojoException exception ) { close ( ) ; if ( ( mErrorHandler ) != null ) { mErrorHandler.onConnectionError ( exception ) ; } }

Target:
private void onError ( org.chromium.mojo.system.MojoException exception ) { close ( ) ; assert ( mCancellable ) == null ; if ( ( mErrorHandler ) != null ) { mErrorHandler.onConnectionError ( exception ) ; } }
Source:
static int $opt$DoubleToInt ( double a ) { return ( ( int ) ( a ) ) ; }

Target:
static byte $opt$IntToByte ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( byte ) ( a ) ) ; }
Source:
public void testVFE18 ( ) { try { new dot.junit.opcodes.invoke_super_range.d.T_invoke_super_range_24 ( ) . run ( ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE4 ( ) { loadAndRun ( "dot.junit.opcodes.invoke_super_range.d.T_invoke_super_range_6" , java.lang.AbstractMethodError.class ) ; }
Source:
public java.lang.String getCanonicalHostName ( ) { if ( ( canonicalHostName ) == null ) { canonicalHostName = java.net.InetAddress.getHostFromNameService ( this , true ) ; } return canonicalHostName ; }

Target:
public java.lang.String getHostName ( ) { if ( ( holder ( ) . getHostName ( ) ) == null ) { holder ( ) . hostName = java.net.InetAddress.getHostFromNameService ( this ) ; } return holder ( ) . getHostName ( ) ; }
Source:
public void run ( ) { killUid ( appId , userId , com.android.server.pm.PackageManagerService.KILL_APP_REASON_GIDS_CHANGED ) ; }

Target:
public void run ( ) { killUid ( appId , userId , com.android.server.pm.PackageManagerService.KILL_APP_REASON_PERMISSIONS_REVOKED ) ; }
Source:
void onRemovingChildren ( @ com.android.annotations.NonNull java.util.List < com.android.ide.common.api.INode > deleted , @ com.android.annotations.NonNull com.android.ide.common.api.INode parent ) ;

Target:
void onRemovingChildren ( @ com.android.annotations.NonNull java.util.List < com.android.ide.common.api.INode > deleted , @ com.android.annotations.NonNull com.android.ide.common.api.INode parent , boolean moved ) ;
Source:
public TestCaseBuilder addLayout ( int layoutId , @ android.support.annotation.Nullable android.uirendering.cts.testinfrastructure.ViewInitializer viewInitializer ) { }

Target:
public android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder addLayout ( int layoutId , @ android.support.annotation.Nullable android.uirendering.cts.testinfrastructure.ViewInitializer viewInitializer , boolean useHardware ) { mTestCases.add ( new android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCase ( layoutId , viewInitializer , useHardware ) ) ; return this ; }
Source:
private void handleServiceDisconnected ( ) { setBinder ( null ) ; }

Target:
private void handleServiceDisconnected ( ) { unlinkDeathRecipient ( ) ; setBinder ( null ) ; }
Source:
public static long abs ( long a ) { return a < 0 ? - a : a ; }

Target:
public static long max ( long a , long b ) { return java.lang.Math.max ( a , b ) ; }
Source:
public void setUp ( com.android.tradefed.device.ITestDevice device , com.android.tradefed.build.IBuildInfo buildInfo ) throws com.android.tradefed.device.DeviceNotAvailableException , com.android.tradefed.targetprep.BuildError , com.android.tradefed.targetprep.TargetSetupError { mBuildInfo = buildInfo ; startVirtualenv ( buildInfo ) ; setLocalPypiPath ( ) ; installDeps ( buildInfo ) ; }

Target:
public void setUp ( com.android.tradefed.invoker.IInvocationContext context ) throws com.android.tradefed.device.DeviceNotAvailableException , com.android.tradefed.targetprep.BuildError , com.android.tradefed.targetprep.TargetSetupError { mBuildInfo = context.getBuildInfos ( ) . get ( 0 ) ; startVirtualenv ( mBuildInfo ) ; setLocalPypiPath ( ) ; installDeps ( mBuildInfo ) ; }
Source:
public void showAnswerFragment ( boolean show ) { showFragment ( com.android.incallui.InCallActivity.TAG_ANSWER_FRAGMENT , show , true ) ; }

Target:
public void showAnswerFragment ( boolean show ) { if ( show && ( ( getCallCardFragment ( ) ) == null ) ) { showCallCardFragment ( true ) ; } showFragment ( com.android.incallui.InCallActivity.TAG_ANSWER_FRAGMENT , show , true ) ; }
Source:
public void test_SingletonMap_computeIfAbsent ( ) { try { java.util.Collections.singletonMap ( 1 , 11.0 ) . computeIfAbsent ( 1 , ( k ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }

Target:
public void test_SingletonMap_compute ( ) { try { java.util.Collections.singletonMap ( 1 , 11.0 ) . compute ( 1 , ( k , v ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }
Source:
public static void computeAcos ( android.renderscript.cts.TestAcos.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.acos ( args.in ) ) ) ; }

Target:
public static void computeDegrees ( android.renderscript.cts.TestDegrees.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( ( ( args.inValue ) * ( ( float ) ( 180.0 / ( java.lang.Math.PI ) ) ) ) , 3 , 3 ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JPackage pack ) { print ( com.android.jack.ir.impl.ToStringGenerationVisitor.formatter.getName ( pack ) ) ; return false ; }

Target:
protected void printMethodHeader ( com.android.jack.ir.ast.JMethod x ) { print ( com.android.jack.ir.ast.JModifier.getStringMethodModifier ( x.getModifier ( ) ) ) ; print ( formatter.getName ( x ) ) ; }
Source:
public android.net.wifi.nan.PublishConfig build ( ) { return new android.net.wifi.nan.PublishConfig ( mServiceName , mServiceSpecificInfo , mMatchFilter , mPublishType , mPublishCount , mTtlSec , mEnableTerminateNotification ) ; }

Target:
public android.net.wifi.aware.PublishConfig build ( ) { return new android.net.wifi.aware.PublishConfig ( mServiceName , mServiceSpecificInfo , mMatchFilter , mPublishType , mPublishCount , mTtlSec , mEnableTerminateNotification ) ; }
Source:
protected org.eclipse.swt.graphics.Point getInitialSize ( ) { if ( ( com.android.sdkuilib.internal.repository.SdkUpdaterChooserDialog.sLastSize ) != null ) { return com.android.sdkuilib.internal.repository.SdkUpdaterChooserDialog.sLastSize ; } else { return new org.eclipse.swt.graphics.Point ( 740 , 370 ) ; } }

Target:
protected org.eclipse.swt.graphics.Point getInitialSize ( ) { if ( ( com.android.sdkuilib.internal.repository.SdkUpdaterChooserDialog.sLastSize ) != null ) { return com.android.sdkuilib.internal.repository.SdkUpdaterChooserDialog.sLastSize ; } else { return new org.eclipse.swt.graphics.Point ( 740 , 470 ) ; } }
Source:
public void remove ( java.lang.String key ) { synchronized ( lock ) { if ( removed ) throw new java.lang.IllegalStateException ( "Node has been removed." ) ; removeSpi ( key ) ; enqueuePreferenceChangeEvent ( key , null ) ; } }

Target:
public void remove ( java.lang.String key ) { java.util.Objects.requireNonNull ( key , "Specified key cannot be null" ) ; synchronized ( lock ) { if ( removed ) throw new java.lang.IllegalStateException ( "Node has been removed." ) ; removeSpi ( key ) ; enqueuePreferenceChangeEvent ( key , null ) ; } }
Source:
private native android.graphics.Rect nativeGetNavBounds ( ) ;

Target:
private native void nativeDrawCursorRing ( android.graphics.Canvas content ) ;
Source:
public com.android.ide.common.api.IViewMetadata getMetadata ( final java.lang.String fqcn ) { return new com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadata ( mEditor.getLayoutEditor ( ) , fqcn ) ; }

Target:
public java.lang.String getDisplayName ( ) { return fqcn.substring ( ( ( fqcn.lastIndexOf ( '.' ) ) + 1 ) ) ; }
Source:
public void testLamba014 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( LAMBDA014 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . compileAndRunTest ( ) ; }

Target:
public void testLamba014 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( LAMBDA014 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addProperty ( Options.LAMBDA_TO_ANONYMOUS_CONVERTER.getName ( ) , java.lang.Boolean.TRUE.toString ( ) ) . compileAndRunTest ( ) ; }
Source:
public void testInnerClass2 ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml:14: Error: Class referenced in the manifest, test.pkg.Foo.Bar, was not found in the project or the libraries [MissingRegistered]\n" + ( ( " <activity\n" + " ^\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "registration/AndroidManifestInner.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "registration/Bar.java.txt=>src/test/pkg/Foo/Bar.java" ) ) ; }

Target:
public void testOkLibraries ( ) throws java.lang.Exception { mScopes = null ; assertEquals ( "No warnings." , lintProject ( "bytecode/AndroidManifestWrongRegs.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "bytecode/classes.jar=>libs/classes.jar" ) ) ; }
Source:
public void test_getDisplayNameLjava_util_Locale ( ) { java.util.TimeZone tz = java.util.TimeZone.getTimeZone ( "America/Los_Angeles" ) ; assertEquals ( "Pacific Standard Time" , tz.getDisplayName ( new java.util.Locale ( "US" ) ) ) ; assertEquals ( "heure normale du Pacifique nord-américain" , tz.getDisplayName ( java.util.Locale.FRANCE ) ) ; }

Target:
public void test_getDisplayNameLjava_util_Locale ( ) { java.util.TimeZone tz = java.util.TimeZone.getTimeZone ( "America/Los_Angeles" ) ; assertEquals ( "Pacific Standard Time" , tz.getDisplayName ( java.util.Locale.US ) ) ; assertEquals ( "heure normale du Pacifique nord-américain" , tz.getDisplayName ( java.util.Locale.FRANCE ) ) ; }
Source:
private java.lang.String getRelativeGradleProjectPath ( org.eclipse.core.runtime.IPath path , org.eclipse.core.runtime.IPath root ) { org.eclipse.core.runtime.IPath relativePath = path.makeRelativeTo ( root ) ; java.lang.String relativeString = relativePath.toOSString ( ) ; return ":" + ( relativeString.replaceAll ( java.util.regex.Pattern.quote ( java.io.File.separator ) , ":" ) ) ; }

Target:
private void appendJavaHeader ( ) { mBuildFile.append ( "apply plugin: \'java\'\n" ) ; }
Source:
public int getVoiceMessageCount ( ) { return getVoiceMessageCount ( android.telephony.TelephonyManager.getDefaultSubscription ( ) ) ; }

Target:
public int getVoiceMessageCount ( ) { return getVoiceMessageCount ( getSubId ( ) ) ; }
Source:
public void test_dropAnySource_twice_IPv4 ( ) throws java.lang.Exception { test_dropAnySource_twice ( libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 ) ; }

Target:
public void testMembershipKeyAccessors_IPv4 ( ) throws java.lang.Exception { testMembershipKeyAccessors ( ipv4networkInterfaces , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 ) ; }
Source:
public void getAllowedCarriersResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , boolean var2 , android.hardware.radio.V1_0.CarrierRestrictions var3 ) { }

Target:
public void acknowledgeLastIncomingCdmaSmsResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { responseVoid ( responseInfo ) ; }
Source:
private static int writeSize ( com.android.dx.rop.cst.CstString value ) { int utf16Size = value.getUtf16Size ( ) ; return ( ( com.android.dx.util.Leb128Utils.unsignedLeb128Size ( utf16Size ) ) + ( value.getUtf8Size ( ) ) ) + 1 ; }

Target:
private static int writeSize ( com.android.dx.rop.cst.CstString value ) { int utf16Size = value.getUtf16Size ( ) ; return ( ( com.android.dex.Leb128.unsignedLeb128Size ( utf16Size ) ) + ( value.getUtf8Size ( ) ) ) + 1 ; }
Source:
private int skipValue ( ) throws java.io.IOException { com.android.tools.perflib.heap.Type type = com.android.tools.perflib.heap.Type.getType ( readUnsignedByte ( ) ) ; int size = type.getSize ( ) ; skipFully ( size ) ; return size + 1 ; }

Target:
private int skipValue ( ) throws java.io.IOException { com.android.tools.perflib.heap.Type type = com.android.tools.perflib.heap.Type.getType ( readUnsignedByte ( ) ) ; int size = mSnapshot.getTypeSize ( type ) ; skipFully ( size ) ; return size + 1 ; }
Source:
public void enableAdverisingSet ( int advertiserId , boolean enable ) { com.android.bluetooth.gatt.GattService service = getService ( ) ; if ( service == null ) return ; }

Target:
public void enableAdverisingSet ( int advertiserId , boolean enable , int timeout ) { com.android.bluetooth.gatt.GattService service = getService ( ) ; if ( service == null ) return ; }
Source:
public V put ( @ javax.annotation.Nullable K key , @ javax.annotation.Nullable V value ) { return super . put ( key , value ) ; }

Target:
public V forcePut ( @ javax.annotation.Nullable K key , @ javax.annotation.Nullable V value ) { return put ( key , value , true ) ; }
Source:
public com.android.dx.io.EncodedValue readEncodedArray ( ) { int start = position ; new com.android.dx.io.EncodedValueReader ( this , EncodedValueReader.ENCODED_ARRAY ) . skipValue ( ) ; int end = position ; return new com.android.dx.io.EncodedValue ( java.util.Arrays.copyOfRange ( data , start , end ) ) ; }

Target:
public com.android.dex.EncodedValue readEncodedArray ( ) { int start = position ; new com.android.dex.EncodedValueReader ( this , EncodedValueReader.ENCODED_ARRAY ) . skipValue ( ) ; int end = position ; return new com.android.dex.EncodedValue ( java.util.Arrays.copyOfRange ( data , start , end ) ) ; }
Source:
public void test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface_IPv4 ( ) throws java.lang.Exception { test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface ( org.apache.harmony.tests.java.net.MulticastSocketTest.GOOD_IPv4 , org.apache.harmony.tests.java.net.MulticastSocketTest.BAD_IPv4 ) ; }

Target:
public void test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface_multiple_joins_IPv6 ( ) throws java.lang.Exception { test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface_multiple_joins ( ipv6NetworkInterface , org.apache.harmony.tests.java.net.MulticastSocketTest.GOOD_IPv6 ) ; }
Source:
public void setName ( java.lang.String name ) { if ( ! ( com.android.internal.util.Objects.equal ( mMutableInfo.name , name ) ) ) { mMutableInfo.name = name ; mImmutableInfo = null ; } }

Target:
public void setName ( java.lang.String name ) { if ( ! ( java.util.Objects.equals ( mMutableInfo.name , name ) ) ) { mMutableInfo.name = name ; mImmutableInfo = null ; } }
Source:
public java.io.File getMainDexListFile ( ) { return new java.io.File ( ( ( ( ( ( ( globalScope.getBuildDir ( ) ) + "/" ) + ( com.android.builder.model.AndroidProject.FD_INTERMEDIATES ) ) + "/multi-dex/" ) + ( getVariantConfiguration ( ) . getDirName ( ) ) ) + "/maindexlist.txt" ) ) ; }

Target:
public java.io.File getPreDexOutputDir ( ) { return new java.io.File ( globalScope.getIntermediatesDir ( ) , ( "/pre-dexed/" + ( getVariantConfiguration ( ) . getDirName ( ) ) ) ) ; }
Source:
public static com.android.build.gradle.ndk.internal.NativeToolSpecification create ( com.android.build.gradle.internal.NdkHandler ndkHandler , org.gradle.nativeplatform.BuildType buildType , org.gradle.nativeplatform.platform.NativePlatform platform ) { return ( ndkHandler.getToolchain ( ) ) == ( com.android.build.gradle.internal.core.Toolchain.GCC ) ? new com.android.build.gradle.ndk.internal.GccNativeToolSpecification ( buildType , platform ) : new com.android.build.gradle.ndk.internal.ClangNativeToolSpecification ( ndkHandler , buildType , platform ) ; }

Target:
public static com.android.build.gradle.ndk.internal.NativeToolSpecification create ( com.android.build.gradle.internal.NdkHandler ndkHandler , org.gradle.nativeplatform.BuildType buildType , org.gradle.nativeplatform.platform.NativePlatform platform ) { return ndkHandler.getToolchain ( ) . equals ( Toolchain.GCC ) ? new com.android.build.gradle.ndk.internal.GccNativeToolSpecification ( buildType , platform ) : new com.android.build.gradle.ndk.internal.ClangNativeToolSpecification ( ndkHandler , buildType , platform ) ; }
Source:
private void acknowledgeSmsReport ( int messageRef , @ android.telephony.ims.internal.SmsImplBase.StatusReportResult int result ) { getSmsImplementation ( ) . acknowledgeSmsReport ( messageRef , result ) ; }

Target:
private void acknowledgeSms ( int token , int messageRef , @ android.telephony.ims.internal.SmsImplBase.DeliverStatusResult int result ) { getSmsImplementation ( ) . acknowledgeSms ( token , messageRef , result ) ; }
Source:
public void controlMoved ( org.eclipse.swt.events.ControlEvent e ) { org.eclipse.swt.graphics.Rectangle rect = shell.getBounds ( ) ; org.eclipse.jface.preference.PreferenceStore prefs = com.android.ddms.PrefsDialog.getStore ( ) ; prefs.setValue ( PrefsDialog.EXPLORER_SHELL_X , rect.x ) ; prefs.setValue ( PrefsDialog.EXPLORER_SHELL_Y , rect.y ) ; }

Target:
public void controlMoved ( org.eclipse.swt.events.ControlEvent e ) { org.eclipse.swt.graphics.Rectangle controlBounds = shell.getBounds ( ) ; org.eclipse.jface.preference.PreferenceStore currentPrefs = com.android.ddms.PrefsDialog.getStore ( ) ; currentPrefs.setValue ( PrefsDialog.EXPLORER_SHELL_X , controlBounds.x ) ; currentPrefs.setValue ( PrefsDialog.EXPLORER_SHELL_Y , controlBounds.y ) ; }
Source:
public void onDialpadShown ( ) { getDialpadFragment ( ) . slideUp ( true ) ; hideBottomNav ( ) ; }

Target:
public void onDialpadShown ( ) { com.android.dialer.common.LogUtil.enterBlock ( "MainSearchController.onDialpadShown" ) ; getDialpadFragment ( ) . slideUp ( true ) ; hideBottomNav ( ) ; }
Source:
public void execute ( com.android.monkeyrunner.core.IMonkeyDevice device ) throws java.lang.Exception { device.touch ( x , y , MonkeyDevice.TOUCH_NAME_TO_ENUM.get ( direction ) ) ; }

Target:
public void execute ( com.android.monkeyrunner.core.IMonkeyDevice device ) throws java.lang.Exception { device.touch ( x , y , com.android.monkeyrunner.core.TouchPressType.fromIdentifier ( direction ) ) ; }
Source:
public static java.lang.String getOutputDirectoryName ( java.lang.String buildType , java.lang.String productFlavor , java.lang.String abi ) { return com.google.common.base.Joiner.on ( java.io.File.separator ) . join ( com.android.builder.model.AndroidProject.FD_INTERMEDIATES , "binaries" , buildType , productFlavor , "lib" , abi ) ; }

Target:
public static java.lang.String getOutputDirectoryName ( java.lang.String buildType , java.lang.String productFlavor , java.lang.String abi ) { return com.android.utils.FileUtils.join ( com.android.builder.model.AndroidProject.FD_INTERMEDIATES , "binaries" , buildType , productFlavor , "lib" , abi ) ; }
Source:
public boolean isEmpty ( ) { return ( size ( ) ) == 0 ; }

Target:
public boolean containsAll ( java.util.Collection < ? > collection ) { java.lang.Object [ ] snapshot = elements ; return java.util.concurrent.CopyOnWriteArrayList.containsAll ( collection , snapshot , 0 , snapshot.length ) ; }
Source:
protected void setCurrentLocale ( java.util.Locale locale ) { if ( locale.equals ( mCurrentLocale ) ) { return ; } mCurrentLocale = locale ; }

Target:
protected void setCurrentLocale ( java.util.Locale locale ) { if ( ! ( locale.equals ( mCurrentLocale ) ) ) { mCurrentLocale = locale ; onLocaleChanged ( locale ) ; } }
Source:
public void loadPlugIns ( ) { if ( ( getState ( ) ) == ( android.drm.DrmManagerClient.STATE_UNINITIALIZED ) ) { _loadPlugIns ( mUniqueId , new java.lang.ref.WeakReference < android.drm.DrmManagerClient > ( this ) ) ; mCurrentState = android.drm.DrmManagerClient.STATE_INITIALIZED ; } }

Target:
public android.drm.DrmConvertedStatus closeConvertSession ( int convertId ) { if ( ( android.drm.DrmManagerClient.STATE_UNINITIALIZED ) == ( getState ( ) ) ) { throw new java.lang.IllegalStateException ( "Not Initialized yet" ) ; } return _closeConvertSession ( mUniqueId , convertId ) ; }
Source:
public com.android.layoutlib.api.IResourceValue findItem ( java.lang.String name ) { return mItems.get ( com.android.util.Pair.of ( name , true ) ) ; }

Target:
public void addItem ( com.android.ide.common.rendering.api.ItemResourceValue value ) { mItems.put ( value.getAttribute ( ) , value ) ; }
Source:
public android.bluetooth.le.AdvertisingSetParameters.Builder setPrimaryPhy ( int primaryPhy ) { if ( ( primaryPhy != ( android.bluetooth.le.AdvertisingSetParameters.PHY_LE_1M ) ) && ( primaryPhy != ( android.bluetooth.le.AdvertisingSetParameters.PHY_LE_CODED ) ) ) { throw new java.lang.IllegalArgumentException ( ( "bad primaryPhy " + primaryPhy ) ) ; } this . primaryPhy = primaryPhy ; return this ; }

Target:
public android.bluetooth.le.AdvertisingSetParameters.Builder setPrimaryPhy ( int primaryPhy ) { if ( ( primaryPhy != ( android.bluetooth.BluetoothDevice.PHY_LE_1M ) ) && ( primaryPhy != ( android.bluetooth.BluetoothDevice.PHY_LE_CODED ) ) ) { throw new java.lang.IllegalArgumentException ( ( "bad primaryPhy " + primaryPhy ) ) ; } this . primaryPhy = primaryPhy ; return this ; }
Source:
protected native void socketSetOption0 ( int opt , java.lang.Object val ) throws java.net.SocketException ;

Target:
protected native void socketSetOption ( int opt , java.lang.Object val ) throws java.net.SocketException ;
Source:
public void checkOwnerOrSystemAndThrow ( ) { if ( ( ( uid ) != ( android.os.Binder.getCallingUid ( ) ) ) && ( ( android.os.Process.SYSTEM_UID ) != ( android.os.Binder.getCallingUid ( ) ) ) ) { throw new java.lang.SecurityException ( "Only the owner may access managed resources!" ) ; } }

Target:
public void checkOwnerOrSystem ( ) { if ( ( ( uid ) != ( android.os.Binder.getCallingUid ( ) ) ) && ( ( android.os.Process.SYSTEM_UID ) != ( android.os.Binder.getCallingUid ( ) ) ) ) { throw new java.lang.SecurityException ( "Only the owner may access managed resources!" ) ; } }
Source:
public void earlyStartup ( ) { if ( isFirstTime ( ) ) { showWelcomeWizard ( ) ; } else if ( mStore.isPingOptIn ( ) ) { sendUsageStats ( ) ; } }

Target:
public void earlyStartup ( ) { if ( isFirstTime ( ) ) { showWelcomeWizard ( ) ; } else if ( mStore.isPingOptIn ( ) ) { sendUsageStats ( ) ; } initializeWindowCoordinator ( ) ; }
Source:
void messageReceived ( java.util.List < com.android.ddmuilib.logcat.LogCatMessage > receivedMessages ) ;

Target:
void bufferChanged ( java.util.List < com.android.ddmuilib.logcat.LogCatMessage > addedMessages , java.util.List < com.android.ddmuilib.logcat.LogCatMessage > deletedMessages ) ;
Source:
public void noCrash ( ) throws java.io.IOException { com.android.ahat.heapdump.AhatSnapshot snapshot = com.android.ahat.TestDump.getTestDump ( ) . getAhatSnapshot ( ) ; com.android.ahat.AhatHandler handler = new com.android.ahat.OverviewHandler ( snapshot , new java.io.File ( "my.hprof.file" ) ) ; com.android.ahat.TestHandler.testNoCrash ( handler , "http://localhost:7100" ) ; }

Target:
public void noCrash ( ) throws java.io.IOException { com.android.ahat.heapdump.AhatSnapshot snapshot = com.android.ahat.TestDump.getTestDump ( ) . getAhatSnapshot ( ) ; com.android.ahat.AhatHandler handler = new com.android.ahat.OverviewHandler ( snapshot , new java.io.File ( "my.hprof.file" ) , new java.io.File ( "my.base.hprof.file" ) ) ; com.android.ahat.TestHandler.testNoCrash ( handler , "http://localhost:7100" ) ; }
Source:
private int getSubId ( ) { if ( ( mSubId ) == ( SubscriptionManager.DEFAULT_SUBSCRIPTION_ID ) ) { return android.telephony.TelephonyManager.getDefaultSubscription ( ) ; } return mSubId ; }

Target:
private int getSubId ( ) { if ( android.telephony.SubscriptionManager.isUsableSubIdValue ( mSubId ) ) { return mSubId ; } return android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ; }
Source:
public boolean isLoopback ( ) throws java.net.SocketException { return java.net.NetworkInterface.isLoopback0 ( name , index ) ; }

Target:
public boolean isLoopback ( ) throws java.net.SocketException { return ( ( getFlags ( ) ) & ( IFF_LOOPBACK ) ) != 0 ; }
Source:
public long getContext ( ) throws javax.net.ssl.SSLException { long sslCtx = super . getContext ( ) ; org.conscrypt.NativeCrypto.SSL_CTX_add_server_custom_ext ( sslCtx , TEST_EXTENSION_TYPE ) ; return sslCtx ; }

Target:
public static void assertEqualPrincipals ( byte [ ] [ ] expected , byte [ ] [ ] actual ) { org.conscrypt.NativeCryptoTest.assertEqualByteArrays ( expected , actual ) ; }
Source:
public void testOldTargetSdk ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestDetector.TARGET_NEWER ) ; assertEquals ( ( "AndroidManifest.xml:7: Warning: Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the android.os.Build.VERSION_CODES javadoc for details. [OldTargetApi]\n" + ( ( " <uses-sdk android:minSdkVersion=\"10\" android:targetSdkVersion=\"14\" />\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "oldtarget.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }

Target:
public void testOldTargetSdk ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestDetector.TARGET_NEWER ) ; assertEquals ( ( "AndroidManifest.xml:7: Warning: Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the android.os.Build.VERSION_CODES javadoc for details. [OldTargetApi]\n" + ( ( " <uses-sdk android:minSdkVersion=\"10\" android:targetSdkVersion=\"14\" />\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "oldtarget.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }
Source:
protected boolean isChanged ( boolean showNumberShortcuts ) { return setShortcutEnabled ( com.android.dialer.app.list.SHORTCUT_BLOCK_NUMBER , ( showNumberShortcuts || ( mIsQuerySipAddress ) ) ) ; }

Target:
protected boolean isChanged ( boolean showNumberShortcuts ) { return setShortcutEnabled ( com.android.dialer.app.list.SHORTCUT_BLOCK_NUMBER , ( showNumberShortcuts || ( isQuerySipAddress ) ) ) ; }
Source:
private static final boolean isNumeric ( char formatChar , int count ) { int i = android.icu.text.SimpleDateFormat.NUMERIC_FORMAT_CHARS.indexOf ( formatChar ) ; return ( i > 0 ) || ( ( i == 0 ) && ( count < 3 ) ) ; }

Target:
private static final boolean isNumeric ( char formatChar , int count ) { return ( ( android.icu.text.SimpleDateFormat.NUMERIC_FORMAT_CHARS.indexOf ( formatChar ) ) >= 0 ) || ( ( count <= 2 ) && ( ( android.icu.text.SimpleDateFormat.NUMERIC_FORMAT_CHARS2.indexOf ( formatChar ) ) >= 0 ) ) ; }
Source:
public boolean visitReturn ( lombok.ast.Return node ) { if ( ( node.astValue ( ) ) == ( mTarget ) ) { mFound = true ; } return super . visitReturn ( node ) ; }

Target:
public void visitReturnStatement ( com.intellij.psi.PsiReturnStatement node ) { super . visitReturnStatement ( node ) ; if ( ( node.getReturnValue ( ) ) == ( mTarget ) ) { mFound = true ; } }
Source:
public static void computeHalfRsqrt ( android.renderscript.cts.TestHalfRsqrt.ArgumentsFloatFloat args ) { args.ulf = 128000 ; args.ulfRelaxed = 128000 ; args.out = ( ( float ) ( java.lang.StrictMath.pow ( args.inV , ( - 0.5 ) ) ) ) ; }

Target:
public static void computeHalfRsqrt ( android.renderscript.cts.TestHalfRsqrt.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( ( 1.0F / ( android.renderscript.cts.CoreMathVerifier.sqrt ( args.inV ) ) ) , android.renderscript.cts.CoreMathVerifier.HALF_PRECISION , 45000 ) ; }
Source:
public void testBridge002 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( BRIDGE002 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addProperty ( Options.ANDROID_MIN_API_LEVEL.getName ( ) , java.lang.String.valueOf ( AndroidCompatibilityChecker.N_API_LEVEL ) ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JackApiV01.class ) . compileAndRunTest ( ) ; }

Target:
public void testBridge002 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( BRIDGE002 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addProperty ( Options.ANDROID_MIN_API_LEVEL.getName ( ) , java.lang.String.valueOf ( AndroidApiLevel.ReleasedLevel.N.getLevel ( ) ) ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JackApiV01.class ) . compileAndRunTest ( ) ; }
Source:
public static void main ( ) { java.lang.String shouldFail = SemiPrivate.mPrivvy ; java.lang.System.out.println ( ( "Got " + shouldFail ) ) ; }

Target:
public static void accessStaticField ( ) { java.lang.String shouldFail = SemiPrivate.mStaticPrivvy ; java.lang.System.out.println ( ( "Got " + shouldFail ) ) ; }
Source:
public com.android.builder.VariantConfiguration setOutput ( com.android.builder.AndroidDependency output ) { mOutput = output ; return this ; }

Target:
public com.android.builder.VariantConfiguration setOutput ( com.android.builder.dependency.AndroidDependency output ) { mOutput = output ; return this ; }
Source:
public native void setFloat ( java.lang.Object object , float value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public void setFloat ( java.lang.Object object , float value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException { setFloat ( object , value , isAccessible ( ) ) ; }
Source:
public void setSaveFormData ( boolean save ) { if ( android.webkit.DebugFlags.TRACE_API ) android.util.Log.d ( com.android.webview.chromium.ContentSettingsAdapter.LOGTAG , ( "setSaveFormData=" + save ) ) ; mAwSettings.setSaveFormData ( save ) ; }

Target:
public void setSaveFormData ( boolean save ) { if ( com.android.webview.chromium.ContentSettingsAdapter.TRACE ) android.util.Log.d ( com.android.webview.chromium.ContentSettingsAdapter.LOGTAG , ( "setSaveFormData=" + save ) ) ; mAwSettings.setSaveFormData ( save ) ; }
Source:
private static com.intellij.openapi.vfs.VirtualFile [ ] getProductionCompileClasspath ( com.intellij.openapi.module.Module moduleA ) { return com.intellij.roots.ModuleRootManager.getInstance ( moduleA ) . orderEntries ( ) . productionOnly ( ) . compileOnly ( ) . recursively ( ) . exportedOnly ( ) . getClassesRoots ( ) ; }

Target:
private static com.intellij.openapi.vfs.VirtualFile [ ] getProductionCompileClasspath ( com.intellij.openapi.module.Module moduleA ) { return com.intellij.openapi.roots.ModuleRootManager.getInstance ( moduleA ) . orderEntries ( ) . productionOnly ( ) . compileOnly ( ) . recursively ( ) . exportedOnly ( ) . getClassesRoots ( ) ; }
Source:
public static native void SSL_renegotiate ( int sslNativePointer ) throws javax.net.ssl.SSLException ;

Target:
public static native java.lang.String SSL_get_servername ( long sslNativePointer ) ;
Source:
public void test_SSL_do_handshake_NULL_SSL ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.SSL_do_handshake ( org.conscrypt.NativeCryptoTest.NULL , null , null , 0 , false , null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void test_SSL_do_handshake_NULL_SSL ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.SSL_do_handshake ( org.conscrypt.NativeCryptoTest.NULL , null , null , 0 , false , null ) ; org.junit.Assert.fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public void silence ( java.lang.String callId ) throws android.os.RemoteException { }

Target:
public void stopDtmfTone ( java.lang.String callId , android.telecom.Logging.Session.Info info ) throws android.os.RemoteException { }
Source:
void readAllUsersPackageRestrictionsLPr ( ) { java.util.List < android.content.pm.UserInfo > users = getAllUsers ( ) ; if ( users == null ) { readPackageRestrictionsLPr ( 0 ) ; return ; } for ( android.content.pm.UserInfo user : users ) { readPackageRestrictionsLPr ( user.id ) ; } }

Target:
boolean removeIntentFilterVerificationLPw ( java.lang.String packageName , int [ ] userIds ) { boolean result = false ; for ( int userId : userIds ) { result |= removeIntentFilterVerificationLPw ( packageName , userId ) ; } return result ; }
Source:
com.android.ide.common.rendering.api.AdapterBinding getAdapterBinding ( com.android.ide.common.rendering.api.ResourceReference adapterView , java.lang.Object adapterCookie ) ;

Target:
com.android.ide.common.rendering.api.AdapterBinding getAdapterBinding ( com.android.ide.common.rendering.api.ResourceReference adapterViewRef , java.lang.Object adapterCookie , java.lang.Object viewObject ) ;
Source:
public com.android.ide.common.api.IViewMetadata getMetadata ( final java.lang.String fqcn ) { return new com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadata ( mEditor.getLayoutEditor ( ) , fqcn ) ; }

Target:
public com.android.ide.eclipse.adt.internal.editors.layout.gre.FillPreference getFillPreference ( ) { return com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadataRepository.get ( ) . getFillPreference ( fqcn ) ; }
Source:
public static java.lang.String internalClassName ( java.lang.String externalClassName ) { return externalClassName.replace ( ClassConstants.EXTERNAL_PACKAGE_SEPARATOR , ClassConstants.INTERNAL_PACKAGE_SEPARATOR ) ; }

Target:
public static java.lang.String internalClassName ( java.lang.String externalClassName ) { return externalClassName.replace ( JavaConstants.PACKAGE_SEPARATOR , ClassConstants.PACKAGE_SEPARATOR ) ; }
Source:
public java.io.File getDexOutputFolder ( ) { return new java.io.File ( ( ( ( ( ( getGlobalScope ( ) . getBuildDir ( ) ) + "/" ) + ( com.android.builder.model.AndroidProject.FD_INTERMEDIATES ) ) + "/dex/" ) + ( getVariantConfiguration ( ) . getDirName ( ) ) ) ) ; }

Target:
public java.io.File getMainDexListFile ( ) { return new java.io.File ( globalScope.getIntermediatesDir ( ) , ( ( "multi-dex/" + ( getVariantConfiguration ( ) . getDirName ( ) ) ) + "/maindexlist.txt" ) ) ; }
Source:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , float [ ] data ) { validateIsFloat32 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data ) ; }

Target:
public void copyTo ( float [ ] d ) { validateIsFloat32 ( ) ; copyTo ( d , Element.DataType.FLOAT_32 , d.length ) ; }
Source:
public void setText ( java.text.CharacterIterator source ) { this . icuIterator.setText ( source ) ; }

Target:
public void setOffset ( int newOffset ) { this . icuIterator.setOffset ( newOffset ) ; }
Source:
void collectSuccessors ( @ javax.annotation.Nonnull java.util.ArrayList < com.android.jack.ir.ast.cfg.JBasicBlock > successors ) { if ( hasPrimarySuccessor ( ) ) { assert ( primarySuccessor ) != null ; successors.add ( primarySuccessor ) ; } }

Target:
public java.util.List < com.android.jack.ir.ast.cfg.JBasicBlock > getSuccessors ( ) { return hasPrimarySuccessor ( ) ? java.util.Collections.singletonList ( primarySuccessor ) : java.util.Collections.< com.android.jack.ir.ast.cfg.JBasicBlock > emptyList ( ) ; }
Source:
protected final void loge ( java.lang.String s ) { android.telephony.Rlog.e ( com.android.internal.telephony.ServiceStateTracker.LOG_TAG , s ) ; }

Target:
protected final void loge ( java.lang.String s ) { android.telephony.Rlog.e ( com.android.internal.telephony.ServiceStateTracker.LOG_TAG , ( ( ( "[" + ( mPhone.getPhoneId ( ) ) ) + "] " ) + s ) ) ; }
Source:
public org.chromium.mojo.system.Core.WaitResult wait ( org.chromium.mojo.system.Core.HandleSignals signals , long deadline ) ;

Target:
public org.chromium.mojo.system.Core.HandleSignalsState querySignalsState ( ) ;
Source:
public void testSuccessfulFirstUpdate ( ) throws java.lang.Exception { libcore.tzdata.update2.ConfigBundle tzData = createValidTzDataBundle ( "2030a" ) ; assertTrue ( install ( tzData ) ) ; assertTzDataInstalled ( tzData ) ; }

Target:
public void testSuccessfulFirstUpdate ( ) throws java.lang.Exception { libcore.tzdata.update2.ConfigBundle tzData = createValidTzDataBundle ( libcore.tzdata.update2.TzDataBundleInstallerTest.NEW_RULES_VERSION ) ; assertTrue ( installer.install ( tzData.getBundleBytes ( ) ) ) ; assertTzDataInstalled ( tzData ) ; }