id
int64 0
46.7k
| buggy
stringlengths 22
390
| fixed
stringlengths 14
367
|
---|---|---|
37,500 | public void METHOD_1 ( android.view.View VAR_1 ) { TYPE_1 intent = new TYPE_1 ( METHOD_2 ( ) , VAR_2 class ) ; <BUG> intent . METHOD_3 ( STRING_1 , INT_1 ) ;</BUG> METHOD_4 ( intent ) ; } | public void METHOD_1 ( android.view.View VAR_1 ) { TYPE_1 intent = new TYPE_1 ( METHOD_2 ( ) , VAR_2 class ) ; intent . METHOD_3 ( STRING_1 , 1 ) ; METHOD_4 ( intent ) ; }
|
37,501 | protected TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , long VAR_2 ) throws java.io.IOException { <BUG> TYPE_3 writer = VAR_3 . METHOD_2 ( VAR_4 , this . VAR_5 , true , ( ( VAR_6 ) >= VAR_2 ) , true ) ;</BUG> return writer ; } | protected TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , long VAR_2 ) throws java.io.IOException { TYPE_3 writer = VAR_3 . METHOD_2 ( VAR_4 , this . VAR_5 , true , true , true ) ; return writer ; }
|
37,502 | public static boolean getBoolean ( android.content.Context context , java.lang.String name ) { TYPE_1 VAR_1 = context . METHOD_1 ( VAR_2 , 0 ) ; <BUG> return VAR_1 . getBoolean ( name , false ) ;</BUG> } | public static boolean getBoolean ( android.content.Context context , java.lang.String name ) { TYPE_1 VAR_1 = context . METHOD_1 ( VAR_2 , 0 ) ; return VAR_1 . getBoolean ( name , true ) ; }
|
37,503 | <BUG>private void METHOD_1 ( ) {</BUG> VAR_1 ^= 1 ; } | public void METHOD_1 ( ) { VAR_1 ^= 1 ; }
|
37,504 | <BUG>public java.lang.String METHOD_1 ( ) {java.lang.String VAR_1 = STRING_1 ;return VAR_1 ;</BUG> } | public static java.lang.String METHOD_1 ( ) { return STRING_1 ; }
|
37,505 | public TYPE_1 METHOD_1 ( ) throws java.lang.Exception { <BUG> TYPE_2 VAR_1 = VAR_2 . METHOD_2 ( type . toString ( ) , VAR_3 ) ;</BUG> return VAR_1 . METHOD_3 ( ) ; } | public TYPE_1 METHOD_1 ( ) throws java.lang.Exception { TYPE_2 VAR_1 = VAR_2 . METHOD_2 ( VAR_3 , type ) ; return VAR_1 . METHOD_3 ( ) ; }
|
37,506 | public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( ) . METHOD_3 ( VAR_1 ) ; <BUG> TYPE_1 . METHOD_2 ( ) . METHOD_4 ( 0 , VAR_2 ) ;</BUG> } | public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( ) . METHOD_3 ( VAR_1 ) ; }
|
37,507 | double METHOD_1 ( TYPE_1 a , TYPE_1 b ) { <BUG> TYPE_2 VAR_1 = TYPE_3 . get ( a ) ;</BUG> TYPE_2 VAR_2 = TYPE_3 . get ( b ) ; <BUG> return TYPE_4 . METHOD_2 ( VAR_1 . METHOD_3 ( ) , VAR_2 . METHOD_3 ( ) ) ;</BUG> } | double METHOD_1 ( TYPE_1 a , TYPE_1 b ) { TYPE_2 VAR_2 = TYPE_3 . get ( b ) ; return VAR_2 . METHOD_3 ( ) ; }
|
37,508 | public void set ( java.lang.Integer value ) { this . value = value ; for ( TYPE_1 < java.lang.Integer > VAR_1 : VAR_2 ) { VAR_1 . METHOD_1 ( this . value ) ; } } | public void set ( java.lang.Integer value ) { if ( ( this . value ) != value ) { this . value = value ; for ( TYPE_1 < java.lang.Integer > VAR_1 : VAR_2 ) { VAR_1 . METHOD_1 ( this . value ) ; } } }
|
37,509 | <BUG>public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) {return METHOD_1 ( ( ( java.lang.Object ) ( VAR_1 ) ) ) ;</BUG> } | public TYPE_1 METHOD_1 ( TYPE_2 value ) { return METHOD_1 ( ( ( java.lang.Object ) ( value ) ) ) ; }
|
37,510 | <BUG>private static native void METHOD_1 ( long name , long VAR_1 , long VAR_2 , long VAR_3 , int VAR_4 ) ;</BUG> | private static void METHOD_1 ( long name , long VAR_1 , long VAR_2 , long VAR_3 , int VAR_4 ) { }
|
37,511 | protected void METHOD_1 ( ) { <BUG> if ( ! ( VAR_1 ) ) METHOD_2 ( ) ;</BUG> super . METHOD_1 ( ) ; } | protected void METHOD_1 ( ) { super . METHOD_1 ( ) ; if ( VAR_1 ) return ; METHOD_2 ( ) ; }
|
37,512 | private int METHOD_1 ( ) { return ( METHOD_2 ( ) ) - ( VAR_1 . METHOD_3 ( ) ) ; } | private int METHOD_1 ( ) { if ( ( METHOD_2 ( ) ) >= ( VAR_1 . METHOD_3 ( ) ) ) { return ( METHOD_2 ( ) ) - ( VAR_1 . METHOD_3 ( ) ) ; } return 0 ; }
|
37,513 | public void METHOD_1 ( final TYPE_1 < TYPE_2 > VAR_1 ) { <BUG> TYPE_3 VAR_2 = VAR_3 < TYPE_2 > METHOD_2 ( VAR_1 ) ;VAR_4 . start ( VAR_2 ) ;</BUG> } | public void METHOD_1 ( final TYPE_1 < TYPE_2 > VAR_1 ) { VAR_4 . start ( VAR_3 < TYPE_2 > METHOD_2 ( VAR_1 ) ) ; }
|
37,514 | public void METHOD_1 ( ) { VAR_1 = METHOD_2 ( ) ; <BUG> VAR_1 . METHOD_3 ( ( ( STRING_1 + ( VAR_2 ) ) + STRING_2 ) ) ;</BUG> } | public void METHOD_1 ( ) { VAR_1 = METHOD_2 ( ) ; }
|
37,515 | void METHOD_1 ( ) { <BUG> METHOD_2 ( STRING_1 ) ;</BUG> } | void METHOD_1 ( ) { METHOD_2 ( STRING_1 , 1 , 0 ) ; }
|
37,516 | <BUG>public void METHOD_1 ( ) {try {</BUG> METHOD_2 ( this , VAR_1 , VAR_2 , VAR_3 , VAR_4 , VAR_5 ) ; <BUG><BUG> }</BUG></BUG> <BUG> catch ( final java.lang.Throwable VAR_6 ) {VAR_7 . METHOD_3 ( java.lang.Thread . METHOD_4 ( ) , VAR_6 ) ;</BUG> } } | public void execute ( ) { METHOD_2 ( this , VAR_1 , VAR_2 , VAR_3 , VAR_4 , VAR_5 ) ; }
|
37,517 | <BUG>public void METHOD_1 ( int x , int y ) {</BUG> get ( x , y ) . METHOD_1 ( ) ; } | private void METHOD_1 ( int x , int y ) { get ( x , y ) . METHOD_1 ( ) ; }
|
37,518 | public float METHOD_1 ( ) { <BUG> return VAR_1 . METHOD_2 ( ) ? VAR_2 [ 1 ] : VAR_3 . METHOD_3 ( ) ;</BUG> } | public float METHOD_1 ( ) { return VAR_1 . METHOD_2 ( ) ? VAR_2 [ 1 ] : VAR_3 . METHOD_1 ( ) ; }
|
37,519 | public static boolean METHOD_1 ( java.lang.String VAR_1 ) { <BUG> return ( VAR_1 . equals ( STRING_1 ) ) || ( TYPE_1 . METHOD_2 ( VAR_1 ) ) ;</BUG> } | public static boolean METHOD_1 ( java.lang.String VAR_1 ) { return VAR_1 . equals ( STRING_1 ) ; }
|
37,520 | public int compareTo ( java.lang.Object VAR_1 ) { <BUG> return 0 ;</BUG> } | public int compareTo ( java.lang.Object VAR_1 ) { return 1 ; }
|
37,521 | public boolean METHOD_1 ( final java.lang.Object [ ] args , final TYPE_1 [ ] VAR_1 ) { return ( args [ 0 ] ) == ( VAR_2 ) ; } | public boolean METHOD_1 ( final java.lang.Object [ ] args , final TYPE_1 [ ] VAR_1 ) { if ( args == null ) { return true ; } return ( args [ 0 ] ) == ( VAR_2 ) ; }
|
37,522 | public void METHOD_1 ( java.lang.Double VAR_1 ) { <BUG> VAR_2 . add ( VAR_1 ) ;</BUG> } | public void METHOD_1 ( java.lang.Double VAR_1 ) { this . VAR_2 . add ( VAR_1 ) ; }
|
37,523 | private java.util.ArrayList < TYPE_1 > METHOD_1 ( TYPE_2 VAR_1 ) { <BUG> java.util.ArrayList < TYPE_1 > VAR_2 = VAR_3 . get ( VAR_1 ) ;if ( VAR_2 == null ) VAR_2 = new java.util.ArrayList < TYPE_1 > ( ) ;return VAR_2 ;</BUG> } | private java.util.ArrayList < TYPE_1 > METHOD_1 ( TYPE_2 VAR_1 ) { if ( ( VAR_3 . get ( VAR_1 ) ) == null ) VAR_3 . put ( VAR_1 , new java.util.ArrayList < TYPE_1 > ( ) ) ; return VAR_3 . get ( VAR_1 ) ; }
|
37,524 | public void METHOD_1 ( ) { VAR_1 = false ; <BUG> VAR_2 . METHOD_2 ( VAR_3 ) ;</BUG> VAR_4 . METHOD_3 ( ) ; } | public void METHOD_1 ( ) { VAR_1 = false ; VAR_4 . METHOD_3 ( ) ; }
|
37,525 | public void METHOD_1 ( ) { VAR_1 = 0 ; <BUG> VAR_2 = 0 ;</BUG> } | public void METHOD_1 ( ) { VAR_1 = 0 ; VAR_2 = - 1 ; }
|
37,526 | public java.lang.String METHOD_1 ( ) { <BUG> if ( VAR_1 . startsWith ( STRING_1 ) ) return VAR_1 . substring ( 1 , ( ( VAR_1 . length ( ) ) - 1 ) ) ;else return VAR_1 ;</BUG> } | public java.lang.String METHOD_1 ( ) { return this . VAR_1 ; }
|
37,527 | public void METHOD_1 ( java.lang.Throwable VAR_1 ) throws java.lang.Exception { <BUG> METHOD_2 ( ) ;</BUG> } | public void METHOD_1 ( java.lang.Throwable VAR_1 ) throws java.lang.Exception { }
|
37,528 | private int METHOD_1 ( TYPE_1 VAR_1 ) throws TYPE_2 , TYPE_3 { <BUG> METHOD_2 ( ) . METHOD_3 ( ) ;</BUG> java.lang.String VAR_2 = TYPE_4 . METHOD_4 ( VAR_1 . METHOD_5 ( ) , STRING_1 ) ; int VAR_3 = java.lang.Integer.parseInt ( VAR_2 ) ; return VAR_3 ; } | private int METHOD_1 ( TYPE_1 VAR_1 ) throws TYPE_2 , TYPE_3 { java.lang.String VAR_2 = TYPE_4 . METHOD_4 ( VAR_1 . METHOD_5 ( ) , STRING_1 ) ; int VAR_3 = java.lang.Integer.parseInt ( VAR_2 ) ; return VAR_3 ; }
|
37,529 | private TYPE_1 [ ] METHOD_1 ( ) { if ( VAR_1 ) { return TYPE_2 . METHOD_2 ( ) ; } <BUG> return METHOD_1 ( ) ;</BUG> } | private TYPE_1 [ ] METHOD_1 ( ) { if ( VAR_1 ) { return TYPE_2 . METHOD_2 ( ) ; } return TYPE_2 . METHOD_1 ( ) ; }
|
37,530 | public java.lang.String [ ] METHOD_1 ( ) { <BUG> return this . VAR_1 ;</BUG> } | public java.lang.String [ ] METHOD_1 ( ) { return VAR_1 ; }
|
37,531 | <BUG>private void METHOD_1 ( TYPE_1 VAR_1 ) {</BUG> java.lang.String VAR_2 = VAR_1 . toString ( ) ; TYPE_2 . METHOD_2 ( VAR_2 , STRING_1 ) ; } | public static void METHOD_1 ( TYPE_1 VAR_1 ) { java.lang.String VAR_2 = VAR_1 . toString ( ) ; TYPE_2 . METHOD_2 ( VAR_2 , STRING_1 ) ; }
|
37,532 | public void add ( TYPE_1 item ) { VAR_1 . add ( 0 , item ) ; } | public void add ( TYPE_1 item ) { if ( ( VAR_1 ) == null ) VAR_1 = new java.util.ArrayList ( ) ; VAR_1 . add ( 0 , item ) ; }
|
37,533 | public java.lang.Boolean METHOD_1 ( ) { <BUG> return true ;</BUG> } | public java.lang.Boolean METHOD_1 ( ) { return false ; }
|
37,534 | <BUG>protected static final TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) {</BUG> return TYPE_2 . METHOD_2 ( VAR_2 , VAR_1 ) ; } | private static final TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) { return TYPE_2 . METHOD_2 ( VAR_2 , VAR_1 ) ; }
|
37,535 | public void METHOD_1 ( java.lang.String VAR_1 ) { <BUG> if ( TYPE_1 . METHOD_2 ( VAR_1 ) ) {this . VAR_1 = STRING_1 ;BUG> }</BUG></BUG> <BUG> else {</BUG> this . VAR_1 = VAR_1 ; } } | public void METHOD_1 ( java.lang.String VAR_1 ) { this . VAR_1 = VAR_1 ; }
|
37,536 | public java.util.List < TYPE_1 > METHOD_1 ( ) { <BUG> java.util.List < TYPE_1 > VAR_1 = VAR_2 . METHOD_2 ( ) . METHOD_3 ( ) . METHOD_4 ( java.util.Map.Entry : : getValue ) . METHOD_5 ( TYPE_2 . METHOD_6 ( ) ) ;return VAR_1 ;</BUG> } | public java.util.List < TYPE_1 > METHOD_1 ( ) { return VAR_2 . METHOD_2 ( ) . METHOD_3 ( ) . METHOD_4 ( java.util.Map.Entry : : getValue ) . METHOD_5 ( TYPE_2 . METHOD_6 ( ) ) ; }
|
37,537 | protected void METHOD_1 ( ) { super . METHOD_1 ( ) ; <BUG> if ( ( VAR_1 ) != null ) {</BUG> VAR_1 . METHOD_2 ( VAR_2 , VAR_3 , VAR_4 ) ; } } | protected void METHOD_1 ( ) { super . METHOD_1 ( ) ; if ( null != ( VAR_1 ) ) { VAR_1 . METHOD_2 ( VAR_2 , VAR_3 , VAR_4 ) ; } }
|
37,538 | public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 . METHOD_2 ( ) ; VAR_3 . METHOD_3 ( VAR_4 ) ; if ( ( VAR_4 ) == 0 ) { <BUG> VAR_3 . start ( ) ;</BUG> } else { VAR_3 . METHOD_4 ( ) ; } } | public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 . METHOD_2 ( ) ; VAR_3 . METHOD_3 ( VAR_4 ) ; if ( ( VAR_4 ) == 0 ) { } else { VAR_3 . METHOD_4 ( ) ; } }
|
37,539 | private boolean METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> return ( VAR_1 . METHOD_2 ( STRING_1 ) ) == null ;</BUG> } | private boolean METHOD_1 ( TYPE_1 VAR_1 ) { return ( VAR_1 . METHOD_2 ( STRING_1 ) ) != null ; }
|
37,540 | public TYPE_1 < TYPE_2 , TYPE_3 > METHOD_1 ( ) { <BUG> return METHOD_2 ( ( ( ( VAR_1 ) ++ ) + 1 ) ) ;</BUG> } | public TYPE_1 < TYPE_2 , TYPE_3 > METHOD_1 ( ) { return METHOD_2 ( ( ( VAR_1 ) ++ ) ) ; }
|
37,541 | public synchronized boolean start ( ) { if ( VAR_1 ) return false ; <BUG> VAR_2 = new java.lang.Thread ( this ) ;</BUG> VAR_1 = true ; VAR_2 . start ( ) ; return true ; } | public synchronized boolean start ( ) { if ( VAR_1 ) return false ; if ( ( VAR_2 ) == null ) VAR_2 = new java.lang.Thread ( this ) ; VAR_1 = true ; VAR_2 . start ( ) ; return true ; }
|
37,542 | public boolean METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> return ( ( super . METHOD_1 ( VAR_1 ) ) && ( METHOD_2 ( ) ) ) && ( METHOD_3 ( ) ) ;</BUG> } | public boolean METHOD_1 ( TYPE_1 VAR_1 ) { return ( ( super . METHOD_1 ( VAR_1 ) ) && ( METHOD_3 ( ) ) ) && ( METHOD_2 ( ) ) ; }
|
37,543 | <BUG>public java.lang.String METHOD_1 ( int id ) {return VAR_1 [ id ] ;</BUG> } | public java.lang.String METHOD_1 ( int index ) { return VAR_1 [ index ] ; }
|
37,544 | public TYPE_1 set ( int x , int y , float VAR_1 ) { <BUG> data [ ( x + ( y * INT_1 ) ) ] = VAR_1 ;</BUG> return this ; } | public TYPE_1 set ( int x , int y , float VAR_1 ) { data [ ( y + ( x * INT_1 ) ) ] = VAR_1 ; return this ; }
|
37,545 | public void METHOD_1 ( ) { <BUG> VAR_1 . METHOD_2 ( ) ;</BUG> METHOD_3 ( ) ; } | public void METHOD_1 ( ) { METHOD_3 ( ) ; }
|
37,546 | public void METHOD_1 ( java.util.List < TYPE_1 > VAR_1 ) { <BUG> if ( VAR_1 != null ) {this . VAR_1 = TYPE_2 . METHOD_2 ( VAR_1 ) ;BUG> }</BUG></BUG> <BUG> else {</BUG> this . VAR_1 = VAR_1 ; } } | public void METHOD_1 ( java.util.List < TYPE_1 > VAR_1 ) { this . VAR_1 = VAR_1 ; }
|
37,547 | public static int METHOD_1 ( java.lang.String VAR_1 ) { <BUG> int VAR_2 = java.lang.Integer.parseInt ( VAR_1 ) ;</BUG> return VAR_2 ; } | public static int METHOD_1 ( java.lang.String VAR_1 ) { int VAR_2 = java.lang.Integer.parseInt ( VAR_1 . trim ( ) ) ; return VAR_2 ; }
|
37,548 | public void METHOD_1 ( double VAR_1 ) { <BUG> this . VAR_2 . METHOD_2 ( VAR_1 , VAR_1 ) ;</BUG> } | public void METHOD_1 ( double VAR_1 ) { this . VAR_2 . METHOD_2 ( ( - VAR_1 ) , VAR_1 ) ; }
|
37,549 | public synchronized void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> if ( ( VAR_2 . size ( ) ) > 0 ) {</BUG> VAR_1 . METHOD_2 ( VAR_3 ) ; <BUG> }</BUG> this . VAR_2 . METHOD_1 ( VAR_1 ) ; } | public synchronized void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_1 . METHOD_2 ( VAR_3 ) ; this . VAR_2 . METHOD_1 ( VAR_1 ) ; }
|
37,550 | private void METHOD_1 ( ) { for ( TYPE_1 VAR_1 : VAR_2 . METHOD_2 ( ) ) { <BUG> line ( STRING_1 , TYPE_2 . METHOD_3 ( VAR_1 ) , STRING_2 , TYPE_2 . METHOD_4 ( VAR_1 ) , STRING_3 ) ;</BUG> } } | private void METHOD_1 ( ) { for ( TYPE_1 VAR_1 : VAR_2 . METHOD_2 ( ) ) { line ( STRING_1 , METHOD_3 ( VAR_1 ) , STRING_2 , METHOD_4 ( VAR_1 ) , STRING_3 ) ; } }
|
37,551 | public static int METHOD_1 ( int i ) { <BUG> return INT_1 * i ;</BUG> } | public static int METHOD_1 ( int i ) { return ( INT_1 * i ) + INT_1 ; }
|
37,552 | <BUG>private void METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 ) {</BUG> VAR_2 . METHOD_1 ( VAR_1 ) ; } | private void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 . METHOD_1 ( VAR_1 ) ; }
|
37,553 | <BUG>public java.util.List < TYPE_1 > METHOD_1 ( TYPE_2 n , java.lang.Object VAR_1 ) {return list ( VAR_2 , VAR_3 . node ) ;</BUG> } | public java.util.List < TYPE_1 > METHOD_1 ( final TYPE_2 n , final java.lang.Object VAR_1 ) { return this . list ( VAR_2 , VAR_3 . node ) ; }
|
37,554 | protected void METHOD_1 ( TYPE_1 ... VAR_1 ) { METHOD_2 ( ) . METHOD_3 ( VAR_1 [ 0 ] ) ; } | protected void METHOD_1 ( TYPE_1 ... VAR_1 ) { if ( ( METHOD_2 ( ) ) != null ) { METHOD_2 ( ) . METHOD_3 ( VAR_1 [ 0 ] ) ; } }
|
37,555 | public static boolean METHOD_1 ( ) { if ( ( VAR_1 ) == null ) { <BUG> VAR_1 = TYPE_1 . METHOD_2 ( ) . getBoolean ( VAR_2 , true ) ;</BUG> } return VAR_1 ; } | public static boolean METHOD_1 ( ) { if ( ( VAR_1 ) == null ) { VAR_1 = TYPE_1 . METHOD_2 ( ) . getBoolean ( VAR_2 , false ) ; } return VAR_1 ; }
|
37,556 | protected void METHOD_1 ( java.lang.String line ) { <BUG> java.lang.System.out.println ( ( STRING_1 + line ) ) ;</BUG> super . METHOD_1 ( line ) ; } | protected void METHOD_1 ( java.lang.String line ) { super . METHOD_1 ( line ) ; }
|
37,557 | <BUG>protected void METHOD_1 ( TYPE_1 < TYPE_2 > VAR_1 ) {</BUG> this . VAR_2 . METHOD_2 ( true , VAR_1 ) ; update ( ) ; } | public void METHOD_1 ( TYPE_1 < TYPE_2 > VAR_1 ) { this . VAR_2 . METHOD_2 ( true , VAR_1 ) ; update ( ) ; }
|
37,558 | public void METHOD_1 ( int VAR_1 , int VAR_2 ) { METHOD_2 ( STRING_1 ) ; <BUG> VAR_3 . METHOD_3 ( VAR_1 , VAR_2 ) ;</BUG> } | public void METHOD_1 ( int VAR_1 , int VAR_2 ) { METHOD_2 ( STRING_1 ) ; VAR_3 . METHOD_1 ( VAR_1 , VAR_2 ) ; }
|
37,559 | public static void METHOD_1 ( final TYPE_1 VAR_1 , final java.lang.String VAR_2 , final byte [ ] VAR_3 ) { <BUG> final TYPE_2 VAR_4 = TYPE_3 . METHOD_2 ( VAR_3 ) ;</BUG> TYPE_3 . METHOD_3 ( VAR_1 , VAR_2 , VAR_4 ) ; } | public static void METHOD_1 ( final TYPE_1 VAR_1 , final java.lang.String VAR_2 , final byte [ ] VAR_3 ) { final TYPE_2 VAR_4 = TYPE_3 . METHOD_2 ( VAR_3 , 0 ) ; TYPE_3 . METHOD_3 ( VAR_1 , VAR_2 , VAR_4 ) ; }
|
37,560 | <BUG>public void METHOD_1 ( java.lang.String VAR_1 , float VAR_2 ) {METHOD_1 ( VAR_1 , VAR_2 ) ;</BUG> } | public float METHOD_1 ( float VAR_2 ) { return METHOD_1 ( VAR_2 , null , null ) ; }
|
37,561 | public TYPE_1 METHOD_1 ( ) { <BUG> return METHOD_2 ( 0 , ( - 1 ) ) ;</BUG> } | public TYPE_1 METHOD_1 ( ) { return METHOD_2 ( 0 , 1 ) ; }
|
37,562 | public final void METHOD_1 ( ) throws TYPE_1 { <BUG> TYPE_2 . METHOD_2 ( ) ;</BUG> this . VAR_1 . METHOD_1 ( ) ; } | public final void METHOD_1 ( ) throws TYPE_1 { TYPE_2 . METHOD_2 ( this ) ; this . VAR_1 . METHOD_1 ( ) ; }
|
37,563 | <BUG>public java.lang.String toString ( TYPE_1 VAR_1 ) ;</BUG> | public java.lang.String toString ( ) ;
|
37,564 | public TYPE_1 key ( double VAR_1 ) { METHOD_1 ( ) ; <BUG> key = java.lang.Double . toString ( VAR_1 ) ;</BUG> return this ; } | public TYPE_1 key ( double VAR_1 ) { METHOD_1 ( ) ; key = VAR_1 ; return this ; }
|
37,565 | public void METHOD_1 ( ) { if ( ( super . size ( ) ) > 0 ) { <BUG> this . METHOD_2 ( true ) ;</BUG> VAR_1 . METHOD_3 ( true ) ; } super . METHOD_1 ( ) ; } | public void METHOD_1 ( ) { if ( ( super . size ( ) ) > 0 ) { VAR_1 . METHOD_3 ( true ) ; } super . METHOD_1 ( ) ; }
|
37,566 | public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 . METHOD_2 ( VAR_1 ) ; VAR_3 . METHOD_3 ( ) ; VAR_4 . METHOD_4 ( VAR_1 ) ; } | public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 . METHOD_2 ( VAR_1 ) ; VAR_3 . METHOD_3 ( ) ; if ( ( VAR_4 ) != null ) { VAR_4 . METHOD_4 ( VAR_1 ) ; } }
|
37,567 | public void METHOD_1 ( ) { <BUG> this . VAR_1 . METHOD_2 ( VAR_2 ) ;</BUG> } | public void METHOD_1 ( ) { this . VAR_1 . METHOD_2 ( this . VAR_2 ) ; }
|
37,568 | void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> if ( VAR_1 == null ) {return null ;}if ( ( VAR_1 . getName ( ) ) != null ) {</BUG> VAR_2 = VAR_1 . getName ( ) ; } else { VAR_2 = VAR_3 ; } } | void METHOD_1 ( TYPE_1 VAR_1 ) { if ( ( VAR_1 != null ) && ( ( VAR_1 . getName ( ) ) != null ) ) { VAR_2 = VAR_1 . getName ( ) ; } else { VAR_2 = VAR_3 ; } }
|
37,569 | public void METHOD_1 ( java.util.Map < TYPE_1 , TYPE_2 > VAR_1 ) { METHOD_1 ( VAR_1 . get ( VAR_2 ) ) ; <BUG> TYPE_3 . METHOD_2 ( ) . METHOD_3 ( VAR_1 ) ;</BUG> } | public void METHOD_1 ( java.util.Map < TYPE_1 , TYPE_2 > VAR_1 ) { TYPE_3 . METHOD_2 ( ) . METHOD_3 ( VAR_1 ) ; METHOD_1 ( VAR_1 . get ( VAR_2 ) ) ; }
|
37,570 | public void METHOD_1 ( android.view.View view ) { <BUG> if ( TYPE_1 . METHOD_2 ( ) . METHOD_3 ( this , METHOD_4 ( ) ) ) {</BUG> METHOD_5 ( true ) ; } } | public void METHOD_1 ( android.view.View view ) { if ( TYPE_1 . METHOD_2 ( ) . METHOD_3 ( this , index ) ) { METHOD_5 ( true ) ; } }
|
37,571 | public void METHOD_1 ( TYPE_1 VAR_1 , java.util.ArrayList < TYPE_2 > VAR_2 ) { for ( TYPE_2 VAR_3 : VAR_2 ) { VAR_3 . METHOD_2 ( VAR_1 ) ; } } | public void METHOD_1 ( TYPE_1 VAR_1 , java.util.ArrayList < TYPE_2 > VAR_2 ) { for ( TYPE_2 VAR_3 : VAR_2 ) { VAR_3 . METHOD_2 ( VAR_1 ) ; java.lang.System.out.println ( VAR_3 . getId ( ) ) ; } }
|
37,572 | public void METHOD_1 ( ) { TYPE_1 VAR_1 = super . METHOD_2 ( VAR_2 , VAR_3 , true ) ; <BUG> super . METHOD_3 ( VAR_1 ) ;</BUG> } | public void METHOD_1 ( ) { TYPE_1 VAR_1 = super . METHOD_2 ( VAR_2 , VAR_3 , true ) ; }
|
37,573 | protected void METHOD_1 ( ) { VAR_1 . METHOD_2 ( null ) ; VAR_1 . METHOD_3 ( null ) ; VAR_2 . METHOD_4 ( VAR_3 ) ; <BUG> VAR_2 . METHOD_5 ( METHOD_6 ( ) ) ;</BUG> } | protected void METHOD_1 ( ) { VAR_1 . METHOD_2 ( null ) ; VAR_1 . METHOD_3 ( null ) ; VAR_2 . METHOD_4 ( VAR_3 ) ; }
|
37,574 | static final android.content.Context METHOD_1 ( android.content.Context context ) { <BUG> final android.content.Context VAR_1 = context . METHOD_2 ( ) ;return VAR_1 != null ? VAR_1 : TYPE_1 . METHOD_3 ( ) . METHOD_2 ( ) ;</BUG> } | static final android.content.Context METHOD_1 ( android.content.Context context ) { return TYPE_1 . METHOD_3 ( ) . METHOD_2 ( ) ; }
|
37,575 | public void METHOD_1 ( ) { if ( ! ( VAR_1 . METHOD_2 ( ) ) ) VAR_1 . start ( ) ; METHOD_3 ( ) ; } | public void METHOD_1 ( ) { if ( ( VAR_1 ) == null ) return ; if ( ! ( VAR_1 . METHOD_2 ( ) ) ) VAR_1 . start ( ) ; METHOD_3 ( ) ; }
|
37,576 | public boolean METHOD_1 ( ) { <BUG> return ( ( this . name ) != null ) && ( ! ( this . name . equals ( STRING_1 ) ) ) ;</BUG> } | public boolean METHOD_1 ( ) { return ( ( this . name ) != null ) && ( ! ( STRING_1 . equals ( this . name ) ) ) ; }
|
37,577 | public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { <BUG> java.lang.String VAR_2 = VAR_1 . getId ( ) . toString ( ) ;VAR_2 = ( VAR_2 . replaceAll ( STRING_1 , STRING_2 ) ) + STRING_3 ;return TYPE_1 . METHOD_2 ( VAR_2 ) ;</BUG> } | public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { java.lang.String path = VAR_1 . getId ( ) . toString ( ) ; path = ( path . replaceAll ( STRING_1 , STRING_2 ) ) + STRING_3 ; return TYPE_1 . METHOD_2 ( path ) ; }
|
37,578 | protected void METHOD_1 ( ) { super . METHOD_1 ( ) ; <BUG> VAR_1 . METHOD_2 ( false ) ;</BUG> VAR_2 = INT_1 ; VAR_3 = 0 ; <BUG> TYPE_1 . METHOD_3 ( ) ;</BUG> } | protected void METHOD_1 ( ) { super . METHOD_1 ( ) ; VAR_2 = INT_1 ; VAR_3 = 0 ; }
|
37,579 | public static long METHOD_1 ( final long VAR_1 ) { long VAR_2 = 0 ; <BUG> while ( TYPE_1 . METHOD_2 ( VAR_1 , VAR_2 ) ) {</BUG> VAR_2 ++ ; } return VAR_2 ; } | public static long METHOD_1 ( final long VAR_1 ) { long VAR_2 = 0 ; while ( ! ( TYPE_1 . METHOD_2 ( VAR_1 , VAR_2 ) ) ) { VAR_2 ++ ; } return VAR_2 ; }
|
37,580 | public void METHOD_1 ( TYPE_1 event ) { <BUG> java.lang.System.out.println ( STRING_1 ) ;</BUG> TYPE_2 . METHOD_2 ( ) . METHOD_3 ( event ) ; } | public void METHOD_1 ( TYPE_1 event ) { TYPE_2 . METHOD_2 ( ) . METHOD_3 ( event ) ; }
|
37,581 | public TYPE_1 METHOD_1 ( java.lang.String str ) { <BUG> return VAR_1 . METHOD_2 ( str ) ;</BUG> } | public TYPE_1 METHOD_1 ( java.lang.String str ) { return VAR_1 . METHOD_2 ( str . trim ( ) ) ; }
|
37,582 | public void METHOD_1 ( boolean VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; VAR_2 . METHOD_2 ( VAR_3 , null ) ; } | public void METHOD_1 ( boolean VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; if ( ( VAR_2 ) != null ) { VAR_2 . METHOD_2 ( VAR_3 , null ) ; } }
|
37,583 | void METHOD_1 ( boolean VAR_1 ) { if ( VAR_1 ) { VAR_2 -= TYPE_1 . METHOD_2 ( INT_1 , INT_2 ) ; <BUG> }else {VAR_2 = INT_3 ;</BUG> } } | void METHOD_1 ( boolean VAR_1 ) { VAR_2 = INT_3 ; if ( VAR_1 ) { VAR_2 -= TYPE_1 . METHOD_2 ( INT_1 , INT_2 ) ; } }
|
37,584 | public boolean METHOD_1 ( TYPE_1 VAR_1 ) { android.view.View VAR_2 = VAR_3 . METHOD_2 ( ) ; VAR_4 . METHOD_3 ( VAR_2 , VAR_1 ) ; return super . METHOD_1 ( VAR_1 ) ; } | public boolean METHOD_1 ( TYPE_1 VAR_1 ) { if ( ! ( VAR_3 . isEmpty ( ) ) ) { android.view.View VAR_2 = VAR_3 . METHOD_2 ( ) ; VAR_4 . METHOD_3 ( VAR_2 , VAR_1 ) ; } return super . METHOD_1 ( VAR_1 ) ; }
|
37,585 | private void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( ) . METHOD_3 ( ) ; <BUG> if ( TYPE_2 . METHOD_4 ( ) ) {TYPE_2 . METHOD_5 ( ) . remove ( VAR_1 ) ;}</BUG> } | private void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( ) . METHOD_3 ( ) ; }
|
37,586 | <BUG>public java.lang.String METHOD_1 ( java.lang.String VAR_1 , java.lang.String VAR_2 , java.util.Date VAR_3 ) {</BUG> return this . VAR_4 . METHOD_1 ( VAR_1 , VAR_2 , VAR_3 ) ; } | public java.lang.String METHOD_1 ( java.lang.String VAR_1 , java.lang.String VAR_2 , java.lang.String VAR_3 ) { return this . VAR_4 . METHOD_1 ( VAR_1 , VAR_2 , VAR_3 ) ; }
|
37,587 | public TYPE_1 METHOD_1 ( ) { <BUG> if ( ( VAR_1 ) == null ) VAR_1 = TYPE_2 . METHOD_2 ( ) . METHOD_3 ( VAR_2 ) ;return VAR_1 ;</BUG> } | public TYPE_1 METHOD_1 ( ) { return TYPE_2 . METHOD_2 ( ) . METHOD_3 ( VAR_2 ) ; }
|
37,588 | public void METHOD_1 ( ) { super . METHOD_1 ( ) ; <BUG> if ( ( VAR_1 ) != null ) {TYPE_1 . METHOD_2 ( VAR_1 , this ) ;}</BUG> } | public void METHOD_1 ( ) { super . METHOD_1 ( ) ; }
|
37,589 | public void METHOD_1 ( ) { context . METHOD_2 ( STRING_1 ) ; METHOD_3 ( ) ; <BUG> assertEquals ( STRING_2 , VAR_1 . METHOD_4 ( context . METHOD_5 ( ) , STRING_3 , STRING_4 , context ) ) ;</BUG> METHOD_6 ( ) ; } | public void METHOD_1 ( ) { context . METHOD_2 ( STRING_1 ) ; METHOD_3 ( ) ; assertEquals ( STRING_2 , VAR_1 . METHOD_4 ( context . METHOD_5 ( ) , STRING_3 , STRING_4 ) ) ; METHOD_6 ( ) ; }
|
37,590 | public void METHOD_1 ( java.lang.CharSequence VAR_1 , int start , int count , int VAR_2 ) { <BUG> if ( VAR_2 < count ) {for ( int i = 0 ;i < ( count - VAR_2 ) ;i ++ ) {METHOD_2 ( ) ;BUG> }</BUG></BUG> } } | public void METHOD_1 ( java.lang.CharSequence VAR_1 , int start , int count , int VAR_2 ) { }
|
37,591 | public long METHOD_1 ( ) throws TYPE_1 { <BUG> TYPE_2 VAR_1 = null ;</BUG> try { VAR_1 = VAR_2 . METHOD_2 ( ) ; return VAR_3 ; } catch ( java.io.IOException VAR_4 ) { <BUG> TYPE_3 . METHOD_3 ( VAR_5 , STRING_1 ) ;</BUG> } return 0 ; } | public long METHOD_1 ( ) throws TYPE_1 { TYPE_2 VAR_1 ; try { VAR_1 = VAR_2 . METHOD_2 ( ) ; return VAR_3 ; } catch ( java.io.IOException VAR_4 ) { TYPE_3 . METHOD_3 ( VAR_5 , STRING_1 , VAR_4 ) ; } return 0 ; }
|
37,592 | public void METHOD_1 ( int target , TYPE_1 data , int VAR_1 ) { <BUG> TYPE_2 . METHOD_2 ( data ) ;</BUG> TYPE_3 . METHOD_1 ( target , TYPE_2 . METHOD_3 ( data ) , data , VAR_1 ) ; } | public void METHOD_1 ( int target , TYPE_1 data , int VAR_1 ) { TYPE_3 . METHOD_1 ( target , TYPE_2 . METHOD_3 ( data ) , data , VAR_1 ) ; }
|
37,593 | <BUG>private java.awt.Color METHOD_1 ( java.awt.Color VAR_1 , int VAR_2 ) {return VAR_1 . METHOD_2 ( ( 1 / VAR_2 ) ) ;</BUG> } | private void METHOD_1 ( int VAR_2 , int i , int j ) { }
|
37,594 | public void METHOD_1 ( final java.util.Collection < TYPE_1 > VAR_1 ) { <BUG> VAR_2 . METHOD_1 ( VAR_1 ) ;</BUG> } | public void METHOD_1 ( final java.util.Collection < TYPE_1 > VAR_1 ) { this . VAR_2 . METHOD_1 ( VAR_1 ) ; }
|
37,595 | <BUG>private void METHOD_1 ( java.util.ArrayList < TYPE_1 > VAR_1 ) {</BUG> for ( TYPE_1 VAR_2 : VAR_1 ) { ( VAR_3 ) -- ; } METHOD_2 ( VAR_1 ) ; } | public void METHOD_1 ( java.util.ArrayList < TYPE_1 > VAR_1 ) { for ( TYPE_1 VAR_2 : VAR_1 ) { ( VAR_3 ) -- ; } METHOD_2 ( VAR_1 ) ; }
|
37,596 | public void METHOD_1 ( ) { <BUG> VAR_1 . METHOD_2 ( VAR_2 ) ;</BUG> VAR_1 . METHOD_2 ( VAR_2 ) ; } | public void METHOD_1 ( ) { VAR_1 . METHOD_2 ( VAR_2 ) ; }
|
37,597 | protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( ) ; METHOD_3 ( ) ; TYPE_2 VAR_2 = new TYPE_2 ( METHOD_4 ( ) ) ; <BUG> VAR_2 . METHOD_5 ( ) ;</BUG> } | protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( ) ; METHOD_3 ( ) ; TYPE_2 VAR_2 = new TYPE_2 ( METHOD_4 ( ) ) ; }
|
37,598 | public void METHOD_1 ( TYPE_1 response ) { <BUG> java.lang.String VAR_1 = response . toString ( ) ;</BUG> METHOD_2 ( response , VAR_2 ) ; } | public void METHOD_1 ( TYPE_1 response ) { METHOD_2 ( response , VAR_2 ) ; }
|
37,599 | private void METHOD_1 ( TYPE_1 VAR_1 ) { try { <BUG> VAR_2 . METHOD_2 ( VAR_3 ) ;VAR_2 . METHOD_1 ( VAR_1 ) ;</BUG> } catch ( java.lang.Exception VAR_4 ) { VAR_5 . error ( STRING_1 , VAR_4 ) ; } } | private void METHOD_1 ( TYPE_1 VAR_1 ) { try { VAR_2 . METHOD_1 ( VAR_1 , VAR_3 ) ; } catch ( java.lang.Exception VAR_4 ) { VAR_5 . error ( STRING_1 , VAR_4 ) ; } }
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.