auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public boolean isRadioOnForSubscriber ( int subId , java.lang.String callingPackage ) { if ( ! ( com.android.internal.telephony.TelephonyPermissions.checkCallingOrSelfReadPhoneState ( mApp , callingPackage , "isRadioOnForSubscriber" ) ) ) { return false ; } return isRadioOnForSubscriber ( subId ) ; }

Target:
public boolean isRadioOnForSubscriber ( int subId , java.lang.String callingPackage ) { if ( ! ( com.android.internal.telephony.TelephonyPermissions.checkCallingOrSelfReadPhoneState ( mApp , subId , callingPackage , "isRadioOnForSubscriber" ) ) ) { return false ; } return isRadioOnForSubscriber ( subId ) ; }
Source:
public void progress ( android.telephony.mbms.DownloadRequest request , android.telephony.mbms.FileInfo fileInfo , int currentDownloadSize , int fullDownloadSize , int currentDecodedSize , int fullDecodedSize ) { }

Target:
public void progress ( android.telephony.mbms.DownloadRequest request , android.telephony.mbms.FileInfo fileInfo , int currentDownloadSize , int fullDownloadSize , int currentDecodedSize , int fullDecodedSize ) throws android.os.RemoteException { }
Source:
public void await ( java.util.concurrent.CountDownLatch latch ) { try { assertTrue ( latch.await ( jsr166.JSR166TestCase.LONG_DELAY_MS , java.util.concurrent.TimeUnit.MILLISECONDS ) ) ; } catch ( java.lang.Throwable t ) { threadUnexpectedException ( t ) ; } }

Target:
public void await ( java.util.concurrent.CountDownLatch latch ) { try { assertTrue ( latch.await ( jsr166.JSR166TestCase.LONG_DELAY_MS , java.util.concurrent.TimeUnit.MILLISECONDS ) ) ; } catch ( java.lang.Throwable fail ) { threadUnexpectedException ( fail ) ; } }
Source:
public void close ( ) throws android.os.RemoteException { }

Target:
public void close ( ) throws android.os.RemoteException { this . close ( ) ; }
Source:
public UResource.TableSink getOrCreateTableSink ( com.ibm.icu.impl.UResource.Key key , int initialSize ) { unit = com.ibm.icu.util.MeasureUnit.internalGetInstance ( type , key.toString ( ) ) ; patternSink.patterns = null ; return patternSink ; }

Target:
public UResource.TableSink getOrCreateTableSink ( com.ibm.icu.impl.UResource.Key key ) { unit = com.ibm.icu.util.MeasureUnit.internalGetInstance ( type , key.toString ( ) ) ; patternSink.patterns = null ; return patternSink ; }
Source:
protected boolean isModified ( java.io.File toFile ) throws java.io.IOException { return ( myChecksum ) != ( com.intellij.updater.Digester.digestFile ( toFile ) ) ; }

Target:
protected abstract boolean isModified ( java.io.File toFile ) throws java.io.IOException ;
Source:
java.lang.String getStringAttr ( java.lang.String attrName ) ;

Target:
java.lang.String getStringAttr ( java.lang.String uri , java.lang.String attrName ) ;
Source:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVFile file ) throws com.android.sched.util.file.WrongPermissionException { assert ! ( isClosed ( ) ) ; return file.getEncodedFile ( ) . getOutputStream ( ) ; }

Target:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVFile file ) throws com.android.sched.util.file.WrongPermissionException { return openWrite ( file , false ) ; }
Source:
public void testInstanceWithJill ( ) throws java.lang.Exception { com.android.jill.JillTestTools.checkStructureWithJill ( null , null , com.android.jill.JillTestTools.getJackTestsWithJackFolder ( "field/instance005" ) , false ) ; }

Target:
public void testInstanceWithJill ( ) throws java.lang.Exception { com.android.jill.JillTestTools.checkStructureWithJill ( null , com.android.jill.JillTestTools.getJackTestsWithJackFolder ( "field/instance005" ) , false ) ; }
Source:
private static int getUnsignedInt16 ( java.nio.ByteBuffer buffer , int offset ) { return ( buffer.getShort ( offset ) ) & 65535 ; }

Target:
public static int getUnsignedInt16 ( java.nio.ByteBuffer buffer , int offset ) { return ( buffer.getShort ( offset ) ) & 65535 ; }
Source:
public org.eclipse.core.runtime.IPath findResourceFile ( java.lang.String url ) { if ( ! ( url.startsWith ( "@" ) ) ) { return null ; } int typeEnd = url.indexOf ( '/' , 1 ) ; if ( typeEnd == ( - 1 ) ) { return null ; } int nameBegin = typeEnd + 1 ; int typeBegin = 1 ; int colon = url.lastIndexOf ( ':' , typeEnd ) ; boolean isFrameworkResource = false ; if ( colon != ( - 1 ) ) { java.lang.String packageName = url.substring ( typeBegin , colon ) ; if ( "android" . equals ( packageName ) ) { isFrameworkResource = true ; } typeBegin = colon + 1 ; } java.lang.String typeName = url.substring ( typeBegin , typeEnd ) ; com.android.ide.eclipse.adt.internal.resources.ResourceType type = com.android.ide.eclipse.adt.internal.resources.ResourceType.getEnum ( typeName ) ; if ( type == null ) { return null ; } java.lang.String name = url.substring ( nameBegin ) ; return findResourceFile ( type , name , isFrameworkResource ) ; }

Target:
public org.eclipse.core.runtime.IPath findResourceFile ( java.lang.String url ) { if ( ! ( url.startsWith ( "@" ) ) ) { return null ; } int typeEnd = url.indexOf ( '/' , 1 ) ; if ( typeEnd == ( - 1 ) ) { return null ; } int nameBegin = typeEnd + 1 ; int typeBegin = 1 ; int colon = url.lastIndexOf ( ':' , typeEnd ) ; boolean isFrameworkResource = false ; if ( colon != ( - 1 ) ) { java.lang.String packageName = url.substring ( typeBegin , colon ) ; if ( com.android.ide.eclipse.adt.AndroidConstants.ANDROID_PKG.equals ( packageName ) ) { isFrameworkResource = true ; } typeBegin = colon + 1 ; } java.lang.String typeName = url.substring ( typeBegin , typeEnd ) ; com.android.ide.eclipse.adt.internal.resources.ResourceType type = com.android.ide.eclipse.adt.internal.resources.ResourceType.getEnum ( typeName ) ; if ( type == null ) { return null ; } java.lang.String name = url.substring ( nameBegin ) ; return findResourceFile ( type , name , isFrameworkResource ) ; }
Source:
public void remove ( int key ) { delete ( key ) ; }

Target:
public void remove ( long key ) { delete ( key ) ; }
Source:
protected java.lang.String getProperty ( java.util.Properties props , java.lang.String propKey , java.lang.String defaultValue ) { if ( props == null ) { return defaultValue ; } return props.getProperty ( propKey , defaultValue ) ; }

Target:
static java.lang.String getProperty ( java.util.Properties props , java.lang.String propKey , java.lang.String defaultValue ) { if ( props == null ) { return defaultValue ; } return props.getProperty ( propKey , defaultValue ) ; }
Source:
public void throwMakeAccessException ( java.lang.String message , java.lang.Object from ) throws java.lang.IllegalAccessException { message = ( message + ": " ) + ( toString ( ) ) ; if ( from != null ) message += ", from " + from ; throw new java.lang.IllegalAccessException ( message ) ; }

Target:
private void throwMakeAccessException ( java.lang.String message , java.lang.Object from ) throws java.lang.IllegalAccessException { message = ( message + ": " ) + ( toString ( ) ) ; if ( from != null ) message += ", from " + from ; throw new java.lang.IllegalAccessException ( message ) ; }
Source:
private static boolean isResumeRequest ( int from , int to ) { boolean fromPaused = android.telecom.VideoProfile.isPaused ( from ) ; boolean toPaused = android.telecom.VideoProfile.isPaused ( to ) ; return fromPaused && ( ! toPaused ) ; }

Target:
public static boolean isResumeRequest ( int from , int to ) { boolean fromPaused = android.telecom.VideoProfile.isPaused ( from ) ; boolean toPaused = android.telecom.VideoProfile.isPaused ( to ) ; return fromPaused && ( ! toPaused ) ; }
Source:
public static com.android.resources.Density getByIndex ( int index ) { int i = 0 ; for ( com.android.resources.Density value : com.android.resources.Density.values ( ) ) { if ( i == index ) { return value ; } i ++ ; } return null ; }

Target:
public static com.android.resources.Density getByIndex ( int index ) { com.android.resources.Density [ ] values = com.android.resources.Density.values ( ) ; if ( ( index >= 0 ) && ( index < ( values.length ) ) ) { return values [ index ] ; } return null ; }
Source:
public static double DoubleMultiplication ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 7.0 ) ; b = Main.$inline$double ( 3.0 ) ; c = a * b ; return c ; }

Target:
public static double DoubleMultiplication ( ) { double a ; double b ; double c ; a = 7.0 ; b = 3.0 ; c = a * b ; return c ; }
Source:
private static com.android.server.timezone.RulesManagerService create ( android.content.Context context ) { com.android.server.timezone.RulesManagerServiceHelperImpl helper = new com.android.server.timezone.RulesManagerServiceHelperImpl ( context ) ; return new com.android.server.timezone.RulesManagerService ( helper , helper , helper , com.android.server.timezone.PackageTracker.create ( context ) , new libcore.tzdata.update2.TimeZoneDistroInstaller ( com.android.server.timezone.RulesManagerService.TAG , com.android.server.timezone.RulesManagerService.SYSTEM_TZ_DATA_FILE , com.android.server.timezone.RulesManagerService.TZ_DATA_DIR ) ) ; }

Target:
private static com.android.server.timezone.RulesManagerService create ( android.content.Context context ) { com.android.server.timezone.RulesManagerServiceHelperImpl helper = new com.android.server.timezone.RulesManagerServiceHelperImpl ( context ) ; return new com.android.server.timezone.RulesManagerService ( helper , helper , com.android.server.timezone.PackageTracker.create ( context ) , new libcore.tzdata.update2.TimeZoneDistroInstaller ( com.android.server.timezone.RulesManagerService.TAG , com.android.server.timezone.RulesManagerService.SYSTEM_TZ_DATA_FILE , com.android.server.timezone.RulesManagerService.TZ_DATA_DIR ) ) ; }
Source:
public boolean connectAudio ( java.lang.String deviceAddress ) { return mBluetoothHeadset.connectAudio ( ) ; }

Target:
public boolean connectAudio ( ) { return mBluetoothHeadset.connectAudio ( ) ; }
Source:
public static long ShrLongInt ( ) { long lhs = Main.$inline$long ( 9 ) ; int rhs = Main.$inline$int ( 2 ) ; return lhs > > rhs ; }

Target:
public static long ShrLongInt ( ) { long lhs = 9 ; int rhs = 2 ; return lhs > > rhs ; }
Source:
static java.lang.String getFlagName ( com.google.devtools.common.options.OptionDefinition optionDefinition , com.google.devtools.common.options.OptionsData optionsData ) { java.lang.String name = optionDefinition.getOptionName ( ) ; return optionsData.isBooleanField ( optionDefinition ) ? "[no]" + name : name ; }

Target:
static java.lang.String getFlagName ( com.google.devtools.common.options.OptionDefinition optionDefinition ) { java.lang.String name = optionDefinition.getOptionName ( ) ; return optionDefinition.isBooleanField ( ) ? "[no]" + name : name ; }
Source:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; org.mockito.MockitoAnnotations.initMocks ( this ) ; java.lang.System.loadLibrary ( "frameworksnettestsjni" ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { org.mockito.MockitoAnnotations.initMocks ( this ) ; java.lang.System.loadLibrary ( "frameworksnettestsjni" ) ; }
Source:
public void revalidate ( ) { myEditor.resetPaintersWidth ( ) ; super . revalidate ( ) ; }

Target:
public void revalidate ( ) { if ( ( myEditor ) != null ) { myEditor.resetPaintersWidth ( ) ; } super . revalidate ( ) ; }
Source:
public java.lang.Object clone ( ) { try { return ( ( com.ibm.icu.text.DecimalFormatSymbols ) ( super . clone ( ) ) ) ; } catch ( java.lang.CloneNotSupportedException e ) { throw new com.ibm.icu.util.ICUCloneNotSupportedException ( e ) ; } }

Target:
public java.lang.Object clone ( ) { try { return super . clone ( ) ; } catch ( java.lang.CloneNotSupportedException e ) { throw new com.ibm.icu.util.ICUCloneNotSupportedException ( e ) ; } }
Source:
private void exit ( ) { java.lang.System.err.printf ( "myApplied = %s, mySuccessExitCode = %d\n" , myApplied , mySuccessExitCode ) ; java.lang.System.exit ( ( myApplied ? mySuccessExitCode : 0 ) ) ; }

Target:
private void exit ( ) { java.lang.System.exit ( ( myApplied ? mySuccessExitCode : 0 ) ) ; }
Source:
public void compareBouncycastleStructureWithJill ( ) throws java.lang.Exception { com.android.jill.JillTestTools.checkStructureWithJill ( com.android.jill.compile.androidtree.bouncycastle.BouncycastleCompilationTest.BOOTCLASSPATH , null , com.android.jill.compile.androidtree.bouncycastle.BouncycastleCompilationTest.SOURCELIST , false , com.android.jill.compile.androidtree.bouncycastle.BouncycastleCompilationTest.JARJAR_RULES , ( ( com.android.jack.ProguardFlags [ ] ) ( null ) ) ) ; }

Target:
public void compareBouncycastleStructureWithJill ( ) throws java.lang.Exception { com.android.jill.JillTestTools.checkStructureWithJill ( null , com.android.jill.compile.androidtree.bouncycastle.BouncycastleCompilationTest.SOURCELIST , false , com.android.jill.compile.androidtree.bouncycastle.BouncycastleCompilationTest.JARJAR_RULES , ( ( com.android.jack.ProguardFlags [ ] ) ( null ) ) ) ; }
Source:
private static void debugLog ( java.lang.String msg ) { if ( com.android.bluetooth.btservice.PhonePolicy.DBG ) { android.util.Log.d ( com.android.bluetooth.btservice.PhonePolicy.TAG , msg ) ; } }

Target:
private static void debugLog ( java.lang.String msg ) { if ( com.android.bluetooth.btservice.PhonePolicy.DBG ) { android.util.Log.i ( com.android.bluetooth.btservice.PhonePolicy.TAG , msg ) ; } }
Source:
public java.lang.Class < ? > getReturnType ( ) { return artMethod.findOverriddenMethodIfProxy ( ) . getReturnType ( ) ; }

Target:
public java.lang.Class < ? > getReturnType ( ) { return java.lang.Class.findOverriddenMethodIfProxy ( artMethod ) . getReturnType ( ) ; }
Source:
private java.lang.String getParentName ( java.lang.String styleName ) { int index = styleName.lastIndexOf ( '.' ) ; if ( index != ( - 1 ) ) { return styleName.substring ( 0 , index ) ; } return null ; }

Target:
private static java.lang.String getParentName ( java.lang.String styleName ) { int index = styleName.lastIndexOf ( '.' ) ; if ( index != ( - 1 ) ) { return styleName.substring ( 0 , index ) ; } return null ; }
Source:
public java.lang.String getDescription ( ) { return "mock platform target" ; }

Target:
public java.lang.String getDescription ( ) { return getName ( ) ; }
Source:
public void dispose ( ) { super . dispose ( ) ; if ( ( mTabIcon ) != null ) { mTabIcon.dispose ( ) ; mTabIcon = null ; } mJavaElementLabelProvider.dispose ( ) ; }

Target:
public void dispose ( ) { super . dispose ( ) ; mTabIcon = null ; mJavaElementLabelProvider.dispose ( ) ; }
Source:
public void setDescription ( java.lang.String descriptionFormat , java.lang.Object ... args ) { final java.lang.String text = java.lang.String.format ( descriptionFormat , args ) ; mUi.setDescription ( text ) ; }

Target:
public void setDescription ( java.lang.String format , java.lang.Object ... args ) { final java.lang.String text = java.lang.String.format ( format , args ) ; mUi.setDescription ( text ) ; }
Source:
private void assertDhcpErrorCodes ( int expected , int got ) { assertEquals ( java.lang.Integer.toHexString ( expected ) , java.lang.Integer.toHexString ( got ) ) ; }

Target:
private void assertDhcpErrorCodes ( int expected , int got ) { org.junit.Assert.assertEquals ( java.lang.Integer.toHexString ( expected ) , java.lang.Integer.toHexString ( got ) ) ; }
Source:
public void startScan ( java.util.List < android.bluetooth.le.ScanFilter > filters , android.bluetooth.le.ScanSettings settings , final android.bluetooth.le.ScanCallback callback ) { startScan ( filters , settings , callback , null ) ; }

Target:
public void startScan ( java.util.List < android.bluetooth.le.ScanFilter > filters , android.bluetooth.le.ScanSettings settings , final android.bluetooth.le.ScanCallback callback ) { startScan ( filters , settings , null , callback , null ) ; }
Source:
protected void engineUpdate ( byte [ ] b , int off , int len ) throws java.security.SignatureException { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
protected void engineUpdate ( byte [ ] b , int off , int len ) throws java.security.SignatureException { }
Source:
public void setTTYMode ( int ttyMode , android.os.Message onComplete ) { super . setTTYMode ( ttyMode , onComplete ) ; mCT.setTtyMode ( ttyMode ) ; }

Target:
public void setTTYMode ( int ttyMode , android.os.Message onComplete ) { mCT.setTtyMode ( ttyMode ) ; }
Source:
public boolean addUpdatePasspointConfig ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "config" ) org.json.JSONObject config ) throws java.io.IOException , java.security.cert.CertificateException , org.json.JSONException { android.net.wifi.hotspot2.PasspointConfiguration passpointConfig = genWifiPasspointConfig ( config ) ; return mWifi.addOrUpdatePasspointConfiguration ( passpointConfig ) ; }

Target:
public void addUpdatePasspointConfig ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "config" ) org.json.JSONObject config ) throws java.io.IOException , java.security.cert.CertificateException , org.json.JSONException { android.net.wifi.hotspot2.PasspointConfiguration passpointConfig = genWifiPasspointConfig ( config ) ; mWifi.addOrUpdatePasspointConfiguration ( passpointConfig ) ; }
Source:
public final java.lang.String getApplicationProtocol​() { return org.conscrypt.SSLUtils.toProtocolString(ssl.getApplicationProtocol()); }

Target:
public final java.lang.String getApplicationProtocol ( ) { return org.conscrypt.SSLUtils.toProtocolString ( ssl.getApplicationProtocol ( ) ) ; }
Source:
boolean isEmpty ( @ javax.annotation.Nonnull com.android.sched.vfs.ReadZipFS.ZipVDir dir ) { return dir.list ( ) . isEmpty ( ) ; }

Target:
boolean isEmpty ( @ javax.annotation.Nonnull com.android.sched.vfs.ReadZipFS.ZipVDir dir ) { return list ( dir ) . isEmpty ( ) ; }
Source:
public static java.lang.String copyValueOf ( char [ ] data , int offset , int count ) { return java.lang.StringFactory.newStringFromChars ( data , offset , count ) ; }

Target:
public static java.lang.String copyValueOf ( char [ ] data , int offset , int count ) { return new java.lang.String ( data , offset , count ) ; }
Source:
public void setSmsListener ( com.android.ims.internal.IImsSmsListener listener ) { getSmsImplementation ( ) . registerSmsListener ( listener ) ; }

Target:
private void setSmsListener ( com.android.ims.internal.IImsSmsListener listener ) { getSmsImplementation ( ) . registerSmsListener ( listener ) ; }
Source:
public boolean p2pListen ( ) { return doBooleanCommand ( "P2P_LISTEN" ) ; }

Target:
private boolean p2pListen ( ) { return doBooleanCommand ( "P2P_LISTEN" ) ; }
Source:
public void onStreamStateUpdated ( @ android.telephony.mbms.StreamingService.StreamingState int state , @ android.telephony.mbms.StreamingService.StreamingStateChangeReason int reason ) { try { listener.streamStateUpdated ( state , reason ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }

Target:
public void onStreamStateUpdated ( @ android.telephony.mbms.StreamingService.StreamingState int state , @ android.telephony.mbms.StreamingService.StreamingStateChangeReason int reason ) { try { callback.streamStateUpdated ( state , reason ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }
Source:
private void cleanup ( ) { com.android.ddmlib.AndroidDebugBridge.removeDeviceChangeListener ( this ) ; mEmulatorImage.dispose ( ) ; mDeviceImage.dispose ( ) ; mMatchImage.dispose ( ) ; mNoMatchImage.dispose ( ) ; mWarningImage.dispose ( ) ; }

Target:
private void cleanup ( ) { com.android.ddmlib.AndroidDebugBridge.removeDeviceChangeListener ( this ) ; }
Source:
protected void init ( ) throws java.lang.Exception { myCollation = com.ibm.icu.text.Collator.getInstance ( java.util.Locale.GERMAN ) ; if ( ( myCollation ) == null ) { errln ( "ERROR: in creation of collator of GERMAN locale" ) ; } }

Target:
public void init ( ) throws java.lang.Exception { myCollation = com.ibm.icu.text.Collator.getInstance ( java.util.Locale.GERMAN ) ; if ( ( myCollation ) == null ) { errln ( "ERROR: in creation of collator of GERMAN locale" ) ; } }
Source:
public static com.android.jack.Options buildCommandLineArgs ( @ javax.annotation.CheckForNull java.io.File [ ] bootclasspath , @ javax.annotation.CheckForNull java.io.File [ ] classpath , @ javax.annotation.Nonnull java.io.File fileOrSourcelist ) throws java.io.IOException { return com.android.jack.TestTools.buildCommandLineArgs ( bootclasspath , classpath , new java.io.File [ ] { fileOrSourcelist } ) ; }

Target:
public static com.android.jack.Options buildCommandLineArgs ( @ javax.annotation.CheckForNull java.io.File [ ] classpath , @ javax.annotation.Nonnull java.io.File fileOrSourcelist ) throws java.io.IOException { return com.android.jack.TestTools.buildCommandLineArgs ( classpath , new java.io.File [ ] { fileOrSourcelist } ) ; }
Source:
public float getFloat ( ) { if ( ! ( memoryRef.isAccessible ) ) { throw new java.lang.IllegalStateException ( "buffer is inaccessible" ) ; } return getFloat ( ix ( nextGetIndex ( SizeOf.FLOAT ) ) ) ; }

Target:
public final float getFloat ( ) { if ( ! ( memoryRef.isAccessible ) ) { throw new java.lang.IllegalStateException ( "buffer is inaccessible" ) ; } return getFloat ( ix ( nextGetIndex ( SizeOf.FLOAT ) ) ) ; }
Source:
public static final android.os.UserHandle myUserHandle ( ) { return new android.os.UserHandle ( android.os.UserHandle.getUserId ( android.os.Process.myUid ( ) ) ) ; }

Target:
public static android.os.UserHandle myUserHandle ( ) { return android.os.UserHandle.of ( android.os.UserHandle.getUserId ( android.os.Process.myUid ( ) ) ) ; }
Source:
protected sun.util.locale.BaseLocale createObject ( sun.util.locale.BaseLocale.Key key ) { return new sun.util.locale.BaseLocale ( key.lang , key.scrt , key.regn , key.vart ) ; }

Target:
protected sun.util.locale.BaseLocale createObject ( sun.util.locale.BaseLocale.Key key ) { return new sun.util.locale.BaseLocale ( key.lang.get ( ) , key.scrt.get ( ) , key.regn.get ( ) , key.vart.get ( ) ) ; }
Source:
public static dalvik.system.DexFile loadDex ( java.lang.String sourcePathName , java.lang.String outputPathName , int flags ) throws java.io.IOException { return new dalvik.system.DexFile ( sourcePathName , outputPathName , flags ) ; }

Target:
public static dalvik.system.DexFile loadDex ( java.lang.String sourcePathName , java.lang.String outputPathName , int flags ) throws java.io.IOException { return dalvik.system.DexFile.loadDex ( sourcePathName , outputPathName , flags , null ) ; }
Source:
public void endVisit ( org.eclipse.jdt.internal.compiler.ast.QualifiedSuperReference x , org.eclipse.jdt.internal.compiler.lookup.BlockScope scope ) { try { endVisit ( ( ( org.eclipse.jdt.internal.compiler.ast.QualifiedThisReference ) ( x ) ) , scope ) ; } catch ( java.lang.Throwable e ) { throw translateException ( x , e ) ; } }

Target:
public void endVisit ( org.eclipse.jdt.internal.compiler.ast.QualifiedSuperReference x , org.eclipse.jdt.internal.compiler.lookup.BlockScope scope ) { try { endVisit ( ( ( org.eclipse.jdt.internal.compiler.ast.QualifiedThisReference ) ( x ) ) , scope ) ; } catch ( java.lang.RuntimeException e ) { throw translateException ( x , e ) ; } }
Source:
public int lastIndexOf ( int ch ) { return lastIndexOf ( ch , ( ( count ) - 1 ) ) ; }

Target:
public int lastIndexOf ( int ch ) { return lastIndexOf ( ch , ( ( length ( ) ) - 1 ) ) ; }
Source:
public void testBaseResourceSetByCount ( ) throws java.lang.Exception { com.android.builder.resources.ResourceSet resourceSet = com.android.builder.resources.ResourceSetTest.getBaseResourceSet ( ) ; assertEquals ( 23 , resourceSet.getSize ( ) ) ; }

Target:
public void testBaseResourceSetByCount ( ) throws java.lang.Exception { com.android.builder.resources.ResourceSet resourceSet = com.android.builder.resources.ResourceSetTest.getBaseResourceSet ( ) ; assertEquals ( 23 , resourceSet.size ( ) ) ; }
Source:
boolean isEmpty ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVDir dir ) { return list ( dir ) . isEmpty ( ) ; }

Target:
boolean isEmpty ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVDir dir ) { return dir.isEmpty ( ) ; }
Source:
synchronized int nScriptFieldIDCreate ( int sid , int slot ) { validate ( ) ; return rsnScriptFieldIDCreate ( mContext , sid , slot ) ; }

Target:
synchronized long nScriptFieldIDCreate ( long sid , int slot ) { validate ( ) ; return rsnScriptFieldIDCreate ( mContext , sid , slot ) ; }
Source:
public android.view.inputmethod.InputMethod getInternalInputMethod ( ) { return mInputMethod ; }

Target:
public android.view.inputmethod.InputMethod getInternalInputMethod ( ) { return mInputMethod.get ( ) ; }
Source:
public static void openSession ( com.jediterm.terminal.ui.TerminalWidget terminal , com.jediterm.terminal.TtyConnector ttyConnector ) { com.jediterm.terminal.ui.TerminalSession session = terminal.createTerminalSession ( ) ; session.setTtyConnector ( ttyConnector ) ; session.start ( ) ; }

Target:
public static void openSession ( com.jediterm.terminal.ui.TerminalWidget terminal , com.jediterm.terminal.TtyConnector ttyConnector ) { com.jediterm.terminal.ui.TerminalSession session = terminal.createTerminalSession ( ttyConnector ) ; session.start ( ) ; }
Source:
private void appendSspTo ( java.lang.StringBuilder builder ) { if ( ( authority ) != null ) { java.lang.String encodedAuthority = authority.getEncoded ( ) ; if ( encodedAuthority != null ) { builder.append ( "//" ) . append ( encodedAuthority ) ; } } java.lang.String encodedPath = path.getEncoded ( ) ; if ( encodedPath != null ) { builder.append ( encodedPath ) ; } if ( ( ( query ) != null ) && ( ! ( query.isEmpty ( ) ) ) ) { builder.append ( '?' ) . append ( query.getEncoded ( ) ) ; } }

Target:
private void appendSspTo ( java.lang.StringBuilder builder ) { java.lang.String encodedAuthority = authority.getEncoded ( ) ; if ( encodedAuthority != null ) { builder.append ( "//" ) . append ( encodedAuthority ) ; } java.lang.String encodedPath = path.getEncoded ( ) ; if ( encodedPath != null ) { builder.append ( encodedPath ) ; } if ( ! ( query.isEmpty ( ) ) ) { builder.append ( '?' ) . append ( query.getEncoded ( ) ) ; } }
Source:
synchronized android.view.Surface nAllocationGetSurface ( int alloc ) { validate ( ) ; return rsnAllocationGetSurface ( mContext , alloc ) ; }

Target:
synchronized android.view.Surface nAllocationGetSurface ( long alloc ) { validate ( ) ; return rsnAllocationGetSurface ( mContext , alloc ) ; }
Source:
void setState ( int mState ) { com.android.bluetooth.btservice.AdapterProperties.debugLog ( ( "Setting state to " + ( android.bluetooth.BluetoothAdapter.nameForState ( mState ) ) ) ) ; this . mState = mState ; }

Target:
void setState ( int state ) { com.android.bluetooth.btservice.AdapterProperties.debugLog ( ( "Setting state to " + ( android.bluetooth.BluetoothAdapter.nameForState ( state ) ) ) ) ; mState = state ; }
Source:
void setBody ( com.google.mockwebserver.MockResponse response , byte [ ] content , int chunkSize ) { }

Target:
void setBody ( com.google.mockwebserver.MockResponse response , byte [ ] content , int chunkSize ) { response.setBody ( content ) ; }
Source:
public synchronized void setPositiveSuffix ( java.lang.String suffix ) { properties.setPositiveSuffix ( suffix ) ; refreshFormatter ( ) ; }

Target:
public synchronized void setPositiveSuffix ( java.lang.String suffix ) { if ( suffix == null ) { throw new java.lang.NullPointerException ( ) ; } properties.setPositiveSuffix ( suffix ) ; refreshFormatter ( ) ; }
Source:
private static boolean isTerminator ( int ch , int format ) { switch ( ch ) { case - 1 : case '+' : case ',' : return true ; case ';' : case '>' : return format != ( sun.security.x509.AVA.RFC2253 ) ; default : return false ; } }

Target:
private static boolean isTerminator ( int ch , int format ) { switch ( ch ) { case - 1 : case '+' : case ',' : return true ; case ';' : return format != ( sun.security.x509.AVA.RFC2253 ) ; default : return false ; } }
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { super . onReceive ( context , intent ) ; try { synchronized ( this ) { wait ( ) ; } } catch ( java.lang.InterruptedException e ) { throw new java.lang.RuntimeException ( "Got interrupted during wait()" , e ) ; } }

Target:
public synchronized void onReceive ( android.content.Context context , android.content.Intent intent ) { super . onReceive ( context , intent ) ; try { wait ( ) ; } catch ( java.lang.InterruptedException e ) { throw new java.lang.RuntimeException ( "Got interrupted during wait()" , e ) ; } }
Source:
public int getQuickCheck ( int c ) { return 1 ; }

Target:
public abstract int getQuickCheck ( int c ) ;
Source:
protected boolean mustTraceOverridingMethod ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { com.android.jack.analysis.tracer.BaseTracerMarker marker = method.getMarker ( markerClass ) ; if ( marker != null ) { return marker.mustTraceOverridingMethods ( ) ; } return false ; }

Target:
protected boolean mustTraceOverridingMethod ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { synchronized ( method ) { com.android.jack.analysis.tracer.BaseTracerMarker marker = method.getMarker ( markerClass ) ; if ( marker != null ) { return marker.mustTraceOverridingMethods ( ) ; } } return false ; }
Source:
public void traverse ( @ javax.annotation.Nonnull com.android.sched.scheduler.ScheduleInstance < ? super com.android.sched.item.Component > schedule ) throws java.lang.Exception { schedule.process ( this ) ; lhs.traverse ( schedule ) ; for ( com.android.jack.ir.ast.JSsaVariableRef var : rhs ) { var.traverse ( schedule ) ; } }

Target:
public void traverse ( @ javax.annotation.Nonnull com.android.sched.scheduler.ScheduleInstance < ? super com.android.sched.item.Component > schedule ) throws java.lang.Exception { schedule.process ( this ) ; lhs.traverse ( schedule ) ; for ( com.android.jack.ir.ast.JSsaVariableRef var : rhs.values ( ) ) { var.traverse ( schedule ) ; } }
Source:
private static boolean needsToSignIn ( ) { java.util.Map < java.lang.String , com.google.gct.login.CredentialedUser > users = com.google.gct.login.GoogleLogin.getInstance ( ) . getAllUsers ( ) ; return ( users == null ) || ( users.isEmpty ( ) ) ; }

Target:
private static boolean needsToSignIn ( ) { java.util.Map < java.lang.String , com.google.gct.login.CredentialedUser > users = com.google.gct.login.GoogleLogin.getInstance ( ) . getAllUsers ( ) ; return users.isEmpty ( ) ; }
Source:
public void setCookie ( java.lang.String url , java.lang.String value , android.webkit.ValueCallback < java.lang.Boolean > callback ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract void setCookie ( java.lang.String url , java.lang.String value ) ;
Source:
private boolean isCarrierVideoPauseSupported ( ) { android.os.PersistableBundle b = com.android.phone.PhoneGlobals.getInstance ( ) . getCarrierConfigForSubId ( mPhone.getSubId ( ) ) ; return b.getBoolean ( CarrierConfigManager.KEY_SUPPORT_PAUSE_IMS_VIDEO_CALLS_BOOL ) ; }

Target:
private boolean isCarrierVideoPauseSupported ( ) { android.os.PersistableBundle b = com.android.phone.PhoneGlobals.getInstance ( ) . getCarrierConfigForSubId ( mPhone.getSubId ( ) ) ; return ( b != null ) && ( b.getBoolean ( CarrierConfigManager.KEY_SUPPORT_PAUSE_IMS_VIDEO_CALLS_BOOL ) ) ; }
Source:
public java.lang.String toString ( ) { return java.lang.String.format ( ( ( "%0" + ( com.android.tools.rpclib.binary.Handle.SIZE ) ) + "x" ) , new java.math.BigInteger ( mValue ) ) ; }

Target:
public java.lang.String toString ( ) { return java.lang.String.format ( ( ( "%0" + ( ( com.android.tools.rpclib.binary.Handle.SIZE ) * 2 ) ) + "x" ) , new java.math.BigInteger ( mValue ) ) ; }
Source:
public int hashCode ( ) { return ( ( int ) ( ( value ) ^ ( ( value ) > > > 32 ) ) ) ; }

Target:
public static int hashCode ( long value ) { return ( ( int ) ( value ^ ( value > > > 32 ) ) ) ; }
Source:
void setSecondary ( boolean show , java.lang.String name , boolean nameIsNumber , java.lang.String label , java.lang.String providerLabel , android.graphics.drawable.Drawable providerIcon , boolean isConference , boolean canManageConference ) ;

Target:
void setSecondary ( boolean show , java.lang.String name , boolean nameIsNumber , java.lang.String label , java.lang.String providerLabel , boolean isConference ) ;
Source:
private boolean verifyCameraAppDisabled ( ) { android.support.test.uiautomator.UiDevice device = testFramework.getDevice ( ) ; return ( device.hasObject ( android.support.test.uiautomator.By.textContains ( "Camera has been disabled because of security policies" ) ) ) || ( device.hasObject ( android.support.test.uiautomator.By.text ( "Can't connect to the camera." ) ) ) ; }

Target:
private boolean verifyCameraAppDisabled ( ) { return ( device.hasObject ( android.support.test.uiautomator.By.textContains ( "Camera has been disabled because of security policies" ) ) ) || ( device.hasObject ( android.support.test.uiautomator.By.text ( "Can't connect to the camera." ) ) ) ; }
Source:
public void test002a ( ) throws java.lang.Exception { java.io.File jackOutput ; try { jackOutput = runTest002 ( false , null ) ; junit.framework.Assert.fail ( ) ; } catch ( com.android.jack.resource.ResourceImportConflictException e ) { } }

Target:
public void test002a ( ) throws java.lang.Exception { java.io.File jackOutput ; try { jackOutput = runTest002 ( false , null , true ) ; junit.framework.Assert.fail ( ) ; } catch ( com.android.jack.resource.ResourceImportConflictException e ) { } }
Source:
public com.google.gct.testing.GoogleCloudTestingConfiguration clone ( ) { return copy ( "" ) ; }

Target:
public com.google.gct.testing.GoogleCloudTestingConfiguration clone ( ) { return copy ( null ) ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int whichButton ) { dialog.dismiss ( ) ; finish ( ) ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int whichButton ) { dialog.dismiss ( ) ; }
Source:
public void testRunFailed ( java.lang.String errorMessage ) { mRunResult.setRunFailureError ( errorMessage ) ; }

Target:
public void testRunFailed ( java.lang.String errorMessage ) { mRunResult.testRunFailed ( errorMessage ) ; }
Source:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; org.mockito.MockitoAnnotations.initMocks ( this ) ; alwaysFailingMatcher = org.hamcrest.Matchers.nullValue ( android.view.View.class ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { org.mockito.MockitoAnnotations.initMocks ( this ) ; alwaysFailingMatcher = org.hamcrest.Matchers.nullValue ( android.view.View.class ) ; }
Source:
void tearDown ( ) { mNm.cancelAll ( ) ; deleteChannel ( ) ; com.android.cts.verifier.notifications.MockListener.MockListener.getInstance ( ) . resetData ( ) ; }

Target:
protected void tearDown ( ) { mNm.cancelAll ( ) ; deleteChannel ( ) ; if ( ( com.android.cts.verifier.notifications.MockListener.MockListener.getInstance ( ) ) != null ) { com.android.cts.verifier.notifications.MockListener.MockListener.getInstance ( ) . resetData ( ) ; } }
Source:
public boolean canBeForceHidden ( com.android.internal.policy.impl.WindowState win , android.view.WindowManager.LayoutParams attrs ) { switch ( attrs.type ) { case TYPE_STATUS_BAR : case TYPE_NAVIGATION_BAR : case TYPE_WALLPAPER : case TYPE_DREAM : case TYPE_UNIVERSE_BACKGROUND : case TYPE_KEYGUARD : case TYPE_KEYGUARD_SCRIM : return false ; default : return true ; } }

Target:
public boolean canBeForceHidden ( com.android.internal.policy.impl.WindowState win , android.view.WindowManager.LayoutParams attrs ) { switch ( attrs.type ) { case TYPE_STATUS_BAR : case TYPE_NAVIGATION_BAR : case TYPE_WALLPAPER : case TYPE_DREAM : case TYPE_UNIVERSE_BACKGROUND : case TYPE_KEYGUARD_SCRIM : return false ; default : return true ; } }
Source:
private boolean isLowDataExpected ( ) { return ( mIsPowerSaveOn ) || ( ( ( ! ( mIsCharging ) ) && ( ! ( mIsTetheringOn ) ) ) && ( ! ( mIsScreenOn ) ) ) ; }

Target:
private boolean isLowDataExpected ( ) { return ( ( ! ( mIsCharging ) ) && ( ! ( mIsTetheringOn ) ) ) && ( ! ( mIsScreenOn ) ) ; }
Source:
public boolean contains ( java.lang.Object o ) { if ( o == null ) { return false ; } try { return ( unsafeBinarySearch ( o ) ) >= 0 ; } catch ( java.lang.ClassCastException e ) { return false ; } }

Target:
public boolean contains ( java.lang.Object o ) { try { return ( o != null ) && ( ( unsafeBinarySearch ( o ) ) >= 0 ) ; } catch ( java.lang.ClassCastException e ) { return false ; } }
Source:
void setUp ( ) { createChannel ( ) ; sendNotifications ( ) ; status = READY ; delay ( ) ; }

Target:
void setUp ( ) { createChannel ( ) ; sendNotifications ( ) ; status = READY ; }
Source:
private boolean isDialerRingingEnabled ( ) { boolean enabledFlag = ( ( isDialerRingingEnabledForTesting ) != null ) ? isDialerRingingEnabledForTesting : com.android.incallui.ringtone.DialerRingtoneManager.IS_DIALER_RINGING_ENABLED ; return ( ( android.os.Build.VERSION.SDK_INT ) >= ( android.os.Build.VERSION_CODES.N ) ) && enabledFlag ; }

Target:
private boolean isDialerRingingEnabled ( ) { return ( isDialerRingingEnabledForTesting ) != null ? isDialerRingingEnabledForTesting : com.android.incallui.ringtone.DialerRingtoneManager.IS_DIALER_RINGING_ENABLED ; }
Source:
public void removeForward ( int localPort , int remotePort ) throws com.android.ddmlib.AdbCommandRejectedException , com.android.ddmlib.TimeoutException , java.io.IOException ;

Target:
void removeForward ( int localPort , int remotePort ) throws com.android.ddmlib.AdbCommandRejectedException , com.android.ddmlib.TimeoutException , java.io.IOException ;
Source:
public static double $noinline$Div2 ( double arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg / 2.0 ; }

Target:
public static double $noinline$Div2 ( double arg ) { return arg / 2.0 ; }
Source:
synchronized void nScriptGroupSetInput ( int group , int kernel , int alloc ) { validate ( ) ; rsnScriptGroupSetInput ( mContext , group , kernel , alloc ) ; }

Target:
synchronized void nScriptGroupSetInput ( long group , long kernel , long alloc ) { validate ( ) ; rsnScriptGroupSetInput ( mContext , group , kernel , alloc ) ; }
Source:
public static int ThreeBlocks ( boolean x , boolean y ) { return x ? 1 : y ? 2 : 3 ; }

Target:
public static int ThreeBlocks ( boolean x , boolean y ) { if ( x ) { return 1 ; } else if ( y ) { return 2 ; } else { return 3 ; } }
Source:
synchronized void nMeshGetIndices ( long id , int [ ] idxIds , int [ ] primitives , int vtxIdCount ) { validate ( ) ; rsnMeshGetIndices ( mContext , id , idxIds , primitives , vtxIdCount ) ; }

Target:
synchronized void nMeshGetIndices ( long id , long [ ] idxIds , int [ ] primitives , int vtxIdCount ) { validate ( ) ; rsnMeshGetIndices ( mContext , id , idxIds , primitives , vtxIdCount ) ; }
Source:
private java.lang.String getString ( java.lang.StringBuilder stringAccumulator ) { return stringAccumulator.toString ( ) . trim ( ) ; }

Target:
private static java.lang.String getString ( java.lang.StringBuilder s ) { return s.toString ( ) . trim ( ) ; }
Source:
public void run ( ) { }

Target:
public short run ( ) { return 0 ; }
Source:
public static android.net.Uri [ ] getPrivateDnsSettingsUris ( ) { final android.net.Uri [ ] uris = new android.net.Uri [ 2 ] ; uris [ 0 ] = Settings.Global.getUriFor ( android.provider.Settings.Global.PRIVATE_DNS_MODE ) ; uris [ 1 ] = Settings.Global.getUriFor ( android.provider.Settings.Global.PRIVATE_DNS_SPECIFIER ) ; return uris ; }

Target:
public static android.net.Uri [ ] getPrivateDnsSettingsUris ( ) { return new android.net.Uri [ ] { Settings.Global.getUriFor ( android.provider.Settings.Global.PRIVATE_DNS_MODE ) , Settings.Global.getUriFor ( android.provider.Settings.Global.PRIVATE_DNS_SPECIFIER ) } ; }
Source:
protected synchronized int getCurrentMergerIdx ( ) { return currentMergerIdx ; }

Target:
private synchronized int getCurrentMergerIdx ( ) { return currentMergerIdx ; }
Source:
public void createTest ( com.android.rs.imagejb.Resources res ) { mScript = new com.android.rs.imagejb.ScriptC_greyscale ( mRS , res , R.raw.greyscale ) ; }

Target:
public void createTest ( com.android.rs.imagejb.Resources res ) { mScript = new com.android.rs.imagejb.ScriptC_greyscale ( mRS ) ; }
Source:
public void testNotification2 ( ) throws java.lang.Exception { checkGraphic ( "ic_stat_1" , 9 , "notification-v9+" , 6 ) ; }

Target:
public void testNotification2 ( ) throws java.lang.Exception { checkGraphic ( "ic_stat_1" , 9 , "notification-v9+" , 8 ) ; }
Source:
protected void computeAttributeValues ( java.util.List < org.eclipse.jface.text.contentassist.ICompletionProposal > proposals , int offset , java.lang.String parentTagName , java.lang.String attributeName , org.w3c.dom.Node node , java.lang.String wordPrefix , boolean skipEndTag , int replaceLength ) { }

Target:
protected boolean computeAttributeValues ( java.util.List < org.eclipse.jface.text.contentassist.ICompletionProposal > proposals , int offset , java.lang.String parentTagName , java.lang.String attributeName , org.w3c.dom.Node node , java.lang.String wordPrefix , boolean skipEndTag , int replaceLength ) { return false ; }
Source:
static void native_addPath ( int nPath , int src ) { android.graphics.Path_Delegate.addPath ( nPath , src , null ) ; }

Target:
static void native_addPath ( long nPath , int src ) { android.graphics.Path_Delegate.addPath ( nPath , src , null ) ; }
Source:
public void disableScoring ( ) { if ( ( mNetworkScorerAppManager.isCallerActiveScorer ( getCallingUid ( ) ) ) || ( isCallerSystemUid ( ) ) ) { } else { throw new java.lang.SecurityException ( "Caller is neither the active scorer nor the scorer manager." ) ; } }

Target:
public void disableScoring ( ) { if ( ( isCallerActiveScorer ( getCallingUid ( ) ) ) || ( isCallerSystemUid ( ) ) ) { } else { throw new java.lang.SecurityException ( "Caller is neither the active scorer nor the scorer manager." ) ; } }
Source:
public static void setUpClassOnlyOnce ( ) throws java.lang.Exception { com.android.bluetooth.hfp.HeadsetStateMachineTest.sAdapterService = mock ( com.android.bluetooth.btservice.AdapterService.class ) ; java.lang.reflect.Method method = com.android.bluetooth.btservice.AdapterService.class . getDeclaredMethod ( "setAdapterService" , com.android.bluetooth.btservice.AdapterService.class ) ; method.setAccessible ( true ) ; method.invoke ( com.android.bluetooth.hfp.HeadsetStateMachineTest.sAdapterService , com.android.bluetooth.hfp.HeadsetStateMachineTest.sAdapterService ) ; }

Target:
public static void setUpClassOnlyOnce ( ) throws java.lang.Exception { com.android.bluetooth.hfp.HeadsetStateMachineTest.sAdapterService = mock ( com.android.bluetooth.btservice.AdapterService.class ) ; java.lang.reflect.Method method = com.android.bluetooth.btservice.AdapterService.class . getDeclaredMethod ( "setAdapterService" , com.android.bluetooth.btservice.AdapterService.class ) ; method.setAccessible ( true ) ; method.invoke ( null , com.android.bluetooth.hfp.HeadsetStateMachineTest.sAdapterService ) ; }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod x ) { endVisit ( ( ( com.android.jack.ir.ast.JNode ) ( x ) ) ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { endVisit ( ( ( com.android.jack.ir.ast.JNode ) ( method ) ) ) ; }
Source:
private void writeCharacteristic ( java.lang.String writeValue ) { android.bluetooth.BluetoothGattCharacteristic characteristic = getCharacteristic ( com.android.cts.verifier.bluetooth.BleClientService.CHARACTERISTIC_UUID ) ; if ( characteristic == null ) return ; characteristic.setValue ( writeValue ) ; mBluetoothGatt.writeCharacteristic ( characteristic ) ; }

Target:
private void writeCharacteristic ( android.bluetooth.BluetoothGattCharacteristic characteristic , java.lang.String writeValue ) { if ( characteristic != null ) { characteristic.setValue ( writeValue ) ; mBluetoothGatt.writeCharacteristic ( characteristic ) ; } }
Source:
public void setImageUrl ( java.lang.String url , com.android.volley.toolbox.ImageLoader imageLoader ) { mUrl = url ; mImageLoader = imageLoader ; loadImageIfNecessary ( ) ; }

Target:
public void setImageUrl ( java.lang.String url , com.android.volley.toolbox.ImageLoader imageLoader ) { mUrl = url ; mImageLoader = imageLoader ; loadImageIfNecessary ( false ) ; }
Source:
public boolean cleanup ( ) { if ( com.android.bluetooth.mapclient.MapClientService.DBG ) { android.util.Log.d ( com.android.bluetooth.mapclient.MapClientService.TAG , "cleanup()" ) ; } return true ; }

Target:
protected void cleanup ( ) { if ( com.android.bluetooth.mapclient.MapClientService.DBG ) { android.util.Log.d ( com.android.bluetooth.mapclient.MapClientService.TAG , "cleanup()" ) ; } }
Source:
public void setUiTTYMode ( int sessionId , int uiTtyMode , android.os.Message onComplete ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; getServiceInterface ( mBinder ) . setUiTTYMode ( mSlotId , mSupportedFeature , sessionId , uiTtyMode , onComplete ) ; } }

Target:
public void setUiTTYMode ( int uiTtyMode , android.os.Message onComplete ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; getServiceInterface ( mBinder ) . setUiTTYMode ( mSlotId , mSupportedFeature , uiTtyMode , onComplete ) ; } }
Source:
private static boolean supportsValidation ( javax.xml.parsers.SAXParserFactory spf ) { try { spf.getFeature ( "http://xml.org/sax/features/validation" ) ; return true ; } catch ( java.lang.Exception ex ) { return false ; } }

Target:
private static boolean supportsValidation ( javax.xml.parsers.SAXParserFactory spf ) { try { return spf.getFeature ( "http://xml.org/sax/features/validation" ) ; } catch ( java.lang.Exception ex ) { return false ; } }
Source:
private void saveNitzTime ( long time ) { mDeviceState.setNitzTimeProperty ( time ) ; mSavedTime = time ; mSavedAtTime = mDeviceState.elapsedRealtime ( ) ; mNitzUpdatedTime = true ; }

Target:
private void saveNitzTime ( long time ) { mSavedTime = time ; mSavedAtTime = mDeviceState.elapsedRealtime ( ) ; mNitzUpdatedTime = true ; }
Source:
private static int checkDunRequired ( android.content.Context ctx ) { final android.telephony.TelephonyManager tm = ( ( android.telephony.TelephonyManager ) ( ctx.getSystemService ( android.content.Context.TELEPHONY_SERVICE ) ) ) ; return tm != null ? tm.getTetherApnRequired ( ) : com.android.server.connectivity.tethering.TetheringConfiguration.DUN_UNSPECIFIED ; }

Target:
public static int checkDunRequired ( android.content.Context ctx ) { final android.telephony.TelephonyManager tm = ( ( android.telephony.TelephonyManager ) ( ctx.getSystemService ( android.content.Context.TELEPHONY_SERVICE ) ) ) ; return tm != null ? tm.getTetherApnRequired ( ) : com.android.server.connectivity.tethering.TetheringConfiguration.DUN_UNSPECIFIED ; }
Source:
void start ( ) { com.android.sched.util.log.tracer.probe.HeapAllocationProbe.ensureInstall ( ) ; for ( int i = 0 ; i < ( nb ) ; i ++ ) { probes [ i ] . start ( ) ; } com.android.sched.util.log.tracer.ProbeManager.enable.set ( java.lang.Boolean.TRUE ) ; }

Target:
void start ( ) { for ( int i = 0 ; i < ( nb ) ; i ++ ) { probes [ i ] . start ( ) ; } com.android.sched.util.log.tracer.ProbeManager.enable.set ( java.lang.Boolean.TRUE ) ; }
Source:
public java.lang.Object compose ( int codepoint , java.lang.String string , java.lang.Object a , java.lang.Object b ) { return ( ( a.toString ( ) ) + "_" ) + ( b.toString ( ) ) ; }

Target:
public java.lang.String compose ( int codepoint , java.lang.String string , java.lang.String a , java.lang.String b ) { return ( ( a.toString ( ) ) + "_" ) + ( b.toString ( ) ) ; }
Source:
public com.android.internal.telephony.Connection dial ( java.lang.String dialString , com.android.internal.telephony.UUSInfo uusInfo , int videoState , android.os.Bundle intentExtras ) throws com.android.internal.telephony.CallStateException { return dialInternal ( dialString , videoState , intentExtras ) ; }

Target:
public com.android.internal.telephony.Connection dial ( java.lang.String dialString , int videoState ) throws com.android.internal.telephony.CallStateException { return dialInternal ( dialString , videoState , null , null ) ; }