auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void printf ( java.lang.String msgFormat , java.lang.Object ... args ) { java.lang.System.out.println ( java.lang.String.format ( msgFormat , args ) ) ; }

Target:
public void info ( java.lang.String msgFormat , java.lang.Object ... args ) { java.lang.System.out.println ( java.lang.String.format ( msgFormat , args ) ) ; }
Source:
protected void trace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField f ) { if ( brush.startTrace ( f ) ) { trace ( f.getEnclosingType ( ) ) ; trace ( f.getType ( ) ) ; traceAnnotations ( f ) ; brush.endTrace ( f ) ; } }

Target:
private void trace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField f ) { if ( brush.startTrace ( f ) ) { trace ( f.getEnclosingType ( ) ) ; trace ( f.getType ( ) ) ; traceAnnotations ( f ) ; brush.endTrace ( f ) ; } }
Source:
public void testDecode_empty ( ) throws java.lang.Exception { byte [ ] decoded = libcore.io.Base64.decode ( new byte [ 0 ] ) ; libcore.io.Base64Test.assertArrayEquals ( new byte [ 0 ] , decoded ) ; }

Target:
public void testDecode_empty ( ) throws java.lang.Exception { byte [ ] decoded = libcore.io.Base64.decode ( new byte [ 0 ] ) ; assertEquals ( 0 , decoded.length ) ; }
Source:
public static int getCallbackAction ( java.lang.String number , int features , java.lang.String phoneAccountComponentName , android.content.Context context ) { return com.android.dialer.calllogutils.CallbackActionHelper.getCallbackAction ( number , features , com.android.dialer.calllogutils.CallbackActionHelper.isDuoCall ( phoneAccountComponentName , context ) ) ; }

Target:
public static int getCallbackAction ( java.lang.String number , int features , java.lang.String phoneAccountComponentName ) { return com.android.dialer.calllogutils.CallbackActionHelper.getCallbackAction ( number , features , com.android.dialer.calllogutils.CallbackActionHelper.isDuoCall ( phoneAccountComponentName ) ) ; }
Source:
public static boolean mimeTypeMatches ( java.lang.String mimeType , java.lang.String matchAgainst ) { java.util.regex.Pattern p = java.util.regex.Pattern.compile ( matchAgainst.replaceAll ( "\\*" , "\\.\\*" ) , java.util.regex.Pattern.CASE_INSENSITIVE ) ; return p.matcher ( mimeType ) . matches ( ) ; }

Target:
private static boolean mimeTypeMatches ( java.lang.String mimeType , java.lang.String matchAgainst ) { java.util.regex.Pattern p = java.util.regex.Pattern.compile ( matchAgainst.replaceAll ( "\\*" , "\\.\\*" ) , java.util.regex.Pattern.CASE_INSENSITIVE ) ; return p.matcher ( mimeType ) . matches ( ) ; }
Source:
static void native_addPath ( int nPath , int src , float dx , float dy ) { android.graphics.Path_Delegate.addPath ( nPath , src , java.awt.geom.AffineTransform.getTranslateInstance ( dx , dy ) ) ; }

Target:
static void native_addPath ( long nPath , int src , float dx , float dy ) { android.graphics.Path_Delegate.addPath ( nPath , src , java.awt.geom.AffineTransform.getTranslateInstance ( dx , dy ) ) ; }
Source:
public abstract int [ ] blend ( int [ ] src , int [ ] dst ) ;

Target:
public abstract int [ ] blend ( int [ ] src , int [ ] dst , int [ ] result ) ;
Source:
public boolean p2pCancelConnect ( ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.cancelConnect ( ) ; } else { return doBooleanCommand ( "P2P_CANCEL" ) ; } }

Target:
public boolean p2pCancelConnect ( ) { return mSupplicantP2pIfaceHal.cancelConnect ( ) ; }
Source:
protected void tearDown ( ) throws java.lang.Exception { cursor.close ( ) ; super . tearDown ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { cursor.close ( ) ; }
Source:
public static int IntMultiplication ( ) { int a ; int b ; int c ; a = Main.$inline$int ( 7 ) ; b = Main.$inline$int ( 3 ) ; c = a * b ; return c ; }

Target:
public static int IntMultiplication ( ) { int a ; int b ; int c ; a = 7 ; b = 3 ; c = a * b ; return c ; }
Source:
void detachNativeFunctor ( ) { if ( ( ( mNativeDrawGLFunctor ) != 0 ) && ( ( mViewRootImpl ) != null ) ) { mViewRootImpl.detachFunctor ( nativeDrawGLFunctor ( ) ) ; } mViewRootImpl = null ; }

Target:
void detachNativeFunctor ( ) { if ( ( ( mNativeDrawGLFunctor ) != 0 ) && ( ( mViewRootImpl ) != null ) ) { mViewRootImpl.detachFunctor ( mNativeDrawGLFunctor ) ; } mViewRootImpl = null ; }
Source:
public void test ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/namespace.xml:2: Error: Attribute is missing the Android namespace prefix [MissingPrefix]\n" + ( ( ( ( ( ( "<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\" android:id=\"@+id/newlinear\" android:orientation=\"vertical\" android:layout_width=\"match_parent\" android:layout_height=\"match_parent\" orientation=\"true\">\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/namespace.xml:3: Error: Attribute is missing the Android namespace prefix [MissingPrefix]\n" ) + " <Button style=\"@style/setupWizardOuterFrame\" android.text=\"Button\" android:id=\"@+id/button1\" android:layout_width=\"wrap_content\" android:layout_height=\"wrap_content\"></Button>\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "2 errors, 0 warnings\n" ) + "" ) ) , lintFiles ( "res/layout/namespace.xml" ) ) ; }

Target:
public void test ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/namespace.xml:2: Error: Attribute is missing the Android namespace prefix [MissingPrefix]\n" + ( ( ( ( ( ( ( ( "<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\" xmlns:other=\"http://foo.bar\" android:id=\"@+id/newlinear\" android:orientation=\"vertical\" android:layout_width=\"match_parent\" android:layout_height=\"match_parent\" orientation=\"true\">\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/namespace.xml:3: Error: Attribute is missing the Android namespace prefix [MissingPrefix]\n" ) + " <Button style=\"@style/setupWizardOuterFrame\" android.text=\"Button\" android:id=\"@+id/button1\" android:layout_width=\"wrap_content\" android:layout_height=\"wrap_content\"></Button>\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/namespace.xml:5: Error: Unexpected namespace prefix \"other\" found for tag LinearLayout [MissingPrefix]\n" ) + " <LinearLayout other:orientation=\"horizontal\"/>\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "3 errors, 0 warnings\n" ) ) , lintFiles ( "res/layout/namespace.xml" ) ) ; }
Source:
void onProgressRefresh ( float scale , boolean fromUser ) { super . onProgressRefresh ( scale , fromUser ) ; android.graphics.drawable.Drawable thumb = mThumb ; if ( thumb != null ) { setThumbPos ( getWidth ( ) , thumb , scale , java.lang.Integer.MIN_VALUE ) ; invalidate ( ) ; } }

Target:
private void setThumbPos ( float scale ) { final android.graphics.drawable.Drawable thumb = mThumb ; if ( thumb != null ) { setThumbPos ( getWidth ( ) , thumb , scale , java.lang.Integer.MIN_VALUE ) ; invalidate ( ) ; } }
Source:
public void testEnabledWhenOpened_DisabledWhenFinalized ( ) throws java.lang.Throwable { dalvik.system.CloseGuard.setEnabled ( true ) ; libcore.dalvik.system.CloseGuardTest.ResourceOwner owner = new libcore.dalvik.system.CloseGuardTest.ResourceOwner ( ) ; owner.open ( ) ; dalvik.system.CloseGuard.setEnabled ( false ) ; assertUnreleasedResources ( owner , 0 ) ; }

Target:
public void testEnabledWhenOpened_DisabledWhenFinalized ( ) throws java.lang.Throwable { dalvik.system.CloseGuard.setEnabled ( true ) ; libcore.dalvik.system.CloseGuardTest.ResourceOwner owner = new libcore.dalvik.system.CloseGuardTest.ResourceOwner ( ) ; owner.open ( ) ; dalvik.system.CloseGuard.setEnabled ( false ) ; assertUnreleasedResources ( owner , 1 ) ; }
Source:
private void checkGraphic ( java.lang.String baseName , com.android.assetstudiolib.ActionBarIconGenerator.Theme theme ) throws java.io.IOException { com.android.assetstudiolib.ActionBarIconGenerator.ActionBarOptions options = new com.android.assetstudiolib.ActionBarIconGenerator.ActionBarOptions ( ) ; options.theme = theme ; com.android.assetstudiolib.ActionBarIconGenerator generator = new com.android.assetstudiolib.ActionBarIconGenerator ( ) ; checkGraphic ( 3 , "actions" , baseName , generator , options ) ; }

Target:
private void checkGraphic ( java.lang.String baseName , com.android.assetstudiolib.ActionBarIconGenerator.Theme theme ) throws java.io.IOException { com.android.assetstudiolib.ActionBarIconGenerator.ActionBarOptions options = new com.android.assetstudiolib.ActionBarIconGenerator.ActionBarOptions ( ) ; options.theme = theme ; com.android.assetstudiolib.ActionBarIconGenerator generator = new com.android.assetstudiolib.ActionBarIconGenerator ( ) ; checkGraphic ( 4 , "actions" , baseName , generator , options ) ; }
Source:
public android.media.MediaDrm.CryptoSession getCryptoSession ( @ android.annotation.NonNull byte [ ] sessionId , @ android.annotation.NonNull java.lang.String cipherAlgorithm , @ android.annotation.NonNull java.lang.String macAlgorithm ) { return new android.media.MediaDrm.CryptoSession ( this , sessionId , cipherAlgorithm , macAlgorithm ) ; }

Target:
public android.media.MediaDrm.CryptoSession getCryptoSession ( @ android.annotation.NonNull byte [ ] sessionId , @ android.annotation.NonNull java.lang.String cipherAlgorithm , @ android.annotation.NonNull java.lang.String macAlgorithm ) { return new android.media.MediaDrm.CryptoSession ( sessionId , cipherAlgorithm , macAlgorithm ) ; }
Source:
public static void release ( android.content.Context context ) { if ( ( com.android.tv.tuner.TunerPreferences.useContentProvider ( context ) ) && ( ( com.android.tv.tuner.TunerPreferences.sContentObserver ) != null ) ) { context.getContentResolver ( ) . unregisterContentObserver ( com.android.tv.tuner.TunerPreferences.sContentObserver ) ; } }

Target:
public static synchronized void release ( android.content.Context context ) { if ( ( com.android.tv.tuner.TunerPreferences.useContentProvider ( context ) ) && ( ( com.android.tv.tuner.TunerPreferences.sContentObserver ) != null ) ) { context.getContentResolver ( ) . unregisterContentObserver ( com.android.tv.tuner.TunerPreferences.sContentObserver ) ; } }
Source:
protected void deliverResponse ( java.lang.String response ) { mListener.onResponse ( response ) ; }

Target:
protected void deliverResponse ( java.lang.String response ) { if ( ( mListener ) != null ) { mListener.onResponse ( response ) ; } }
Source:
public static int $noinline$SubNeg2 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } int temp = - arg1 ; return ( temp - arg2 ) | ( temp - arg2 ) ; }

Target:
public static int $noinline$SubNeg2 ( int arg1 , int arg2 ) { int temp = - arg1 ; return ( temp - arg2 ) | ( temp - arg2 ) ; }
Source:
public void setDataRoamingEnabled ( boolean enable ) { mDcTracker.setDataOnRoamingEnabled ( enable ) ; }

Target:
public void setDataRoamingEnabled ( boolean enable ) { mDcTracker.setDataRoamingEnabled ( enable ) ; }
Source:
private void setCallProfile ( com.android.ims.ImsCallProfile profile ) { synchronized ( mLockObj ) { mCallProfile = profile ; trackVideoStateHistory ( mCallProfile ) ; } }

Target:
public void setCallProfile ( com.android.ims.ImsCallProfile profile ) { synchronized ( mLockObj ) { mCallProfile = profile ; trackVideoStateHistory ( mCallProfile ) ; } }
Source:
private final synchronized void updateAudioRoute ( ) { if ( mAudioRouteNeedsUpdate ) { mAudioManager.setWiredHeadsetOn ( ( ( mHeadsetState ) == 1 ) ) ; mAudioRouteNeedsUpdate = false ; } }

Target:
private final synchronized void updateAudioRoute ( ) { if ( mAudioRouteNeedsUpdate ) { mAudioManager.setWiredHeadsetOn ( ( ( mHeadsetState ) > 0 ) ) ; mAudioRouteNeedsUpdate = false ; } }
Source:
public static double $noinline$DivMP25 ( double arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg / ( - 0.25F ) ; }

Target:
public static double $noinline$DivMP25 ( double arg ) { return arg / ( - 0.25F ) ; }
Source:
public int startSession ( android.app.PendingIntent incomingCallIntent , com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . startSession ( mSlotId , mSupportedFeature , incomingCallIntent , listener ) ; } }

Target:
public int startSession ( android.app.PendingIntent incomingCallIntent , com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . startSession ( incomingCallIntent , listener ) ; } }
Source:
public static long $noinline$Div1 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg / 1 ; }

Target:
public static long $noinline$Div1 ( long arg ) { return arg / 1 ; }
Source:
public void testConstructor3 ( ) { try { java.util.PriorityQueue q = new java.util.PriorityQueue ( ( ( java.util.Collection ) ( null ) ) ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testConstructor3 ( ) { try { new java.util.PriorityQueue ( ( ( java.util.Collection ) ( null ) ) ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }
Source:
public static void setEndpointIdentificationAlgorithm ( javax.net.ssl.SSLParameters params , java.lang.String endpointIdentificationAlgorithm ) { }

Target:
public static void setEndpointIdentificationAlgorithm ( javax.net.ssl.SSLParameters params , java.lang.String endpointIdentificationAlgorithm ) { params.setEndpointIdentificationAlgorithm ( endpointIdentificationAlgorithm ) ; }
Source:
public long getLong ( ) { if ( ! ( memoryRef.isAccessible ) ) { throw new java.lang.IllegalStateException ( "buffer is inaccessible" ) ; } return getLong ( ix ( nextGetIndex ( SizeOf.LONG ) ) ) ; }

Target:
public final long getLong ( ) { if ( ! ( memoryRef.isAccessible ) ) { throw new java.lang.IllegalStateException ( "buffer is inaccessible" ) ; } return getLong ( ix ( nextGetIndex ( SizeOf.LONG ) ) ) ; }
Source:
protected org.bouncycastle.math.ec.ECFieldElement getRawXCoord ( ) { return x ; }

Target:
protected final org.bouncycastle.math.ec.ECFieldElement getRawXCoord ( ) { return x ; }
Source:
private void readMeminfoDataset ( java.io.BufferedReader br ) throws java.io.IOException { mLabel.setText ( "PSS in kB" ) ; updateDataSet ( com.android.ddmuilib.SysinfoPanel.BugReportParser.readMeminfoDataset ( br ) ) ; }

Target:
private void readMeminfoDataset ( java.io.BufferedReader br ) throws java.io.IOException { updateDataSet ( com.android.ddmuilib.SysinfoPanel.BugReportParser.readMeminfoDataset ( br ) , "PSS in kB" ) ; }
Source:
public final void binderDied ( ) { try { release ( ) ; } catch ( android.os.RemoteException e ) { android.util.Log.e ( com.android.server.IpSecService.TAG , ( "Failed to release resource: " + e ) ) ; } }

Target:
public final void binderDied ( ) { try { release ( ) ; } catch ( java.lang.Exception e ) { android.util.Log.e ( com.android.server.IpSecService.TAG , ( "Failed to release resource: " + e ) ) ; } }
Source:
public static long [ ] copyOf ( long [ ] original , int newLength ) { if ( newLength < 0 ) { throw new java.lang.NegativeArraySizeException ( ) ; } return java.util.Arrays.copyOfRange ( original , 0 , newLength ) ; }

Target:
public static long [ ] copyOf ( long [ ] original , int newLength ) { if ( newLength < 0 ) { throw new java.lang.NegativeArraySizeException ( java.lang.Integer.toString ( newLength ) ) ; } return java.util.Arrays.copyOfRange ( original , 0 , newLength ) ; }
Source:
public void testCanEncodeCharSequence() { assertTrue(encoder.canEncode("")); assertTrue(encoder.canEncode("\ud800\udc00")); assertFalse(encoder.canEncode("\ud800\udb00")); }

Target:
public void testCanEncodeCharSequence() { assertTrue(encoder.canEncode("\ud800\udc00")); assertFalse(encoder.canEncode("\ud800\udb00")); }
Source:
public void onConfigurationChanged ( ) { mConfig = com.android.systemui.statusbar.policy.NetworkControllerImpl.Config.readConfig ( mContext ) ; mReceiverHandler.post ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { handleConfigurationChanged ( ) ; } } ) ; }

Target:
public void run ( ) { handleConfigurationChanged ( ) ; }
Source:
public void testField ( ) { org.apache.harmony.crypto.tests.javax.crypto.interfaces.DHPublicKeyTest.checkDHPublicKey key = new org.apache.harmony.crypto.tests.javax.crypto.interfaces.DHPublicKeyTest.checkDHPublicKey ( ) ; org.junit.Assert.assertEquals ( "Incorrect serialVersionUID" , key.getSerVerUID ( ) , ( - 6628103563352519193L ) ) ; }

Target:
public void testField ( ) { org.apache.harmony.crypto.tests.javax.crypto.interfaces.DHPublicKeyTest.checkDHPublicKey key = new org.apache.harmony.crypto.tests.javax.crypto.interfaces.DHPublicKeyTest.checkDHPublicKey ( ) ; assertEquals ( "Incorrect serialVersionUID" , key.getSerVerUID ( ) , ( - 6628103563352519193L ) ) ; }
Source:
protected void setXmlNode ( org.w3c.dom.Node xmlNode ) { mXmlNode = xmlNode ; }

Target:
public void setXmlNode ( org.w3c.dom.Node xmlNode ) { mXmlNode = xmlNode ; }
Source:
com.android.sched.util.location.Location getLocation ( ) { return source.getLocation ( ) ; }

Target:
com.android.sched.util.location.Location getLocation ( ) { return location ; }
Source:
public static void sort ( short [ ] a , int fromIndex , int toIndex ) { java.util.Arrays.rangeCheck ( a.length , fromIndex , toIndex ) ; java.util.DualPivotQuicksort.sort ( a , fromIndex , ( toIndex - 1 ) ) ; }

Target:
public static void sort ( char [ ] a ) { java.util.DualPivotQuicksort.sort ( a , 0 , ( ( a.length ) - 1 ) , null , 0 , 0 ) ; }
Source:
public static native void dumpHprofData ( java.lang.String fileName , java.io.FileDescriptor fd ) throws java.io.IOException ;

Target:
private static native void dumpHprofData ( java.lang.String fileName , int fd ) throws java.io.IOException ;
Source:
private static dalvik.system.DexPathList.Element [ ] makePathElements ( java.util.List < java.io.File > files , java.io.File optimizedDirectory , java.util.List < java.io.IOException > suppressedExceptions ) { return dalvik.system.DexPathList.makeElements ( files , null , suppressedExceptions , true ) ; }

Target:
private static dalvik.system.DexPathList.Element [ ] makePathElements ( java.util.List < java.io.File > files , java.io.File optimizedDirectory , java.util.List < java.io.IOException > suppressedExceptions ) { return dalvik.system.DexPathList.makeElements ( files , null , suppressedExceptions , true , null ) ; }
Source:
public void testInstallOlderRulesVersion ( ) throws java.lang.Exception { java.io.File appFile = getTimeZoneDataApkFile ( "test2" ) ; getDevice ( ) . installPackage ( appFile , true ) ; java.lang.Thread.sleep ( 30000 ) ; assertEquals ( com.android.timezone.xts.TimeZoneUpdateHostTest.STAGED_OPERATION_NONE , getStagedOperationType ( ) ) ; }

Target:
public void testInstallOlderRulesVersion ( ) throws java.lang.Exception { java.io.File appFile = getTimeZoneDataApkFile ( "test2" ) ; getDevice ( ) . installPackage ( appFile , true ) ; java.lang.Thread.sleep ( 30000 ) ; org.junit.Assert.assertEquals ( com.android.timezone.xts.TimeZoneUpdateHostTest.STAGED_OPERATION_NONE , getStagedOperationType ( ) ) ; }
Source:
private void assertDataTransmittedByClient ( ) throws java.lang.Exception { byte [ ] firstChunkFromClient = getFirstReceivedChunkFuture ( ) . get ( 2 , java.util.concurrent.TimeUnit.SECONDS ) ; if ( ( firstChunkFromClient == null ) || ( ( firstChunkFromClient.length ) == 0 ) ) { fail ( "Client did not transmit any data to server" ) ; } }

Target:
private void assertDataTransmittedByClient ( ) throws java.lang.Exception { byte [ ] firstChunkFromClient = getFirstReceivedChunkFuture ( ) . get ( 4 , java.util.concurrent.TimeUnit.SECONDS ) ; if ( ( firstChunkFromClient == null ) || ( ( firstChunkFromClient.length ) == 0 ) ) { fail ( "Client did not transmit any data to server" ) ; } }
Source:
public void onApplicationCreate ( android.content.Context appContext ) { registerContentObservers ( appContext ) ; com.android.dialer.calllog.CallLogConfig.schedulePollingJob ( appContext ) ; }

Target:
public void onApplicationCreate ( ) { registerContentObservers ( ) ; com.android.dialer.calllog.CallLogConfig.schedulePollingJob ( appContext ) ; }
Source:
private boolean isMy ( @ org.jetbrains.annotations.NotNull com.intellij.openapi.vfs.VirtualFileEvent event ) { return com.intellij.openapi.util.text.StringUtilRt.endsWithIgnoreCase ( event.getFile ( ) . getNameSequence ( ) , mySchemeExtension ) ; }

Target:
private boolean isMy ( @ org.jetbrains.annotations.NotNull com.intellij.openapi.vfs.VirtualFileEvent event ) { return isMy ( event.getFile ( ) ) ; }
Source:
public int hashCode ( ) { long bits = java.lang.Double.doubleToLongBits ( value ) ; return ( ( int ) ( bits ^ ( bits > > > 32 ) ) ) ; }

Target:
public int hashCode ( ) { return java.lang.Double.hashCode ( value ) ; }
Source:
public com.android.dx.dex.file.ClassDefItem call ( ) { com.android.dx.dex.file.ClassDefItem clazz = com.android.dx.command.dexer.Main.translateClass ( bytes , classFile ) ; return clazz ; }

Target:
public com.android.dx.dex.file.ClassDefItem call ( ) { com.android.dx.dex.file.ClassDefItem clazz = translateClass ( bytes , classFile ) ; return clazz ; }
Source:
public static int $noinline$compareTo ( java.lang.String lhs , java.lang.String rhs ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return lhs.compareTo ( rhs ) ; }

Target:
public static int $noinline$compareTo ( java.lang.String lhs , java.lang.String rhs ) { return lhs.compareTo ( rhs ) ; }
Source:
public com.android.jack.jayce.ParameterNode getParameterNode ( @ javax.annotation.Nonnegative int parameterNodeIndex ) { assert ( parameters ) != null ; return parameters.get ( parameterNodeIndex ) ; }

Target:
public java.lang.String getName ( ) { assert ( name ) != null ; return name ; }
Source:
public void testReplaceValue3_NullPointerException ( ) { try { java.util.concurrent.ConcurrentHashMap c = new java.util.concurrent.ConcurrentHashMap ( 5 ) ; c.replace ( "whatever" , one , null ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testReplaceValue3_NullPointerException ( ) { java.util.concurrent.ConcurrentHashMap c = new java.util.concurrent.ConcurrentHashMap ( 5 ) ; try { c.replace ( "whatever" , one , null ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }
Source:
public void testStrings ( ) throws java.lang.Exception { assertEquals ( ( "accessibility.xml:3: Warning: [I18N] Hardcoded string \"Button\", " + ( ( "should use @string resource\n" + "accessibility.xml:6: Warning: [I18N] Hardcoded string \"Button\", " ) + "should use @string resource" ) ) , lintFiles ( "res/layout/accessibility.xml" ) ) ; }

Target:
public void testStrings ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/accessibility.xml:3: Warning: [I18N] Hardcoded string \"Button\", should use @string resource [HardcodedText]\n" + ( ( ( ( ( ( " <Button android:text=\"Button\" android:id=\"@+id/button1\" android:layout_width=\"wrap_content\" android:layout_height=\"wrap_content\"></Button>\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/layout/accessibility.xml:6: Warning: [I18N] Hardcoded string \"Button\", should use @string resource [HardcodedText]\n" ) + " <Button android:text=\"Button\" android:id=\"@+id/button2\" android:layout_width=\"wrap_content\" android:layout_height=\"wrap_content\"></Button>\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 2 warnings\n" ) + "" ) ) , lintFiles ( "res/layout/accessibility.xml" ) ) ; }
Source:
protected void init ( ) throws java.lang.Exception { UCA = ( ( android.icu.text.RuleBasedCollator ) ( android.icu.text.Collator.getInstance ( ULocale.ROOT ) ) ) ; comparer = new android.icu.text.UTF16.StringComparator ( true , false , UTF16.StringComparator.FOLD_CASE_DEFAULT ) ; }

Target:
public void init ( ) throws java.lang.Exception { UCA = ( ( android.icu.text.RuleBasedCollator ) ( android.icu.text.Collator.getInstance ( ULocale.ROOT ) ) ) ; comparer = new android.icu.text.UTF16.StringComparator ( true , false , UTF16.StringComparator.FOLD_CASE_DEFAULT ) ; }
Source:
public void run ( ) { android.app.Notification n = new android.app.Notification ( ) ; n.flags |= android.app.Notification.FLAG_SHOW_LIGHTS ; n.ledARGB = - 256 ; n.ledOnMS = 1300 ; n.ledOffMS = 1300 ; mNM.notify ( 1 , n ) ; }

Target:
public void run ( ) { android.app.Notification n = new android.app.Notification ( ) ; n.flags |= android.app.Notification.FLAG_SHOW_LIGHTS ; n.ledARGB = - 256 ; n.ledOnMS = 1 ; n.ledOffMS = 0 ; mNM.notify ( 1 , n ) ; }
Source:
public void testBridge001 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( BRIDGE001 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JackApiV01.class ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . compileAndRunTest ( ) ; }

Target:
public void testBridge001 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( BRIDGE001 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JackApiV01.class ) . compileAndRunTest ( ) ; }
Source:
public void test002d ( ) throws java.lang.Exception { java.io.File jackOutput ; try { jackOutput = runTest002 ( true , null ) ; junit.framework.Assert.fail ( ) ; } catch ( com.android.jack.resource.ResourceImportConflictException e ) { } }

Target:
public void test002d ( ) throws java.lang.Exception { java.io.File jackOutput ; try { jackOutput = runTest002 ( true , null , true ) ; junit.framework.Assert.fail ( ) ; } catch ( com.android.jack.resource.ResourceImportConflictException e ) { } }
Source:
protected void finalize ( ) throws java.lang.Throwable { try { mFrameSequenceState.destroy ( ) ; if ( ! ( mDestroyed ) ) { destroy ( ) ; } } finally { super . finalize ( ) ; } }

Target:
protected void finalize ( ) throws java.lang.Throwable { try { mFrameSequenceState.destroy ( ) ; } finally { super . finalize ( ) ; } }
Source:
private static java.lang.String formatCalendar ( java.util.Calendar cal ) { java.text.SimpleDateFormat format = new java.text.SimpleDateFormat ( "yyyy-MM-dd'T'HH:mm:ss.SSSZ" , java.util.Locale.ENGLISH ) ; format.setTimeZone ( cal.getTimeZone ( ) ) ; return format.format ( new java.util.Date ( cal.getTimeInMillis ( ) ) ) ; }

Target:
public static java.lang.String formatCalendar ( java.util.Calendar cal ) { java.text.SimpleDateFormat format = new java.text.SimpleDateFormat ( "yyyy-MM-dd'T'HH:mm:ss.SSSZ" , java.util.Locale.ENGLISH ) ; format.setTimeZone ( cal.getTimeZone ( ) ) ; return format.format ( new java.util.Date ( cal.getTimeInMillis ( ) ) ) ; }
Source:
private static boolean approxEquals ( int expected , int actual ) { final int MAX_DELTA = 4 ; return ( java.lang.Math.abs ( ( expected - actual ) ) ) <= MAX_DELTA ; }

Target:
private static boolean approxEquals ( int expected , int actual ) { final int MAX_DELTA = 7 ; return ( java.lang.Math.abs ( ( expected - actual ) ) ) <= MAX_DELTA ; }
Source:
public java.lang.String getDisplayName ( ) { return ( ( ( name ) + " (" ) + ( countCombinations ( ) ) ) + ")" ; }

Target:
public java.lang.String getDisplayName ( ) { return ( ( ( name ) + " (" ) + ( count ( ) ) ) + ")" ; }
Source:
public android.bluetooth.BluetoothGatt connectGatt ( android.content.Context context , boolean autoConnect , android.bluetooth.BluetoothGattCallback callback , int transport ) { return connectGatt ( context , autoConnect , callback , android.bluetooth.BluetoothDevice.TRANSPORT_AUTO , android.bluetooth.BluetoothDevice.PHY_LE_1M_MASK ) ; }

Target:
public android.bluetooth.BluetoothGatt connectGatt ( android.content.Context context , boolean autoConnect , android.bluetooth.BluetoothGattCallback callback , int transport ) { return connectGatt ( context , autoConnect , callback , transport , android.bluetooth.BluetoothDevice.PHY_LE_1M_MASK ) ; }
Source:
synchronized void nProgramBindTexture ( int vpf , int slot , int a ) { validate ( ) ; rsnProgramBindTexture ( mContext , vpf , slot , a ) ; }

Target:
synchronized void nProgramBindTexture ( long vpf , int slot , long a ) { validate ( ) ; rsnProgramBindTexture ( mContext , vpf , slot , a ) ; }
Source:
public int download ( java.lang.String appName , android.telephony.mbms.DownloadRequest downloadRequest , android.telephony.mbms.IDownloadCallback listener ) throws android.os.RemoteException { return 0 ; }

Target:
public int download ( android.telephony.mbms.DownloadRequest downloadRequest , android.telephony.mbms.IDownloadCallback listener ) throws android.os.RemoteException { return 0 ; }
Source:
public void setDate ( long date ) { this . mDate = date ; }

Target:
public void setDate ( long date ) { this . date = date ; }
Source:
public void testConstructor_NullAliase ( ) { try { new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mockChar" , new java.lang.String [ ] { "mock" , null } ) ; fail ( "Should throw NullPointerException!" ) ; } catch ( java.lang.NullPointerException e ) { } }

Target:
public void testConstructor_NullAliase ( ) { try { new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mockChar" , new java.lang.String [ ] { "mock" , null } ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public static long LongDivision ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 8L ) ; b = Main.$inline$long ( 3L ) ; c = a / b ; return c ; }

Target:
public static long LongDivision ( ) { long a ; long b ; long c ; a = 8L ; b = 3L ; c = a / b ; return c ; }
Source:
public static native long SSL_set_options ( int ssl , long options ) ;

Target:
public static native long SSL_set_options ( long ssl , long options ) ;
Source:
private static javax.xml.parsers.SAXParser getParser ( ) throws javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { javax.xml.validation.Schema schema = com.android.dvlib.DeviceSchema.getSchema ( ) ; if ( schema != null ) { com.android.sdklib.devices.DeviceParser.sParserFactory.setSchema ( schema ) ; } return com.android.sdklib.devices.DeviceParser.sParserFactory.newSAXParser ( ) ; }

Target:
private static javax.xml.parsers.SAXParser getParser ( int version ) throws javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { javax.xml.validation.Schema schema = com.android.dvlib.DeviceSchema.getSchema ( version ) ; if ( schema != null ) { com.android.sdklib.devices.DeviceParser.sParserFactory.setSchema ( schema ) ; } return com.android.sdklib.devices.DeviceParser.sParserFactory.newSAXParser ( ) ; }
Source:
public java.lang.String toString ( ) { if ( ( count ) == 0 ) { return "" ; } return java.lang.StringFactory.newStringFromChars ( 0 , count , value ) ; }

Target:
public java.lang.String toString ( ) { if ( ( count ) == 0 ) { return "" ; } return new java.lang.String ( value , 0 , count ) ; }
Source:
public static boolean isEmpty ( ) { synchronized ( org.apache.harmony.security.fortress.Services.services ) { return org.apache.harmony.security.fortress.Services.services.isEmpty ( ) ; } }

Target:
public static synchronized boolean isEmpty ( ) { return org.apache.harmony.security.fortress.Services.services.isEmpty ( ) ; }
Source:
public void testConstructor_NullCanonicalName ( ) { try { tests.api.java.nio.charset.CharsetTest.MockCharset c = new tests.api.java.nio.charset.CharsetTest.MockCharset ( null , new java.lang.String [ ] { "mock" } ) ; fail ( "Should throw NullPointerException!" ) ; } catch ( java.lang.NullPointerException e ) { } }

Target:
public void testConstructor_NullCanonicalName ( ) { try { tests.api.java.nio.charset.CharsetTest.MockCharset c = new tests.api.java.nio.charset.CharsetTest.MockCharset ( null , new java.lang.String [ ] { "mock" } ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public libcore.io.BufferIterator bigEndianIterator ( ) { return new libcore.io.NioBufferIterator ( address , ( ( int ) ( size ) ) , ( ( java.nio.ByteOrder.nativeOrder ( ) ) != ( java.nio.ByteOrder.BIG_ENDIAN ) ) ) ; }

Target:
public libcore.io.BufferIterator bigEndianIterator ( ) { return new libcore.io.NioBufferIterator ( this , address , size , ( ( java.nio.ByteOrder.nativeOrder ( ) ) != ( java.nio.ByteOrder.BIG_ENDIAN ) ) ) ; }
Source:
private static boolean isAggressiveRecovery ( int value ) { return ( ( ( value == ( com.android.internal.telephony.dataconnection.DcTracker.RecoveryAction.CLEANUP ) ) || ( value == ( com.android.internal.telephony.dataconnection.DcTracker.RecoveryAction.REREGISTER ) ) ) || ( value == ( com.android.internal.telephony.dataconnection.DcTracker.RecoveryAction.RADIO_RESTART ) ) ) || ( value == ( com.android.internal.telephony.dataconnection.DcTracker.RecoveryAction.RADIO_RESTART_WITH_PROP ) ) ; }

Target:
private static boolean isAggressiveRecovery ( int value ) { return ( ( value == ( com.android.internal.telephony.dataconnection.DcTracker.RecoveryAction.CLEANUP ) ) || ( value == ( com.android.internal.telephony.dataconnection.DcTracker.RecoveryAction.REREGISTER ) ) ) || ( value == ( com.android.internal.telephony.dataconnection.DcTracker.RecoveryAction.RADIO_RESTART ) ) ; }
Source:
public void engineInit ( javax.net.ssl.ManagerFactoryParameters spec ) throws java.security.InvalidAlgorithmParameterException { throw new java.security.InvalidAlgorithmParameterException ( "ManagerFactoryParameters not supported" ) ; }

Target:
protected void engineInit ( javax.net.ssl.ManagerFactoryParameters spec ) throws java.security.InvalidAlgorithmParameterException { throw new java.security.InvalidAlgorithmParameterException ( "ManagerFactoryParameters not supported" ) ; }
Source:
public boolean isIgnored ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message , @ com.android.annotations.Nullable java.lang.Object data ) { return issue != ( com.android.tools.lint.client.api.IssueRegistry.LINT_ERROR ) ; }

Target:
public boolean isIgnored ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message ) { return issue != ( com.android.tools.lint.client.api.IssueRegistry.LINT_ERROR ) ; }
Source:
public void endTrace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod type ) { composedStatus.pop ( ) ; for ( com.android.jack.analysis.tracer.TracerBrush config : brushes ) { config.endTrace ( type ) ; } }

Target:
public void endTrace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { composedStatus.pop ( ) ; for ( com.android.jack.analysis.tracer.TracerBrush config : brushes ) { config.endTrace ( method ) ; } }
Source:
public void onCancel ( android.content.DialogInterface dialog ) { if ( ( mFindSuidFilesTask ) != null ) { mFindSuidFilesTask.cancel ( true ) ; } finish ( ) ; }

Target:
public void onCancel ( android.content.DialogInterface dialog ) { finish ( ) ; }
Source:
synchronized void nScriptGroupExecute ( int group ) { validate ( ) ; rsnScriptGroupExecute ( mContext , group ) ; }

Target:
synchronized void nScriptGroupExecute ( long group ) { validate ( ) ; rsnScriptGroupExecute ( mContext , group ) ; }
Source:
protected java.io.File getLocalPathForFilename ( com.android.tradefed.build.IBuildInfo arg0 , java.lang.String arg1 , com.android.tradefed.device.ITestDevice arg2 ) throws com.android.tradefed.targetprep.TargetSetupError { storedApkName = arg1 ; return super . getLocalPathForFilename ( arg0 , arg1 , arg2 ) ; }

Target:
protected java.io.File getLocalPathForFilename ( com.android.tradefed.build.IBuildInfo arg0 , java.lang.String arg1 ) throws com.android.tradefed.targetprep.TargetSetupError { storedApkName = arg1 ; return super . getLocalPathForFilename ( arg0 , arg1 ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDoStatement doStmt ) { removeBreakOrCase.push ( java.lang.Boolean.valueOf ( false ) ) ; return super . visit ( doStmt ) ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDoStatement doStmt ) { removeBreakOrCase.push ( java.lang.Boolean.FALSE ) ; return super . visit ( doStmt ) ; }
Source:
private void notifyError ( java.lang.String message ) { showMessage ( message ) ; android.util.Log.i ( com.android.cts.verifier.bluetooth.BleClientService.TAG , message ) ; android.content.Intent intent = new android.content.Intent ( com.android.cts.verifier.bluetooth.BleClientService.BLE_CLIENT_ERROR ) ; sendBroadcast ( intent ) ; }

Target:
private void notifyError ( java.lang.String message ) { showMessage ( message ) ; }
Source:
public static lombok.ast.Node getCompilationUnit ( final java.lang.String javaSource , final java.io.File relativePath ) { com.android.tools.lint.detector.api.JavaContext context = com.android.tools.lint.detector.api.LintUtilsTest.parse ( javaSource , relativePath ) ; return context.getCompilationUnit ( ) ; }

Target:
public static lombok.ast.Node getCompilationUnit ( @ org.intellij.lang.annotations.Language ( value = "JAVA" ) java.lang.String javaSource , java.io.File relativePath ) { com.android.tools.lint.detector.api.JavaContext context = com.android.tools.lint.detector.api.LintUtilsTest.parse ( javaSource , relativePath ) ; return context.getCompilationUnit ( ) ; }
Source:
public void onAppStatusChanged ( android.bluetooth.BluetoothDevice pluggedDevice , android.bluetooth.BluetoothHidDeviceAppConfiguration config , boolean registered ) { mCallback.onAppStatusChanged ( pluggedDevice , config , registered ) ; }

Target:
public void onAppStatusChanged ( android.bluetooth.BluetoothDevice pluggedDevice , boolean registered ) { mCallback.onAppStatusChanged ( pluggedDevice , registered ) ; }
Source:
public void testEncode_CharBuffer_NullCharBuffer ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset c = new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; try { c.encode ( ( ( java.nio.CharBuffer ) ( null ) ) ) ; fail ( "Should throw NullPointerException!" ) ; } catch ( java.lang.NullPointerException e ) { } }

Target:
public void testEncode_CharBuffer_NullCharBuffer ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset c = new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; try { c.encode ( ( ( java.nio.CharBuffer ) ( null ) ) ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
private java.lang.String toZoneIdStr ( java.lang.String expected ) { return expected.replaceAll ( "(?:GMT|UTC)(?<off>[+\\-]?[0-9]{2}:[0-9]{2})" , "${off}" ) ; }

Target:
private java.lang.String toZoneIdStr ( java.lang.String expected ) { return expected ; }
Source:
private void pause ( ) { if ( ( mState ) == ( android.webkit.HTML5Audio.STARTED ) ) { if ( ( mTimer ) != null ) { mTimer.purge ( ) ; } mMediaPlayer.pause ( ) ; mState = android.webkit.HTML5Audio.PAUSED ; } }

Target:
private void pause ( ) { pause ( android.webkit.HTML5Audio.PAUSED ) ; }
Source:
public static boolean LessThan ( int x , int y ) { return x < y ; }

Target:
public static boolean LessThan ( int x , int y ) { return x < y ? true : false ; }
Source:
public static void computeAbs ( android.renderscript.cts.TestAbs.ArgumentsShortUshort args ) { args.out = ( ( short ) ( java.lang.Math.abs ( args.inN ) ) ) ; }

Target:
public static void computeAbs ( android.renderscript.cts.TestAbs.ArgumentsShortUshort args ) { args.out = ( ( short ) ( java.lang.Math.abs ( args.inV ) ) ) ; }
Source:
native void rsnAllocationRead ( int con , int id , int [ ] d ) ;

Target:
native void rsnAllocationRead ( long con , long id , int [ ] d ) ;
Source:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVFile file ) throws com.android.sched.util.file.WrongPermissionException { return new java.util.zip.DeflaterOutputStream ( vfs.openWrite ( file ) , new java.util.zip.Deflater ( ) ) ; }

Target:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVFile file ) throws com.android.sched.util.file.WrongPermissionException { return openWrite ( file , false ) ; }
Source:
public com.android.jack.jayce.v0002.NNode newNode ( ) throws com.android.jack.jayce.v0002.io.InvalidTokenException { throw new com.android.jack.jayce.v0002.io.InvalidTokenException ( ( "No node coresponding to token " + ( this ) ) ) ; }

Target:
public com.android.jack.jayce.v0002.NNode newNode ( ) throws com.android.jack.jayce.v0002.io.InvalidTokenException { throw new com.android.jack.jayce.v0002.io.InvalidTokenException ( ( "No node coresponding to token " + ( this . toString ( ) ) ) ) ; }
Source:
public void testResOverlay ( ) { assertFalse ( "fa" . equals ( mResOverLay.getText ( ) ) ) ; assertEquals ( "fa" , mResOverLay2.getText ( ) ) ; }

Target:
public void testResOverlay ( ) { assertFalse ( "fa" . equals ( mResOverLay.getText ( ) . toString ( ) ) ) ; assertEquals ( "fa" , mResOverLay2.getText ( ) . toString ( ) ) ; }
Source:
private static native java.lang.Class < ? > generateProxy ( java.lang.String name , java.lang.Class < ? > [ ] interfaces , java.lang.ClassLoader loader , java.lang.reflect.Method [ ] methods , java.lang.Class < ? > [ ] [ ] exceptions , boolean isLambdaProxy ) ;

Target:
private static native java.lang.Class < ? > generateProxy ( java.lang.String name , java.lang.Class < ? > [ ] interfaces , java.lang.ClassLoader loader , java.lang.reflect.Method [ ] methods , java.lang.Class < ? > [ ] [ ] exceptions ) ;
Source:
private void assertPinnedToWifiWithCellDefault ( ) { assertEquals ( mWiFiNetworkAgent.getNetwork ( ) , mCm.getBoundNetworkForProcess ( ) ) ; assertEquals ( mCellNetworkAgent.getNetwork ( ) , mCm.getActiveNetwork ( ) ) ; }

Target:
private void assertPinnedToWifiWithCellDefault ( ) { org.junit.Assert.assertEquals ( mWiFiNetworkAgent.getNetwork ( ) , mCm.getBoundNetworkForProcess ( ) ) ; org.junit.Assert.assertEquals ( mCellNetworkAgent.getNetwork ( ) , mCm.getActiveNetwork ( ) ) ; }
Source:
public com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , com.android.ims.ImsCallProfile profile , com.android.ims.internal.IImsCallSessionListener listener ) { isCreateCallSessionCalled = true ; return null ; }

Target:
public com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , com.android.ims.ImsCallProfile profile ) { isCreateCallSessionCalled = true ; return null ; }
Source:
public final java.lang.reflect.Constructor < ? > getJayceReaderConstructor ( ) throws com.android.jack.library.LibraryFormatException { ensureJayceLoaded ( ) ; return jayceReaderConstructor ; }

Target:
public final java.lang.reflect.Constructor < ? > getJayceReaderConstructor ( ) throws com.android.jack.library.LibraryFormatException { ensureJayceLoaded ( ) ; assert ( jayceReaderConstructor ) != null ; return jayceReaderConstructor ; }
Source:
public static boolean isBoundKeyAlgorithm ( java.lang.String algorithm ) { if ( ! ( android.security.KeyChain.isKeyAlgorithmSupported ( algorithm ) ) ) { return false ; } return android.security.KeyStore.getInstance ( ) . isHardwareBacked ( ) ; }

Target:
public static boolean isBoundKeyAlgorithm ( java.lang.String algorithm ) { if ( ! ( android.security.KeyChain.isKeyAlgorithmSupported ( algorithm ) ) ) { return false ; } return android.security.KeyStore.getInstance ( ) . isHardwareBacked ( algorithm ) ; }
Source:
boolean isAuto ( @ com.android.annotations.NonNull com.android.build.gradle.internal.dsl.Splits splits ) { }

Target:
boolean isAuto ( @ com.android.annotations.NonNull com.android.build.gradle.internal.dsl.Splits splits ) { return false ; }
Source:
private void notifyOptionChanged ( int option ) { com.android.tv.TvOptionsManager.OptionChangedListener listener = mOptionChangedListeners.get ( option ) ; if ( listener != null ) { listener.onOptionChanged ( getOptionString ( option ) ) ; } }

Target:
private void notifyOptionChanged ( @ com.android.tv.TvOptionsManager.OptionType int option ) { com.android.tv.TvOptionsManager.OptionChangedListener listener = mOptionChangedListeners.get ( option ) ; if ( listener != null ) { listener.onOptionChanged ( option , getOptionString ( option ) ) ; } }
Source:
public static com.android.server.wifi.ScanDetail toScanDetail ( android.net.wifi.ScanResult scanResult ) { com.android.server.wifi.hotspot2.NetworkDetail networkDetail = new com.android.server.wifi.hotspot2.NetworkDetail ( scanResult.BSSID , scanResult.informationElements , scanResult.anqpLines , scanResult.frequency ) ; return new com.android.server.wifi.ScanDetail ( scanResult , networkDetail , null ) ; }

Target:
public static com.android.server.wifi.ScanDetail toScanDetail ( android.net.wifi.ScanResult scanResult ) { com.android.server.wifi.hotspot2.NetworkDetail networkDetail = new com.android.server.wifi.hotspot2.NetworkDetail ( scanResult.BSSID , scanResult.informationElements , scanResult.anqpLines , scanResult.frequency ) ; return new com.android.server.wifi.ScanDetail ( scanResult , networkDetail ) ; }
Source:
public java.util.List < android.bluetooth.BluetoothDevice > getConnectedDevices ( ) { com.android.bluetooth.hearingaid.HearingAidService service = getService ( ) ; if ( service == null ) { return new java.util.ArrayList < android.bluetooth.BluetoothDevice > ( 0 ) ; } return service.getConnectedDevices ( ) ; }

Target:
public java.util.List < android.bluetooth.BluetoothDevice > getConnectedDevices ( ) { com.android.bluetooth.hearingaid.HearingAidService service = getService ( ) ; if ( service == null ) { return new java.util.ArrayList < > ( ) ; } return service.getConnectedDevices ( ) ; }
Source:
public void setEnabled ( boolean enabled ) { if ( enabled == ( isEnabled ( ) ) ) return ; setFlags ( ( enabled ? android.view.View.ENABLED : android.view.View.DISABLED ) , android.view.View.ENABLED_MASK ) ; refreshDrawableState ( ) ; invalidate ( ) ; }

Target:
public void setEnabled ( boolean enabled ) { if ( enabled == ( isEnabled ( ) ) ) return ; setFlags ( ( enabled ? android.view.View.ENABLED : android.view.View.DISABLED ) , android.view.View.ENABLED_MASK ) ; refreshDrawableState ( ) ; invalidate ( true ) ; }
Source:
public static short $noinline$shortToCharToShort ( short value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( ( char ) ( value ) ) ) ; }

Target:
public static short $noinline$shortToCharToShort ( short value ) { return ( ( short ) ( ( char ) ( value ) ) ) ; }
Source:
public dalvik.system.EmulatedStackFrame.StackFrameAccessor attach ( dalvik.system.EmulatedStackFrame stackFrame ) { frame = stackFrame ; frameBuf = java.nio.ByteBuffer.wrap ( frame.stackFrame ) . order ( java.nio.ByteOrder.LITTLE_ENDIAN ) ; numArgs = frame.type.ptypes ( ) . length ; referencesOffset = 0 ; argumentIdx = 0 ; return this ; }

Target:
public dalvik.system.EmulatedStackFrame.StackFrameAccessor attach ( dalvik.system.EmulatedStackFrame stackFrame ) { return attach ( stackFrame , 0 , 0 , 0 ) ; }
Source:
synchronized double nScriptGetVarD ( int id , int slot ) { validate ( ) ; return rsnScriptGetVarD ( mContext , id , slot ) ; }

Target:
synchronized double nScriptGetVarD ( long id , int slot ) { validate ( ) ; return rsnScriptGetVarD ( mContext , id , slot ) ; }
Source:
public void testEndCallWithNoCalls ( ) throws java.lang.Exception { org.junit.Assert.assertFalse ( mTSIBinder.endCall ( ) ) ; }

Target:
public void testEndCallWithNoCalls ( ) throws java.lang.Exception { org.junit.Assert.assertFalse ( mTSIBinder.endCall ( null ) ) ; }
Source:
public static void fail ( ) { java.lang.System.err.println ( "fail" ) ; java.lang.Thread.dumpStack ( ) ; }

Target:
public static void fail ( ) { java.lang.System.out.println ( "fail" ) ; java.lang.Thread.dumpStack ( ) ; }