auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void onServiceConnected ( android.content.ComponentName className , android.os.IBinder service ) { if ( android.bluetooth.BluetoothPbap.DBG ) android.bluetooth.BluetoothPbap.log ( "Proxy object connected" ) ; mService = IBluetoothPbap.Stub.asInterface ( service ) ; if ( ( mServiceListener ) != null ) { mServiceListener.onServiceConnected ( this ) ; } }

Target:
private static void log ( java.lang.String msg ) { if ( android.bluetooth.BluetoothPbap.DBG ) { android.util.Log.d ( android.bluetooth.BluetoothPbap.TAG , msg ) ; } }
Source:
public void main ( java.lang.String [ ] args ) { javax.swing.SwingUtilities.invokeLater ( ( ( $missing$ < caret > ) ( c.substring ( 0 ) . toString ( ) ) ) ) ; }

Target:
public void main ( java.lang.String [ ] args ) { p ( ( caret > s = c.substring ( 0 ) . toString ( ) ) ) ; }
Source:
private boolean isAEADModeName ( java.lang.String modeName ) { return ( ( ( "CCM" . equals ( modeName ) ) || ( "EAX" . equals ( modeName ) ) ) || ( "GCM" . equals ( modeName ) ) ) || ( "OCB" . equals ( modeName ) ) ; }

Target:
private boolean isAEADModeName ( java.lang.String modeName ) { return ( "CCM" . equals ( modeName ) ) || ( "GCM" . equals ( modeName ) ) ; }
Source:
public long getSize ( com.android.ahat.heapdump.Site element , com.android.ahat.heapdump.AhatHeap heap ) { return element.getSize ( heap ) ; }

Target:
public long getSize ( com.android.ahat.heapdump.Site element , com.android.ahat.heapdump.AhatHeap heap ) { return element.getSize ( heap ) . getSize ( ) ; }
Source:
public void verifyCertificateChain ( long sslSessionNativePtr , long [ ] certRefs , java.lang.String authMethod ) throws java.security.cert.CertificateException { throw new java.lang.AssertionError ( "Should be handled by engine" ) ; }

Target:
public void verifyCertificateChain ( long [ ] certRefs , java.lang.String authMethod ) throws java.security.cert.CertificateException { throw new java.lang.AssertionError ( "Should be handled by engine" ) ; }
Source:
public int compare ( com.android.sdkuilib.internal.repository.PackagesPage.PkgCategory cat1 , com.android.sdkuilib.internal.repository.PackagesPage.PkgCategory cat2 ) { return cat2.getKey ( ) . compareTo ( cat1.getKey ( ) ) ; }

Target:
public int compare ( com.android.sdkuilib.internal.repository.PackagesPage.PkgCategory cat1 , com.android.sdkuilib.internal.repository.PackagesPage.PkgCategory cat2 ) { return ( cat2.getKey ( ) ) - ( cat1.getKey ( ) ) ; }
Source:
private static android.icu.text.DateFormatSymbols getDateFormatSymbols ( java.lang.String id , java.util.Locale locale ) { java.lang.String calendarType = sun.util.locale.provider.CalendarDataUtility.normalizeCalendarType ( id ) ; return new android.icu.text.DateFormatSymbols ( calendarType , android.icu.util.ULocale.forLocale ( locale ) ) ; }

Target:
private static android.icu.text.DateFormatSymbols getDateFormatSymbols ( java.lang.String id , java.util.Locale locale ) { java.lang.String calendarType = sun.util.locale.provider.CalendarDataUtility.normalizeCalendarType ( id ) ; return new android.icu.text.DateFormatSymbols ( android.icu.util.ULocale.forLocale ( locale ) , calendarType ) ; }
Source:
public void setCookie ( java.lang.String url , java.lang.String value ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract void setCookie ( java.lang.String url , java.lang.String value ) ;
Source:
public void invalidateAuthToken ( ) throws java.lang.Exception { mAuthenticator.invalidateAuthToken ( "monkey" ) ; verify ( mAccountManager ) . invalidateAuthToken ( "cooltype" , "monkey" ) ; }

Target:
public void invalidateAuthToken ( ) throws java.lang.Exception { mAuthenticator.invalidateAuthToken ( "monkey" ) ; org.mockito.Mockito.verify ( mAccountManager ) . invalidateAuthToken ( "cooltype" , "monkey" ) ; }
Source:
public final void sendRttSessionRemotelyTerminated ( ) { unsetRttProperty ( ) ; mListeners.forEach ( ( l ) -> l.onRttSessionRemotelyTerminated ( this ) ) ; }

Target:
public final void sendRttSessionRemotelyTerminated ( ) { mListeners.forEach ( ( l ) -> l.onRttSessionRemotelyTerminated ( this ) ) ; }
Source:
public void calculateScore ( ) throws java.lang.Exception { for ( com.android.server.wifi.hotspot2.PasspointNetworkScoreTest.TestData data : com.android.server.wifi.hotspot2.PasspointNetworkScoreTest.TEST_DATA_LIST ) { com.android.server.wifi.ScanDetail scanDetail = com.android.server.wifi.hotspot2.PasspointNetworkScoreTest.generateScanDetail ( data.rssiLevel , data.internetAccess , data.networkType , data.anqpElements ) ; org.junit.Assert.assertEquals ( data.expectedScore , com.android.server.wifi.hotspot2.PasspointNetworkScore.calculateScore ( data.isHomeProvider , scanDetail , data.isActiveNetwork ) ) ; } }

Target:
public void calculateScore ( ) throws java.lang.Exception { for ( com.android.server.wifi.hotspot2.PasspointNetworkScoreTest.TestData data : com.android.server.wifi.hotspot2.PasspointNetworkScoreTest.TEST_DATA_LIST ) { com.android.server.wifi.ScanDetail scanDetail = com.android.server.wifi.hotspot2.PasspointNetworkScoreTest.generateScanDetail ( data.rssiLevel , data.internetAccess , data.networkType ) ; org.junit.Assert.assertEquals ( data.expectedScore , com.android.server.wifi.hotspot2.PasspointNetworkScore.calculateScore ( data.isHomeProvider , scanDetail , data.anqpElements , data.isActiveNetwork ) ) ; } }
Source:
public java.lang.Object clone ( ) { try { return super . clone ( ) ; } catch ( java.lang.CloneNotSupportedException e ) { throw new java.lang.InternalError ( ) ; } }

Target:
public java.lang.Object clone ( ) { try { return super . clone ( ) ; } catch ( java.lang.CloneNotSupportedException e ) { throw new java.lang.InternalError ( e ) ; } }
Source:
protected void onMethodEnter ( ) { mv.visitLdcInsn ( ( ( ( ( cname ) + "." ) + name ) + desc ) ) ; mv.visitMethodInsn ( org.objectweb.asm.commons.INVOKESTATIC , "org/objectweb/asm/commons/AdviceAdapterUnitTest" , "enter" , "(Ljava/lang/String;)V" ) ; }

Target:
protected void onMethodEnter ( ) { mv.visitLdcInsn ( ( ( ( ( cname ) + "." ) + name ) + desc ) ) ; mv.visitMethodInsn ( org.objectweb.asm.commons.INVOKESTATIC , "org/objectweb/asm/commons/AdviceAdapterUnitTest" , "enter" , "(Ljava/lang/String;)V" , false ) ; }
Source:
void getUnchecked ( int pos , char [ ] dst , int dstOffset , int length ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
abstract void getUnchecked ( int pos , char [ ] dst , int dstOffset , int length ) ;
Source:
public static com.android.internal.telephony.cat.AppInterface getInstance ( ) { return com.android.internal.telephony.cat.CatService.getInstance ( null , null , null , null , null ) ; }

Target:
public static com.android.internal.telephony.cat.AppInterface getInstance ( ) { return com.android.internal.telephony.cat.CatService.getInstance ( null , null , null ) ; }
Source:
public static int $noinline$AddNegs2 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } int temp1 = - arg1 ; int temp2 = - arg2 ; return ( temp1 + temp2 ) | ( temp1 + temp2 ) ; }

Target:
public static int $noinline$AddNegs2 ( int arg1 , int arg2 ) { int temp1 = - arg1 ; int temp2 = - arg2 ; return ( temp1 + temp2 ) | ( temp1 + temp2 ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { art.Main.bindAgentJNIForClass ( Main.class ) ; Main.doTest ( new Transform ( ) , new Main.TestWatcher ( ) ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main.doTest ( new Transform ( ) , new Main.TestWatcher ( ) ) ; }
Source:
public void testReplaceValue_NullPointerException ( ) { try { java.util.concurrent.ConcurrentHashMap c = new java.util.concurrent.ConcurrentHashMap ( 5 ) ; c.replace ( null , one , "whatever" ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testReplaceValue_NullPointerException ( ) { java.util.concurrent.ConcurrentHashMap c = new java.util.concurrent.ConcurrentHashMap ( 5 ) ; try { c.replace ( null , one , "whatever" ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }
Source:
void putBigEndian ( byte [ ] a , boolean neg ) { this . makeValid ( ) ; java.math.BigInt.Check ( java.math.NativeBN.BN_bin2bn ( a , a.length , neg , this . bignum ) ) ; }

Target:
void putBigEndian ( byte [ ] a , boolean neg ) { this . makeValid ( ) ; java.math.NativeBN.BN_bin2bn ( a , a.length , neg , this . bignum ) ; }
Source:
public void checkValidity ( ) { if ( ! ( ( ( parent ) instanceof com.android.jack.ir.ast.JMethod ) || ( ( parent ) instanceof com.android.jack.ir.ast.JLambda ) ) ) { throw new com.android.jack.ir.JNodeInternalError ( this , "Invalid parent" ) ; } }

Target:
public void checkValidity ( ) { if ( ! ( ( parent ) instanceof com.android.jack.ir.ast.JMethod ) ) { throw new com.android.jack.ir.JNodeInternalError ( this , "Invalid parent" ) ; } }
Source:
public void testAddNull ( ) { try { java.util.TreeSet q = populatedSet ( jsr166.TreeSetTest.SIZE ) ; q.add ( null ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testAddNull ( ) { java.util.TreeSet q = populatedSet ( jsr166.TreeSetTest.SIZE ) ; try { q.add ( null ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }
Source:
public long write ( java.nio.ByteBuffer [ ] buffers ) throws java.io.IOException { return channel.write ( buffers ) ; }

Target:
public long write ( java.nio.ByteBuffer [ ] buffers , int offset , int length ) throws java.io.IOException { return channel.write ( buffers , offset , length ) ; }
Source:
private boolean setUsbConfig ( java.lang.String config ) { if ( com.android.server.usb.UsbDeviceManager.DEBUG ) android.util.Slog.d ( com.android.server.usb.UsbDeviceManager.TAG , ( ( "setUsbConfig(" + config ) + ")" ) ) ; android.os.SystemProperties.set ( com.android.server.usb.UsbDeviceManager.USB_CONFIG_PROPERTY , config ) ; return waitForState ( config ) ; }

Target:
private void setUsbConfig ( java.lang.String config ) { if ( com.android.server.usb.UsbDeviceManager.DEBUG ) android.util.Slog.d ( com.android.server.usb.UsbDeviceManager.TAG , ( ( "setUsbConfig(" + config ) + ")" ) ) ; android.os.SystemProperties.set ( com.android.server.usb.UsbDeviceManager.USB_CONFIG_PROPERTY , config ) ; }
Source:
public int indexOf ( E e , int index ) { java.lang.Object [ ] elements = getArray ( ) ; return java.util.concurrent.CopyOnWriteArrayList.indexOf ( e , elements , index , elements.length ) ; }

Target:
public E get ( int index ) { return ( ( E ) ( elements [ index ] ) ) ; }
Source:
public boolean cancel ( boolean mayInterruptIfRunning ) { if ( ! ( sync.cancel ( ) ) ) { return false ; } executionList.execute ( ) ; if ( mayInterruptIfRunning ) { interruptTask ( ) ; } return true ; }

Target:
public boolean cancel ( boolean mayInterruptIfRunning ) { if ( ! ( sync.cancel ( mayInterruptIfRunning ) ) ) { return false ; } executionList.execute ( ) ; if ( mayInterruptIfRunning ) { interruptTask ( ) ; } return true ; }
Source:
private java.io.File getAppDataDir ( ) { return new java.io.File ( org.chromium.base.PathUtils.getDataDirectory ( ) ) ; }

Target:
private java.io.File getAppDataDir ( ) { return new java.io.File ( org.chromium.base.PathUtils.getDataDirectory ( mContext ) ) ; }
Source:
private final boolean updateLRUListLocked ( com.android.server.am.ActivityRecord r ) { final boolean hadit = mLRUActivities.remove ( r ) ; mLRUActivities.add ( r ) ; return hadit ; }

Target:
final boolean updateLRUListLocked ( com.android.server.am.ActivityRecord r ) { final boolean hadit = mLRUActivities.remove ( r ) ; mLRUActivities.add ( r ) ; return hadit ; }
Source:
public void testConstructor2NPE ( ) { try { long [ ] a = null ; java.util.concurrent.atomic.AtomicLongArray aa = new java.util.concurrent.atomic.AtomicLongArray ( a ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testConstructor2NPE ( ) { try { long [ ] a = null ; new java.util.concurrent.atomic.AtomicLongArray ( a ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }
Source:
public void disable ( com.google.gct.testing.dimension.CloudTestingType ... types ) { checkIsEditable ( ) ; for ( com.google.gct.testing.dimension.CloudTestingType type : types ) { validateType ( type ) ; enabledTypes.remove ( type ) ; } }

Target:
public void disable ( com.google.gct.testing.dimension.CloudTestingType ... types ) { checkIsEditable ( ) ; for ( com.google.gct.testing.dimension.CloudTestingType type : types ) { enabledTypes.remove ( type ) ; } }
Source:
public com.android.build.gradle.internal.tasks.File doCall ( java.lang.Object it ) { final com.android.builder.sdk.SdkInfo info = scope.getGlobalScope ( ) . getSdkHandler ( ) . getSdkInfo ( ) ; return info == null ? null : info.getAdb ( ) ; }

Target:
public java.io.File call ( ) throws java.lang.Exception { final com.android.builder.sdk.SdkInfo info = scope.getGlobalScope ( ) . getSdkHandler ( ) . getSdkInfo ( ) ; return info == null ? null : info.getAdb ( ) ; }
Source:
public void testEnded ( com.android.ddmlib.testrunner.TestIdentifier test , java.util.Map < java.lang.String , java.lang.String > ignoredTestMetrics ) { mExecution.getListener ( ) . notifyTestEnded ( new com.android.ide.eclipse.adt.internal.launch.junit.runtime.TestCaseReference ( test ) ) ; }

Target:
public synchronized void testEnded ( com.android.ddmlib.testrunner.TestIdentifier test , java.util.Map < java.lang.String , java.lang.String > ignoredTestMetrics ) { mExecution.getListener ( ) . notifyTestEnded ( new com.android.ide.eclipse.adt.internal.launch.junit.runtime.TestCaseReference ( test ) ) ; }
Source:
public boolean setAttribute ( java.lang.String attributeName , java.lang.String value ) { checkEditOK ( ) ; com.android.ide.eclipse.adt.internal.editors.uimodel.UiAttributeNode attr = mNode.setAttributeValue ( attributeName , value , true ) ; mNode.commitDirtyAttributesToXml ( ) ; return attr != null ; }

Target:
public boolean setAttribute ( java.lang.String uri , java.lang.String name , java.lang.String value ) { checkEditOK ( ) ; com.android.ide.eclipse.adt.internal.editors.uimodel.UiAttributeNode attr = mNode.setAttributeValue ( name , uri , value , true ) ; mNode.commitDirtyAttributesToXml ( ) ; return attr != null ; }
Source:
public boolean isSynthetic ( ) { return java.lang.reflect.Modifier.isSynthetic ( getModifiers ( ) ) ; }

Target:
public boolean isSynthetic ( ) { return super . isSynthetic ( ) ; }
Source:
void end ( ) throws java.lang.InterruptedException ;

Target:
void end ( int key ) throws java.lang.InterruptedException ;
Source:
public synchronized void close ( ) throws java.io.IOException { super . close ( ) ; closed = true ; }

Target:
public synchronized void close ( ) throws java.io.IOException { out.close ( ) ; closed = true ; }
Source:
public void setCleartextTrafficPermitted ( boolean permitted ) { synchronized ( this ) { mCleartextTrafficPermitted = permitted ; } }

Target:
public void setCleartextTrafficPermitted ( boolean permitted ) { mCleartextTrafficPermitted = permitted ; }
Source:
public boolean isIgnored ( ) { return ( hasIgnoredAnnotation ( ) ) || ( hasNoParameters ( ) ) ; }

Target:
private boolean isIgnored ( ) { return ( hasIgnoredAnnotation ( ) ) || ( hasNoParameters ( ) ) ; }
Source:
public static java.lang.String getEndpointIdentificationAlgorithm ( javax.net.ssl.SSLParameters params ) { return null ; }

Target:
public static java.lang.String getEndpointIdentificationAlgorithm ( javax.net.ssl.SSLParameters params ) { return params.getEndpointIdentificationAlgorithm ( ) ; }
Source:
private void assertVerified ( java.lang.String apkFilenameInResources , java.lang.Integer minSdkVersionOverride , java.lang.Integer maxSdkVersionOverride ) throws java.lang.Exception { com.android.apksig.ApkVerifierTest.assertVerified ( verify ( apkFilenameInResources , minSdkVersionOverride , maxSdkVersionOverride ) ) ; }

Target:
private void assertVerified ( java.lang.String apkFilenameInResources , java.lang.Integer minSdkVersionOverride , java.lang.Integer maxSdkVersionOverride ) throws java.lang.Exception { com.android.apksig.ApkVerifierTest.assertVerified ( verify ( apkFilenameInResources , minSdkVersionOverride , maxSdkVersionOverride ) , apkFilenameInResources ) ; }
Source:
public void doQuit ( ) { if ( ( ( mTargetDevice ) != null ) && ( ( getConnectionState ( mTargetDevice ) ) == ( android.bluetooth.BluetoothProfile.STATE_CONNECTING ) ) ) { log ( "doQuit()- Move A2DP State to DISCONNECTED" ) ; broadcastConnectionState ( mTargetDevice , BluetoothProfile.STATE_DISCONNECTED , BluetoothProfile.STATE_CONNECTING ) ; } quitNow ( ) ; }

Target:
public void doQuit ( ) { quitNow ( ) ; }
Source:
public boolean isApplicationOnIcc ( com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType type ) ;

Target:
public boolean isApplicationOnIcc ( com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType type ) { return false ; }
Source:
public static void sort ( long [ ] 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 ( long [ ] a ) { java.util.DualPivotQuicksort.sort ( a , 0 , ( ( a.length ) - 1 ) , null , 0 , 0 ) ; }
Source:
public javax.net.ssl.KeyManager [ ] engineGetKeyManagers ( ) { if ( ( keyStore ) == null ) { throw new java.lang.IllegalStateException ( "KeyManagerFactory is not initialized" ) ; } return new javax.net.ssl.KeyManager [ ] { new org.conscrypt.KeyManagerImpl ( keyStore , pwd ) } ; }

Target:
protected javax.net.ssl.KeyManager [ ] engineGetKeyManagers ( ) { if ( ( keyStore ) == null ) { throw new java.lang.IllegalStateException ( "KeyManagerFactory is not initialized" ) ; } return new javax.net.ssl.KeyManager [ ] { new org.conscrypt.KeyManagerImpl ( keyStore , pwd ) } ; }
Source:
private void testExplicitPositionMatchParent ( ) { doLayoutParamTest ( ( android.view.WindowManager.LayoutParams params ) -> { params.width = WindowManager.LayoutParams.MATCH_PARENT ; params.height = WindowManager.LayoutParams.MATCH_PARENT ; params.x = 100 ; params.y = 100 ; } ) ; }

Target:
private void testExplicitPositionMatchParent ( ) { doLayoutParamTest ( ( android.view.WindowManager.LayoutParams params ) -> { params.width = WindowManager.LayoutParams.MATCH_PARENT ; params.height = WindowManager.LayoutParams.MATCH_PARENT ; } ) ; }
Source:
public void testConstructor_NullEndDate_Failure ( ) throws java.lang.Exception { try { new android.security.AndroidKeyPairGeneratorSpec ( getContext ( ) , android.security.AndroidKeyPairGeneratorSpecTest.TEST_ALIAS_1 , android.security.AndroidKeyPairGeneratorSpecTest.TEST_DN_1 , android.security.AndroidKeyPairGeneratorSpecTest.SERIAL_1 , android.security.AndroidKeyPairGeneratorSpecTest.NOW , null ) ; fail ( "Should throw IllegalArgumentException when keystoreAlias is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_NullEndDate_Failure ( ) throws java.lang.Exception { try { new android.security.AndroidKeyPairGeneratorSpec ( getContext ( ) , android.security.AndroidKeyPairGeneratorSpecTest.TEST_ALIAS_1 , android.security.AndroidKeyPairGeneratorSpecTest.TEST_DN_1 , android.security.AndroidKeyPairGeneratorSpecTest.SERIAL_1 , android.security.AndroidKeyPairGeneratorSpecTest.NOW , null , 0 ) ; fail ( "Should throw IllegalArgumentException when keystoreAlias is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public void onAvailabilityChanged ( ) { updateMenuVisibility ( ) ; if ( isShown ( ) ) { this . updateAll ( ) ; } }

Target:
public void onAvailabilityChanged ( ) { updateMenuVisibility ( ) ; this . updateAll ( false ) ; }
Source:
private static boolean isStdErr ( @ com.android.annotations.NonNull com.android.build.gradle.internal.dsl.File output ) { return com.android.build.gradle.internal.dsl.LintOptions.STDERR.equals ( output.getPath ( ) ) ; }

Target:
private static boolean isStdErr ( @ com.android.annotations.NonNull java.io.File output ) { return com.android.build.gradle.internal.dsl.LintOptions.STDERR.equals ( output.getPath ( ) ) ; }
Source:
public java.lang.Boolean bluetoothHidDeviceRegisterApp ( ) throws java.lang.Exception { return com.googlecode.android_scripting.facade.bluetooth.BluetoothHidDeviceFacade.sHidDeviceProfile.registerApp ( com.googlecode.android_scripting.facade.bluetooth.BluetoothHidDeviceFacade.sSdpSettings , null , com.googlecode.android_scripting.facade.bluetooth.BluetoothHidDeviceFacade.sQos , mCallback ) ; }

Target:
public java.lang.Boolean bluetoothHidDeviceRegisterApp ( ) throws java.lang.Exception { return ( ( com.googlecode.android_scripting.facade.bluetooth.BluetoothHidDeviceFacade.sHidDeviceProfile ) != null ) && ( com.googlecode.android_scripting.facade.bluetooth.BluetoothHidDeviceFacade.sHidDeviceProfile.registerApp ( com.googlecode.android_scripting.facade.bluetooth.BluetoothHidDeviceFacade.sSdpSettings , null , com.googlecode.android_scripting.facade.bluetooth.BluetoothHidDeviceFacade.sQos , mCallback ) ) ; }
Source:
public abstract void report ( @ 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.NonNull com.android.tools.lint.detector.api.Severity severity , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.TextFormat format , @ com.android.annotations.Nullable java.lang.Object data ) ;

Target:
public abstract void report ( @ 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.NonNull com.android.tools.lint.detector.api.Severity severity , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.TextFormat format ) ;
Source:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , float [ ] data ) { validateIsFloat32 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data ) ; }

Target:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , float [ ] data ) { validateIsFloat32 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data , Element.DataType.FLOAT_32 , data.length ) ; }
Source:
public static com.android.tools.r8.utils.AndroidApp fromProgramFiles ( java.util.List < java.nio.file.Path > files ) throws java.io.IOException { return com.android.tools.r8.utils.AndroidApp.builder ( ) . addProgramFiles ( files ) . build ( ) ; }

Target:
public static com.android.tools.r8.utils.AndroidApp fromProgramFiles ( java.util.List < java.nio.file.Path > files ) throws java.io.IOException { return com.android.tools.r8.utils.AndroidApp.builder ( ) . addProgramFiles ( files , false ) . build ( ) ; }
Source:
private boolean isFwdLocked ( ) { return ( ( flags ) & ( android.content.pm.PackageManager.INSTALL_FORWARD_LOCK ) ) != 0 ; }

Target:
protected boolean isFwdLocked ( ) { return ( ( flags ) & ( android.content.pm.PackageManager.INSTALL_FORWARD_LOCK ) ) != 0 ; }
Source:
public java.lang.Iterable < java.lang.String > getCppFlags ( ) { getCFlags ( ) ; }

Target:
public java.lang.Iterable < java.lang.String > getCppFlags ( ) { return getCFlags ( ) ; }
Source:
protected boolean cleanup ( ) { return true ; }

Target:
protected void cleanup ( ) { }
Source:
native long rsnScriptGroup2Create ( long con , java.lang.String cachePath , long [ ] closures ) ;

Target:
native long rsnScriptGroup2Create ( long con , java.lang.String name , java.lang.String cachePath , long [ ] closures ) ;
Source:
public static long ShlLongInt ( ) { long lhs = Main.$inline$long ( 3L ) ; int rhs = Main.$inline$int ( 2 ) ; return lhs << rhs ; }

Target:
public static long ShlLongInt ( ) { long lhs = 3 ; int rhs = 2 ; return lhs << rhs ; }
Source:
public static boolean [ ] copyOf ( boolean [ ] original , int newLength ) { if ( newLength < 0 ) { throw new java.lang.NegativeArraySizeException ( ) ; } return java.util.Arrays.copyOfRange ( original , 0 , newLength ) ; }

Target:
public static boolean [ ] copyOf ( boolean [ ] 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 static int $noinline$AndAllOnes ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg & ( - 1 ) ; }

Target:
public static int $noinline$AndAllOnes ( int arg ) { return arg & ( - 1 ) ; }
Source:
private WifiNative.PnoNetwork createDummyPnoNetwork ( java.lang.String ssid , int networkId , int priority ) { com.android.server.wifi.WifiNative.PnoNetwork pnoNetwork = new com.android.server.wifi.WifiNative.PnoNetwork ( ) ; pnoNetwork.ssid = ssid ; pnoNetwork.networkId = networkId ; pnoNetwork.priority = priority ; return pnoNetwork ; }

Target:
private WifiNative.PnoNetwork createDummyPnoNetwork ( java.lang.String ssid ) { com.android.server.wifi.WifiNative.PnoNetwork pnoNetwork = new com.android.server.wifi.WifiNative.PnoNetwork ( ) ; pnoNetwork.ssid = ssid ; return pnoNetwork ; }
Source:
public void run ( ) { synchronized ( this ) { if ( ( grid ) != null ) { grid.dispose ( ) ; grid = null ; zoom = model.getZoom ( ) ; } } }

Target:
public void run ( ) { synchronized ( this ) { if ( ( grid ) != null ) { grid.dispose ( ) ; grid = null ; } zoom = model.getZoom ( ) ; } }
Source:
void initRttCallScreenDelegate ( android.content.Context context , com.android.incallui.rtt.protocol.RttCallScreen rttCallScreen ) ;

Target:
void initRttCallScreenDelegate ( com.android.incallui.rtt.protocol.RttCallScreen rttCallScreen ) ;
Source:
public void doQuit ( ) { if ( com.android.bluetooth.a2dp.A2dpStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.a2dp.A2dpStateMachine.TAG , ( "doQuit for device " + ( mDevice ) ) ) ; } quitNow ( ) ; }

Target:
public void doQuit ( ) { log ( ( "doQuit for device " + ( mDevice ) ) ) ; quitNow ( ) ; }
Source:
public void log ( java.lang.String format , java.lang.Object ... args ) { mLog.printf ( format , args ) ; }

Target:
public void log ( java.lang.String format , java.lang.Object ... args ) { mLog.info ( format , args ) ; }
Source:
public < OutputT > com.android.dialer.common.concurrent.UiListener < OutputT > createUiListener ( android.app.FragmentManager fragmentManager , java.lang.String taskId ) { return com.android.dialer.common.concurrent.UiListener.create ( uiExecutorService ( ) , fragmentManager , taskId ) ; }

Target:
public < OutputT > com.android.dialer.common.concurrent.UiListener < OutputT > createUiListener ( android.app.FragmentManager fragmentManager , java.lang.String taskId ) { return com.android.dialer.common.concurrent.UiListener.create ( fragmentManager , taskId ) ; }
Source:
native int rsnScriptCCreate ( int con , java.lang.String resName , java.lang.String cacheDir , byte [ ] script , int length ) ;

Target:
native long rsnScriptCCreate ( long con , java.lang.String resName , java.lang.String cacheDir , byte [ ] script , int length ) ;
Source:
public java.lang.Object clone ( ) throws java.lang.CloneNotSupportedException { java.security.SignatureSpi spi = ( ( java.security.SignatureSpi ) ( spiImpl.clone ( ) ) ) ; return new java.security.Signature.SignatureImpl ( getAlgorithm ( ) , getProvider ( ) , spi ) ; }

Target:
public java.lang.Object clone ( ) throws java.lang.CloneNotSupportedException { java.security.SignatureSpi spi = ( ( spiImpl ) != null ) ? ( ( java.security.SignatureSpi ) ( spiImpl.clone ( ) ) ) : null ; return new java.security.Signature.SignatureImpl ( getAlgorithm ( ) , getProvider ( ) , spi ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { java.lang.System.out.println ( "tests beginning" ) ; Main.testHugeArray ( ) ; Main.testOomeLarge ( ) ; Main.testOomeSmall ( ) ; Main.testOomeToCharArray ( ) ; java.lang.System.out.println ( "tests succeeded" ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { java.lang.System.out.println ( "tests beginning" ) ; Main.testHugeArray ( ) ; Main.testOomeLarge ( ) ; Main.testOomeSmall ( ) ; java.lang.System.out.println ( "tests succeeded" ) ; }
Source:
public void testDataPathInitiatorMacTokenSuccess ( ) throws java.lang.Exception { testDataPathInitiatorUtility ( false , true , true , true ) ; }

Target:
public void testDataPathInitiatorMacTokenSuccess ( ) throws java.lang.Exception { testDataPathInitiatorUtility ( false , true , true , true , false ) ; }
Source:
public static short $noinline$floatToIntToShort ( float value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( value ) ) ; }

Target:
public static short $noinline$floatToIntToShort ( float value ) { return ( ( short ) ( value ) ) ; }
Source:
public void update ( ) { for ( com.intellij.diff.tools.simple.SimpleDiffChange.MyGutterOperation operation : myOperations ) { operation.update ( ) ; } }

Target:
public void update ( ) { for ( com.intellij.diff.tools.simple.SimpleDiffChange.MyGutterOperation operation : myOperations ) { operation.update ( false ) ; } }
Source:
public void srcToLib ( @ javax.annotation.CheckForNull java.lang.String classpath , @ javax.annotation.Nonnull java.io.File out , boolean zipFiles , @ javax.annotation.Nonnull java.io.File ... sources ) throws java.lang.Exception { }

Target:
public void srcToLib ( @ javax.annotation.Nonnull java.io.File out , boolean zipFiles , @ javax.annotation.Nonnull java.io.File ... sources ) throws java.lang.Exception { }
Source:
public final com.android.jack.test.runner.AbstractRuntimeRunner setOutputStream ( @ javax.annotation.Nonnull java.io.OutputStream outputStream ) { if ( ( outRedirectStream ) != null ) { outRedirectStream.close ( ) ; } outRedirectStream = new java.io.PrintStream ( outputStream ) ; return this ; }

Target:
public final com.android.jack.test.runner.AbstractRuntimeRunner setOutputStream ( @ javax.annotation.Nonnull java.io.OutputStream outputStream ) { outRedirectStream = outputStream ; return this ; }
Source:
private java.lang.Object getPairValue ( org.eclipse.jdt.internal.compiler.lookup.ElementValuePair pair ) { return com.android.tools.lint.EcjParser.getConstantValue ( pair.getValue ( ) ) ; }

Target:
private java.lang.Object getPairValue ( org.eclipse.jdt.internal.compiler.lookup.ElementValuePair pair ) { return getConstantValue ( pair.getValue ( ) ) ; }
Source:
public long read ( java.nio.ByteBuffer [ ] buffers , int offset , int length ) throws java.io.IOException { return channel.read ( buffers , offset , length ) ; }

Target:
public long read ( java.nio.ByteBuffer [ ] buffers ) throws java.io.IOException { return channel.read ( buffers ) ; }
Source:
public void removeListener ( org.eclipse.jface.viewers.ILabelProviderListener arg0 ) { }

Target:
public void removeListener ( org.eclipse.jface.viewers.ILabelProviderListener listener ) { }
Source:
public void verifyNoTestsIgnoredInSamplesOfUsageTest ( ) { org.junit.runner.Result result = org.junit.runner.JUnitCore.runClasses ( junitparams.usage.SamplesOfUsageTest.class ) ; org.junit.Assert.assertEquals ( 0 , result.getFailureCount ( ) ) ; org.junit.Assert.assertEquals ( 0 , result.getIgnoreCount ( ) ) ; }

Target:
public void verifyNoTestsIgnoredInSamplesOfUsageTest ( ) { org.junit.runner.Result result = org.junit.runner.JUnitCore.runClasses ( junitparams.usage.SamplesOfUsageTest.class ) ; org.junit.Assert.assertEquals ( 0 , result.getFailureCount ( ) ) ; org.junit.Assert.assertEquals ( 2 , result.getIgnoreCount ( ) ) ; }
Source:
com.android.jack.ecj.loader.jast.JAstBinaryType findType ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JType type ) { return new com.android.jack.ecj.loader.jast.JAstBinaryType ( ( ( com.android.jack.ir.ast.JDefinedClassOrInterface ) ( type ) ) , this ) ; }

Target:
com.android.jack.ecj.loader.jast.JAstBinaryType findType ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { return new com.android.jack.ecj.loader.jast.JAstBinaryType ( type , this ) ; }
Source:
public void updateNotification ( com.android.incallui.call.CallList callList ) { updateInCallNotification ( callList ) ; }

Target:
public void updateNotification ( ) { updateInCallNotification ( ) ; }
Source:
com.google.common.util.concurrent.ListenableFuture < com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > > bulkUpdate ( com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > existingInfoMap , long lastModified ) ;

Target:
com.google.common.util.concurrent.ListenableFuture < com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > > bulkUpdate ( com.google.common.collect.ImmutableMap < com.android.dialer.DialerPhoneNumber , com.android.dialer.phonelookup.PhoneLookupInfo > existingInfoMap ) ;
Source:
public static final org.bouncycastle.crypto.Digest createPRFHash ( int prfAlgorithm ) { switch ( prfAlgorithm ) { case PRFAlgorithm.tls_prf_legacy : return new org.bouncycastle.crypto.tls.CombinedHash ( ) ; default : return org.bouncycastle.crypto.tls.TlsUtils.createHash ( org.bouncycastle.crypto.tls.TlsUtils.getHashAlgorithmForPRFAlgorithm ( prfAlgorithm ) ) ; } }

Target:
public static org.bouncycastle.crypto.Digest createPRFHash ( int prfAlgorithm ) { switch ( prfAlgorithm ) { case PRFAlgorithm.tls_prf_legacy : return new org.bouncycastle.crypto.tls.CombinedHash ( ) ; default : return org.bouncycastle.crypto.tls.TlsUtils.createHash ( org.bouncycastle.crypto.tls.TlsUtils.getHashAlgorithmForPRFAlgorithm ( prfAlgorithm ) ) ; } }
Source:
public void testPreconditions ( ) { assertNotNull ( mTextView ) ; assertEquals ( 1 , mTextView.size ( ) ) ; assertNotNull ( mTextView.get ( 0 ) ) ; }

Target:
public void testPreconditions ( ) { assertNotNull ( mTextView ) ; }
Source:
public android.content.pm.ResolveInfo resolveInfoForPosition ( int position ) { if ( ( mList ) == null ) { return null ; } return mList.get ( position ) . ri ; }

Target:
public android.content.pm.ResolveInfo resolveInfoForPosition ( int position ) { return mList.get ( position ) . ri ; }
Source:
synchronized int nContextCreate ( int dev , int ver , int sdkVer , int contextType ) { return rsnContextCreate ( dev , ver , sdkVer , contextType ) ; }

Target:
synchronized long nContextCreate ( long dev , int ver , int sdkVer , int contextType ) { return rsnContextCreate ( dev , ver , sdkVer , contextType ) ; }
Source:
public java.net.ServerSocket createServerSocket ( int port , int backlog ) throws java.io.IOException { return throwException ( ) ; }

Target:
public java.net.ServerSocket createServerSocket ( int port ) throws java.io.IOException { return throwException ( ) ; }
Source:
public int import_key ( java.lang.String name , byte [ ] data , int uid ) throws android.os.RemoteException ;

Target:
public int import_key ( java.lang.String name , byte [ ] data , int uid , int flags ) throws android.os.RemoteException ;
Source:
synchronized int nFileA3DGetNumIndexEntries ( int fileA3D ) { validate ( ) ; return rsnFileA3DGetNumIndexEntries ( mContext , fileA3D ) ; }

Target:
synchronized int nFileA3DGetNumIndexEntries ( long fileA3D ) { validate ( ) ; return rsnFileA3DGetNumIndexEntries ( mContext , fileA3D ) ; }
Source:
private static org.eclipse.core.runtime.IStatus createErrorStatus ( java.lang.String message , java.lang.Exception e ) { com.android.ide.eclipse.adt.AdtPlugin.log ( e , message ) ; com.android.ide.eclipse.adt.AdtPlugin.printErrorToConsole ( Messages.DexWrapper_Dex_Loader , message ) ; return new org.eclipse.core.runtime.Status ( org.eclipse.core.runtime.IStatus.ERROR , com.android.ide.eclipse.adt.AdtPlugin.PLUGIN_ID , message , e ) ; }

Target:
private static org.eclipse.core.runtime.IStatus createErrorStatus ( java.lang.String message , java.lang.Throwable e ) { com.android.ide.eclipse.adt.AdtPlugin.log ( e , message ) ; com.android.ide.eclipse.adt.AdtPlugin.printErrorToConsole ( Messages.DexWrapper_Dex_Loader , message ) ; return new org.eclipse.core.runtime.Status ( org.eclipse.core.runtime.IStatus.ERROR , com.android.ide.eclipse.adt.AdtPlugin.PLUGIN_ID , message , e ) ; }
Source:
synchronized void nMeshGetVertices ( long id , int [ ] vtxIds , int vtxIdCount ) { validate ( ) ; rsnMeshGetVertices ( mContext , id , vtxIds , vtxIdCount ) ; }

Target:
synchronized void nMeshGetVertices ( long id , long [ ] vtxIds , int vtxIdCount ) { validate ( ) ; rsnMeshGetVertices ( mContext , id , vtxIds , vtxIdCount ) ; }
Source:
protected boolean allowFileSchemeCookiesImpl ( ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
protected abstract boolean allowFileSchemeCookiesImpl ( ) ;
Source:
private void safelyUpdateScores ( android.net.ScoredNetwork [ ] networkScores ) { try { mScoreManager.updateScores ( networkScores ) ; } catch ( java.lang.SecurityException e ) { if ( com.android.networkrecommendation.DefaultNetworkRecommendationService.DEBUG ) android.util.Log.d ( com.android.networkrecommendation.DefaultNetworkRecommendationService.TAG , "Tried to update scores when not the active scorer." ) ; } }

Target:
private void safelyUpdateScores ( android.net.ScoredNetwork [ ] networkScores ) { try { mScoreManager.updateScores ( networkScores ) ; } catch ( java.lang.SecurityException e ) { android.util.Log.w ( com.android.networkrecommendation.DefaultNetworkRecommendationService.TAG , "Tried to update scores when not the active scorer." ) ; } }
Source:
public void testExtractDecodeEditEncodeMuxAudioVideo ( ) throws java.lang.Throwable { setSize ( 1280 , 720 ) ; setSource ( R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz ) ; setCopyAudio ( ) ; setCopyVideo ( ) ; setVerifyAudioFormat ( ) ; android.media.cts.ExtractDecodeEditEncodeMuxTest.TestWrapper.runTest ( this ) ; }

Target:
public void testExtractDecodeEditEncodeMuxAudioVideo ( ) throws java.lang.Throwable { if ( ! ( setSize ( 1280 , 720 ) ) ) return ; setSource ( R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz ) ; setCopyAudio ( ) ; setCopyVideo ( ) ; setVerifyAudioFormat ( ) ; android.media.cts.ExtractDecodeEditEncodeMuxTest.TestWrapper.runTest ( this ) ; }
Source:
public void releaseBitmap ( android.graphics.Bitmap bitmap ) { bitmap.recycle ( ) ; }

Target:
public void releaseBitmap ( android.graphics.Bitmap bitmap ) { }
Source:
public void testDeserializeWasObject ( ) throws java.lang.Exception { final java.lang.String s = "aced00057372002b6c6962636f72652e6a6176612e696f2e53657269616c697a6174696f6" + "e54657374245761734f626a656374000000000000000002000149000169787000000000" ; libcore.java.io.SerializationTest.wasObjectInitializedFlag = false ; try { libcore.util.SerializationTester.deserializeHex ( s ) ; fail ( ) ; } catch ( java.io.InvalidClassException expected ) { } assertFalse ( libcore.java.io.SerializationTest.wasObjectInitializedFlag ) ; }

Target:
public void testDeserializeWasObject ( ) throws java.lang.Exception { final java.lang.String s = "aced00057372002b6c6962636f72652e6a6176612e696f2e53657269616c697a6174696f6" + "e54657374245761734f626a656374000000000000000002000149000169787000000000" ; assertFalse ( libcore.java.io.SerializationTest.wasObjectInitializedFlag ) ; try { libcore.util.SerializationTester.deserializeHex ( s ) ; fail ( ) ; } catch ( java.io.InvalidClassException expected ) { } assertFalse ( libcore.java.io.SerializationTest.wasObjectInitializedFlag ) ; }
Source:
public static com.google.gct.testing.dimension.ApiDimension.ApiLevel getDefaultApi ( ) { if ( ( com.google.gct.testing.dimension.ApiDimension.defaultApi ) == null ) { com.google.gct.testing.dimension.ApiDimension.getFullDomain ( ) ; } return com.google.gct.testing.dimension.ApiDimension.defaultApi ; }

Target:
private static com.google.gct.testing.dimension.ApiDimension.ApiLevel getDefaultApi ( ) { if ( ( com.google.gct.testing.dimension.ApiDimension.defaultApi ) == null ) { com.google.gct.testing.dimension.ApiDimension.getFullDomain ( ) ; } return com.google.gct.testing.dimension.ApiDimension.defaultApi ; }
Source:
public void testRemove2_NullPointerException ( ) { try { java.util.concurrent.ConcurrentHashMap c = new java.util.concurrent.ConcurrentHashMap ( 5 ) ; c.put ( "sadsdf" , "asdads" ) ; c.remove ( null , "whatever" ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }

Target:
public void testRemove2_NullPointerException ( ) { java.util.concurrent.ConcurrentHashMap c = new java.util.concurrent.ConcurrentHashMap ( 5 ) ; c.put ( "sadsdf" , "asdads" ) ; try { c.remove ( null , "whatever" ) ; shouldThrow ( ) ; } catch ( java.lang.NullPointerException success ) { } }
Source:
android.net.NetworkScoreManager getNetworkScoreManager ( ) { android.net.NetworkScoreManager networkScoreManager = org.mockito.Mockito.mock ( android.net.NetworkScoreManager.class ) ; return networkScoreManager ; }

Target:
android.net.NetworkScoreManager getNetworkScoreManager ( ) { android.net.NetworkScoreManager networkScoreManager = mock ( android.net.NetworkScoreManager.class ) ; return networkScoreManager ; }
Source:
private int addint ( int [ ] input ) { int rslt = 0 ; for ( int idx = 0 ; idx < ( input.length ) ; ++ idx ) rslt += input [ idx ] ; return rslt ; }

Target:
private int addint ( int [ ] input ) { int result = 0 ; for ( int idx = 0 ; idx < ( input.length ) ; ++ idx ) result += input [ idx ] ; return result ; }
Source:
public void testEncode_String_NullEncoder ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset2 c = new tests.api.java.nio.charset.CharsetTest.MockCharset2 ( "mock2" , null ) ; try { c.encode ( "hehe" ) ; fail ( "Should throw NullPointerException!" ) ; } catch ( java.lang.NullPointerException e ) { } }

Target:
public void testEncode_String_NullEncoder ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset2 c = new tests.api.java.nio.charset.CharsetTest.MockCharset2 ( "mock2" , null ) ; try { c.encode ( "hehe" ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public boolean isSameMainPackageAs ( java.lang.Package pkg ) { if ( ( mMainPkg.canBeUpdatedBy ( pkg ) ) == ( com.android.sdklib.internal.repository.packages.Package.UpdateInfo.NOT_UPDATE ) ) { return ( mMainPkg.getRevision ( ) ) == ( pkg.getRevision ( ) ) ; } return false ; }

Target:
public boolean isSameMainPackageAs ( java.lang.Package pkg ) { if ( ( mMainPkg.canBeUpdatedBy ( pkg ) ) == ( com.android.sdklib.internal.repository.packages.Package.UpdateInfo.NOT_UPDATE ) ) { return mMainPkg.getRevision ( ) . equals ( pkg.getRevision ( ) ) ; } return false ; }
Source:
public static java.io.File [ ] getDefaultBootclasspath ( ) { return new java.io.File [ ] { com.android.jack.TestTools.getFromAndroidTree ( "toolchain/jack/jack/libs/core-stubs-mini.jar" ) , com.android.jack.TestTools.getFromAndroidTree ( "out/host/common/obj/JAVA_LIBRARIES/junit4-hostdex-jack_intermediates/classes.jar" ) } ; }

Target:
public static java.io.File [ ] getDefaultBootclasspath ( ) { return new java.io.File [ ] { com.android.jack.TestTools.getFromAndroidTree ( "toolchain/jack/jack/libs/core-stubs-mini.jar" ) } ; }
Source:
public void onSetProtocol ( byte protocol ) { mCallback.onSetProtocol ( protocol ) ; }

Target:
public void onSetProtocol ( android.bluetooth.BluetoothDevice device , byte protocol ) { mCallback.onSetProtocol ( device , protocol ) ; }
Source:
public int compareTo ( com.android.sdklib.internal.repository.packages.Package other ) { java.lang.String s1 = this . comparisonKey ( ) ; java.lang.String s2 = other.comparisonKey ( ) ; return s1.compareTo ( s2 ) ; }

Target:
public int compareTo ( com.android.sdklib.internal.repository.packages.Package other ) { java.lang.String s1 = this . comparisonKey ( ) ; java.lang.String s2 = other.comparisonKey ( ) ; int r = s1.compareTo ( s2 ) ; return r ; }
Source:
private void connectNativeNetdService ( ) { java.lang.Thread t = new java.lang.Thread ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { synchronized ( com.android.server.IpSecService.this ) { android.net.util.NetdService.get ( com.android.server.IpSecService.NETD_FETCH_TIMEOUT ) ; } } } ) ; t.run ( ) ; }

Target:
private void connectNativeNetdService ( ) { new java.lang.Thread ( ) { @ java.lang.Override public void run ( ) { synchronized ( com.android.server.IpSecService.this ) { android.net.util.NetdService.get ( com.android.server.IpSecService.NETD_FETCH_TIMEOUT ) ; } } } . start ( ) ; }
Source:
public void onLeServiceUp ( ) { android.os.Message m = mAdapterStateMachine.obtainMessage ( AdapterState.USER_TURN_ON ) ; mAdapterStateMachine.sendMessage ( m ) ; }

Target:
public void onLeServiceUp ( ) { mAdapterStateMachine.sendMessage ( AdapterState.USER_TURN_ON ) ; }
Source:
private static java.io.File createMergedManifest ( java.io.File dir ) throws java.io.IOException { return com.android.build.gradle.tasks.ResourceUsageAnalyzerTest.createFile ( dir , "app/build/manifests/release/AndroidManifest.xml" , ( "" + ( ( ( ( ( ( ( ( ( ( ( ( ( "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\" android:versionCode=\"1\" android:versionName=\"1.0\" package=\"com.example.shrinkunittest.app\">\n" + " <uses-sdk android:minSdkVersion=\"20\" android:targetSdkVersion=\"19\"/>\n" ) + "\n" ) + " <application android:allowBackup=\"true\" android:icon=\"@drawable/ic_launcher\" android:label=\"@string/app_name\">\n" ) + " <activity android:label=\"@string/app_name\" android:name=\"com.example.shrinkunittest.app.MainActivity\">\n" ) + " <intent-filter>\n" ) + " <action android:name=\"android.intent.action.MAIN\"/>\n" ) + "\n" ) + " <category android:name=\"android.intent.category.LAUNCHER\"/>\n" ) + " </intent-filter>\n" ) + " </activity>\n" ) + " </application>\n" ) + "\n" ) + "</manifest>" ) ) ) ; }

Target:
private static java.io.File createMergedManifest ( java.io.File dir ) throws java.io.IOException { return com.android.build.gradle.tasks.ResourceUsageAnalyzerTest.createFile ( dir , "app/build/manifests/release/AndroidManifest.xml" , ( "" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\" android:versionCode=\"1\" android:versionName=\"1.0\" package=\"com.example.shrinkunittest.app\">\n" + " <uses-sdk android:minSdkVersion=\"20\" android:targetSdkVersion=\"19\"/>\n" ) + "\n" ) + " <application android:allowBackup=\"true\" android:icon=\"@drawable/ic_launcher\" android:label=\"@string/app_name\">\n" ) + " <activity android:label=\"@string/app_name\" android:name=\"com.example.shrinkunittest.app.MainActivity\">\n" ) + " <intent-filter>\n" ) + " <action android:name=\"android.intent.action.MAIN\"/>\n" ) + "\n" ) + " <category android:name=\"android.intent.category.LAUNCHER\"/>\n" ) + " </intent-filter>\n" ) + " </activity>\n" ) + " <meta-data\n" ) + " android:name=\"com.google.android.wearable.beta.app\"\n" ) + " android:resource=\"@xml/android_wear_micro_apk\" />" ) + " </application>\n" ) + "\n" ) + "</manifest>" ) ) ) ; }
Source:
public java.lang.Object clone ( ) { try { return ( ( java.text.DecimalFormatSymbols ) ( super . clone ( ) ) ) ; } catch ( java.lang.CloneNotSupportedException e ) { throw new java.lang.InternalError ( ) ; } }

Target:
public java.lang.Object clone ( ) { try { return ( ( java.text.DecimalFormatSymbols ) ( super . clone ( ) ) ) ; } catch ( java.lang.CloneNotSupportedException e ) { throw new java.lang.InternalError ( e ) ; } }
Source:
public VT setValue ( VT value ) { checkEntryStatus ( ) ; return enumMap.put ( ( ( KT ) ( enumMap.keys [ ordinal ] ) ) , value ) ; }

Target:
public VT setValue ( VT value ) { checkEntryStatus ( ) ; return enumMap.put ( enumMap.keys [ ordinal ] , value ) ; }
Source:
public abstract boolean matchesSafely ( T item ) ;

Target:
protected abstract boolean matchesSafely ( T item ) ;
Source:
public static void main ( java.lang.String [ ] args ) { long dummy = 0L ; Main.assertEquals ( 124750L , Main.$opt$LargeFrame ( dummy ) ) ; Main.assertEquals ( 499500L , Main.HugeFrame ( dummy ) ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { long dummy = 0L ; Main.assertEquals ( 124750L , Main.$opt$LargeFrame ( dummy ) ) ; }