auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void testVFE8 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.aput_char.d.T_aput_char_8" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.aput_char.d.T_aput_char_1" , java.lang.ArrayIndexOutOfBoundsException.class , new char [ 2 ] , 2 , 'g' ) ; }
Source:
public void testMissingMinSdk ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml:7: Warning: <uses-sdk> tag should specify a minimum API " + "level with android:minSdkVersion=\"?\"" ) , lintProject ( "missingmin.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }

Target:
public void testMissingMinSdk ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml:7: Warning: <uses-sdk> tag should specify a minimum API level with android:minSdkVersion=\"?\" [UsesMinSdkAttributes]\n" + ( ( ( " <uses-sdk android:targetSdkVersion=\"10\" />\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) + "" ) ) , lintProject ( "missingmin.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }
Source:
private boolean handleEctIncallSupplementaryService ( java.lang.String dialString ) { int len = dialString.length ( ) ; if ( len != 1 ) { return false ; } if ( com.android.internal.telephony.imsphone.ImsPhone.DBG ) android.telephony.Rlog.d ( com.android.internal.telephony.imsphone.ImsPhone.LOG_TAG , "MmiCode 4: not support explicit call transfer" ) ; notifySuppServiceFailed ( Phone.SuppService.TRANSFER ) ; return true ; }

Target:
private boolean handleEctIncallSupplementaryService ( java.lang.String dialString ) { int len = dialString.length ( ) ; if ( len != 1 ) { return false ; } if ( com.android.internal.telephony.imsphone.ImsPhone.DBG ) logd ( "MmiCode 4: not support explicit call transfer" ) ; notifySuppServiceFailed ( Phone.SuppService.TRANSFER ) ; return true ; }
Source:
public boolean isCached ( java.lang.String requestUrl , int maxWidth , int maxHeight ) { throwIfNotOnMainThread ( ) ; java.lang.String cacheKey = com.android.volley.toolbox.ImageLoader.getCacheKey ( requestUrl , maxWidth , maxHeight ) ; return ( mCache.getBitmap ( cacheKey ) ) != null ; }

Target:
public boolean isCached ( java.lang.String requestUrl , int maxWidth , int maxHeight , android.widget.ImageView.ScaleType scaleType ) { throwIfNotOnMainThread ( ) ; java.lang.String cacheKey = com.android.volley.toolbox.ImageLoader.getCacheKey ( requestUrl , maxWidth , maxHeight , scaleType ) ; return ( mCache.getBitmap ( cacheKey ) ) != null ; }
Source:
synchronized void nAllocationRead ( long id , int [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }

Target:
synchronized void nScriptSetVarJ ( long id , int slot , long val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarJ ( curCon , id , slot , val , mUseInc ) ; }
Source:
public int hashCode ( ) { return com.google.common.base.Objects.hashCode ( super . hashCode ( ) , dependencies , variantName , resolvedCoordinates ) ; }

Target:
public int hashCode ( ) { return com.google.common.base.Objects.hashCode ( super . hashCode ( ) , dependencies , variantName , resolvedCoordinates , isOptional ) ; }
Source:
public void copy1DRangeFrom ( int off , int count , float [ ] d ) { validateIsFloat32 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; }

Target:
public void copyFrom ( byte [ ] d ) { validateIsInt8 ( ) ; copyFromUnchecked ( d , Element.DataType.SIGNED_8 , d.length ) ; }
Source:
public void setPlaybackStateForRcc ( int rccId , int state , long timeMs , float speed ) { mMediaFocusControl.setPlaybackStateForRcc ( rccId , state , timeMs , speed ) ; }

Target:
public void onTouchExplorationStateChanged ( boolean enabled ) { android.media.AudioService.StreamOverride.updateDefaultStreamOverrideDelay ( enabled ) ; }
Source:
public synchronized java.util.Iterator < java.lang.Object > iterator ( ) { return com.google.common.collect.Iterators.< java.lang.Object > forArray ( java.lang.Long.valueOf ( number ) , java.lang.Long.valueOf ( size ) , java.lang.Long.valueOf ( ( ( size ) * ( number ) ) ) ) ; }

Target:
public long getNumber ( ) { return number ; }
Source:
public java.lang.String parseString ( @ javax.annotation.Nonnull com.android.sched.util.codec.CodecContext context , @ javax.annotation.Nonnull java.lang.String string ) { return string ; }

Target:
public com.android.jack.util.MethodNameCodec.MethodNameValue parseString ( @ javax.annotation.Nonnull com.android.sched.util.codec.CodecContext context , @ javax.annotation.Nonnull java.lang.String string ) { try { return checkString ( context , string ) ; } catch ( com.android.sched.util.codec.ParsingException e ) { throw new com.android.sched.util.config.ConfigurationError ( e ) ; } }
Source:
private void printCommand ( java.lang.String [ ] command ) { java.lang.StringBuilder sb = new java.lang.StringBuilder ( "command: " ) ; for ( java.lang.String arg : command ) { sb.append ( arg ) . append ( ' ' ) ; } mLogger.info ( sb.toString ( ) ) ; }

Target:
private void printCommand ( java.lang.String [ ] command ) { mLogger.info ( ( "command: " + ( com.google.common.base.Joiner.on ( ' ' ) . join ( command ) ) ) ) ; }
Source:
private native boolean nativeParse ( java.lang.String s ) ;

Target:
private void updateZoneInfoFromTimeZone ( ) { if ( ! ( zoneInfo.getID ( ) . equals ( timezone ) ) ) { this . zoneInfo = android.text.format.Time.TimeCalculator.lookupZoneInfo ( timezone ) ; } }
Source:
public void testMixedFormat ( ) throws java.lang.Exception { mEnabled = com.android.tools.lint.checks.IconDetectorTest.ALL ; assertEquals ( "No warnings." , lintProject ( "res/drawable-mdpi/frame.png=>res/drawable-mdpi/f.png" , "res/drawable/states.xml=>res/drawable-hdpi/f.xml" , "res/drawable/states.xml=>res/drawable-xhdpi/f.xml" ) ) ; }

Target:
public void testMixedFormat ( ) throws java.lang.Exception { mEnabled = com.android.tools.lint.checks.IconDetectorTest.ALL ; assertEquals ( ( "res/drawable-xhdpi/f.xml: Warning: The following images appear both as density independent .xml files and as bitmap files: res/drawable-hdpi/f.xml, res/drawable-mdpi/f.png [IconXmlAndPng]\n" + ( ( " res/drawable-mdpi/f.png: <No location-specific message\n" + " res/drawable-hdpi/f.xml: <No location-specific message\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "res/drawable-mdpi/frame.png=>res/drawable-mdpi/f.png" , "res/drawable/states.xml=>res/drawable-hdpi/f.xml" , "res/drawable/states.xml=>res/drawable-xhdpi/f.xml" ) ) ; }
Source:
public synchronized void setMinimumLogicalFontSize ( int size ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract void setDefaultFontSize ( int size ) ;
Source:
public void test_F32_1_SCALE05_05_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 1 , 0.5F , 0.5F ) ; checkError ( ) ; }

Target:
public void test_F32_1_SCALE05_05_inSquare ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 1 , 0.5F , 0.5F ) ; checkError ( ) ; }
Source:
public int preceding ( int offset ) { checkOffset ( offset ) ; return wrapped.preceding ( offset ) ; }

Target:
public boolean isBoundary ( int offset ) { checkOffset ( offset ) ; return wrapped.isBoundary ( offset ) ; }
Source:
public boolean matches ( org.eclipse.jdt.core.dom.CompilationUnit cu ) { return ( locater.find ( cu ) ) != null ; }

Target:
public boolean matches ( org.eclipse.jdt.core.dom.CompilationUnit cu ) { return ( locator.find ( cu ) ) != null ; }
Source:
public android.net.IpSecTransform buildTunnelModeTransform ( java.net.InetAddress localAddress , java.net.InetAddress remoteAddress ) { mConfig.setLocalAddress ( localAddress.getHostAddress ( ) ) ; mConfig.setRemoteAddress ( remoteAddress.getHostAddress ( ) ) ; mConfig.setMode ( android.net.IpSecTransform.MODE_TUNNEL ) ; return new android.net.IpSecTransform ( mContext , mConfig ) ; }

Target:
public android.net.IpSecTransform.Builder setAuthenticatedEncryption ( @ android.annotation.NonNull android.net.IpSecAlgorithm algo ) { com.android.internal.util.Preconditions.checkNotNull ( algo ) ; mConfig.setAuthenticatedEncryption ( algo ) ; return this ; }
Source:
public void setAllUsers ( java.util.Map < java.lang.String , com.google.gct.login.User > users ) { synchronized ( this ) { allUsers.clear ( ) ; allUsers.putAll ( users ) ; } }

Target:
public void setAllUsers ( java.util.Map < java.lang.String , com.google.gct.login.CredentialedUser > users ) { synchronized ( this ) { allUsers.clear ( ) ; allUsers.putAll ( users ) ; } }
Source:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > any ( java.lang.Class < T > type ) { return org.hamcrest.core.IsAnything.any ( type ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > any ( java.lang.Class < T > type ) { return org.hamcrest.core.IsInstanceOf.< T > any ( type ) ; }
Source:
public void run ( ) { onMeasure ( widthMeasureSpec , heightMeasureSpec ) ; }

Target:
public java.lang.Boolean call ( ) { return requestChildRectangleOnScreen ( child , rect , immediate ) ; }
Source:
public void test1_isEmpty ( ) { for ( int i = 0 ; i < 10 ; i ++ ) { assertTrue ( com.android.dx.util._tests.BitsTest.label ( i ) , com.android.dx.util.Bits.isEmpty ( new int [ i ] ) ) ; } }

Target:
public void test1_isEmpty ( ) { for ( int i = 0 ; i < 10 ; i ++ ) { assertTrue ( com.android.dx.util.BitsTest.label ( i ) , com.android.dx.util.Bits.isEmpty ( new int [ i ] ) ) ; } }
Source:
public static native void SSL_use_OpenSSL_PrivateKey_for_tls_channel_id ( long ssl , long pkey ) throws javax.net.ssl.SSLException ;

Target:
public static native void SSL_set1_tls_channel_id ( long ssl , long pkey ) ;
Source:
public void testMembershipKeyAccessors_IPv4 ( ) throws java.lang.Exception { testMembershipKeyAccessors ( libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 ) ; }

Target:
public void test_multicastLoopOption_IPv6 ( ) throws java.lang.Exception { test_joinAnySource_multicastLoopOption ( libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv6 , ipv6NetworkInterface ) ; }
Source:
private org.eclipse.swt.graphics.Image getImage ( java.lang.String filename ) { if ( ( mImpl.mUpdaterData ) != null ) { com.android.sdkuilib.internal.repository.icons.ImageFactory imgFactory = mImpl.mUpdaterData.getImageFactory ( ) ; if ( imgFactory != null ) { return imgFactory.getImageByName ( filename ) ; } } return null ; }

Target:
private org.eclipse.swt.graphics.Image getImage ( java.lang.String filename ) { if ( ( mImpl.mSwtUpdaterData ) != null ) { com.android.sdkuilib.internal.repository.icons.ImageFactory imgFactory = mImpl.mSwtUpdaterData.getImageFactory ( ) ; if ( imgFactory != null ) { return imgFactory.getImageByName ( filename ) ; } } return null ; }
Source:
public static boolean isDeclaredAnnotationPresent ( java.lang.reflect.AnnotatedElement element , java.lang.Class < ? extends java.lang.annotation.Annotation > annotationClass ) { return ( libcore.reflect.AnnotationAccess.getMethodAnnotation ( element , annotationClass ) ) != null ; }

Target:
public static boolean isDeclaredAnnotationPresent ( java.lang.reflect.AnnotatedElement element , java.lang.Class < ? extends java.lang.annotation.Annotation > annotationClass ) { return ( libcore.reflect.AnnotationAccess.getAnnotation ( element , annotationClass ) ) != null ; }
Source:
public void testQuickFix_validName ( ) { com.google.gct.intellij.endpoints.validation.MethodNameInspection.MyQuickFix myQuickFix = new com.google.gct.intellij.endpoints.validation.MethodNameInspection ( ) . new com.google.gct.intellij.endpoints.validation.MyQuickFix ( ) ; junit.framework.Assert.assertEquals ( "foo.1_2_3" , myQuickFix.getMethodNameSuggestions ( "foo.1_2_3" ) ) ; junit.framework.Assert.assertEquals ( "foo.boo" , myQuickFix.getMethodNameSuggestions ( "foo...boo" ) ) ; }

Target:
public void testQuickFix_validName ( ) { com.google.gct.idea.appengine.validation.MethodNameInspection.MyQuickFix myQuickFix = new com.google.gct.idea.appengine.validation.MethodNameInspection ( ) . new com.google.gct.idea.appengine.validation.MyQuickFix ( ) ; junit.framework.Assert.assertEquals ( "foo.1_2_3" , myQuickFix.getMethodNameSuggestions ( "foo.1_2_3" ) ) ; junit.framework.Assert.assertEquals ( "foo.boo" , myQuickFix.getMethodNameSuggestions ( "foo...boo" ) ) ; }
Source:
public static com.android.sdklib.resources.Density getEnum ( int value ) { for ( com.android.sdklib.resources.Density d : com.android.sdklib.resources.Density.values ( ) ) { if ( ( d.mDensity ) == value ) { return d ; } } return null ; }

Target:
public static com.android.resources.Density getEnum ( int value ) { for ( com.android.resources.Density d : com.android.resources.Density.values ( ) ) { if ( ( d.mDensity ) == value ) { return d ; } } return null ; }
Source:
final void putDoubleUnchecked ( int i , double x ) { putDouble ( ix ( i ) , x ) ; }

Target:
final void putDoubleUnchecked ( int i , double x ) { if ( ! ( memoryRef.isAccessible ) ) { throw new java.lang.IllegalStateException ( "buffer is inaccessible" ) ; } putDouble ( ix ( i ) , x ) ; }
Source:
public void visitEnd ( ) { if ( ( companion ) != null ) { companion.visitEnd ( ) ; } super . visitEnd ( ) ; }

Target:
public void visitEnd ( ) { if ( ( companion ) != null ) { emitInterfaceFieldAccessInCompanionMethodToTriggerInterfaceClinit ( ) ; companion.visitEnd ( ) ; } super . visitEnd ( ) ; }
Source:
public byte [ ] getPubkey ( java.lang.String key ) { return getPubkey ( android.security.KeyStore.getBytes ( key ) ) ; }

Target:
public byte [ ] getPubkey ( java.lang.String key ) { return getPubkey ( android.security.KeyStore.getKeyBytes ( key ) ) ; }
Source:
public void inviteParticipants ( java.lang.String [ ] participants ) throws android.os.RemoteException { }

Target:
public void extendToConference ( java.lang.String [ ] participants ) { this . extendToConference ( participants ) ; }
Source:
private void doTestOther ( java.lang.String mimeType , int w , int h ) throws java.lang.Exception { mTestConfig.mTestPixels = false ; mTestConfig.mTestResult = true ; mTestConfig.mTotalFrames = 3000 ; mTestConfig.mNumberOfRepeat = 2 ; doTest ( false , mimeType , w , h ) ; }

Target:
private void doTestOther ( java.lang.String mimeType , int w , int h , long testTimeoutMs ) throws java.lang.Exception { mTestConfig.mTestPixels = false ; mTestConfig.mTestResult = true ; mTestConfig.mTotalFrames = 3000 ; mTestConfig.mNumberOfRepeat = 2 ; doTest ( false , mimeType , w , h , testTimeoutMs ) ; }
Source:
public com.android.sdkuilib.ui.GridLayoutBuilder columns ( int n ) { com.android.sdkuilib.ui.GridLayoutBuilder.mGL.numColumns = n ; return this ; }

Target:
public com.android.sdkuilib.ui.GridLayoutBuilder columns ( int n ) { mGL.numColumns = n ; return this ; }
Source:
protected void fillRtTestInfos ( ) { rtTestInfos.add ( TEST001 ) ; rtTestInfos.add ( TEST002 ) ; rtTestInfos.add ( TEST003 ) ; rtTestInfos.add ( TEST004 ) ; }

Target:
protected void fillRtTestInfos ( ) { rtTestInfos.add ( TEST001 ) ; rtTestInfos.add ( TEST002 ) ; rtTestInfos.add ( TEST003 ) ; rtTestInfos.add ( TEST004 ) ; rtTestInfos.add ( TEST005 ) ; }
Source:
public void run ( ) { preSendSmsWorker ( conv , msgText , recipientsInUI ) ; updateSendStats ( conv ) ; }

Target:
public void run ( ) { final com.google.android.mms.pdu.SendReq sendReq = com.android.mms.data.WorkingMessage.makeSendReq ( conv , subject ) ; slideshow.prepareForSend ( ) ; sendMmsWorker ( conv , mmsUri , persister , slideshow , sendReq ) ; updateSendStats ( conv ) ; }
Source:
public static float $noinline$floatSubAddSimplifyLeft ( float x , float y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } float sub = x - y ; return sub + y ; }

Target:
public static float $noinline$floatAddSubSimplifyArg2 ( float x , float y ) { float sum = x + y ; return sum - y ; }
Source:
public com.android.jack.ir.ast.JDefinedEnum getEnum ( @ javax.annotation.Nonnull java.lang.String typeName ) throws com.android.jack.ir.ast.JTypeLookupException { return ( ( com.android.jack.ir.ast.JDefinedEnum ) ( getType ( typeName ) ) ) ; }

Target:
public com.android.jack.ir.ast.JDefinedEnum getEnum ( @ javax.annotation.Nonnull java.lang.String typeName ) throws com.android.jack.ir.ast.JTypeLookupException { com.android.jack.ir.ast.JType type = getType ( typeName ) ; if ( type instanceof com.android.jack.ir.ast.JDefinedEnum ) { return ( ( com.android.jack.ir.ast.JDefinedEnum ) ( type ) ) ; } else { throw new com.android.jack.ir.ast.IncompatibleJTypeLookupException ( type , com.android.jack.ir.ast.JDefinedEnum.class ) ; } }
Source:
static com.android.ide.eclipse.adt.internal.build.builders.ChangedFileSet getByteCodeCfs ( @ com.android.annotations.NonNull org.eclipse.core.resources.IProject project ) { java.lang.String path = com.android.ide.eclipse.adt.internal.build.builders.ChangedFileSetHelper.getRelativeJavaCOut ( project ) ; com.android.ide.eclipse.adt.internal.build.builders.ChangedFileSet set = new com.android.ide.eclipse.adt.internal.build.builders.ChangedFileSet ( "bytecode" , ( ( path + "/**/*" ) + ( com.android.ide.eclipse.adt.AdtConstants.DOT_CLASS ) ) ) ; return set ; }

Target:
static com.android.ide.eclipse.adt.internal.build.builders.ChangedFileSet getMergedManifestCfs ( @ com.android.annotations.NonNull org.eclipse.core.resources.IProject project ) { java.lang.String path = com.android.ide.eclipse.adt.internal.build.builders.ChangedFileSetHelper.getRelativeAndroidOut ( project ) ; com.android.ide.eclipse.adt.internal.build.builders.ChangedFileSet set = new com.android.ide.eclipse.adt.internal.build.builders.ChangedFileSet ( "mergedManifest" , ( ( path + '/' ) + ( com.android.sdklib.SdkConstants.FN_ANDROID_MANIFEST_XML ) ) ) ; return set ; }
Source:
private static java.security.SecureRandom createSecureRandom ( ) { org.bouncycastle.crypto.prng.ThreadedSeedGenerator tsg = new org.bouncycastle.crypto.prng.ThreadedSeedGenerator ( ) ; java.security.SecureRandom random = new java.security.SecureRandom ( ) ; random.setSeed ( tsg.generateSeed ( 20 , true ) ) ; return random ; }

Target:
org.bouncycastle.crypto.tls.AbstractTlsContext getContextAdmin ( ) { return tlsClientContext ; }
Source:
public void visitIincInsn ( int var , int increment ) { printer.visitIincInsn ( var , increment ) ; printTypeOfOperandStackTop ( ) ; super . visitIincInsn ( var , increment ) ; }

Target:
public void visitTableSwitchInsn ( int min , int max , org.objectweb.asm.Label dflt , org.objectweb.asm.Label ... labels ) { printer.visitTableSwitchInsn ( min , max , dflt , labels ) ; printTypeOfOperandStack ( ) ; super . visitTableSwitchInsn ( min , max , dflt , labels ) ; }
Source:
public void fetchCalls ( ) { super . fetchCalls ( ) ; com.android.dialer.common.FragmentUtils.getParentUnsafe ( this , com.android.dialer.app.calllog.CallLogFragmentListener.class ) . updateTabUnreadCounts ( ) ; }

Target:
public void fetchCalls ( ) { super . fetchCalls ( ) ; if ( ( com.android.dialer.common.FragmentUtils.getParent ( this , com.android.dialer.app.calllog.CallLogFragmentListener.class ) ) != null ) { com.android.dialer.common.FragmentUtils.getParentUnsafe ( this , com.android.dialer.app.calllog.CallLogFragmentListener.class ) . updateTabUnreadCounts ( ) ; } }
Source:
public void testVideoOnly ( ) throws java.lang.Exception { int source = R.raw.video_only_176x144_3gp_h263_25fps ; java.lang.String outputFile = "/sdcard/videoOnly.mp4" ; cloneAndVerify ( source , outputFile , 1 , 180 ) ; }

Target:
public void testVideoOnly ( ) throws java.lang.Exception { int source = R.raw.video_only_176x144_3gp_h263_25fps ; java.lang.String outputFile = java.io.File.createTempFile ( "MediaMuxerTest_videoOnly" , ".mp4" ) . getAbsolutePath ( ) ; cloneAndVerify ( source , outputFile , 1 , 180 ) ; }
Source:
public void setAddress ( java.lang.String callId , android.net.Uri address , int presentation ) { findConnectionForAction ( callId , "setAddress" ) . setAddress ( address , presentation ) ; }

Target:
public void setAddress ( java.lang.String callId , android.net.Uri address , int presentation , android.telecom.Logging.Session.Info sessionInfo ) { findConnectionForAction ( callId , "setAddress" ) . setAddress ( address , presentation ) ; }
Source:
public native float getFloat ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native float getFloat ( java.lang.Object object , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
protected void visitArray ( int size ) { }

Target:
public int readInt ( ) { checkType ( com.android.dx.io.EncodedValueReader.ENCODED_INT ) ; type = com.android.dx.io.EncodedValueReader.MUST_READ ; return com.android.dx.util.EncodedValueUtils.readSignedInt ( in , arg ) ; }
Source:
public void visitUnknownAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.UnknownAttribute unknownAttribute ) { unknownAttribute.accept ( clazz , attributeVisitor ) ; }

Target:
public void visitSyntheticAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.SyntheticAttribute syntheticAttribute ) { attributeVisitor.visitSyntheticAttribute ( clazz , method , syntheticAttribute ) ; }
Source:
private native void gattClientReadDescriptorNative ( int conn_id , int service_type , int service_id_inst_id , long service_id_uuid_lsb , long service_id_uuid_msb , int char_id_inst_id , long char_id_uuid_lsb , long char_id_uuid_msb , int descr_id_inst_id , long descr_id_uuid_lsb , long descr_id_uuid_msb , int authReq ) ;

Target:
private native void gattClientWriteCharacteristicNative ( int conn_id , int handle , int write_type , int auth_req , byte [ ] value ) ;
Source:
public static void computeExpm1 ( android.renderscript.cts.TestExpm1.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 16 ; args.out = ( ( float ) ( java.lang.StrictMath.expm1 ( args.in ) ) ) ; }

Target:
public static void computeConvert ( android.renderscript.cts.TestConvert.ArgumentsUcharFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.convertUcharToFloat ( args.inV ) , 0 , 0 ) ; }
Source:
public java.util.List < com.android.ahat.heapdump.AhatInstance > getHardReverseReferences ( ) { return java.util.Arrays.asList ( mHardReverseReferences ) ; }

Target:
public java.lang.Iterable < ? extends com.android.ahat.dominators.DominatorsComputation.Node > getReferencesForDominators ( ) { return new com.android.ahat.heapdump.DominatorReferenceIterator ( getReferences ( ) ) ; }
Source:
public void startDtmf ( char c ) { }

Target:
public void sendDtmf ( char c , android.os.Message result ) { this . sendDtmf ( c , result ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; if ( mSystemButton.getSelection ( ) ) { setupResourceList ( ) ; mNewButton.setEnabled ( false ) ; } }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; if ( mSystemButton.getSelection ( ) ) { setupResourceList ( ) ; mNewButton.setEnabled ( false ) ; updatePreview ( ) ; } }
Source:
public void exit ( ) { mWifiConnectivityManager.setWifiEnabled ( false ) ; mWifiMetrics.setWifiState ( WifiMetricsProto.WifiLog.WIFI_DISABLED ) ; }

Target:
public void exit ( ) { mNetworkInfo.setIsAvailable ( false ) ; if ( ( mNetworkAgent ) != null ) mNetworkAgent.sendNetworkInfo ( mNetworkInfo ) ; mWifiConnectivityManager.setWifiEnabled ( false ) ; mWifiMetrics.setWifiState ( WifiMetricsProto.WifiLog.WIFI_DISABLED ) ; }
Source:
public com.android.ahat.heapdump.Value get ( int index ) { return new com.android.ahat.heapdump.Value ( chars [ index ] ) ; }

Target:
public com.android.ahat.heapdump.Value get ( int index ) { return com.android.ahat.heapdump.Value.pack ( chars [ index ] ) ; }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JByteLiteral expr ) { performCommonChecks ( expr ) ; com.android.jack.ir.ast.JByteLiteral other = otherOrMe ( expr ) ; ensure ( ( ( expr.getValue ( ) ) == ( other.getValue ( ) ) ) ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JEnumLiteral expr ) { performCommonChecks ( expr ) ; com.android.jack.ir.ast.JEnumLiteral other = otherOrMe ( expr ) ; ensure ( expr.getFieldId ( ) . equals ( other.getFieldId ( ) ) ) ; }
Source:
private boolean isAvdRepairable ( com.android.sdklib.internal.avd.AvdManager.AvdInfo.AvdStatus avdStatus ) { return avdStatus == ( com.android.sdklib.internal.avd.AvdManager.AvdInfo.AvdStatus.ERROR_IMAGE_DIR ) ; }

Target:
private boolean isAvdRepairable ( com.android.sdklib.internal.avd.AvdInfo.AvdStatus avdStatus ) { return avdStatus == ( com.android.sdklib.internal.avd.AvdInfo.AvdStatus.ERROR_IMAGE_DIR ) ; }
Source:
public com.android.apksig.DefaultApkSignerEngine build ( ) throws java.security.InvalidKeyException { return new com.android.apksig.DefaultApkSignerEngine ( mSignerConfigs , mMinSdkVersion , mV1SigningEnabled , mV2SigningEnabled , mOtherSignersSignaturesPreserved ) ; }

Target:
public com.android.apksig.DefaultApkSignerEngine build ( ) throws java.security.InvalidKeyException { return new com.android.apksig.DefaultApkSignerEngine ( mSignerConfigs , mMinSdkVersion , mV1SigningEnabled , mV2SigningEnabled , mOtherSignersSignaturesPreserved , mCreatedBy ) ; }
Source:
synchronized void nAllocationRead ( int id , byte [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }

Target:
synchronized void nAllocationData1D ( long id , int off , int mip , int count , float [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }
Source:
public native void putLongVolatile ( java.lang.Object obj , long offset , long newValue ) ;

Target:
public native long getLongVolatile ( java.lang.Object obj , long offset ) ;
Source:
public void addI16 ( short v ) { mN.addI16 ( v ) ; }

Target:
public void addI16 ( short v ) { mN.addI16 ( v ) ; mPos += 2 ; }
Source:
public void onNfcEnabled ( ) { mAidCache.onNfcEnabled ( ) ; }

Target:
public void onNfcEnabled ( ) { mAidCache.onNfcEnabled ( ) ; mT3tIdentifiersCache.onNfcEnabled ( ) ; }
Source:
public java.lang.String getMessage ( ) { return "Failed to list content of " + ( directoryLocation.getDescription ( ) ) ; }

Target:
protected java.lang.String createMessage ( @ javax.annotation.Nonnull java.lang.String description ) { return description + " cannot be listed" ; }
Source:
public final void warn ( java.lang.String message ) { msg ( message , com.ibm.icu.dev.test.WARN , true , false ) ; }

Target:
public static final void warnln ( java.lang.String message ) { org.junit.Assert.fail ( message ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearHostName ( ) { bitField0_ = ( bitField0_ ) & ( ~ 512 ) ; hostName_ = com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance ( ) . getHostName ( ) ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearEndTime ( ) { bitField0_ = ( bitField0_ ) & ( ~ 512 ) ; endTime_ = 0L ; onChanged ( ) ; return this ; }
Source:
public static void removeViewServerInfo ( com.android.ddmlib.IDevice device ) { synchronized ( com.android.hierarchyviewerlib.device.DeviceBridge.viewServerInfo ) { com.android.hierarchyviewerlib.device.DeviceBridge.viewServerInfo.remove ( device ) ; } }

Target:
public static void removeViewServerInfo ( com.android.ddmlib.IDevice device ) { synchronized ( com.android.hierarchyviewerlib.device.DeviceBridge.sViewServerInfo ) { com.android.hierarchyviewerlib.device.DeviceBridge.sViewServerInfo.remove ( device ) ; } }
Source:
public void reportIncorrectSuggestion ( @ android.support.annotation.NonNull android.content.Context context , @ android.support.annotation.NonNull java.lang.String number ) { }

Target:
public void reportIncorrectSuggestion ( @ android.support.annotation.NonNull android.content.Context context , @ android.support.annotation.NonNull java.lang.String number , android.telecom.PhoneAccountHandle newAccount ) { }
Source:
public static java.lang.String getPackage ( com.android.sdklib.io.IAbstractFolder projectFolder ) throws com.android.sdklib.io.StreamException , javax.xml.xpath.XPathExpressionException { com.android.sdklib.io.IAbstractFile file = com.android.sdklib.xml.AndroidManifest.getManifest ( projectFolder ) ; if ( file != null ) { return com.android.sdklib.xml.AndroidManifest.getPackage ( file ) ; } return null ; }

Target:
public static java.lang.String getPackage ( com.android.io.IAbstractFolder projectFolder ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { com.android.io.IAbstractFile file = com.android.sdklib.xml.AndroidManifest.getManifest ( projectFolder ) ; if ( file != null ) { return com.android.sdklib.xml.AndroidManifest.getPackage ( file ) ; } return null ; }
Source:
public int queryCallWaiting ( ) throws android.os.RemoteException { return - 1 ; }

Target:
public int updateColr ( int presentation ) { return - 1 ; }
Source:
public java.lang.String toString ( ) { return status ; }

Target:
public java.lang.String toString ( ) { return ( "MockResponse{" + ( status ) ) + "}" ; }
Source:
java.io.File getAdb ( ) ;

Target:
java.util.List < java.io.File > getRepositories ( ) ;
Source:
public void set ( E e ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public void set ( E object ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public final void setCircleMaskEnabled ( boolean circleMaskEnabled ) { mCircleMaskEnabled = circleMaskEnabled ; mPaint.setAntiAlias ( circleMaskEnabled ) ; }

Target:
public final void setCircleMaskEnabled ( boolean circleMaskEnabled ) { if ( ( mCircleMaskEnabled ) != circleMaskEnabled ) { mCircleMaskEnabled = circleMaskEnabled ; mPaint.setAntiAlias ( circleMaskEnabled ) ; invalidateSelf ( ) ; } }
Source:
public void validateConfigWithoutCredential ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; config.credential = null ; org.junit.Assert.assertFalse ( config.validate ( ) ) ; }

Target:
public void validateConfigWithoutSubscriptionUpdate ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; config.setSubscriptionUpdate ( null ) ; org.junit.Assert.assertTrue ( config.validate ( ) ) ; }
Source:
public void acknowledgeSmsReport ( int token , int messageRef , int result ) throws com.android.ims.ImsException { try { mMmTelFeatureConnection.acknowledgeSmsReport ( token , messageRef , result ) ; } catch ( android.os.RemoteException e ) { throw new com.android.ims.ImsException ( "acknowledgeSmsReport()" , e , ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } }

Target:
public java.lang.String getSmsFormat ( ) throws com.android.ims.ImsException { try { return mMmTelFeatureConnection.getSmsFormat ( ) ; } catch ( android.os.RemoteException e ) { throw new com.android.ims.ImsException ( "getSmsFormat()" , e , android.telephony.ims.ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } }
Source:
public java.lang.String toString ( ) { return ( ( ( fileSourceInfo.getFileName ( ) ) + '(' ) + ( getStartLine ( ) ) ) + ')' ; }

Target:
public java.lang.String toString ( ) { return ( ( ( ( getFileName ( ) ) + ":" ) + ( getStartLine ( ) ) ) + '-' ) + ( getEndLine ( ) ) ; }
Source:
private void expectNetworkStatsUidDetail ( android.net.NetworkStats detail ) throws java.lang.Exception { expectNetworkStatsUidDetail ( detail , new java.lang.String [ 0 ] , new android.net.NetworkStats ( 0L , 0 ) ) ; }

Target:
private void expectNetworkStatsSummary ( android.net.NetworkStats summary ) throws java.lang.Exception { expectNetworkStatsSummary ( summary , new android.net.NetworkStats ( 0L , 0 ) ) ; }
Source:
private void createWifiConfigManager ( ) { mWifiConfigManager = new com.android.server.wifi.WifiConfigManager ( mContext , mFrameworkFacade , mClock , mUserManager , mTelephonyManager , mWifiKeyStore , mWifiConfigStore , mWifiConfigStoreLegacy ) ; mWifiConfigManager.enableVerboseLogging ( 1 ) ; }

Target:
private void createWifiConfigManager ( ) { mWifiConfigManager = new com.android.server.wifi.WifiConfigManager ( mContext , mFrameworkFacade , mClock , mUserManager , mTelephonyManager , mWifiKeyStore , mWifiConfigStore , mWifiConfigStoreLegacy , mWifiPermissionsWrapper ) ; mWifiConfigManager.enableVerboseLogging ( 1 ) ; }
Source:
private static java.util.List < java.lang.String > classNameElements ( java.lang.String className ) { return com.google.common.base.Splitter.on ( "$" ) . splitToList ( className ) ; }

Target:
private static java.util.List < java.lang.String > classNameElements ( java.lang.String className ) { return com.google.common.base.Splitter.on ( '$' ) . splitToList ( className ) ; }
Source:
public static java.lang.String [ ] convertOldPaths ( @ com.android.annotations.Nullable java.lang.String oldPathsProperty ) { if ( ( oldPathsProperty == null ) || ( ( oldPathsProperty.length ( ) ) == 0 ) ) { return new java.lang.String [ 0 ] ; } return oldPathsProperty.split ( ";" ) ; }

Target:
public static java.lang.String [ ] convertOldPaths ( @ com.android.annotations.Nullable java.lang.String oldPathsProperty ) { if ( ( oldPathsProperty == null ) || ( oldPathsProperty.isEmpty ( ) ) ) { return new java.lang.String [ 0 ] ; } return oldPathsProperty.split ( ";" ) ; }
Source:
private void throwException ( @ javax.annotation.Nonnull java.io.File mappingFile , int lineNumber , @ javax.annotation.Nonnull java.lang.String message ) throws com.android.jack.JackIOException { throw new com.android.jack.JackIOException ( ( ( ( ( ( mappingFile.getAbsolutePath ( ) ) + ":" ) + lineNumber ) + ":" ) + message ) ) ; }

Target:
private void throwException ( @ javax.annotation.Nonnull java.io.File mappingFile , int lineNumber , @ javax.annotation.Nonnull java.lang.String message ) throws com.android.jack.JackIOException { throw new com.android.jack.JackIOException ( ( ( ( ( ( mappingFile.getPath ( ) ) + ":" ) + lineNumber ) + ":" ) + message ) ) ; }
Source:
void onRemoteDisconnect ( int causeCode ) { onDisconnect ( disconnectCauseFromCode ( causeCode ) ) ; }

Target:
void onRemoteDisconnect ( int causeCode ) { this . mPreciseCause = causeCode ; onDisconnect ( disconnectCauseFromCode ( causeCode ) ) ; }
Source:
public void close ( ) { try { mService.releaseSecurityParameterIndex ( mResourceId ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } mCloseGuard.close ( ) ; }

Target:
public void close ( ) { mSpi = android.net.IpSecManager.INVALID_SECURITY_PARAMETER_INDEX ; mCloseGuard.close ( ) ; }
Source:
public void testE2 ( ) { dot.junit.opcodes.aput_byte.d.T_aput_byte_1 t = new dot.junit.opcodes.aput_byte.d.T_aput_byte_1 ( ) ; try { t.run ( null , 2 , ( ( byte ) ( 100 ) ) ) ; fail ( "expected NullPointerException" ) ; } catch ( java.lang.NullPointerException aie ) { } }

Target:
public void testE2 ( ) { loadAndRun ( "dot.junit.opcodes.aput_byte.d.T_aput_byte_1" , java.lang.NullPointerException.class , null , 2 , ( ( byte ) ( 100 ) ) ) ; }
Source:
public void run ( ) { mAppCallback.onStreamMethodUpdated ( methodType ) ; }

Target:
public void run ( ) { long token = android.os.Binder.clearCallingIdentity ( ) ; try { mAppCallback.onStreamMethodUpdated ( methodType ) ; } finally { android.os.Binder.restoreCallingIdentity ( token ) ; } }
Source:
public void loggedRun ( ) { com.android.server.telecom.Log.i ( this , "Retrying connecting to bluetooth audio." ) ; if ( ! ( mBluetoothHeadset.connectAudio ( ) ) ) { com.android.server.telecom.Log.w ( this , "Retry of bluetooth audio connection failed. Giving up." ) ; } else { setBluetoothStatePending ( ) ; } }

Target:
public void loggedRun ( ) { android.telecom.Log.i ( this , "Retrying connecting to bluetooth audio." ) ; if ( ! ( mBluetoothHeadset.connectAudio ( ) ) ) { android.telecom.Log.w ( this , "Retry of bluetooth audio connection failed. Giving up." ) ; } else { setBluetoothStatePending ( ) ; } }
Source:
public static android.support.v8.renderscript.RenderScript create ( android.content.Context ctx , int sdkVersion ) { return android.support.v8.renderscript.RenderScript.create ( ctx , sdkVersion , android.support.v8.renderscript.RenderScript.ContextType.NORMAL ) ; }

Target:
public static android.support.v8.renderscript.RenderScript create ( android.content.Context ctx , android.support.v8.renderscript.RenderScript.ContextType ct ) { return android.support.v8.renderscript.RenderScript.create ( ctx , ct , android.support.v8.renderscript.RenderScript.CREATE_FLAG_NONE ) ; }
Source:
public void testIntegerArray ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.array.config_virtualKeyVibePattern ; final int [ ] expected = new int [ ] { 0 , 10 , 20 , 30 } ; assertResource ( resId , expected , expected ) ; }

Target:
public void testFrameworkBooleanOverlay ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.bool.config_annoy_dianne ; assertResource ( resId , true , false , false ) ; }
Source:
public void warning ( org.xml.sax.SAXParseException exception ) throws org.xml.sax.SAXException { if ( ( mFile ) != null ) { com.android.ide.eclipse.adt.internal.project.BaseProjectHelper.markResource ( mFile , AndroidConstants.MARKER_XML , exception.getMessage ( ) , exception.getLineNumber ( ) , IMarker.SEVERITY_WARNING ) ; } }

Target:
public void warning ( org.xml.sax.SAXParseException exception ) throws org.xml.sax.SAXException { if ( ( mFile ) != null ) { com.android.ide.eclipse.adt.internal.project.BaseProjectHelper.markResource ( mFile , AdtConstants.MARKER_XML , exception.getMessage ( ) , exception.getLineNumber ( ) , IMarker.SEVERITY_WARNING ) ; } }
Source:
static int [ ] getIfds ( ) { return com.android.dialer.callcomposer.camera.exif.IfdData.sIfds ; }

Target:
static int [ ] getIfds ( ) { return com.android.dialer.callcomposer.camera.exif.IfdData.ifds ; }
Source:
public int size ( ) { return forwardEntrySet.size ( ) ; }

Target:
com.google.common.collect.Multiset.Entry < E > getEntry ( int index ) { return forward.entrySet ( ) . asList ( ) . reverse ( ) . get ( index ) ; }
Source:
void setupOnBoot ( ) { android.telephony.SubscriptionManager.from ( mContext ) . addOnSubscriptionsChangedListener ( mOnSubscriptionsChangedListener ) ; mTelephonyManager.listen ( mPhoneStateListener , PhoneStateListener.LISTEN_SERVICE_STATE ) ; mContext.registerReceiver ( mUserSwitchedReceiver , new android.content.IntentFilter ( android.content.Intent.ACTION_USER_SWITCHED ) ) ; }

Target:
public void onChange ( boolean selfChange ) { synchronized ( mAccountsLock ) { for ( com.android.services.telephony.TelecomAccountRegistry.AccountEntry account : mAccounts ) { account.updateRttCapability ( ) ; } } }
Source:
public void shutdown ( ) { java.lang.Thread finalizerThread = thread ; if ( finalizerThread != null ) { finalizerThread.interrupt ( ) ; finalizerThread = null ; } }

Target:
public void shutdown ( ) { synchronized ( referenceList ) { shutDown = true ; java.lang.Thread finalizerThread = thread ; if ( finalizerThread != null ) { finalizerThread.interrupt ( ) ; } } }
Source:
java.lang.Boolean getFunctionalTest ( ) ;

Target:
java.io.File getTestApk ( ) ;
Source:
public int next ( ) { return libcore.icu.NativeBreakIterator.nextImpl ( this . address , 1 ) ; }

Target:
public int last ( ) { return libcore.icu.NativeBreakIterator.lastImpl ( this . address , this . string ) ; }
Source:
public com.google.common.collect.ImmutableList < java.io.File > getTestedApks ( @ com.android.annotations.NonNull com.android.ide.common.process.ProcessExecutor processExecutor , @ com.android.annotations.Nullable java.io.File splitSelectExe , @ com.android.annotations.NonNull com.android.builder.testing.api.DeviceConfigProvider deviceConfigProvider ) throws com.android.ide.common.process.ProcessException { com.google.common.collect.ImmutableList.Builder < java.io.File > testedApks = com.google.common.collect.ImmutableList.builder ( ) ; testedApks.addAll ( testedConfiguration.getFiles ( ) ) ; return testedApks.build ( ) ; }

Target:
public java.lang.String apply ( @ com.android.annotations.Nullable java.io.File file ) { return file != null ? file.getAbsolutePath ( ) : null ; }
Source:
public boolean isConnected ( int slotId , int featureType , int callSessionType , int callType ) throws android.os.RemoteException { return false ; }

Target:
public com.android.ims.internal.IImsMMTelFeature createEmergencyMMTelFeature ( int slotId ) { return null ; }
Source:
private boolean isWritingAllowed ( java.lang.String path ) { if ( ( path.startsWith ( mTempDir ) ) || ( path.startsWith ( mNormalizedTempDir ) ) ) { return true ; } return false ; }

Target:
private boolean isWritingAllowed ( java.lang.String path ) { return isTempDirPath ( path ) ; }
Source:
public void testInstallSdcard ( ) { mountMedia ( ) ; sampleInstallFromRawResource ( PackageManager.INSTALL_EXTERNAL , true ) ; }

Target:
public void testInstallSdcard ( ) { if ( android.os.Environment.isExternalStorageEmulated ( ) ) { return ; } mountMedia ( ) ; sampleInstallFromRawResource ( PackageManager.INSTALL_EXTERNAL , true ) ; }
Source:
public void breakpointArray ( int [ ] param ) { logWriter.println ( ( ( "breakpointArray(param=\"" + param ) + "\")" ) ) ; }

Target:
public void breakpointArray ( int [ ] param ) { logWriter.println ( ( ( "breakpointArray(param=\"" + param ) + "\")" ) ) ; synchronizeWithTest ( ) ; }
Source:
public static com.android.cts.verifier.TestListAdapter.TestListItem newTest ( java.lang.String title , java.lang.String testName , android.content.Intent intent ) { return new com.android.cts.verifier.TestListAdapter.TestListItem ( title , testName , intent ) ; }

Target:
public static com.android.cts.verifier.TestListAdapter.TestListItem newTest ( java.lang.String title , java.lang.String testName , android.content.Intent intent , java.lang.String [ ] requiredFeatures , java.lang.String [ ] excludedFeatures , java.lang.String [ ] applicableFeatures ) { return new com.android.cts.verifier.TestListAdapter.TestListItem ( title , testName , intent , requiredFeatures , excludedFeatures , applicableFeatures ) ; }
Source:
public static float FloatMultiplication ( ) { float a ; float b ; float c ; a = 7.0F ; b = 3.0F ; c = a * b ; return c ; }

Target:
public static long LongMultiplication ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 7L ) ; b = Main.$inline$long ( 3L ) ; c = a * b ; return c ; }
Source:
native void socketSetOption0 ( int cmd , boolean on , java.lang.Object value ) throws java.net.SocketException ;

Target:
void socketSetOption0 ( int cmd , java.lang.Object value ) throws java.net.SocketException { if ( cmd == ( java.net.SocketOptions.SO_TIMEOUT ) ) { return ; } libcore.io.IoBridge.setSocketOption ( fd , cmd , value ) ; }
Source:
public boolean isSatisfied ( @ com.android.annotations.NonNull com.android.tools.lint.checks.PermissionHolder available ) { return available.hasPermission ( name ) ; }

Target:
public boolean isSatisfied ( @ com.android.annotations.NonNull com.android.tools.lint.checks.PermissionHolder available ) { return ( available.hasPermission ( name ) ) || ( ! ( appliesTo ( available ) ) ) ; }
Source:
public java.io.File getBinaryFile ( ) { assert ( binaryFile ) != null ; return binaryFile ; }

Target:
public java.io.File getBinaryFile ( ) { assert ( binaryFile ) != null ; if ( ( workingDir ) != null ) { return new java.io.File ( workingDir , binaryFile.getPath ( ) ) ; } else { return binaryFile ; } }
Source:
public java.lang.String getCategory ( ) { if ( isDeprecated ( ) ) { return "Deprecated" ; } com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor parent = getParent ( ) ; if ( parent != null ) { return parent.getUiName ( ) ; } return null ; }

Target:
public java.lang.String getCategory ( ) { if ( isDeprecated ( ) ) { return com.android.ide.eclipse.adt.internal.editors.descriptors.TextAttributeDescriptor.DEPRECATED_CATEGORY ; } com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor parent = getParent ( ) ; if ( parent != null ) { return parent.getUiName ( ) ; } return null ; }
Source:
public final java.security.Key doPhase ( java.security.Key key , boolean lastPhase ) throws java.lang.IllegalStateException , java.security.InvalidKeyException { return spiImpl.engineDoPhase ( key , lastPhase ) ; }

Target:
public final java.security.Key doPhase ( java.security.Key key , boolean lastPhase ) throws java.lang.IllegalStateException , java.security.InvalidKeyException { return getSpi ( ) . engineDoPhase ( key , lastPhase ) ; }
Source:
private void removeTransportModeTransform ( android.os.ParcelFileDescriptor pfd , android.net.IpSecTransform transform ) { }

Target:
private void applyTransportModeTransform ( android.os.ParcelFileDescriptor pfd , android.net.IpSecTransform transform ) { try { mService.applyTransportModeTransform ( pfd , transform.getResourceId ( ) ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public boolean containsAll ( java.util.Collection < ? > collection ) { for ( java.lang.Object element : collection ) { if ( ! ( contains ( element ) ) ) { return false ; } } return true ; }

Target:
public boolean contains ( @ javax.annotation.Nullable java.lang.Object element ) { if ( com.google.common.collect.Collections2.safeContains ( unfiltered , element ) ) { @ java.lang.SuppressWarnings ( value = "unchecked" ) E e = ( ( E ) ( element ) ) ; return predicate.apply ( e ) ; } return false ; }
Source:
public void testDecode_NullByteBuffer ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset c = new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; try { c.decode ( null ) ; 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:
protected void doApply ( java.util.zip.ZipFile patchFile , java.io.File toFile ) throws java.io.IOException { }

Target:
protected void doApply ( java.util.zip.ZipFile patchFile , java.io.File backupDir , java.io.File toFile ) throws java.io.IOException { }
Source:
public java.nio.channels.DatagramChannel disconnect ( ) throws java.io.IOException { return null ; }

Target:
public java.net.SocketAddress receive ( java.nio.ByteBuffer arg0 ) throws java.io.IOException { return null ; }
Source:
public void testMatchesIntentWithOneCategoryAndMatcherWithNoCategory ( ) { org.hamcrest.Matcher < android.content.Intent > matcher = android.support.test.espresso.intent.matcher.IntentMatchers.hasAction ( org.hamcrest.Matchers.equalTo ( Intent.ACTION_VIEW ) ) ; assertTrue ( matcher.matches ( new android.content.Intent ( android.content.Intent.ACTION_VIEW , uri ) . addCategory ( "category" ) ) ) ; }

Target:
public void matchesIntentWithOneCategoryAndMatcherWithNoCategory ( ) { org.hamcrest.Matcher < android.content.Intent > matcher = android.support.test.espresso.intent.matcher.IntentMatchers.hasAction ( org.hamcrest.Matchers.equalTo ( Intent.ACTION_VIEW ) ) ; org.junit.Assert.assertTrue ( matcher.matches ( new android.content.Intent ( android.content.Intent.ACTION_VIEW , uri ) . addCategory ( "category" ) ) ) ; }
Source:
java.util.ArrayList < com.android.jack.dx.ssa.SsaBasicBlock > computeSsaBasicBlockList ( ) { resolveBlockIndex ( ) ; resolvePhiIndex ( ) ; resolved = true ; return basicBlocks ; }

Target:
java.util.ArrayList < com.android.jack.dx.ssa.SsaBasicBlock > computeSsaBasicBlockList ( ) { int [ ] labelToIndex = new int [ ( ( maxLabel ) * 3 ) + 10 ] ; resolveBlockIndex ( labelToIndex ) ; resolvePhiIndex ( labelToIndex ) ; resolved = true ; return basicBlocks ; }