id
int64 0
46.7k
| buggy
stringlengths 22
390
| fixed
stringlengths 14
367
|
---|---|---|
46,400 | public static void METHOD_1 ( ) { <BUG> synchronized ( VAR_1 ) {</BUG> java.util.Collections.sort ( VAR_2 ) ; <BUG> }</BUG> } | public static void METHOD_1 ( ) { java.util.Collections.sort ( VAR_2 ) ; }
|
46,401 | <BUG>public void METHOD_1 ( TYPE_1 VAR_1 ) {</BUG> TYPE_2 . METHOD_2 ( VAR_2 , STRING_1 ) ; if ( VAR_1 != null ) { <BUG> VAR_3 = VAR_1 ;</BUG> METHOD_3 ( ) ; METHOD_4 ( ) ; } } | public void METHOD_1 ( final TYPE_1 VAR_1 ) { TYPE_2 . METHOD_2 ( VAR_2 , STRING_1 ) ; if ( VAR_1 != null ) { VAR_3 = new TYPE_1 ( VAR_1 ) ; METHOD_3 ( ) ; METHOD_4 ( ) ; } }
|
46,402 | public int METHOD_1 ( int b ) { int VAR_1 = INT_1 & b ; VAR_1 = INT_1 & ( ( INT_1 - VAR_1 ) + 1 ) ; <BUG> return VAR_2 . METHOD_2 ( VAR_1 ) ;</BUG> } | public int METHOD_1 ( int b ) { int VAR_1 = INT_1 & b ; VAR_1 = INT_1 & ( ( INT_1 - VAR_1 ) + 1 ) ; return VAR_1 ; }
|
46,403 | <BUG>private static void METHOD_1 ( TYPE_1 VAR_1 ) {</BUG> synchronized ( TYPE_2 ) { TYPE_2 . METHOD_2 ( VAR_1 ) ; TYPE_2 . METHOD_3 ( ) ; } } | static void METHOD_1 ( TYPE_1 VAR_1 ) { synchronized ( TYPE_2 ) { TYPE_2 . METHOD_2 ( VAR_1 ) ; TYPE_2 . METHOD_3 ( ) ; } }
|
46,404 | public void METHOD_1 ( ) { VAR_1 . METHOD_2 ( ) ; VAR_2 . METHOD_1 ( ) ; <BUG> VAR_3 . METHOD_1 ( ) ;</BUG> VAR_3 . METHOD_1 ( ) ; } | public void METHOD_1 ( ) { VAR_1 . METHOD_2 ( ) ; VAR_2 . METHOD_1 ( ) ; VAR_3 . METHOD_1 ( ) ; }
|
46,405 | <BUG>public boolean METHOD_1 ( ) {</BUG> if ( ( TYPE_1 . METHOD_2 ( this , VAR_1 [ 0 ] ) ) != ( VAR_2 ) ) { TYPE_2 . METHOD_3 ( this , VAR_1 , VAR_3 ) ; } return true ; } | private boolean METHOD_1 ( ) { if ( ( TYPE_1 . METHOD_2 ( this , VAR_1 [ 0 ] ) ) != ( VAR_2 ) ) { TYPE_2 . METHOD_3 ( this , VAR_1 , VAR_3 ) ; return false ; } return true ; }
|
46,406 | public void METHOD_1 ( TYPE_1 < ? > VAR_1 ) { <BUG> this . VAR_1 = VAR_1 ;</BUG> } | public void METHOD_1 ( TYPE_1 < ? > VAR_1 ) { }
|
46,407 | TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , TYPE_3 VAR_2 ) { <BUG> return METHOD_2 ( VAR_1 , VAR_3 , 0 , VAR_4 , VAR_2 , null , INT_1 , VAR_5 , STRING_1 , INT_2 ) ;</BUG> } | TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , TYPE_3 VAR_2 ) { return METHOD_2 ( VAR_1 , VAR_3 , 0 , VAR_4 , 0 , VAR_2 , null , INT_1 , VAR_5 , STRING_1 , INT_2 , INT_2 ) ; }
|
46,408 | public void METHOD_1 ( int VAR_1 ) { <BUG> this . VAR_1 = ( ( byte ) ( VAR_1 ) ) ;</BUG> } | public void METHOD_1 ( int VAR_1 ) { this . METHOD_1 ( ( ( byte ) ( VAR_1 ) ) ) ; }
|
46,409 | public int METHOD_1 ( double VAR_1 ) { <BUG> VAR_2 . info ( ( STRING_1 + VAR_1 ) ) ;</BUG> return ( ( int ) ( VAR_1 ) ) ; } | public int METHOD_1 ( double VAR_1 ) { return ( ( int ) ( VAR_1 ) ) ; }
|
46,410 | public TYPE_1 METHOD_1 ( ) { return get ( ( ( size ( ) ) - 1 ) ) ; } | public TYPE_1 METHOD_1 ( ) { if ( ( size ( ) ) == 0 ) return null ; return get ( ( ( size ( ) ) - 1 ) ) ; }
|
46,411 | <BUG>public void METHOD_1 ( TYPE_1 VAR_1 ) throws TYPE_2 {METHOD_2 ( ) ;</BUG> TYPE_3 . METHOD_3 ( VAR_2 , VAR_3 , VAR_4 ) ; METHOD_4 ( ) ; <BUG> VAR_5 = null ;</BUG> } | public void METHOD_1 ( ) { TYPE_3 . METHOD_3 ( VAR_2 , VAR_3 , VAR_4 ) ; METHOD_4 ( ) ; }
|
46,412 | public int getInt ( int i ) throws TYPE_1 { java.lang.Object x = METHOD_1 ( i ) ; <BUG> return x == null ? 0 : ( ( java.lang.Long ) ( x ) ) . intValue ( ) ;</BUG> } | public int getInt ( int i ) throws TYPE_1 { java.lang.Object x = METHOD_1 ( i ) ; return x == null ? 0 : ( ( java.lang.Integer ) ( x ) ) . intValue ( ) ; }
|
46,413 | public void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> if ( ! ( VAR_2 . METHOD_2 ( ) ) ) {VAR_3 . METHOD_3 ( STRING_1 ) ;return ;}</BUG> METHOD_4 ( ) ; } | public void METHOD_1 ( TYPE_1 VAR_1 ) { METHOD_4 ( ) ; }
|
46,414 | public void METHOD_1 ( android.view.View VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; <BUG> METHOD_2 ( VAR_2 ) ;</BUG> METHOD_3 ( ) ; } | public void METHOD_1 ( android.view.View VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( ) ; METHOD_3 ( ) ; }
|
46,415 | <BUG>protected void METHOD_1 ( ) {</BUG> METHOD_2 ( STRING_1 ) ; super . METHOD_1 ( ) ; } | public void METHOD_1 ( ) { METHOD_2 ( STRING_1 ) ; super . METHOD_1 ( ) ; }
|
46,416 | public void METHOD_1 ( ) { METHOD_2 ( VAR_1 , VAR_2 , true ) ; VAR_3 . METHOD_3 ( VAR_2 . METHOD_4 ( ) ) ; METHOD_5 ( ) ; <BUG> METHOD_6 ( ) ;</BUG> } | public void METHOD_1 ( ) { METHOD_2 ( VAR_1 , VAR_2 , true ) ; VAR_3 . METHOD_3 ( VAR_2 . METHOD_4 ( ) ) ; METHOD_5 ( ) ; }
|
46,417 | public java.util.List < TYPE_1 > METHOD_1 ( ) { <BUG> java.lang.System.out.print ( VAR_1 . toString ( ) ) ;</BUG> return VAR_1 ; } | public java.util.List < TYPE_1 > METHOD_1 ( ) { return VAR_1 ; }
|
46,418 | public void METHOD_1 ( android.view.View VAR_1 ) { if ( ! ( METHOD_2 ( ) ) ) { VAR_2 . METHOD_3 ( ) ; <BUG> METHOD_4 ( false , VAR_3 . getText ( ) . toString ( ) ) ;</BUG> } } | public void METHOD_1 ( android.view.View VAR_1 ) { if ( ! ( METHOD_2 ( ) ) ) { VAR_2 . METHOD_3 ( ) ; METHOD_4 ( false , VAR_3 . getText ( ) . toString ( ) , true ) ; } }
|
46,419 | public void METHOD_1 ( java.util.List list ) { java.util.Random VAR_1 = new java.util.Random ( ) ; int VAR_2 = VAR_1 . METHOD_2 ( INT_1 ) ; this . VAR_3 . add ( list . get ( VAR_2 ) ) ; } | public void METHOD_1 ( java.util.List list ) { java.util.Random VAR_1 = new java.util.Random ( ) ; int VAR_2 = VAR_1 . METHOD_2 ( INT_1 ) ; this . VAR_3 . add ( list . get ( VAR_2 ) ) ; list . remove ( VAR_2 ) ; }
|
46,420 | public boolean isEmpty ( ) { <BUG> if ( ( ( TYPE_1 ) ( VAR_1 . element ) ) == null ) {</BUG> return true ; } else { return false ; } } | public boolean isEmpty ( ) { if ( ( VAR_1 ) == null ) { return true ; } else { return false ; } }
|
46,421 | protected void METHOD_1 ( java.lang.Boolean VAR_1 ) { <BUG> TYPE_1 VAR_2 = new TYPE_1 ( this ) ;VAR_2 . setText ( STRING_1 ) ;</BUG> } | protected void METHOD_1 ( java.lang.Boolean VAR_1 ) { }
|
46,422 | public java.util.List < TYPE_1 > METHOD_1 ( ) { java.lang.String VAR_1 = TYPE_2 . getContext ( ) . METHOD_2 ( ) . getName ( ) ; <BUG> java.util.List < TYPE_1 > list = VAR_2 . METHOD_1 ( VAR_1 , VAR_1 ) ;</BUG> return list ; } | public java.util.List < TYPE_1 > METHOD_1 ( ) { java.lang.String VAR_1 = TYPE_2 . getContext ( ) . METHOD_2 ( ) . getName ( ) ; java.util.List < TYPE_1 > list = VAR_2 . METHOD_1 ( VAR_1 . toLowerCase ( ) , VAR_1 ) ; return list ; }
|
46,423 | public void METHOD_1 ( ) { for ( TYPE_1 VAR_1 : VAR_2 ) { VAR_1 . update ( null , null ) ; } } | public void METHOD_1 ( ) { super . METHOD_1 ( ) ; for ( TYPE_1 VAR_1 : VAR_2 ) { VAR_1 . update ( null , null ) ; } }
|
46,424 | public void METHOD_1 ( boolean VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; VAR_2 = VAR_1 ; METHOD_2 ( ) ; <BUG> METHOD_3 ( ) ;</BUG> } | public void METHOD_1 ( boolean VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; VAR_2 = VAR_1 ; METHOD_2 ( ) ; }
|
46,425 | public static TYPE_1 METHOD_1 ( ) { <BUG> if ( ( VAR_1 . METHOD_1 ( ) ) == null ) VAR_1 = new TYPE_2 ( ) ;</BUG> return VAR_1 . METHOD_1 ( ) ; } | public static TYPE_1 METHOD_1 ( ) { if ( ( VAR_1 ) == null ) VAR_1 = new TYPE_2 ( ) ; return VAR_1 . METHOD_1 ( ) ; }
|
46,426 | public void METHOD_1 ( TYPE_1 event ) { VAR_1 = new TYPE_2 ( event . METHOD_2 ( ) ) ; TYPE_3 . init ( VAR_1 . METHOD_3 ( ) ) ; VAR_2 = event . METHOD_4 ( ) ; <BUG> VAR_1 . METHOD_5 ( ) ;</BUG> } | public void METHOD_1 ( TYPE_1 event ) { VAR_1 = new TYPE_2 ( event . METHOD_2 ( ) ) ; TYPE_3 . init ( VAR_1 . METHOD_3 ( ) ) ; VAR_2 = event . METHOD_4 ( ) ; }
|
46,427 | public TYPE_1 METHOD_1 ( java.lang.String VAR_1 , java.lang.String VAR_2 , int VAR_3 ) { <BUG> return this . VAR_4 . METHOD_1 ( VAR_1 , VAR_2 , VAR_3 ) ;</BUG> } | public TYPE_1 METHOD_1 ( java.lang.String VAR_1 , java.lang.String VAR_2 , int VAR_3 ) { return null ; }
|
46,428 | private void METHOD_1 ( ) { <BUG> TYPE_1 VAR_1 = TYPE_2 . METHOD_2 ( this ) ;TYPE_3 VAR_2 = new TYPE_3 ( VAR_3 , STRING_1 ) ;</BUG> } | private void METHOD_1 ( ) { }
|
46,429 | public void METHOD_1 ( android.view.View view , TYPE_1 VAR_1 ) { super . METHOD_1 ( view , VAR_1 ) ; METHOD_2 ( getString ( VAR_2 ) ) ; <BUG> METHOD_3 ( ) ;</BUG> METHOD_4 ( ) ; } | public void METHOD_1 ( android.view.View view , TYPE_1 VAR_1 ) { super . METHOD_1 ( view , VAR_1 ) ; METHOD_2 ( getString ( VAR_2 ) ) ; METHOD_4 ( ) ; }
|
46,430 | public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 . add ( VAR_1 ) ; <BUG> VAR_3 . METHOD_2 ( VAR_1 ) ;</BUG> VAR_3 . METHOD_3 ( ) ; } | public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 . add ( VAR_1 ) ; VAR_3 . METHOD_3 ( ) ; }
|
46,431 | public void METHOD_1 ( ) { <BUG> this . VAR_1 = this . VAR_2 = this . VAR_3 = 0.0F ;</BUG> this . VAR_4 *= 0.0 ; this . VAR_5 *= 0.0 ; this . VAR_6 *= 0.0 ; super . METHOD_1 ( ) ; } | public void METHOD_1 ( ) { this . VAR_2 = this . VAR_3 = 0.0F ; this . VAR_4 *= 0.0 ; this . VAR_5 *= 0.0 ; this . VAR_6 *= 0.0 ; super . METHOD_1 ( ) ; }
|
46,432 | public void METHOD_1 ( TYPE_1 output ) { <BUG> VAR_1 . METHOD_1 ( ) ;</BUG> } | public void METHOD_1 ( TYPE_1 output ) { VAR_1 . METHOD_1 ( output ) ; }
|
46,433 | void METHOD_1 ( boolean VAR_1 ) { VAR_2 = VAR_1 ; <BUG> if ( VAR_1 ) {TYPE_1 . METHOD_2 ( VAR_3 ) ;}</BUG> } | void METHOD_1 ( boolean VAR_1 ) { VAR_2 = VAR_1 ; }
|
46,434 | public void METHOD_1 ( android.view.View VAR_1 ) { VAR_2 . METHOD_2 ( null , null , VAR_3 ) ; if ( ( VAR_4 ) == false ) { VAR_5 = VAR_6 ; VAR_4 = true ; } <BUG> VAR_2 . METHOD_3 ( ) ;</BUG> } | public void METHOD_1 ( android.view.View VAR_1 ) { VAR_2 . METHOD_2 ( null , null , VAR_3 ) ; if ( ( VAR_4 ) == false ) { VAR_5 = VAR_6 ; VAR_4 = true ; } }
|
46,435 | public java.lang.String METHOD_1 ( ) { METHOD_2 ( VAR_1 ) ; return VAR_2 [ VAR_3 ] ; <BUG> if ( VAR_2 = FLOAT_1 ) ;</BUG> } | public java.lang.String METHOD_1 ( ) { METHOD_2 ( VAR_1 ) ; return VAR_2 [ VAR_3 ] ; }
|
46,436 | <BUG>public void METHOD_1 ( final byte [ ] buffer , final int offset , final int length ) {</BUG> TYPE_1 . METHOD_2 ( buffer , offset , result , 0 , length ) ; } | public void METHOD_1 ( byte [ ] buffer , int offset , int length ) { TYPE_1 . METHOD_2 ( buffer , offset , result , 0 , length ) ; }
|
46,437 | public void METHOD_1 ( ) throws java.io.IOException { super . METHOD_1 ( ) ; <BUG> METHOD_2 ( ) ;</BUG> METHOD_3 ( ) ; } | public void METHOD_1 ( ) throws java.io.IOException { super . METHOD_1 ( ) ; METHOD_3 ( ) ; }
|
46,438 | public TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) throws java.lang.Exception { java.lang.String VAR_2 = STRING_1 ; <BUG> java.lang.System.out.println ( STRING_2 ) ;</BUG> if ( METHOD_2 ( VAR_1 ) ) { VAR_2 = METHOD_3 ( ) ; } return METHOD_4 ( VAR_1 , VAR_2 ) ; } | public TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) throws java.lang.Exception { java.lang.String VAR_2 = STRING_1 ; if ( METHOD_2 ( VAR_1 ) ) { VAR_2 = METHOD_3 ( ) ; } return METHOD_4 ( VAR_1 , VAR_2 ) ; }
|
46,439 | public TYPE_1 < TYPE_2 > METHOD_1 ( ) { <BUG> return TYPE_1 . METHOD_2 ( METHOD_3 ( ) , METHOD_4 ( ) ) . METHOD_5 ( METHOD_6 ( ) ) . METHOD_7 ( METHOD_8 ( ) ) . METHOD_9 ( VAR_1 < TYPE_2 > METHOD_10 ( ) ) ;</BUG> } | public TYPE_1 < TYPE_2 > METHOD_1 ( ) { return TYPE_1 . METHOD_2 ( METHOD_3 ( ) , METHOD_4 ( ) ) . METHOD_5 ( METHOD_6 ( ) ) . METHOD_7 ( METHOD_8 ( ) ) ; }
|
46,440 | public void METHOD_1 ( ) { <BUG> VAR_1 . METHOD_2 ( ( ( VAR_1 . METHOD_3 ( ) ) == ( TYPE_1 ) ? VAR_2 : TYPE_1 ) ) ;</BUG> } | public void METHOD_1 ( ) { VAR_1 . METHOD_2 ( ( TYPE_1 . equals ( VAR_1 . METHOD_3 ( ) ) ? VAR_2 : TYPE_1 ) ) ; }
|
46,441 | public java.lang.Boolean METHOD_1 ( java.lang.String VAR_1 ) { <BUG> java.lang.System.out.print ( ( STRING_1 + ( VAR_2 ) ) ) ;java.lang.System.out.print ( ( STRING_2 + ( VAR_2 . METHOD_2 ( VAR_1 ) ) ) ) ;</BUG> return VAR_2 . METHOD_2 ( VAR_1 ) ; } | public java.lang.Boolean METHOD_1 ( java.lang.String VAR_1 ) { return VAR_2 . METHOD_2 ( VAR_1 ) ; }
|
46,442 | <BUG>private void METHOD_1 ( ) {</BUG> TYPE_1 VAR_1 = new TYPE_1 ( this . VAR_2 ) ; <BUG> VAR_1 . METHOD_2 ( ) ;</BUG> } | private boolean METHOD_1 ( ) { TYPE_1 VAR_1 = new TYPE_1 ( this . VAR_2 ) ; return VAR_1 . METHOD_2 ( ) ; }
|
46,443 | protected void METHOD_1 ( TYPE_1 event ) throws java.lang.Exception { ( ( TYPE_2 ) ( event . METHOD_2 ( ) ) ) . METHOD_3 ( ) . METHOD_4 ( ) . METHOD_5 ( ) ; <BUG> METHOD_6 ( ) ;</BUG> } | protected void METHOD_1 ( TYPE_1 event ) throws java.lang.Exception { ( ( TYPE_2 ) ( event . METHOD_2 ( ) ) ) . METHOD_3 ( ) . METHOD_4 ( ) . METHOD_5 ( ) ; }
|
46,444 | public TYPE_1 METHOD_1 ( TYPE_1 VAR_1 ) { VAR_1 . METHOD_2 ( null ) ; return VAR_1 ; } | public TYPE_1 METHOD_1 ( TYPE_1 VAR_1 ) { if ( VAR_1 != null ) { VAR_1 . METHOD_2 ( null ) ; } return VAR_1 ; }
|
46,445 | <BUG>private static native long METHOD_1 ( long VAR_1 , long VAR_2 , long VAR_3 , int VAR_4 ) ;</BUG> | private static long METHOD_1 ( long VAR_1 , long VAR_2 , long VAR_3 , int VAR_4 ) { return 0 ; }
|
46,446 | public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( ) ; METHOD_3 ( ) ; <BUG> METHOD_4 ( VAR_1 class ) ;</BUG> } | public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( ) ; METHOD_3 ( ) ; }
|
46,447 | public < TYPE_1 extends java.lang.Object > TYPE_1 execute ( final TYPE_2 < TYPE_1 , ? super TYPE_3 > VAR_1 ) throws java.lang.Exception { <BUG> this . METHOD_1 ( ) ;</BUG> synchronized ( this . METHOD_1 ( ) ) { return VAR_1 . METHOD_2 ( this ) ; } } | public < TYPE_1 extends java.lang.Object > TYPE_1 execute ( final TYPE_2 < TYPE_1 , ? super TYPE_3 > VAR_1 ) throws java.lang.Exception { synchronized ( this . METHOD_1 ( ) ) { return VAR_1 . METHOD_2 ( this ) ; } }
|
46,448 | private java.lang.String METHOD_1 ( TYPE_1 event , java.lang.String VAR_1 ) { <BUG> java.lang.String VAR_2 = TYPE_2 . METHOD_2 ( VAR_1 ) ;</BUG> java.util.Map VAR_3 = VAR_4 . METHOD_3 ( event , VAR_2 ) ; return VAR_3 . get ( STRING_1 ) . toString ( ) ; } | private java.lang.String METHOD_1 ( TYPE_1 event , java.lang.String VAR_1 ) { java.lang.String VAR_2 = METHOD_2 ( VAR_1 ) ; java.util.Map VAR_3 = VAR_4 . METHOD_3 ( event , VAR_2 ) ; return VAR_3 . get ( STRING_1 ) . toString ( ) ; }
|
46,449 | private boolean METHOD_1 ( java.lang.String VAR_1 ) { switch ( VAR_2 . METHOD_1 ( VAR_1 ) ) { case 0 : TYPE_1 . METHOD_2 ( VAR_3 ) ; return true ; <BUG> default : TYPE_1 . METHOD_3 ( VAR_4 ) ;return false ;</BUG> } } | private boolean METHOD_1 ( java.lang.String VAR_1 ) { switch ( VAR_2 . METHOD_1 ( VAR_1 ) ) { case 0 : TYPE_1 . METHOD_2 ( VAR_3 ) ; return true ; default : return false ; } }
|
46,450 | public void METHOD_1 ( float VAR_1 , float time ) { <BUG> METHOD_2 ( new TYPE_1 ( this , time , FLOAT_1 ) ) ;</BUG> } | public void METHOD_1 ( float VAR_1 , float time ) { METHOD_2 ( new TYPE_1 ( this , time , VAR_1 ) ) ; }
|
46,451 | private void METHOD_1 ( ) { <BUG> java.lang.String title = null ;</BUG> if ( ( VAR_1 ) != null ) { <BUG> title = STRING_1 + ( VAR_2 ) ;}</BUG> ( ( TYPE_1 ) ( getActivity ( ) ) ) . METHOD_2 ( ) . METHOD_1 ( title ) ; } | private void METHOD_1 ( ) { if ( ( VAR_1 ) != null ) { java.lang.String title = STRING_1 + ( VAR_2 ) ; ( ( TYPE_1 ) ( getActivity ( ) ) ) . METHOD_2 ( ) . METHOD_1 ( title ) ; } }
|
46,452 | public void METHOD_1 ( final java.util.Map < ? extends TYPE_1 , ? extends TYPE_2 > VAR_1 ) { if ( VAR_2 ) { <BUG> VAR_3 . METHOD_2 ( VAR_1 ) ;</BUG> } else { <BUG> throw new TYPE_3 ( STRING_1 ) ;</BUG> } } | public void METHOD_1 ( final java.util.Map < ? extends TYPE_1 , ? extends TYPE_2 > VAR_1 ) { if ( VAR_2 ) { throw new TYPE_3 ( STRING_1 ) ; } else { VAR_3 . METHOD_2 ( VAR_1 ) ; } }
|
46,453 | public TYPE_1 METHOD_1 ( ) { TYPE_1 temp = this ; <BUG> while ( ( this . VAR_1 ) != null ) {</BUG> temp = VAR_2 ; } return temp ; } | public TYPE_1 METHOD_1 ( ) { TYPE_1 temp = this ; while ( ( VAR_2 ) != null ) { temp = VAR_2 ; } return temp ; }
|
46,454 | public TYPE_1 append ( float value ) { VAR_1 . METHOD_1 ( VAR_2 , value ) ; } | public TYPE_1 append ( float value ) { VAR_1 . METHOD_1 ( VAR_2 , value ) ; return this ; }
|
46,455 | protected void METHOD_1 ( java.lang.Integer i ) { <BUG> VAR_1 . METHOD_2 ( ) ;</BUG> } | protected void METHOD_1 ( java.lang.Integer i ) { VAR_1 . METHOD_2 ( i ) ; }
|
46,456 | public double METHOD_1 ( int VAR_1 ) { return ( ( double ) ( VAR_2 ) ) ; } | public double METHOD_1 ( int VAR_1 ) { if ( ( VAR_2 ) instanceof java.lang.Float ) { float f = ( ( float ) ( VAR_2 ) ) ; return f ; } return ( ( double ) ( VAR_2 ) ) ; }
|
46,457 | <BUG>public java.util.List < TYPE_1 > METHOD_1 ( java.lang.String VAR_1 , int VAR_2 ) {return VAR_3 . METHOD_2 ( VAR_4 , ( ( ( STRING_1 + VAR_2 ) + STRING_2 ) + VAR_1 ) ) ;</BUG> } | public java.util.List < TYPE_1 > METHOD_1 ( java.lang.String VAR_1 ) { return VAR_3 . METHOD_2 ( VAR_4 , VAR_1 ) ; }
|
46,458 | <BUG>public void METHOD_1 ( java.lang.String name ) {VAR_1 = VAR_1 ;</BUG> } | public void METHOD_1 ( java.lang.String VAR_1 ) { this . VAR_1 = VAR_1 ; }
|
46,459 | public void METHOD_1 ( ) { super . METHOD_1 ( ) ; <BUG> METHOD_2 ( VAR_1 , STRING_1 ) ;</BUG> } | public void METHOD_1 ( ) { super . METHOD_1 ( ) ; }
|
46,460 | public TYPE_1 METHOD_1 ( ) { <BUG> return this . VAR_1 . METHOD_1 ( ) ;</BUG> } | public TYPE_1 METHOD_1 ( ) { return VAR_1 . METHOD_1 ( ) ; }
|
46,461 | public int METHOD_1 ( ) { <BUG> return ( ( int ) ( TYPE_1 . METHOD_2 ( ( ( this . VAR_1 ) / INT_1 ) ) ) ) ;</BUG> } | public int METHOD_1 ( ) { return ( ( int ) ( TYPE_1 . METHOD_2 ( ( ( this . VAR_1 ) / INT_1 ) ) ) ) + 1 ; }
|
46,462 | public void METHOD_1 ( TYPE_1 listener ) { VAR_1 = listener ; <BUG> if ( VAR_2 . METHOD_2 ( ) ) {</BUG> VAR_3 = new TYPE_2 ( ) ; VAR_3 . start ( ) ; } } | public void METHOD_1 ( TYPE_1 listener ) { VAR_1 = listener ; if ( ( VAR_2 . METHOD_2 ( ) ) && ( ( VAR_3 ) == null ) ) { VAR_3 = new TYPE_2 ( ) ; VAR_3 . start ( ) ; } }
|
46,463 | <BUG>public TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) {return VAR_2 . METHOD_2 ( VAR_1 ) ;</BUG> } | public void METHOD_1 ( java.lang.String VAR_1 ) { VAR_2 . METHOD_2 ( VAR_1 ) ; }
|
46,464 | public static void main ( java.lang.String [ ] args ) throws TYPE_1 , TYPE_2 { VAR_1 = true ; TYPE_3 VAR_2 = new TYPE_3 ( ) ; <BUG> TYPE_4 . METHOD_1 ( VAR_2 , VAR_3 , INT_1 ) ;</BUG> VAR_2 . METHOD_2 ( ) ; } | public static void main ( java.lang.String [ ] args ) throws TYPE_1 , TYPE_2 { VAR_1 = true ; TYPE_3 VAR_2 = new TYPE_3 ( ) ; VAR_2 . METHOD_2 ( ) ; }
|
46,465 | public int getId ( ) { <BUG> return id ;</BUG> } | public int getId ( ) { return this . id ; }
|
46,466 | public void METHOD_1 ( android.view.View VAR_1 ) { int position = METHOD_2 ( ) ; <BUG> TYPE_1 . METHOD_3 ( VAR_1 . getContext ( ) , STRING_1 , VAR_2 ) . show ( ) ;</BUG> } | public void METHOD_1 ( android.view.View VAR_1 ) { int position = METHOD_2 ( ) ; }
|
46,467 | public void METHOD_1 ( ) { if ( ( this . VAR_1 ) != null ) { this . VAR_1 . METHOD_2 ( VAR_2 ) ; <BUG> VAR_3 . METHOD_3 ( VAR_4 ) ;</BUG> } } | public void METHOD_1 ( ) { if ( ( this . VAR_1 ) != null ) { this . VAR_1 . METHOD_2 ( VAR_2 ) ; } }
|
46,468 | private boolean METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> return ( TYPE_2 . toString ( ) . METHOD_2 ( VAR_1 . METHOD_3 ( ) ) ) || ( TYPE_3 . toString ( ) . METHOD_2 ( VAR_1 . METHOD_3 ( ) ) ) ;</BUG> } | private boolean METHOD_1 ( TYPE_1 VAR_1 ) { return TYPE_2 . toString ( ) . METHOD_2 ( VAR_1 . METHOD_3 ( ) ) ; }
|
46,469 | public java.lang.String METHOD_1 ( ) { <BUG> return java.lang.Integer.toString ( VAR_1 ) ;</BUG> } | public java.lang.String METHOD_1 ( ) { java.lang.String str = java.lang.Integer.toString ( VAR_1 ) ; return str ; }
|
46,470 | public boolean METHOD_1 ( android.view.View VAR_1 ) { <BUG> TYPE_1 . METHOD_2 ( VAR_2 . get ( position ) ) . show ( ( ( TYPE_2 ) ( VAR_3 ) ) . METHOD_3 ( ) , STRING_1 ) ;</BUG> return true ; } | public boolean METHOD_1 ( android.view.View VAR_1 ) { TYPE_1 . METHOD_2 ( VAR_2 . get ( position ) , position ) . show ( ( ( TYPE_2 ) ( VAR_3 ) ) . METHOD_3 ( ) , STRING_1 ) ; return true ; }
|
46,471 | public void execute ( final TYPE_1 event ) { java.lang.String VAR_1 = VAR_2 . getText ( ) ; if ( ! ( TYPE_2 . METHOD_1 ( VAR_1 ) ) ) { <BUG> VAR_3 . METHOD_2 ( VAR_1 . trim ( ) ) ;</BUG> METHOD_3 ( ) ; } } | public void execute ( final TYPE_1 event ) { java.lang.String VAR_1 = VAR_2 . getText ( ) ; if ( ! ( TYPE_2 . METHOD_1 ( VAR_1 ) ) ) { VAR_3 . METHOD_2 ( false , VAR_1 . trim ( ) ) ; METHOD_3 ( ) ; } }
|
46,472 | <BUG>private void METHOD_1 ( final TYPE_1 VAR_1 ) throws java.lang.Exception {</BUG> VAR_2 . METHOD_2 ( ) . METHOD_3 ( VAR_1 ) ; } | protected void METHOD_1 ( final TYPE_1 VAR_1 ) throws java.lang.Exception { VAR_2 . METHOD_2 ( ) . METHOD_3 ( VAR_1 ) ; }
|
46,473 | public void METHOD_1 ( android.view.View VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; <BUG> getActivity ( ) . METHOD_2 ( ) ;</BUG> } | public void METHOD_1 ( android.view.View VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; }
|
46,474 | private java.lang.String METHOD_1 ( ) { <BUG> if ( VAR_1 . METHOD_2 ( ) ) {</BUG> return VAR_2 ; } else { return VAR_1 . METHOD_3 ( ) . METHOD_4 ( ) ; } } | private java.lang.String METHOD_1 ( ) { if ( ( VAR_1 . METHOD_2 ( ) ) || ( ( VAR_1 . METHOD_3 ( ) ) == null ) ) { return VAR_2 ; } else { return VAR_1 . METHOD_3 ( ) . METHOD_4 ( ) ; } }
|
46,475 | public void METHOD_1 ( ) { <BUG> TYPE_1 . assertNotNull ( VAR_1 . METHOD_2 ( ) ) ;</BUG> } | public void METHOD_1 ( ) { assertNotNull ( VAR_1 . METHOD_2 ( ) ) ; }
|
46,476 | public boolean METHOD_1 ( ) { <BUG> return ( null != ( params ) ) && ( ( params . size ( ) ) > 0 ) ;</BUG> } | public boolean METHOD_1 ( ) { return ( null != ( content ) ) || ( ( null != ( params ) ) && ( ( params . size ( ) ) > 0 ) ) ; }
|
46,477 | public int METHOD_1 ( ) { int VAR_1 = 0 ; java.util.Random VAR_2 = new java.util.Random ( ) ; while ( VAR_1 == 0 ) { VAR_1 = VAR_2 . METHOD_2 ( VAR_3 ) ; } <BUG> VAR_4 = VAR_5 ;</BUG> ( VAR_6 ) ++ ; return VAR_1 ; } | public int METHOD_1 ( ) { int VAR_1 = 0 ; java.util.Random VAR_2 = new java.util.Random ( ) ; while ( VAR_1 == 0 ) { VAR_1 = VAR_2 . METHOD_2 ( VAR_3 ) ; } ( VAR_6 ) ++ ; return VAR_1 ; }
|
46,478 | public final void METHOD_1 ( ) { <BUG> TYPE_1 VAR_1 = new TYPE_1 ( ) ;</BUG> VAR_1 . METHOD_2 ( ) ; VAR_2 = VAR_1 . METHOD_3 ( ) ; } | public final void METHOD_1 ( ) { VAR_1 = new TYPE_1 ( ) ; VAR_1 . METHOD_2 ( ) ; VAR_2 = VAR_1 . METHOD_3 ( ) ; }
|
46,479 | public static boolean METHOD_1 ( android.content.Context context , java.lang.String VAR_1 ) { try { <BUG> context . METHOD_2 ( ) . METHOD_3 ( VAR_1 , VAR_2 ) ;return true ;</BUG> } catch ( TYPE_1 VAR_3 ) { return false ; } } | public static boolean METHOD_1 ( android.content.Context context , java.lang.String VAR_1 ) { try { return ( context . METHOD_2 ( ) . METHOD_3 ( VAR_1 , VAR_2 ) ) != null ; } catch ( TYPE_1 VAR_3 ) { return false ; } }
|
46,480 | public boolean METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> return ! ( VAR_2 . equals ( VAR_3 ) ) ;</BUG> } | public boolean METHOD_1 ( TYPE_1 VAR_1 ) { return ( ( VAR_2 ) != null ) && ( ! ( VAR_2 . equals ( VAR_3 ) ) ) ; }
|
46,481 | public void METHOD_1 ( java.lang.String VAR_1 , java.lang.String VAR_2 ) { VAR_3 . METHOD_2 ( ) . get ( VAR_1 ) . get ( VAR_2 ) . METHOD_3 ( 1 ) ; <BUG> java.lang.System.out.println ( this ) ;</BUG> } | public void METHOD_1 ( java.lang.String VAR_1 , java.lang.String VAR_2 ) { VAR_3 . METHOD_2 ( ) . get ( VAR_1 ) . get ( VAR_2 ) . METHOD_3 ( 1 ) ; }
|
46,482 | public void METHOD_1 ( ) { <BUG> this . VAR_1 = TYPE_1 . METHOD_2 ( this . VAR_2 , this . VAR_3 , true ) ;</BUG> } | public void METHOD_1 ( ) { this . METHOD_1 ( TYPE_1 . METHOD_2 ( this . VAR_2 , this . VAR_3 , true ) ) ; }
|
46,483 | public void METHOD_1 ( ) { <BUG> android.content.Intent intent = TYPE_1 . METHOD_2 ( this ) ;METHOD_3 ( intent ) ;</BUG> METHOD_4 ( ) ; } | public void METHOD_1 ( ) { METHOD_4 ( ) ; }
|
46,484 | <BUG>TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , java.lang.Object VAR_2 , java.lang.Exception VAR_3 ) ;</BUG> | METHOD_1 ( TYPE_2 VAR_1 , java.lang.Object VAR_2 , java.lang.Exception VAR_3 ) { }
|
46,485 | public void METHOD_1 ( ) { <BUG> TYPE_1 . METHOD_2 ( ( STRING_1 + ( ( ( STRING_2 + STRING_3 ) + STRING_4 ) + STRING_5 ) ) ) ;</BUG> } | public void METHOD_1 ( ) { METHOD_2 ( ( STRING_1 + ( ( ( STRING_2 + STRING_3 ) + STRING_4 ) + STRING_5 ) ) ) ; }
|
46,486 | public int METHOD_1 ( int VAR_1 ) { <BUG> return VAR_2 [ METHOD_2 ( VAR_1 ) ] ;</BUG> } | public int METHOD_1 ( int VAR_1 ) { return VAR_2 . get ( METHOD_2 ( VAR_1 ) ) ; }
|
46,487 | public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( STRING_1 ) ; VAR_1 = true ; } | public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( STRING_1 ) ; synchronized ( VAR_1 ) { VAR_1 = true ; } }
|
46,488 | public void METHOD_1 ( ) { <BUG> this . VAR_1 = ( ( int ) ( ( java.lang.Math.random ( ) ) * ( VAR_2 ) ) ) + 1 ;</BUG> } | public void METHOD_1 ( ) { VAR_1 = ( ( int ) ( ( java.lang.Math.random ( ) ) * ( VAR_2 ) ) ) + 1 ; }
|
46,489 | <BUG>private void METHOD_1 ( android.view.View view ) {</BUG> VAR_1 . METHOD_2 ( STRING_1 ) ; } | private void METHOD_1 ( ) { VAR_1 . METHOD_2 ( STRING_1 ) ; }
|
46,490 | public boolean METHOD_1 ( ) { <BUG> return ! ( METHOD_2 ( ) ) ;</BUG> } | public boolean METHOD_1 ( ) { return METHOD_2 ( ) ; }
|
46,491 | public void METHOD_1 ( TYPE_1 event , float x , float y ) { <BUG> TYPE_2 . METHOD_2 ( ( STRING_1 + ( VAR_1 ) ) ) ;</BUG> if ( VAR_1 ) { VAR_2 . METHOD_3 ( ) ; VAR_3 . METHOD_4 ( VAR_4 ) ; } } | public void METHOD_1 ( TYPE_1 event , float x , float y ) { if ( VAR_1 ) { VAR_2 . METHOD_3 ( ) ; VAR_3 . METHOD_4 ( VAR_4 ) ; } }
|
46,492 | public void METHOD_1 ( TYPE_1 VAR_1 , int i ) { counter . METHOD_2 ( VAR_2 . METHOD_3 ( ) . toString ( ) ) ; } | public void METHOD_1 ( TYPE_1 VAR_1 , int i ) { if ( ( VAR_2 . METHOD_3 ( ) ) == null ) return ; counter . METHOD_2 ( VAR_2 . METHOD_3 ( ) . toString ( ) ) ; }
|
46,493 | public void METHOD_1 ( android.view.View view ) { <BUG> TYPE_1 . METHOD_2 ( context , STRING_1 , VAR_1 ) . show ( ) ;</BUG> METHOD_3 ( 1 ) ; } | public void METHOD_1 ( android.view.View view ) { METHOD_3 ( 1 ) ; }
|
46,494 | public void METHOD_1 ( ) { <BUG> if ( ( context ) != null ) {context . METHOD_2 ( ) ;</BUG> } } | public void METHOD_1 ( ) { if ( ( this . context ) != null ) { this . context . METHOD_2 ( ) ; } }
|
46,495 | public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_1 . METHOD_2 ( this ) ; VAR_2 . add ( VAR_1 ) ; } | public void METHOD_1 ( TYPE_1 VAR_1 ) { if ( VAR_1 != ( this ) ) { VAR_1 . METHOD_2 ( this ) ; VAR_2 . add ( VAR_1 ) ; } else { VAR_2 . add ( VAR_1 ) ; } }
|
46,496 | public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 [ 1 ] = VAR_1 ; <BUG> if ( ( VAR_3 ) < ( VAR_4 ) ) {( VAR_3 ) ++ ;}</BUG> } | public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 [ 1 ] = VAR_1 ; VAR_3 = 1 + ( ( VAR_2 [ 0 ] ) == null ? 0 : 1 ) ; }
|
46,497 | public java.lang.String METHOD_1 ( ) { <BUG> return ( ( ( VAR_1 . format ( VAR_2 ) ) + STRING_1 ) + ( VAR_1 . format ( VAR_3 ) ) ) + STRING_1 ;</BUG> } | public java.lang.String METHOD_1 ( ) { return ( VAR_1 . format ( VAR_2 ) ) + STRING_1 ; }
|
46,498 | public void error ( ) { METHOD_1 ( STRING_1 ) ; } | public void error ( ) { this . error ( ) ; METHOD_1 ( STRING_1 ) ; }
|
46,499 | <BUG>private void METHOD_1 ( ) {</BUG> java.util.Random VAR_1 = new java.util.Random ( ) ; VAR_2 = ( VAR_1 . METHOD_2 ( VAR_3 ) ) + 1 ; } | public void METHOD_1 ( ) { java.util.Random VAR_1 = new java.util.Random ( ) ; VAR_2 = ( VAR_1 . METHOD_2 ( VAR_3 ) ) + 1 ; }
|
Subsets and Splits