id
int64
0
46.7k
buggy
stringlengths
22
390
fixed
stringlengths
14
367
1,500
protected void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> TYPE_2 . METHOD_2 ( VAR_1 ) ;</BUG> }
protected void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 . METHOD_1 ( VAR_1 ) ; }
1,501
private synchronized void METHOD_1 ( ) { <BUG> VAR_1 = new TYPE_1 ( this ) . METHOD_2 ( this ) . METHOD_3 ( this ) . METHOD_4 ( VAR_2 ) . METHOD_4 ( VAR_3 ) . METHOD_5 ( this , this ) . build ( ) ;</BUG> }
private synchronized void METHOD_1 ( ) { VAR_1 = new TYPE_1 ( this ) . METHOD_2 ( this ) . METHOD_3 ( this ) . METHOD_4 ( VAR_2 ) . METHOD_5 ( this , this ) . build ( ) ; }
1,502
<BUG>public void METHOD_1 ( java.lang.String date , TYPE_1 < java.util.List < TYPE_2 > > VAR_1 ) ;</BUG>
void METHOD_1 ( java.lang.String date , TYPE_1 < java.util.List < TYPE_2 > > VAR_1 ) ;
1,503
public void METHOD_1 ( ) { VAR_1 . METHOD_1 ( ) ; if ( ( this . VAR_2 ) != null ) TYPE_1 . METHOD_2 ( ) . METHOD_3 ( this ) ; <BUG> super . METHOD_1 ( ) ;</BUG> }
public void METHOD_1 ( ) { super . METHOD_1 ( ) ; VAR_1 . METHOD_1 ( ) ; if ( ( this . VAR_2 ) != null ) TYPE_1 . METHOD_2 ( ) . METHOD_3 ( this ) ; }
1,504
protected void METHOD_1 ( TYPE_1 target , boolean b ) { <BUG> VAR_1 = target ;</BUG> }
protected void METHOD_1 ( TYPE_1 target , boolean b ) { }
1,505
public static void METHOD_1 ( java.lang.String className , java.lang.String VAR_1 ) { VAR_2 . METHOD_2 ( ( ( ( STRING_1 + STRING_2 ) + VAR_1 ) + STRING_3 ) ) ; <BUG> VAR_3 . METHOD_2 ( ( ( className + STRING_4 ) + VAR_1 ) ) ;</BUG> }
public static void METHOD_1 ( java.lang.String className , java.lang.String VAR_1 ) { VAR_3 . METHOD_2 ( ( ( className + STRING_4 ) + VAR_1 ) ) ; VAR_2 . METHOD_2 ( ( ( ( STRING_1 + STRING_2 ) + VAR_1 ) + STRING_3 ) ) ; }
1,506
public void METHOD_1 ( TYPE_1 VAR_1 , java.util.Collection < TYPE_2 > VAR_2 ) { for ( TYPE_3 VAR_3 : VAR_4 . METHOD_2 ( ) ) { VAR_3 . METHOD_3 ( VAR_1 , VAR_2 ) ; } <BUG> VAR_1 . METHOD_4 ( ) ;</BUG> }
public void METHOD_1 ( TYPE_1 VAR_1 , java.util.Collection < TYPE_2 > VAR_2 ) { VAR_1 . METHOD_4 ( ) ; for ( TYPE_3 VAR_3 : VAR_4 . METHOD_2 ( ) ) { VAR_3 . METHOD_3 ( VAR_1 , VAR_2 ) ; } }
1,507
<BUG>public void METHOD_1 ( long VAR_1 ) throws java.io.IOException {int VAR_2 = METHOD_2 ( VAR_3 , VAR_1 ) ;if ( VAR_2 != 0 ) {throw new java.io.IOException ( ) ;BUG> }</BUG></BUG> }
private static native int METHOD_2 ( long handle , long VAR_1 ) ;
1,508
protected int METHOD_1 ( int VAR_1 , TYPE_1 VAR_2 , int VAR_3 ) { <BUG> return TYPE_2 . METHOD_1 ( VAR_1 , TYPE_3 . METHOD_2 ( VAR_2 ) , TYPE_3 . METHOD_3 ( VAR_2 ) , VAR_3 ) ;</BUG> }
protected int METHOD_1 ( int VAR_1 , TYPE_1 VAR_2 , int VAR_3 ) { return ( TYPE_2 . METHOD_1 ( VAR_1 , TYPE_3 . METHOD_2 ( VAR_2 ) , TYPE_3 . METHOD_3 ( VAR_2 ) , VAR_3 ) ) - 1 ; }
1,509
public java.util.Map < java.lang.String , java.lang.String > METHOD_1 ( ) { <BUG> METHOD_2 ( ) ;</BUG> return VAR_1 ; }
public java.util.Map < java.lang.String , java.lang.String > METHOD_1 ( ) { return VAR_1 ; }
1,510
public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( ) . METHOD_3 ( STRING_1 , STRING_2 ) ; TYPE_2 . METHOD_2 ( ) . METHOD_4 ( STRING_1 ) ; <BUG> assertEquals ( INT_1 , TYPE_2 . METHOD_2 ( ) . METHOD_5 ( ) . size ( ) ) ;</BUG> }
public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( ) . METHOD_3 ( STRING_1 , STRING_2 ) ; TYPE_2 . METHOD_2 ( ) . METHOD_4 ( STRING_1 ) ; }
1,511
private boolean METHOD_1 ( ) { <BUG> TYPE_1 VAR_1 = METHOD_2 ( ) ;</BUG> METHOD_3 ( VAR_2 , STRING_1 ) ; METHOD_3 ( VAR_3 , STRING_2 ) ; VAR_1 . METHOD_4 ( VAR_4 ) ; return true ; }
private boolean METHOD_1 ( ) { TYPE_1 VAR_1 = b . METHOD_2 ( ) ; METHOD_3 ( VAR_2 , STRING_1 ) ; METHOD_3 ( VAR_3 , STRING_2 ) ; VAR_1 . METHOD_4 ( VAR_4 ) ; return true ; }
1,512
<BUG>protected void METHOD_1 ( java.util.Set < java.lang.Object > VAR_1 ) {</BUG> }
protected void METHOD_1 ( java.util.Set < java.lang.Object > p ) { }
1,513
public java.lang.String METHOD_1 ( ) { <BUG> VAR_1 = STRING_1 + ( ( STRING_2 + STRING_3 ) + STRING_4 ) ;</BUG> return VAR_1 ; }
public java.lang.String METHOD_1 ( ) { return VAR_1 ; }
1,514
public void METHOD_1 ( ) { java.util.List < TYPE_1 > VAR_1 = VAR_2 . METHOD_2 ( VAR_3 ) ; if ( VAR_1 == null ) { METHOD_3 ( ) ; } METHOD_4 ( VAR_1 ) ; }
public void METHOD_1 ( ) { java.util.List < TYPE_1 > VAR_1 = VAR_2 . METHOD_2 ( VAR_3 ) ; if ( VAR_1 == null ) { METHOD_3 ( ) ; } else { METHOD_4 ( VAR_1 ) ; } }
1,515
public void METHOD_1 ( ) { int VAR_1 = 0 ; for ( java.lang.String [ ] [ ] VAR_2 : VAR_3 ) { METHOD_2 ( STRING_1 ) ; VAR_1 += METHOD_1 ( VAR_2 ) ; } <BUG> TYPE_1 . assertEquals ( STRING_2 , 1 , VAR_1 ) ;</BUG> }
public void METHOD_1 ( ) { int VAR_1 = 0 ; for ( java.lang.String [ ] [ ] VAR_2 : VAR_3 ) { METHOD_2 ( STRING_1 ) ; VAR_1 += METHOD_1 ( VAR_2 ) ; } assertEquals ( STRING_2 , 1 , VAR_1 ) ; }
1,516
protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; <BUG> TYPE_2 . i ( VAR_2 , STRING_1 ) ;</BUG> METHOD_2 ( VAR_3 ) ; METHOD_3 ( ) ; METHOD_4 ( ) ; METHOD_5 ( ) ; }
protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( VAR_3 ) ; METHOD_3 ( ) ; METHOD_4 ( ) ; METHOD_5 ( ) ; }
1,517
public void METHOD_1 ( int VAR_1 , int VAR_2 ) { TYPE_1 . assertThat ( VAR_1 ) . METHOD_2 ( VAR_2 ) ; <BUG> throw new TYPE_2 ( STRING_1 ) ;</BUG> }
public void METHOD_1 ( int VAR_1 , int VAR_2 ) { TYPE_1 . assertThat ( VAR_1 ) . METHOD_2 ( VAR_2 ) ; }
1,518
<BUG>public void METHOD_1 ( boolean VAR_1 , TYPE_1 VAR_2 ) {if ( VAR_1 ) {VAR_2 . METHOD_2 ( ) ;}</BUG> }
public void METHOD_1 ( boolean b , TYPE_1 VAR_2 ) { }
1,519
<BUG>public double METHOD_1 ( double value ) {</BUG> return ( value * ( VAR_1 ) ) / INT_1 ; }
public static double METHOD_1 ( double value ) { return ( value * ( VAR_1 ) ) / INT_1 ; }
1,520
public static java.lang.String METHOD_1 ( java.lang.String key ) { <BUG> TYPE_1 . METHOD_2 ( STRING_1 , ( STRING_2 + ( TYPE_2 . METHOD_3 ( ) . getString ( key , STRING_3 ) ) ) ) ;</BUG> return TYPE_2 . METHOD_3 ( ) . getString ( key , STRING_3 ) ; }
public static java.lang.String METHOD_1 ( java.lang.String key ) { return TYPE_2 . METHOD_3 ( ) . getString ( key , STRING_3 ) ; }
1,521
public void METHOD_1 ( TYPE_1 VAR_1 , int id ) { <BUG> ( ( TYPE_2 ) ( getActivity ( ) ) ) . VAR_2 = ! ( ( ( TYPE_2 ) ( getActivity ( ) ) ) . VAR_2 ) ;</BUG> }
public void METHOD_1 ( TYPE_1 VAR_1 , int id ) { ( ( TYPE_2 ) ( getActivity ( ) ) ) . VAR_2 = false ; }
1,522
public TYPE_1 execute ( ) { VAR_1 = ( VAR_2 ) < ( - ( TYPE_2 . METHOD_1 ( VAR_3 , VAR_4 ) ) ) ; <BUG> TYPE_3 . METHOD_2 ( STRING_1 , VAR_2 , VAR_3 ) ;</BUG> VAR_3 = - ( VAR_3 ) ; { } }
public TYPE_1 execute ( ) { VAR_1 = ( VAR_2 ) < ( - ( TYPE_2 . METHOD_1 ( VAR_3 , VAR_4 ) ) ) ; VAR_3 = - ( VAR_3 ) ; { } }
1,523
public void METHOD_1 ( java.util.List < TYPE_1 > VAR_1 , java.util.List < TYPE_2 > VAR_2 , TYPE_3 VAR_3 , TYPE_1 VAR_4 , boolean VAR_5 ) throws TYPE_4 , TYPE_5 { <BUG> METHOD_2 ( VAR_1 , VAR_2 , VAR_3 , VAR_4 , VAR_5 , false ) ;</BUG> }
public void METHOD_1 ( java.util.List < TYPE_1 > VAR_1 , java.util.List < TYPE_2 > VAR_2 , TYPE_3 VAR_3 , TYPE_1 VAR_4 , boolean VAR_5 ) throws TYPE_4 , TYPE_5 { METHOD_2 ( VAR_1 , VAR_2 , VAR_3 , VAR_5 , false ) ; }
1,524
public void METHOD_1 ( long position ) { this . position = position ; METHOD_2 ( METHOD_3 ( ) ) ; }
public void METHOD_1 ( long position ) { this . position = position ; METHOD_2 ( METHOD_3 ( ) ) ; update ( ) ; }
1,525
public void METHOD_1 ( boolean VAR_1 ) { <BUG> if ( VAR_1 = true ) {</BUG> java.lang.System.out.println ( STRING_1 ) ; } else { java.lang.System.out.println ( STRING_2 ) ; } }
public void METHOD_1 ( boolean VAR_1 ) { if ( VAR_1 == false ) { java.lang.System.out.println ( STRING_1 ) ; } else { java.lang.System.out.println ( STRING_2 ) ; } }
1,526
protected TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , java.lang.String VAR_2 , TYPE_3 VAR_3 ) throws TYPE_4 { TYPE_5 VAR_4 = new TYPE_5 ( STRING_1 ) ; <BUG> return new TYPE_1 ( VAR_4 , VAR_4 ) ;</BUG> }
protected TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , java.lang.String VAR_2 , TYPE_3 VAR_3 ) throws TYPE_4 { TYPE_5 VAR_4 = new TYPE_5 ( STRING_1 ) ; return new TYPE_1 ( VAR_4 , VAR_4 , this , VAR_3 ) ; }
1,527
public void METHOD_1 ( int VAR_1 ) { android.view.View view = getView ( ) ; if ( view == null ) return ; <BUG> ( ( TYPE_1 ) ( view . METHOD_2 ( VAR_2 ) ) ) . setText ( VAR_1 ) ;</BUG> }
public void METHOD_1 ( int VAR_1 ) { android.view.View view = getView ( ) ; if ( view == null ) return ; }
1,528
protected void init ( ) { <BUG> VAR_1 . METHOD_1 ( new TYPE_1 ( ) ) ;VAR_1 . METHOD_2 ( ) ;</BUG> }
protected void init ( ) { }
1,529
public void METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 time , int VAR_2 , int VAR_3 , java.lang.String VAR_4 , TYPE_2 startTime , TYPE_2 endTime ) { <BUG> VAR_5 . METHOD_1 ( VAR_1 , time , VAR_2 , VAR_3 , VAR_4 , startTime , endTime ) ;</BUG> }
public void METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 time , int VAR_2 , int VAR_3 , java.lang.String VAR_4 , TYPE_2 startTime , TYPE_2 endTime ) { VAR_5 . METHOD_1 ( VAR_1 , time , VAR_3 , VAR_4 , startTime , endTime ) ; }
1,530
<BUG>public void METHOD_1 ( java.lang.String file ) {</BUG> this . VAR_1 = new TYPE_1 ( ) . METHOD_2 ( ) ; }
public void METHOD_1 ( ) { this . VAR_1 = new TYPE_1 ( ) . METHOD_2 ( ) ; }
1,531
public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( STRING_1 , STRING_2 ) ; TYPE_2 . METHOD_3 ( ) ; if ( VAR_1 ) { } super . METHOD_1 ( ) ; <BUG> VAR_2 . METHOD_4 ( ) ;</BUG> }
public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( STRING_1 , STRING_2 ) ; TYPE_2 . METHOD_3 ( ) ; if ( VAR_1 ) { } VAR_2 . METHOD_4 ( ) ; super . METHOD_1 ( ) ; }
1,532
public void METHOD_1 ( java.lang.String parameters ) { parameters = TYPE_1 . METHOD_2 ( parameters ) ; METHOD_3 ( ( parameters != null ? new TYPE_2 ( parameters ) : null ) ) ; }
public void METHOD_1 ( java.lang.String parameters ) { parameters = TYPE_1 . METHOD_2 ( parameters ) ; METHOD_3 ( ( parameters != null ? new TYPE_2 ( parameters ) : null ) ) ; this . parameters = null ; }
1,533
protected int METHOD_1 ( ) { int VAR_1 = super . METHOD_1 ( ) ; int VAR_2 = METHOD_2 ( this . VAR_3 ) ; return VAR_2 < VAR_1 ? VAR_2 : VAR_1 ; }
protected int METHOD_1 ( ) { int VAR_1 = super . METHOD_1 ( ) ; int VAR_2 = METHOD_2 ( this . VAR_3 ) ; if ( VAR_1 <= 0 ) { return VAR_2 ; } return VAR_2 < VAR_1 ? VAR_2 : VAR_1 ; }
1,534
public static TYPE_1 METHOD_1 ( ) { <BUG> TYPE_1 VAR_1 = TYPE_2 . METHOD_1 ( ) ;</BUG> VAR_1 . METHOD_2 ( VAR_2 ) ; VAR_1 . METHOD_3 ( VAR_3 ) ; VAR_1 . METHOD_4 ( ) . METHOD_5 ( new TYPE_3 ( ) ) ; return VAR_1 ; }
public static TYPE_1 METHOD_1 ( ) { TYPE_1 VAR_1 = new TYPE_1 ( ) ; VAR_1 . METHOD_2 ( VAR_2 ) ; VAR_1 . METHOD_3 ( VAR_3 ) ; VAR_1 . METHOD_4 ( ) . METHOD_5 ( new TYPE_3 ( ) ) ; return VAR_1 ; }
1,535
public TYPE_1 METHOD_1 ( java.lang.String label ) { METHOD_2 ( ) ; <BUG> TYPE_1 b = new TYPE_1 ( getContext ( ) ) ;</BUG> b . setText ( label ) ; return b ; }
public TYPE_1 METHOD_1 ( java.lang.String label ) { METHOD_2 ( ) ; TYPE_1 b = new TYPE_1 ( getActivity ( ) ) ; b . setText ( label ) ; return b ; }
1,536
public boolean METHOD_1 ( TYPE_1 VAR_1 ) { if ( null == VAR_1 ) return true ; <BUG> TYPE_2 < TYPE_1 > key = METHOD_2 ( VAR_1 ) ;</BUG> if ( null == key ) return true ; <BUG> else return METHOD_3 ( key ) ;</BUG> }
public boolean METHOD_1 ( TYPE_1 VAR_1 ) { if ( null == VAR_1 ) return true ; TYPE_2 < TYPE_1 > key = this . METHOD_2 ( VAR_1 ) ; if ( null == key ) return true ; else return this . METHOD_3 ( key ) ; }
1,537
public void METHOD_1 ( android.view.View view ) { int VAR_1 = METHOD_2 ( ) ; if ( VAR_1 != 0 ) { <BUG> VAR_2 . METHOD_3 ( VAR_1 ) ;</BUG> } }
public void METHOD_1 ( android.view.View view ) { int VAR_1 = METHOD_2 ( ) ; if ( VAR_1 != 0 ) { VAR_2 . METHOD_3 ( ( VAR_1 - 1 ) ) ; } }
1,538
public void METHOD_1 ( java.lang.String VAR_1 , TYPE_1 < TYPE_2 > VAR_2 ) { <BUG> VAR_3 . put ( VAR_1 , ( ( TYPE_3 < TYPE_2 > ) ( VAR_2 ) ) ) ;</BUG> }
public void METHOD_1 ( java.lang.String VAR_1 , TYPE_1 < TYPE_2 > VAR_2 ) { VAR_3 . put ( VAR_1 , VAR_2 ) ; }
1,539
public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 = VAR_1 ; <BUG> VAR_2 . METHOD_2 ( VAR_3 ) ;</BUG> }
public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 = VAR_1 ; }
1,540
private TYPE_1 METHOD_1 ( ) { if ( ( src ) == null ) return null ; TYPE_1 item = METHOD_2 ( ) ; METHOD_3 ( ) ; <BUG> if ( METHOD_4 ( ) ) return null ;</BUG> METHOD_5 ( ) ; return item ; }
private TYPE_1 METHOD_1 ( ) { if ( ( src ) == null ) return null ; TYPE_1 item = METHOD_2 ( ) ; METHOD_3 ( ) ; METHOD_5 ( ) ; return item ; }
1,541
public java.lang.Boolean METHOD_1 ( int VAR_1 , int VAR_2 ) { int VAR_3 = VAR_1 * VAR_2 ; <BUG> return ( METHOD_2 ( ) ) > VAR_3 ;</BUG> }
public java.lang.Boolean METHOD_1 ( int VAR_1 , int VAR_2 ) { int VAR_3 = VAR_1 * VAR_2 ; return ( METHOD_2 ( ) ) >= VAR_3 ; }
1,542
private TYPE_1 METHOD_1 ( ) { TYPE_2 VAR_1 = this . METHOD_2 ( ) ; <BUG> return VAR_1 . query ( STRING_1 , null , null , null , null , null , null , STRING_2 ) ;</BUG> }
private TYPE_1 METHOD_1 ( ) { TYPE_2 VAR_1 = this . METHOD_2 ( ) ; return VAR_1 . query ( STRING_1 , null , null , null , null , null , null ) ; }
1,543
public void METHOD_1 ( double VAR_1 , double VAR_2 , int VAR_3 , int height , TYPE_1 VAR_4 , java.util.Vector < TYPE_2 > VAR_5 ) { <BUG> TYPE_3 VAR_6 = new TYPE_3 ( VAR_1 , VAR_2 , VAR_3 , height , VAR_4 , VAR_5 , true ) ;</BUG> }
public void METHOD_1 ( double VAR_1 , double VAR_2 , int VAR_3 , int height , TYPE_1 VAR_4 , java.util.Vector < TYPE_2 > VAR_5 ) { new TYPE_3 ( VAR_1 , VAR_2 , VAR_3 , height , VAR_4 , VAR_5 , true ) ; }
1,544
public void METHOD_1 ( java.lang.String string ) { if ( TYPE_1 . METHOD_2 ( ) . keys ( ) . contains ( string ) ) VAR_1 = TYPE_1 . METHOD_3 ( ) . getString ( string ) ; }
public void METHOD_1 ( java.lang.String string ) { java.lang.System.out.println ( string ) ; if ( TYPE_1 . METHOD_2 ( ) . keys ( ) . contains ( string ) ) VAR_1 = TYPE_1 . METHOD_3 ( ) . getString ( string ) ; java.lang.System.out.println ( VAR_1 ) ; }
1,545
public void METHOD_1 ( ) throws TYPE_1 , TYPE_2 { VAR_1 = new TYPE_3 ( STRING_1 ) ; <BUG> try {</BUG> VAR_1 . METHOD_2 ( ( - INT_1 ) ) ; <BUG><BUG> }</BUG></BUG> <BUG> catch ( TYPE_2 VAR_2 ) {assertEquals ( 1 , 1 , 0 ) ;</BUG> } }
public void METHOD_1 ( ) throws TYPE_1 , TYPE_2 { VAR_1 = new TYPE_3 ( STRING_1 ) ; VAR_1 . METHOD_2 ( ( - INT_1 ) ) ; }
1,546
public void METHOD_1 ( android.view.View view , boolean b ) { <BUG> TYPE_1 . METHOD_2 ( VAR_1 , ( STRING_1 + b ) ) ;</BUG> if ( b ) METHOD_3 ( ) ; else METHOD_4 ( ) ; }
public void METHOD_1 ( android.view.View view , boolean b ) { if ( b ) METHOD_3 ( ) ; else METHOD_4 ( ) ; }
1,547
<BUG>public void METHOD_1 ( TYPE_1 VAR_1 ) throws java.io.IOException {TYPE_2 buffer = VAR_1 . METHOD_2 ( ) ;VAR_2 = METHOD_3 ( ) ;</BUG> VAR_2 . METHOD_4 ( buffer . METHOD_5 ( ) ) ; buffer . METHOD_6 ( ) ; }
public void METHOD_1 ( TYPE_2 buffer ) throws java.io.IOException { VAR_2 . METHOD_4 ( buffer . METHOD_5 ( ) ) ; buffer . METHOD_6 ( ) ; }
1,548
public java.lang.String METHOD_1 ( ) { <BUG> return this . VAR_1 . METHOD_2 ( ) . METHOD_3 ( ) ;</BUG> }
public java.lang.String METHOD_1 ( ) { if ( ( METHOD_2 ( ) ) == null ) { return null ; } return METHOD_2 ( ) . METHOD_3 ( ) ; }
1,549
private long METHOD_1 ( long VAR_1 ) { <BUG> return ( VAR_1 - ( VAR_2 ) ) & ( ( VAR_3 ) - 1 ) ;</BUG> }
private long METHOD_1 ( long VAR_1 ) { return ( VAR_1 - ( VAR_2 ) ) & ( ~ ( ( VAR_3 ) - 1 ) ) ; }
1,550
protected void METHOD_1 ( TYPE_1 result ) { <BUG> TYPE_2 . i ( STRING_1 , STRING_2 ) ;</BUG> VAR_1 . update ( result ) ; VAR_1 . METHOD_2 ( ) ; offset = ( offset ) + ( count ) ; }
protected void METHOD_1 ( TYPE_1 result ) { VAR_1 . update ( result ) ; VAR_1 . METHOD_2 ( ) ; offset = ( offset ) + ( count ) ; }
1,551
public boolean METHOD_1 ( final TYPE_1 VAR_1 ) { final TYPE_1 VAR_2 = VAR_3 . get ( ) ; if ( VAR_2 == ( VAR_4 ) ) { return false ; } <BUG> return ( VAR_2 . intValue ( ) ) >= ( VAR_1 . intValue ( ) ) ;</BUG> }
public boolean METHOD_1 ( final TYPE_1 VAR_1 ) { final TYPE_1 VAR_2 = VAR_3 . get ( ) ; if ( VAR_2 == ( VAR_4 ) ) { return false ; } return ( VAR_2 . intValue ( ) ) <= ( VAR_1 . intValue ( ) ) ; }
1,552
public void METHOD_1 ( ) { <BUG> TYPE_1 VAR_1 = new TYPE_1 ( ) ;TYPE_2 VAR_2 = VAR_1 . METHOD_2 ( ) ;assertNotNull ( VAR_2 ) ;</BUG> }
public void METHOD_1 ( ) { }
1,553
private TYPE_1 METHOD_1 ( int t , float x , float y ) { <BUG> TYPE_1 VAR_1 = new TYPE_1 ( t , x , y , ( ++ ( id ) ) ) ;</BUG> VAR_2 = 1 ; return VAR_1 ; }
private TYPE_1 METHOD_1 ( int t , float x , float y ) { TYPE_1 VAR_1 = new TYPE_1 ( t , x , y , 1 , ( ++ ( id ) ) ) ; VAR_2 = 1 ; return VAR_1 ; }
1,554
<BUG>public boolean METHOD_1 ( int id , java.lang.String name ) ;</BUG>
public boolean METHOD_1 ( int id ) ;
1,555
public void METHOD_1 ( float VAR_1 ) { if ( VAR_2 ) { this . METHOD_2 ( true ) ; <BUG> VAR_2 = false ;</BUG> } if ( VAR_3 ) { TYPE_1 . METHOD_3 ( STRING_1 , STRING_2 ) ; VAR_4 = true ; VAR_3 = false ; } }
public void METHOD_1 ( float VAR_1 ) { if ( VAR_2 ) { this . METHOD_2 ( true ) ; } if ( VAR_3 ) { TYPE_1 . METHOD_3 ( STRING_1 , STRING_2 ) ; VAR_4 = true ; VAR_3 = false ; } }
1,556
public double METHOD_1 ( ) { <BUG> return ( METHOD_2 ( ) ) - ( FLOAT_1 * ( TYPE_1 . METHOD_3 ( ( ( METHOD_4 ( ) ) / ( VAR_1 . length ) ) ) ) ) ;</BUG> }
public double METHOD_1 ( ) { return ( METHOD_2 ( ) ) - ( ( FLOAT_1 * ( METHOD_4 ( ) ) ) / ( TYPE_1 . METHOD_3 ( VAR_1 . length ) ) ) ; }
1,557
public int METHOD_1 ( ) { <BUG> return ( ( int ) ( this . VAR_1 . getValue ( ) ) ) ;</BUG> }
public int METHOD_1 ( ) { return java.lang.Integer.parseInt ( this . VAR_1 . getText ( ) ) ; }
1,558
public void METHOD_1 ( android.view.View view ) { <BUG> TYPE_1 . METHOD_2 ( VAR_1 , new java.lang.String [ ] {</BUG> VAR_2 } , VAR_3 ) ; }
public void METHOD_1 ( android.view.View view ) { METHOD_2 ( new java.lang.String [ ] { VAR_2 } , VAR_3 ) ; }
1,559
public int index ( ) { <BUG> try {return java.util.Arrays.asList ( this . VAR_1 . METHOD_1 ( ) ) . METHOD_2 ( ) ;BUG> }</BUG></BUG> <BUG> catch ( TYPE_1 VAR_2 ) {throw new TYPE_2 ( VAR_2 . METHOD_3 ( ) , VAR_2 ) ;</BUG> } }
public int index ( ) { return this . index ; }
1,560
public TYPE_1 METHOD_1 ( TYPE_1 VAR_1 ) throws TYPE_2 { TYPE_1 VAR_2 = VAR_3 . METHOD_1 ( VAR_1 ) ; <BUG> VAR_4 . info ( ( STRING_1 + ( VAR_2 . getId ( ) ) ) ) ;</BUG> return VAR_2 ; }
public TYPE_1 METHOD_1 ( TYPE_1 VAR_1 ) throws TYPE_2 { TYPE_1 VAR_2 = VAR_3 . METHOD_1 ( VAR_1 ) ; return VAR_2 ; }
1,561
protected void METHOD_1 ( java.lang.Void result ) { super . METHOD_1 ( result ) ; VAR_1 = new TYPE_1 ( getActivity ( ) , VAR_2 . METHOD_2 ( 0 ) ) ; METHOD_3 ( VAR_1 ) ; }
protected void METHOD_1 ( java.lang.Void result ) { super . METHOD_1 ( result ) ; if ( ( VAR_1 ) == null ) { VAR_1 = new TYPE_1 ( getActivity ( ) , VAR_2 . METHOD_2 ( 0 ) ) ; METHOD_3 ( VAR_1 ) ; } }
1,562
private void METHOD_1 ( ) { VAR_1 = VAR_2 . METHOD_2 ( ) ; <BUG> for ( TYPE_1 p : VAR_1 ) {if ( ( p . METHOD_3 ( ) ) == null ) {p . METHOD_4 ( ) . add ( STRING_1 ) ;BUG> }</BUG></BUG> } }
private void METHOD_1 ( ) { VAR_1 = VAR_2 . METHOD_2 ( ) ; }
1,563
public void METHOD_1 ( ) { <BUG> METHOD_2 ( false ) ;</BUG> METHOD_3 ( VAR_1 ) ; METHOD_4 ( new TYPE_1 ( ) ) ; add ( VAR_2 , VAR_3 ) ; TYPE_2 . info ( STRING_1 ) ; }
public void METHOD_1 ( ) { METHOD_3 ( VAR_1 ) ; METHOD_4 ( new TYPE_1 ( ) ) ; add ( VAR_2 , VAR_3 ) ; TYPE_2 . info ( STRING_1 ) ; }
1,564
<BUG>protected void METHOD_1 ( ) throws java.lang.Exception {</BUG> VAR_1 . METHOD_2 ( STRING_1 ) ; METHOD_3 ( ) ; TYPE_1 . METHOD_4 ( VAR_2 ) ; <BUG> super . METHOD_1 ( ) ;</BUG> }
public void METHOD_1 ( ) throws java.lang.Exception { VAR_1 . METHOD_2 ( STRING_1 ) ; METHOD_3 ( ) ; TYPE_1 . METHOD_4 ( VAR_2 ) ; }
1,565
public static java.util.List < java.lang.Object > METHOD_1 ( java.lang.Object VAR_1 ) { <BUG> return TYPE_1 . METHOD_1 ( VAR_2 class ) ;</BUG> }
public static java.util.List < java.lang.Object > METHOD_1 ( java.lang.Object VAR_1 ) { return TYPE_1 . METHOD_1 ( VAR_1 , VAR_2 class ) ; }
1,566
public long METHOD_1 ( ) { return startTime ; }
public long METHOD_1 ( ) { if ( ( startTime ) == null ) { return 0 ; } return startTime ; }
1,567
public void METHOD_1 ( ) { VAR_1 = false ; <BUG> VAR_2 . METHOD_1 ( ) ;</BUG> VAR_3 . METHOD_2 ( VAR_4 , INT_1 ) ; VAR_3 . METHOD_2 ( VAR_5 , INT_2 ) ; }
public void METHOD_1 ( ) { VAR_1 = false ; VAR_3 . METHOD_2 ( VAR_4 , INT_1 ) ; VAR_3 . METHOD_2 ( VAR_5 , INT_2 ) ; }
1,568
public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { <BUG> return VAR_2 . get ( VAR_1 ) ;</BUG> }
public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { return VAR_2 . get ( VAR_1 . id ) ; }
1,569
public void METHOD_1 ( boolean VAR_1 ) { if ( ( VAR_2 ) != null ) { <BUG> VAR_2 . METHOD_2 ( ( VAR_1 ? VAR_3 : VAR_4 ) ) ;</BUG> } }
public void METHOD_1 ( boolean VAR_1 ) { if ( ( VAR_2 ) != null ) { VAR_2 . show ( VAR_1 ) ; } }
1,570
public int count ( ) { <BUG> return this . count ;</BUG> }
public int count ( ) { return this . count . get ( ) ; }
1,571
public void METHOD_1 ( ) { <BUG> TYPE_1 . METHOD_2 ( TYPE_2 . METHOD_3 ( ) ) ;</BUG> METHOD_4 ( ) ; TYPE_3 . assertEquals ( VAR_1 . METHOD_5 ( ) , STRING_1 ) ; TYPE_3 . assertEquals ( VAR_2 . METHOD_5 ( ) , STRING_2 ) ; }
public void METHOD_1 ( ) { METHOD_4 ( ) ; TYPE_3 . assertEquals ( VAR_1 . METHOD_5 ( ) , STRING_1 ) ; TYPE_3 . assertEquals ( VAR_2 . METHOD_5 ( ) , STRING_2 ) ; }
1,572
<BUG>private double METHOD_1 ( java.util.ArrayList < java.lang.Double > array ) {</BUG> double sum = 0 ; int length = array . size ( ) ; for ( double i : array ) { sum += i ; } return sum / length ; }
private double METHOD_1 ( java.util.LinkedList < java.lang.Double > array ) { double sum = 0 ; int length = array . size ( ) ; for ( double i : array ) { sum += i ; } return sum / length ; }
1,573
public java.util.Set < TYPE_1 > METHOD_1 ( final TYPE_2 VAR_1 ) { <BUG> return VAR_2 . METHOD_1 ( VAR_1 ) ;</BUG> }
public java.util.Set < TYPE_1 > METHOD_1 ( final TYPE_2 VAR_1 ) { return this . VAR_2 . METHOD_1 ( VAR_1 ) ; }
1,574
private void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 = true ; <BUG> VAR_3 = true ;</BUG> }
private void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_3 = true ; VAR_2 = true ; }
1,575
protected void METHOD_1 ( ) { super . METHOD_1 ( ) ; <BUG> view . METHOD_2 ( VAR_1 ) ;</BUG> }
protected void METHOD_1 ( ) { super . METHOD_1 ( ) ; }
1,576
public void METHOD_1 ( ) { java.lang.System.out.println ( STRING_1 ) ; TYPE_1 VAR_1 = TYPE_2 . METHOD_2 ( STRING_2 ) ; VAR_1 . execute ( ) ; java.lang.System.out.println ( STRING_3 ) ; <BUG> TYPE_1 VAR_2 = TYPE_2 . METHOD_2 ( STRING_4 ) ;VAR_2 . execute ( ) ;</BUG> }
public void METHOD_1 ( ) { java.lang.System.out.println ( STRING_1 ) ; TYPE_1 VAR_1 = TYPE_2 . METHOD_2 ( STRING_2 ) ; VAR_1 . execute ( ) ; java.lang.System.out.println ( STRING_3 ) ; }
1,577
<BUG>private void METHOD_1 ( ) {</BUG> VAR_1 = INT_1 ; }
private synchronized void METHOD_1 ( ) { VAR_1 = INT_1 ; }
1,578
public void init ( TYPE_1 VAR_1 ) { METHOD_1 ( STRING_1 ) ; <BUG> METHOD_2 ( VAR_2 ) ;</BUG> METHOD_3 ( ) ; METHOD_4 ( getIntent ( ) . METHOD_5 ( ) . getString ( STRING_2 ) ) ; METHOD_6 ( ) ; }
public void init ( TYPE_1 VAR_1 ) { METHOD_1 ( STRING_1 ) ; METHOD_3 ( ) ; METHOD_4 ( getIntent ( ) . METHOD_5 ( ) . getString ( STRING_2 ) ) ; METHOD_6 ( ) ; }
1,579
public final void setValue ( final java.lang.String VAR_1 ) throws TYPE_1 { TYPE_2 value = this . METHOD_1 ( ) . METHOD_2 ( VAR_1 ) ; <BUG> this . setValue ( new TYPE_3 ( this . METHOD_1 ( ) , value ) ) ;</BUG> }
public final void setValue ( final java.lang.String VAR_1 ) throws TYPE_1 { TYPE_2 value = this . METHOD_1 ( ) . METHOD_2 ( VAR_1 ) ; this . setValue ( new TYPE_3 ( this . METHOD_1 ( ) , this , value ) ) ; }
1,580
<BUG>public boolean METHOD_1 ( java.lang.String VAR_1 ) {</BUG> TYPE_1 c = new TYPE_1 ( ( ( METHOD_2 ( ) ) + STRING_1 ) , VAR_2 ) ; <BUG> if ( c . METHOD_3 ( VAR_1 . toLowerCase ( ) ) ) {return true ;}return false ;</BUG> }
private boolean METHOD_1 ( java.lang.String VAR_1 ) { TYPE_1 c = new TYPE_1 ( ( ( METHOD_2 ( ) ) + STRING_1 ) , VAR_2 ) ; return c . METHOD_3 ( VAR_1 . toLowerCase ( ) ) ; }
1,581
public static boolean METHOD_1 ( java.lang.String VAR_1 ) { <BUG> return TYPE_1 . METHOD_1 ( VAR_1 ) ;</BUG> }
public static boolean METHOD_1 ( java.lang.String VAR_1 ) { return false ; }
1,582
public java.lang.String METHOD_1 ( ) { <BUG> return answer ;</BUG> }
public java.lang.String METHOD_1 ( ) { return answer . toLowerCase ( ) ; }
1,583
public TYPE_1 METHOD_1 ( java.lang.Integer id ) { <BUG> for ( TYPE_1 VAR_1 : VAR_2 ) if ( ( VAR_1 . METHOD_2 ( ) ) == id ) return VAR_1 ;</BUG> return null ; }
public TYPE_1 METHOD_1 ( java.lang.Integer id ) { for ( TYPE_1 VAR_1 : VAR_2 ) if ( VAR_1 . METHOD_2 ( ) . equals ( id ) ) return VAR_1 ; return null ; }
1,584
public void init ( ) { <BUG> TYPE_1 . delete ( 0 , TYPE_1 . length ( ) ) . append ( STRING_1 ) ;</BUG> TYPE_2 . delete ( 0 , TYPE_2 . length ( ) ) . append ( STRING_2 ) ; }
public void init ( ) { TYPE_1 . delete ( 0 , TYPE_1 . length ( ) ) . append ( STRING_2 ) ; TYPE_2 . delete ( 0 , TYPE_2 . length ( ) ) . append ( STRING_2 ) ; }
1,585
public double METHOD_1 ( ) { <BUG> return ( ( METHOD_2 ( ) ) * 1.0 ) / ( METHOD_3 ( ) ) ;</BUG> }
public double METHOD_1 ( ) { return ( METHOD_3 ( ) ) > 0 ? ( ( METHOD_2 ( ) ) * 1.0 ) / ( METHOD_3 ( ) ) : 0 ; }
1,586
public void METHOD_1 ( ) { if ( ( ( VAR_1 ) != null ) && ( VAR_1 . METHOD_2 ( ) ) ) VAR_1 . METHOD_1 ( ) ; }
public void METHOD_1 ( ) { if ( ( ( VAR_1 ) != null ) && ( VAR_1 . METHOD_2 ( ) ) ) VAR_1 . METHOD_1 ( ) ; VAR_1 = null ; }
1,587
public void METHOD_1 ( android.view.View view ) { <BUG> METHOD_2 ( INT_1 ) ;</BUG> }
public void METHOD_1 ( android.view.View view ) { METHOD_2 ( 1 ) ; }
1,588
public void METHOD_1 ( TYPE_1 error ) { VAR_1 = false ; METHOD_2 ( error ) ; listener . METHOD_1 ( error ) ; }
public void METHOD_1 ( TYPE_1 error ) { VAR_1 = false ; METHOD_2 ( error ) ; if ( listener != null ) { listener . METHOD_1 ( error ) ; } }
1,589
public void METHOD_1 ( ) { <BUG> if ( VAR_1 ) VAR_2 . METHOD_1 ( ) ;if ( VAR_3 ) VAR_4 . METHOD_1 ( ) ;</BUG> VAR_5 . METHOD_1 ( ) ; super . METHOD_1 ( ) ; }
public void METHOD_1 ( ) { VAR_2 . METHOD_1 ( ) ; VAR_4 . METHOD_1 ( ) ; VAR_5 . METHOD_1 ( ) ; super . METHOD_1 ( ) ; }
1,590
protected void METHOD_1 ( ) { super . METHOD_1 ( ) ; TYPE_1 . i ( VAR_1 , STRING_1 ) ; VAR_2 . METHOD_2 ( this ) ; }
protected void METHOD_1 ( ) { super . METHOD_1 ( ) ; TYPE_1 . i ( VAR_1 , STRING_1 ) ; if ( ( VAR_2 ) != null ) { VAR_2 . METHOD_2 ( this ) ; } }
1,591
protected TYPE_1 METHOD_1 ( ) { <BUG> return new TYPE_2 ( this , new TYPE_3 [ ] {VAR_1 , VAR_2 }, new TYPE_4 [ ] {VAR_3 }) ;</BUG> }
protected TYPE_1 METHOD_1 ( ) { return new TYPE_1 ( this , VAR_1 , VAR_3 ) ; }
1,592
public static void METHOD_1 ( ) { <BUG> TYPE_1 . METHOD_2 ( new TYPE_2 ( INT_1 , INT_2 , INT_3 , true , false ) ) ;</BUG> TYPE_1 . METHOD_3 ( true ) ; new java.lang.Thread ( new TYPE_1 ( ) ) . start ( ) ; }
public static void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( new TYPE_2 ( INT_1 , INT_2 , INT_3 , false , false ) ) ; TYPE_1 . METHOD_3 ( true ) ; new java.lang.Thread ( new TYPE_1 ( ) ) . start ( ) ; }
1,593
public void METHOD_1 ( ) throws java.lang.Exception { TYPE_1 node = VAR_1 . METHOD_2 ( ) ; <BUG> TYPE_2 . METHOD_3 ( VAR_2 . METHOD_4 ( node ) ) ;</BUG> }
public void METHOD_1 ( ) throws java.lang.Exception { TYPE_1 node = VAR_1 . METHOD_2 ( ) ; TYPE_2 . METHOD_3 ( VAR_2 . METHOD_4 ( null , node ) ) ; }
1,594
public void METHOD_1 ( int VAR_1 ) { <BUG> this . VAR_1 = TYPE_1 . METHOD_2 ( VAR_1 , 0 , VAR_2 ) ;</BUG> }
public void METHOD_1 ( int VAR_1 ) { this . VAR_1 = TYPE_1 . METHOD_2 ( VAR_1 , 0 , ( ( VAR_2 ) - 1 ) ) ; }
1,595
public void METHOD_1 ( java.lang.String name ) { VAR_1 = name ; VAR_2 . set ( true ) ; java.lang.System.out.println ( ( ( STRING_1 + name ) + STRING_2 ) ) ; <BUG> METHOD_2 ( ( STRING_3 + ( VAR_3 ) ) ) ;</BUG> }
public void METHOD_1 ( java.lang.String name ) { VAR_1 = name ; VAR_2 . set ( true ) ; java.lang.System.out.println ( ( ( STRING_1 + name ) + STRING_2 ) ) ; METHOD_2 ( STRING_3 ) ; }
1,596
public boolean METHOD_1 ( java.lang.String name ) { <BUG> return VAR_1 . METHOD_2 ( name ) ;</BUG> }
public boolean METHOD_1 ( java.lang.String name ) { return VAR_1 . get ( name ) ; }
1,597
<BUG>public TYPE_1 METHOD_1 ( java.lang.String name , java.lang.String VAR_1 ) {TYPE_1 VAR_2 = VAR_3 . METHOD_2 ( name , VAR_1 ) ;</BUG> return VAR_2 ; }
public TYPE_1 METHOD_1 ( java.lang.String name ) { TYPE_1 VAR_2 = VAR_3 . METHOD_2 ( name ) ; return VAR_2 ; }
1,598
private void METHOD_1 ( ) { METHOD_2 ( ) ; <BUG> METHOD_3 ( true ) ;</BUG> TYPE_1 . METHOD_4 ( this ) ; METHOD_5 ( true ) ; }
private void METHOD_1 ( ) { METHOD_2 ( ) ; METHOD_3 ( false ) ; TYPE_1 . METHOD_4 ( this ) ; METHOD_5 ( true ) ; }
1,599
public void METHOD_1 ( ) { METHOD_2 ( ) ; METHOD_3 ( ) ; <BUG> VAR_1 . METHOD_4 ( new TYPE_1 ( VAR_1 ) ) ;</BUG> }
public void METHOD_1 ( ) { METHOD_2 ( ) ; METHOD_3 ( ) ; }