id
int64
0
46.7k
buggy
stringlengths
22
390
fixed
stringlengths
14
367
0
public java.lang.String METHOD_1 ( ) { <BUG> return new TYPE_1 ( STRING_1 ) . format ( VAR_1 [ ( ( VAR_1 . length ) - 1 ) ] . getTime ( ) ) ;</BUG> }
public java.lang.String METHOD_1 ( ) { return new TYPE_1 ( STRING_1 ) . format ( VAR_1 [ ( ( type ) - 1 ) ] . getTime ( ) ) ; }
1
public boolean METHOD_1 ( java.lang.String name ) { <BUG> TYPE_1 VAR_1 = TYPE_1 . METHOD_2 ( VAR_2 ) ;return ( ! ( METHOD_3 ( name ) ) ) && ( VAR_1 . contains ( name ) ) ;</BUG> }
public boolean METHOD_1 ( java.lang.String name ) { return ( ! ( METHOD_3 ( name ) ) ) && ( TYPE_1 . METHOD_2 ( VAR_2 ) . contains ( name ) ) ; }
2
public char METHOD_1 ( java.lang.String VAR_1 , java.lang.String name ) { <BUG> return null ;</BUG> }
public char METHOD_1 ( java.lang.String VAR_1 , java.lang.String name ) { return 0 ; }
3
private void METHOD_1 ( ) { VAR_1 . METHOD_2 ( STRING_1 ) ; VAR_2 = false ; ( VAR_3 ) ++ ; if ( ( VAR_3 ) == ( VAR_4 . size ( ) ) ) { METHOD_3 ( ) ; } METHOD_4 ( ) ; }
private void METHOD_1 ( ) { VAR_1 . METHOD_2 ( STRING_1 ) ; VAR_2 = false ; ( VAR_3 ) ++ ; if ( ( VAR_3 ) == ( VAR_4 . size ( ) ) ) { METHOD_3 ( ) ; return ; } METHOD_4 ( ) ; }
4
public TYPE_1 METHOD_1 ( ) { <BUG> java.lang.System.out.println ( STRING_1 ) ;</BUG> return this . VAR_1 . METHOD_1 ( ) ; }
public TYPE_1 METHOD_1 ( ) { return this . VAR_1 . METHOD_1 ( ) ; }
5
public void METHOD_1 ( ) { for ( TYPE_1 VAR_1 : this . VAR_2 ) { <BUG> if ( VAR_3 . contains ( VAR_1 . METHOD_2 ( ) ) ) {VAR_1 . METHOD_3 ( true ) ;}</BUG> } }
public void METHOD_1 ( ) { for ( TYPE_1 VAR_1 : this . VAR_2 ) { VAR_1 . METHOD_3 ( VAR_3 . contains ( VAR_1 . METHOD_2 ( ) ) ) ; } }
6
public void METHOD_1 ( android.view.View view ) { if ( ( context ) instanceof TYPE_1 ) { ( ( TYPE_1 ) ( context ) ) . METHOD_2 ( string ) ; <BUG> }else {</BUG> } }
public void METHOD_1 ( android.view.View view ) { if ( ( context ) instanceof TYPE_1 ) { ( ( TYPE_1 ) ( context ) ) . METHOD_2 ( string ) ; } }
7
public java.lang.String METHOD_1 ( java.lang.String key ) { <BUG> return METHOD_2 ( key , STRING_1 , STRING_2 ) ;</BUG> }
public java.lang.String METHOD_1 ( java.lang.String key ) { return METHOD_2 ( key , STRING_1 , null ) ; }
8
public void METHOD_1 ( java.lang.String msg ) { <BUG> TYPE_1 VAR_1 = TYPE_1 . METHOD_2 ( msg ) ;TYPE_2 result = METHOD_3 ( VAR_1 ) ;</BUG> }
public void METHOD_1 ( java.lang.String msg ) { TYPE_2 result = METHOD_3 ( TYPE_1 . METHOD_2 ( msg ) ) ; }
9
public void METHOD_1 ( ) { <BUG> VAR_1 . METHOD_2 ( STRING_1 ) ;</BUG> if ( VAR_2 . METHOD_3 ( ) ) { <BUG> VAR_1 . info ( STRING_2 ) ;</BUG> return ; } METHOD_4 ( ) ; METHOD_5 ( ) ; METHOD_6 ( ) ; }
public void METHOD_1 ( ) { if ( VAR_2 . METHOD_3 ( ) ) { VAR_1 . METHOD_2 ( STRING_2 ) ; return ; } METHOD_4 ( ) ; METHOD_5 ( ) ; METHOD_6 ( ) ; }
10
private void METHOD_1 ( ) { VAR_1 = null ; VAR_2 = null ; VAR_3 = null ; <BUG> VAR_4 = new TYPE_1 ( 0 , 0 , 0 ) ;</BUG> VAR_5 = null ; }
private void METHOD_1 ( ) { VAR_1 = null ; VAR_2 = null ; VAR_3 = null ; VAR_4 = new TYPE_1 ( 0 , 0 , 0 , null ) ; VAR_5 = null ; }
11
<BUG>private TYPE_1 METHOD_1 ( java.io.BufferedReader VAR_1 ) throws java.io.IOException {</BUG> return new TYPE_1 ( VAR_1 . METHOD_2 ( ) ) ; }
private TYPE_1 METHOD_1 ( ) throws java.io.IOException { return new TYPE_1 ( VAR_1 . METHOD_2 ( ) ) ; }
12
public int METHOD_1 ( ) { for ( int i = 0 ; i < INT_1 ; i ++ ) { if ( ( VAR_1 [ 0 ] [ i ] ) == null ) { return i ; } } }
public int METHOD_1 ( ) { for ( int i = 0 ; i < INT_1 ; i ++ ) { if ( ( VAR_1 [ 0 ] [ i ] ) == null ) { return i ; } } return 0 ; }
13
public void METHOD_1 ( ) throws TYPE_1 { <BUG> long VAR_1 = - 1L ;</BUG> TYPE_2 VAR_2 = VAR_3 . METHOD_2 ( VAR_1 ) ; METHOD_3 ( VAR_2 ) ; }
public void METHOD_1 ( ) throws TYPE_1 { long VAR_1 = 0 ; TYPE_2 VAR_2 = VAR_3 . METHOD_2 ( VAR_1 ) ; METHOD_3 ( VAR_2 ) ; }
14
public java.lang.String [ ] METHOD_1 ( TYPE_1 VAR_1 , int size ) { <BUG> return METHOD_2 ( size , VAR_1 . METHOD_3 ( ) ) ;</BUG> }
public java.lang.String [ ] METHOD_1 ( TYPE_1 VAR_1 , int size ) { return METHOD_2 ( size , VAR_1 . METHOD_3 ( ) , ( - 1 ) ) ; }
15
public void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> VAR_2 . METHOD_2 ( VAR_3 ) ;</BUG> ( VAR_4 ) ++ ; METHOD_3 ( ) ; }
public void METHOD_1 ( TYPE_1 VAR_1 ) { if ( VAR_2 . METHOD_2 ( VAR_3 ) ) { ( VAR_4 ) ++ ; METHOD_3 ( ) ; } }
16
protected void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> TYPE_2 . METHOD_2 ( STRING_1 , STRING_2 ) ;</BUG> VAR_2 . METHOD_3 ( ) ; }
protected void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 . METHOD_3 ( ) ; }
17
public void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> VAR_2 . add ( VAR_1 ) ;VAR_3 . METHOD_2 ( ) ;</BUG> }
public void METHOD_1 ( TYPE_1 VAR_1 ) { }
18
private java.util.List < TYPE_1 > METHOD_1 ( TYPE_1 f ) { <BUG> return METHOD_2 ( VAR_1 , VAR_2 , VAR_3 , f , TYPE_2 . METHOD_3 ( ) , ( VAR_4 + 1 ) ) ;</BUG> }
private java.util.List < TYPE_1 > METHOD_1 ( TYPE_1 f ) { return METHOD_2 ( VAR_1 , VAR_2 , VAR_3 , f , ( VAR_4 + 1 ) ) ; }
19
<BUG>private static void METHOD_1 ( android.content.Context context , java.lang.String message , TYPE_1 listener ) {</BUG> new TYPE_2 ( context ) . METHOD_2 ( message ) . METHOD_3 ( false ) . METHOD_4 ( VAR_1 , listener ) . show ( ) ; }
public static void METHOD_1 ( android.content.Context context , java.lang.String message , TYPE_1 listener ) { new TYPE_2 ( context ) . METHOD_2 ( message ) . METHOD_3 ( false ) . METHOD_4 ( VAR_1 , listener ) . show ( ) ; }
20
public void METHOD_1 ( ) throws TYPE_1 { TYPE_2 result = VAR_1 . METHOD_2 ( STRING_1 ) ; <BUG> TYPE_3 . assertNotNull ( STRING_2 , result ) ;</BUG> }
public void METHOD_1 ( ) throws TYPE_1 { TYPE_2 result = VAR_1 . METHOD_2 ( STRING_1 ) ; assertNotNull ( STRING_2 , result ) ; }
21
protected void METHOD_1 ( ) { super . METHOD_1 ( ) ; VAR_1 . METHOD_2 ( ) ; <BUG> VAR_2 . METHOD_3 ( ) ;</BUG> }
protected void METHOD_1 ( ) { super . METHOD_1 ( ) ; VAR_1 . METHOD_2 ( ) ; }
22
public void METHOD_1 ( ) { super . METHOD_1 ( ) ; <BUG> if ( VAR_1 ) {</BUG> METHOD_2 ( ) ; <BUG> }METHOD_3 ( null ) ;</BUG> }
public void METHOD_1 ( ) { super . METHOD_1 ( ) ; if ( ! ( VAR_1 ) ) { METHOD_3 ( null ) ; } METHOD_2 ( ) ; }
23
<BUG>private void METHOD_1 ( ) {VAR_1 = new TYPE_1 ( VAR_2 , new TYPE_2 ( ) {public void METHOD_2 ( TYPE_3 VAR_3 ) {</BUG> METHOD_3 (<BUG> ) ;BUG> }</BUG></BUG> } ) ; <BUG> VAR_1 . METHOD_4 ( VAR_4 ) ;VAR_1 . start ( ) ;</BUG> }
public void METHOD_2 ( TYPE_3 VAR_3 ) { METHOD_3 ( ) ; }
24
protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( VAR_2 ) ; <BUG> VAR_3 . context = this ;</BUG> }
protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( VAR_2 ) ; }
25
public void METHOD_1 ( TYPE_1 TYPE_2 ) { super . METHOD_1 ( TYPE_2 ) ; <BUG> if ( ( VAR_1 ) == null ) VAR_1 = STRING_1 ;</BUG> TYPE_2 . METHOD_2 ( STRING_2 , VAR_1 ) ; TYPE_2 . METHOD_3 ( STRING_3 , VAR_2 ) ; }
public void METHOD_1 ( TYPE_1 TYPE_2 ) { super . METHOD_1 ( TYPE_2 ) ; TYPE_2 . METHOD_2 ( STRING_2 , VAR_1 ) ; TYPE_2 . METHOD_3 ( STRING_3 , VAR_2 ) ; }
26
private boolean METHOD_1 ( TYPE_1 VAR_1 ) { java.lang.String param = VAR_1 . getContext ( ) . METHOD_2 ( STRING_1 ) ; <BUG> return ( param == null ) || ( ! ( java.lang.Boolean . METHOD_3 ( param ) ) ) ;</BUG> }
private boolean METHOD_1 ( TYPE_1 VAR_1 ) { java.lang.String param = VAR_1 . getContext ( ) . METHOD_2 ( STRING_1 ) ; return ( param != null ) && ( java.lang.Boolean . METHOD_3 ( param ) ) ; }
27
<BUG>public void METHOD_1 ( ) {int VAR_1 = METHOD_2 ( ) ;long offset = TYPE_1 . METHOD_3 ( VAR_2 . METHOD_4 ( VAR_3 ) , VAR_1 ) ;METHOD_5 ( offset ) ;</BUG> }
public boolean METHOD_1 ( ) { long offset = VAR_2 . METHOD_4 ( VAR_3 ) ; METHOD_5 ( offset , true ) ; return true ; }
28
public void update ( ) { <BUG> java.lang.System.out.println ( ( ( ( STRING_1 + ( VAR_1 . get ( ) ) ) + STRING_2 ) + ( VAR_1 . METHOD_1 ( ) ) ) ) ;</BUG> }
public void update ( ) { }
29
boolean METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 , TYPE_3 VAR_3 ) { if ( ! ( VAR_4 . METHOD_2 ( VAR_5 , VAR_2 , VAR_3 ) ) ) { return false ; } <BUG> return METHOD_3 ( VAR_1 , VAR_2 ) ;</BUG> }
boolean METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 , TYPE_3 VAR_3 ) { if ( ! ( VAR_4 . METHOD_2 ( VAR_5 , VAR_2 , VAR_3 ) ) ) { return false ; } return METHOD_3 ( VAR_1 , VAR_2 , VAR_3 ) ; }
30
public static void METHOD_1 ( TYPE_1 VAR_1 , java.lang.String VAR_2 ) { <BUG> VAR_3 . put ( VAR_2 , VAR_1 ) ;</BUG> }
public static void METHOD_1 ( TYPE_1 VAR_1 , java.lang.String VAR_2 ) { VAR_3 . put ( VAR_2 . toUpperCase ( ) , VAR_1 ) ; }
31
public void METHOD_1 ( TYPE_1 token , int VAR_1 ) { <BUG> if ( ( this . token ) != null ) {throw new TYPE_2 ( STRING_1 ) ;}</BUG> this . token = token ; this . VAR_1 = VAR_1 ; }
public void METHOD_1 ( TYPE_1 token , int VAR_1 ) { this . token = token ; this . VAR_1 = VAR_1 ; }
32
private boolean METHOD_1 ( ) { <BUG> if ( this . end . METHOD_2 ( ) ) {return true ;BUG> }</BUG></BUG> <BUG> else {return false ;</BUG> } }
private boolean METHOD_1 ( ) { return this . end . METHOD_2 ( ) ; }
33
public void METHOD_1 ( int VAR_1 , TYPE_1 [ ] VAR_2 , TYPE_2 VAR_3 ) { android.content.Intent intent = new android.content.Intent ( this , VAR_4 class ) ; <BUG> intent . METHOD_2 ( STRING_1 , VAR_5 ) ;</BUG> METHOD_3 ( intent ) ; }
public void METHOD_1 ( int VAR_1 , TYPE_1 [ ] VAR_2 , TYPE_2 VAR_3 ) { android.content.Intent intent = new android.content.Intent ( this , VAR_4 class ) ; METHOD_3 ( intent ) ; }
34
public void METHOD_1 ( int VAR_1 , TYPE_1 [ ] VAR_2 , byte [ ] response , java.lang.Throwable error ) { TYPE_2 VAR_3 = METHOD_2 ( VAR_1 , VAR_2 , response ) ; <BUG> VAR_4 . METHOD_3 ( error . METHOD_4 ( ) , VAR_3 ) ;</BUG> }
public void METHOD_1 ( int VAR_1 , TYPE_1 [ ] VAR_2 , byte [ ] response , java.lang.Throwable error ) { TYPE_2 VAR_3 = METHOD_2 ( VAR_1 , VAR_2 , response ) ; VAR_4 . METHOD_3 ( error . toString ( ) , VAR_3 ) ; }
35
public static java.lang.String METHOD_1 ( android.content.Context VAR_1 ) { <BUG> boolean VAR_2 = TYPE_1 . METHOD_2 ( VAR_1 ) . getBoolean ( VAR_3 , false ) ;if ( VAR_2 ) return ( VAR_4 ) + ( VAR_5 ) ;else return ( VAR_6 ) + ( VAR_5 ) ;</BUG> }
public static java.lang.String METHOD_1 ( android.content.Context VAR_1 ) { return ( VAR_4 ) + ( VAR_5 ) ; }
36
public void METHOD_1 ( int VAR_1 ) { <BUG> METHOD_2 ( ( ( VAR_2 ) != null ? VAR_2 : getContext ( ) . METHOD_3 ( ) ) ) ;</BUG> super . METHOD_1 ( VAR_1 ) ; }
public void METHOD_1 ( int VAR_1 ) { METHOD_2 ( METHOD_3 ( ) ) ; super . METHOD_1 ( VAR_1 ) ; }
37
public void METHOD_1 ( int VAR_1 , int height ) { for ( TYPE_1 VAR_2 : this . VAR_3 ) { VAR_4 . METHOD_2 ( ) . update ( VAR_1 , height ) ; } }
public void METHOD_1 ( int VAR_1 , int height ) { for ( TYPE_1 VAR_2 : this . VAR_3 ) { if ( ( VAR_4 ) != null ) { VAR_4 . METHOD_2 ( ) . update ( VAR_1 , height ) ; } } }
38
public TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) { this . VAR_2 . add ( VAR_1 ) ; return this ; }
public TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) { if ( ( this . VAR_2 ) == null ) { this . VAR_2 = new java.util.ArrayList < java.lang.String > ( ) ; } this . VAR_2 . add ( VAR_1 ) ; return this ; }
39
<BUG>public TYPE_1 METHOD_1 ( int VAR_1 , int VAR_2 ) {</BUG> if ( ( this . VAR_3 ) == null ) { this . VAR_3 = new TYPE_2 ( ) ; } this . VAR_3 . METHOD_2 ( VAR_1 , VAR_2 ) ; return this ; }
public TYPE_1 METHOD_1 ( int VAR_1 , float VAR_2 ) { if ( ( this . VAR_3 ) == null ) { this . VAR_3 = new TYPE_2 ( ) ; } this . VAR_3 . METHOD_2 ( VAR_1 , VAR_2 ) ; return this ; }
40
public void handle ( TYPE_1 VAR_1 ) { <BUG> java.lang.System.out.println ( STRING_1 ) ;</BUG> if ( VAR_1 . METHOD_1 ( ) . startsWith ( STRING_2 ) ) { METHOD_2 ( VAR_1 ) ; } }
public void handle ( TYPE_1 VAR_1 ) { if ( VAR_1 . METHOD_1 ( ) . startsWith ( STRING_2 ) ) { METHOD_2 ( VAR_1 ) ; } }
41
public boolean METHOD_1 ( ) { return this . VAR_1 [ ( ( this . VAR_1 . length ) - 1 ) ] . getType ( ) . METHOD_1 ( ) ; }
public boolean METHOD_1 ( ) { if ( ( this . VAR_1 . length ) == 0 ) return false ; return this . VAR_1 [ ( ( this . VAR_1 . length ) - 1 ) ] . getType ( ) . METHOD_1 ( ) ; }
42
private void METHOD_1 ( ) { java.util.List < TYPE_1 > VAR_1 = TYPE_1 . METHOD_2 ( TYPE_2 . METHOD_3 ( METHOD_4 ( ) ) ) ; <BUG> TYPE_2 . METHOD_5 ( METHOD_4 ( ) ) ;</BUG> METHOD_6 ( ) ; }
private void METHOD_1 ( ) { java.util.List < TYPE_1 > VAR_1 = TYPE_1 . METHOD_2 ( TYPE_2 . METHOD_3 ( METHOD_4 ( ) ) ) ; METHOD_6 ( ) ; }
43
private void METHOD_1 ( ) { <BUG> if ( ( VAR_1 . length ) < INT_1 ) return ;</BUG> METHOD_2 ( INT_2 , VAR_2 ) ; METHOD_2 ( INT_3 , VAR_3 ) ; METHOD_2 ( INT_1 , VAR_4 ) ; METHOD_3 ( ) ; }
private void METHOD_1 ( ) { METHOD_2 ( INT_2 , VAR_2 ) ; METHOD_2 ( INT_3 , VAR_3 ) ; METHOD_2 ( INT_1 , VAR_4 ) ; METHOD_3 ( ) ; }
44
public void METHOD_1 ( android.view.View VAR_1 ) { <BUG> TYPE_1 VAR_2 = new TYPE_1 ( VAR_3 , VAR_4 , VAR_5 , STRING_1 , VAR_6 , VAR_7 ) ;</BUG> VAR_2 . init ( ) ; VAR_2 . METHOD_2 ( ) ; }
public void METHOD_1 ( android.view.View VAR_1 ) { TYPE_1 VAR_2 = new TYPE_1 ( VAR_3 , VAR_4 , VAR_5 , STRING_1 , VAR_6 , VAR_7 , this ) ; VAR_2 . init ( ) ; VAR_2 . METHOD_2 ( ) ; }
45
public boolean METHOD_1 ( final TYPE_1 VAR_1 ) { <BUG> return false ;</BUG> }
public boolean METHOD_1 ( final TYPE_1 VAR_1 ) { return true ; }
46
public void METHOD_1 ( android.view.View VAR_1 ) { <BUG> VAR_2 = VAR_3 ;METHOD_2 ( METHOD_3 ( ) ) ;TYPE_1 . METHOD_4 ( VAR_4 , STRING_1 ) ;</BUG> }
public void METHOD_1 ( android.view.View VAR_1 ) { }
47
public void METHOD_1 ( byte [ ] b ) throws java.io.IOException { METHOD_2 ( b . length ) ; <BUG> super . METHOD_1 ( b ) ;</BUG> }
public void METHOD_1 ( byte [ ] b ) throws java.io.IOException { METHOD_2 ( b . length ) ; out.write ( b ) ; }
48
<BUG>public TYPE_1 METHOD_1 ( java.lang.String name , android.content.Context context ) {</BUG> for ( TYPE_1 VAR_1 : VAR_2 ) { if ( VAR_1 . METHOD_2 ( ) . equals ( name ) ) { return VAR_1 ; } } return METHOD_3 ( name , context ) ; }
public TYPE_1 METHOD_1 ( java.lang.String name , int count , android.content.Context context ) { for ( TYPE_1 VAR_1 : VAR_2 ) { if ( VAR_1 . METHOD_2 ( ) . equals ( name ) ) { return VAR_1 ; } } return METHOD_3 ( name , context ) ; }
49
public static void main ( java.lang.String [ ] args ) { <BUG> TYPE_1 VAR_1 = new TYPE_1 ( ) ;VAR_1 . METHOD_1 ( ) ;</BUG> TYPE_2 . METHOD_2 ( INT_1 , INT_1 ) ; }
public static void main ( java.lang.String [ ] args ) { TYPE_2 . METHOD_2 ( INT_1 , INT_1 ) ; }
50
public void METHOD_1 ( ) { this . VAR_1 . METHOD_2 ( this . VAR_2 ) ; <BUG> this . VAR_1 . METHOD_2 ( ( ( this . VAR_3 . getValue ( ) ) - 1 ) ) ;</BUG> }
public void METHOD_1 ( ) { this . VAR_1 . METHOD_2 ( this . VAR_2 ) ; }
51
<BUG>public void METHOD_1 ( TYPE_1 key , TYPE_2 < TYPE_3 > values , TYPE_4 context ) throws java.io.IOException , TYPE_5 {</BUG> context . METHOD_2 ( key , VAR_1 ) ; VAR_1 . set ( ( ( VAR_1 . get ( ) ) + 1 ) ) ; }
public void METHOD_1 ( TYPE_3 key , TYPE_2 < TYPE_3 > values , TYPE_4 context ) throws java.io.IOException , TYPE_5 { context . METHOD_2 ( key , VAR_1 ) ; VAR_1 . set ( ( ( VAR_1 . get ( ) ) + 1 ) ) ; }
52
public static void main ( java.lang.String [ ] args ) { <BUG> VAR_1 = false ;</BUG> VAR_2 = true ; VAR_3 = false ; TYPE_1 . METHOD_1 ( true , INT_1 ) ; }
public static void main ( java.lang.String [ ] args ) { VAR_1 = true ; VAR_2 = true ; VAR_3 = false ; TYPE_1 . METHOD_1 ( true , INT_1 ) ; }
53
public void METHOD_1 ( android.view.View view ) { <BUG> if ( VAR_1 != null ) {VAR_1 . METHOD_2 ( element ) ;}</BUG> }
public void METHOD_1 ( android.view.View view ) { listener . METHOD_2 ( element ) ; }
54
public void METHOD_1 ( int VAR_1 ) { if ( VAR_1 < 0 ) { throw new TYPE_1 ( STRING_1 ) ; <BUG> }else {</BUG> this . VAR_1 = VAR_1 ; } }
public void METHOD_1 ( int VAR_1 ) { if ( VAR_1 < 0 ) { throw new TYPE_1 ( STRING_1 ) ; } this . VAR_1 = VAR_1 ; }
55
void METHOD_1 ( ) { <BUG> VAR_1 = - 1 ;</BUG> }
void METHOD_1 ( ) { -- ( VAR_1 ) ; }
56
<BUG>public void METHOD_1 ( ) {VAR_1 = false ;VAR_2 = true ;</BUG> }
public void METHOD_1 ( boolean status ) { VAR_2 = status ; }
57
public void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> METHOD_2 ( this ) ;</BUG> this . VAR_1 = VAR_1 ; }
public void METHOD_1 ( TYPE_1 VAR_1 ) { this . VAR_1 = VAR_1 ; }
58
public void METHOD_1 ( android.view.View VAR_1 ) { java.lang.String query = VAR_2 . METHOD_2 ( ) . toString ( ) ; <BUG> this . VAR_3 . METHOD_3 ( ) ;</BUG> METHOD_4 ( query , 0 , true ) ; }
public void METHOD_1 ( android.view.View VAR_1 ) { java.lang.String query = VAR_2 . METHOD_2 ( ) . toString ( ) ; METHOD_4 ( query , 0 , true ) ; }
59
public void METHOD_1 ( TYPE_1 VAR_1 ) { for ( int i = 0 ; i < ( VAR_1 . METHOD_2 ( ) ) ; i ++ ) { VAR_2 . add ( VAR_1 . METHOD_3 ( i ) ) ; } <BUG> METHOD_4 ( METHOD_5 ( ) ) ;</BUG> }
public void METHOD_1 ( TYPE_1 VAR_1 ) { for ( int i = 0 ; i < ( VAR_1 . METHOD_2 ( ) ) ; i ++ ) { VAR_2 . add ( VAR_1 . METHOD_3 ( i ) ) ; } METHOD_4 ( ) ; }
60
public final void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> VAR_2 . remove ( VAR_1 ) ;TYPE_2 . METHOD_2 ( STRING_1 , VAR_1 . METHOD_3 ( ) ) ;</BUG> }
public final void METHOD_1 ( TYPE_1 VAR_1 ) { }
61
public java.util.Collection METHOD_1 ( java.lang.String name ) throws TYPE_1 { <BUG> java.util.Collection [ ] VAR_1 = METHOD_2 ( ) ;</BUG> for ( java.util.Collection VAR_2 : VAR_1 ) { if ( VAR_2 . METHOD_3 ( "name" ) . equals ( name ) ) return VAR_2 ; } return null ; }
public java.util.Collection METHOD_1 ( java.lang.String name ) throws TYPE_1 { java.util.Collection [ ] VAR_1 = METHOD_2 ( false ) ; for ( java.util.Collection VAR_2 : VAR_1 ) { if ( VAR_2 . METHOD_3 ( "name" ) . equals ( name ) ) return VAR_2 ; } return null ; }
62
protected boolean METHOD_1 ( java.lang.Long VAR_1 ) { <BUG> return ( java.lang.Math.abs ( ( VAR_1 - VAR_2 ) ) ) >= ( ( FLOAT_1 * FLOAT_2 ) * ( VAR_1 + VAR_2 ) ) ;</BUG> }
protected boolean METHOD_1 ( java.lang.Long VAR_1 ) { return ( java.lang.Math.abs ( ( VAR_1 - VAR_2 ) ) ) > ( ( FLOAT_1 * FLOAT_2 ) * ( VAR_1 + VAR_2 ) ) ; }
63
<BUG>boolean METHOD_1 ( TYPE_1 VAR_1 , java.lang.String VAR_2 ) throws java.lang.Exception ;</BUG>
boolean METHOD_1 ( java.lang.String VAR_2 ) throws java.lang.Exception ;
64
<BUG>public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , java.lang.String VAR_2 , java.util.List < TYPE_3 > VAR_3 ) {throw new TYPE_4 ( STRING_1 ) ;</BUG> }
public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , java.lang.String VAR_2 ) { return null ; }
65
public java.lang.Object METHOD_1 ( java.lang.String key , TYPE_1 VAR_1 ) { java.lang.Object obj ; obj = TYPE_2 . METHOD_2 ( key ) ; if ( VAR_1 != null ) { <BUG> VAR_1 . METHOD_3 ( obj ) ;</BUG> } return obj ; }
public java.lang.Object METHOD_1 ( java.lang.String key , TYPE_1 VAR_1 ) { java.lang.Object obj ; obj = TYPE_2 . METHOD_2 ( key ) ; if ( VAR_1 != null ) { VAR_1 . METHOD_3 ( null , obj ) ; } return obj ; }
66
public boolean METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> boolean result = super . METHOD_1 ( VAR_1 ) ;</BUG> VAR_1 . add ( 0 , VAR_2 , 0 , VAR_3 ) ; <BUG> return result ;</BUG> }
public boolean METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; VAR_1 . add ( 0 , VAR_2 , 0 , VAR_3 ) ; return true ; }
67
public void METHOD_1 ( int VAR_1 , TYPE_1 VAR_2 ) { <BUG> if ( VAR_1 != ( VAR_3 ) ) {super . METHOD_1 ( VAR_1 , VAR_2 ) ;BUG> }</BUG></BUG> <BUG> else {TYPE_2 . METHOD_2 ( VAR_4 , STRING_1 ) ;</BUG> } }
public void METHOD_1 ( int VAR_1 , TYPE_1 VAR_2 ) { }
68
protected boolean METHOD_1 ( ) { <BUG> synchronized ( this ) {return VAR_1 ;}</BUG> }
protected boolean METHOD_1 ( ) { return VAR_1 . get ( ) ; }
69
public void METHOD_1 ( ) { try { c = new TYPE_1 ( ) ; } catch ( java.io.IOException VAR_1 ) { <BUG> TYPE_2 . METHOD_2 ( this , STRING_1 , VAR_2 ) . show ( ) ;</BUG> VAR_3 = true ; METHOD_3 ( ) ; } }
public void METHOD_1 ( ) { try { c = new TYPE_1 ( ) ; } catch ( java.io.IOException VAR_1 ) { VAR_3 = true ; METHOD_3 ( ) ; } }
70
private boolean METHOD_1 ( int [ ] [ ] VAR_1 , int x , int y ) { <BUG> if ( ( VAR_1 [ x ] [ y ] ) == 1 ) {return true ;}return false ;</BUG> }
private boolean METHOD_1 ( int [ ] [ ] VAR_1 , int x , int y ) { return ( VAR_1 [ x ] [ y ] ) == 1 ; }
71
public void METHOD_1 ( TYPE_1 p ) { <BUG> VAR_1 . remove ( p . METHOD_2 ( ) ) ;</BUG> }
public void METHOD_1 ( TYPE_1 p ) { if ( VAR_1 . contains ( p . METHOD_2 ( ) ) ) VAR_1 . remove ( p . METHOD_2 ( ) ) ; }
72
public void METHOD_1 ( android.view.View view ) { VAR_1 . METHOD_2 ( ) ; <BUG> VAR_2 . setEnabled ( false ) ;VAR_3 . setEnabled ( false ) ;VAR_4 . setEnabled ( true ) ;</BUG> }
public void METHOD_1 ( android.view.View view ) { VAR_1 . METHOD_2 ( ) ; }
73
<BUG>public TYPE_1 METHOD_1 ( java.lang.String name , double VAR_1 ) {return new TYPE_1 ( METHOD_2 ( name ) , VAR_1 ) ;</BUG> }
private TYPE_1 METHOD_1 ( java.lang.String name , java.lang.String index , double VAR_1 ) { return new TYPE_1 ( METHOD_2 ( name , index ) , VAR_1 ) ; }
74
public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , int VAR_2 ) { TYPE_1 VAR_3 = VAR_4 . METHOD_2 ( VAR_5 ) ; <BUG> VAR_1 . METHOD_3 ( VAR_6 ) ;</BUG> return VAR_3 ; }
public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , int VAR_2 ) { TYPE_1 VAR_3 = VAR_4 . METHOD_2 ( VAR_5 ) ; return VAR_3 ; }
75
public void METHOD_1 ( android.view.View view ) { <BUG> TYPE_1 . METHOD_2 ( STRING_1 , STRING_2 ) ;</BUG> METHOD_3 ( INT_1 ) ; }
public void METHOD_1 ( android.view.View view ) { METHOD_3 ( INT_1 ) ; }
76
<BUG>public void METHOD_1 ( ) {</BUG> METHOD_2 ( VAR_1 ) ; METHOD_3 ( ) ; }
private void METHOD_1 ( ) { METHOD_2 ( VAR_1 ) ; METHOD_3 ( ) ; }
77
public static void METHOD_1 ( java.lang.String VAR_1 ) { <BUG> if ( TYPE_1 . isEmpty ( VAR_1 ) ) {throw new TYPE_2 ( ) ;}if ( ! ( VAR_1 . contains ( STRING_1 ) ) ) {</BUG> throw new TYPE_2 ( ) ; } }
public static void METHOD_1 ( java.lang.String VAR_1 ) { if ( ( TYPE_1 . isEmpty ( VAR_1 ) ) || ( ! ( VAR_1 . contains ( STRING_1 ) ) ) ) { throw new TYPE_2 ( ) ; } }
78
public int METHOD_1 ( int id ) throws TYPE_1 { <BUG> TYPE_2 VAR_1 = this . VAR_2 . get ( id ) ;if ( VAR_3 = null ) {return VAR_4 ;</BUG> } <BUG> this . VAR_2 . METHOD_1 ( id ) ;</BUG> return VAR_5 ; }
public int METHOD_1 ( int id ) throws TYPE_1 { switch ( this . VAR_2 . METHOD_1 ( id ) ) { case 0 : return VAR_4 ; } return VAR_5 ; }
79
public void METHOD_1 ( double VAR_1 ) { <BUG> TYPE_1 . assertTrue ( ( ( java.lang.Math.abs ( METHOD_2 ( ) ) ) < VAR_1 ) ) ;TYPE_1 . assertTrue ( ( ( java.lang.Math.abs ( METHOD_3 ( ) ) ) < VAR_1 ) ) ;</BUG> }
public void METHOD_1 ( double VAR_1 ) { TYPE_1 . assertEquals ( 0 , METHOD_2 ( ) , VAR_1 ) ; TYPE_1 . assertEquals ( 0 , METHOD_3 ( ) , VAR_1 ) ; }
80
public void METHOD_1 ( long VAR_1 ) { <BUG> VAR_2 . METHOD_2 ( ( ( STRING_1 + VAR_1 ) + STRING_2 ) ) ;</BUG> VAR_3 . METHOD_3 ( ) ; VAR_4 . remove ( VAR_1 ) ; }
public void METHOD_1 ( long VAR_1 ) { synchronized ( VAR_4 ) { VAR_3 . METHOD_3 ( ) ; VAR_4 . remove ( VAR_1 ) ; } }
81
public java.lang.String METHOD_1 ( ) { VAR_1 . METHOD_2 ( VAR_2 ) ; <BUG> VAR_2 = new TYPE_1 ( ) ;</BUG> return STRING_1 ; }
public java.lang.String METHOD_1 ( ) { VAR_1 . METHOD_2 ( VAR_2 ) ; return STRING_1 ; }
82
public TYPE_1 METHOD_1 ( java.lang.String value ) { VAR_1 = value ; <BUG> VAR_2 = value ;</BUG> return this ; }
public TYPE_1 METHOD_1 ( java.lang.String value ) { VAR_1 = value ; return this ; }
83
protected void METHOD_1 ( long VAR_1 ) { <BUG> VAR_2 = VAR_1 - ( VAR_3 ) ;</BUG> }
protected void METHOD_1 ( long VAR_1 ) { if ( ( VAR_1 > 0 ) && ( ( VAR_3 ) > VAR_1 ) ) VAR_2 = VAR_1 - ( VAR_3 ) ; }
84
protected void result ( java.lang.Object VAR_1 ) { this . METHOD_1 ( ) ; VAR_2 = false ; VAR_3 . METHOD_2 ( ) ; <BUG> VAR_4 . METHOD_3 ( new TYPE_1 ( VAR_4 ) ) ;</BUG> }
protected void result ( java.lang.Object VAR_1 ) { this . METHOD_1 ( ) ; VAR_2 = false ; VAR_3 . METHOD_2 ( ) ; }
85
<BUG>public void METHOD_1 ( java.lang.Integer [ ] VAR_1 ) {</BUG> this . VAR_1 = VAR_1 ; }
public void METHOD_1 ( java.lang.String VAR_1 ) { this . VAR_1 = VAR_1 ; }
86
public TYPE_1 field ( java.lang.String name , java.lang.Object value , boolean file ) { <BUG> return field ( name , value , file , null ) ;</BUG> }
public TYPE_1 field ( java.lang.String name , java.lang.Object value , boolean file ) { return field ( name , value , file , null , null ) ; }
87
public TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) { <BUG> return METHOD_2 ( VAR_2 class , ( ( STRING_1 + VAR_1 ) + STRING_2 ) ) ;</BUG> }
public TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) { return METHOD_2 ( VAR_2 class , VAR_1 ) ; }
88
<BUG>protected < TYPE_1 extends TYPE_2 > TYPE_1 METHOD_1 ( ) {</BUG> return ( ( TYPE_1 ) ( VAR_1 . METHOD_2 ( ) . METHOD_3 ( ) ) ) ; }
public < TYPE_1 extends TYPE_2 > TYPE_1 METHOD_1 ( ) { return ( ( TYPE_1 ) ( VAR_1 . METHOD_2 ( ) . METHOD_3 ( ) ) ) ; }
89
private void METHOD_1 ( java.lang.String VAR_1 ) throws java.lang.Exception { <BUG> TYPE_1 . assertThat ( VAR_2 . METHOD_2 ( ) . id ( VAR_1 ) . METHOD_3 ( ) . isEmpty ( ) ) ;</BUG> }
private void METHOD_1 ( java.lang.String VAR_1 ) throws java.lang.Exception { TYPE_1 . assertThat ( VAR_2 . METHOD_2 ( ) . id ( VAR_1 ) . METHOD_3 ( ) ) . isEmpty ( ) ; }
90
<BUG>public < TYPE_1 , TYPE_2 > java.lang.String METHOD_1 ( ) {</BUG> if ( ! ( METHOD_2 ( ) ) ) { return name ; } return java.lang.String.format ( STRING_1 , name , VAR_1 . METHOD_3 ( ) ) ; }
public java.lang.String METHOD_1 ( ) { if ( ! ( METHOD_2 ( ) ) ) { return name ; } return java.lang.String.format ( STRING_1 , name , VAR_1 . METHOD_3 ( ) ) ; }
91
public static final java.lang.String METHOD_1 ( final int VAR_1 ) { <BUG> return STRING_1 + ( TYPE_1 . toString ( VAR_2 , VAR_1 ) ) ;</BUG> }
public static final java.lang.String METHOD_1 ( final int VAR_1 ) { return TYPE_1 . toString ( VAR_2 , VAR_1 ) ; }
92
public void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 . METHOD_2 ( METHOD_3 ( ) , METHOD_4 ( ) ) ; <BUG> new TYPE_3 ( ) . METHOD_5 ( true ) ;METHOD_6 ( ) ;</BUG> }
public void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 . METHOD_2 ( METHOD_3 ( ) , METHOD_4 ( ) ) ; }
93
public void METHOD_1 ( ) { <BUG> METHOD_2 ( a ) ;</BUG> }
public void METHOD_1 ( ) { METHOD_2 ( a , true ) ; }
94
public void METHOD_1 ( android.view.View VAR_1 ) { <BUG> if ( ( getActivity ( ) ) instanceof TYPE_1 ) ( ( TYPE_1 ) ( getActivity ( ) ) ) . METHOD_2 ( VAR_1 , VAR_2 . METHOD_3 ( ) ) ;</BUG> METHOD_4 ( ) ; }
public void METHOD_1 ( android.view.View VAR_1 ) { METHOD_2 ( VAR_1 , VAR_2 . METHOD_3 ( ) ) ; METHOD_4 ( ) ; }
95
public void METHOD_1 ( TYPE_1 VAR_1 ) { java.lang.System.err.println ( ( STRING_1 + VAR_1 ) ) ; <BUG> TYPE_2 . METHOD_2 ( this , STRING_2 , VAR_2 ) . show ( ) ;</BUG> }
public void METHOD_1 ( TYPE_1 VAR_1 ) { java.lang.System.err.println ( ( STRING_1 + VAR_1 ) ) ; }
96
private int METHOD_1 ( TYPE_1 VAR_1 , TYPE_1 VAR_2 ) { <BUG> return ( ( VAR_1 . y ) + ( ( VAR_1 . height ) / INT_1 ) ) - ( ( VAR_2 . y ) + ( ( VAR_2 . height ) / INT_1 ) ) ;</BUG> }
private int METHOD_1 ( TYPE_1 VAR_1 , TYPE_1 VAR_2 ) { return ( ( VAR_1 . y ) + ( ( VAR_1 . height ) / INT_1 ) ) - ( ( VAR_2 . height ) / INT_1 ) ; }
97
protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( VAR_2 ) ; <BUG> METHOD_3 ( ) ;</BUG> METHOD_4 ( ) ; METHOD_5 ( ) ; METHOD_6 ( ) ; METHOD_7 ( ) ; METHOD_8 ( ) ; METHOD_9 ( ) ; }
protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( VAR_2 ) ; METHOD_4 ( ) ; METHOD_5 ( ) ; METHOD_3 ( ) ; METHOD_6 ( ) ; METHOD_7 ( ) ; METHOD_8 ( ) ; METHOD_9 ( ) ; }
98
public void METHOD_1 ( ) { if ( ( VAR_1 ) != null ) { <BUG> VAR_2 = true ;</BUG> VAR_1 . METHOD_2 ( ) ; } }
public void METHOD_1 ( ) { if ( ( VAR_1 ) != null ) { VAR_2 . set ( true ) ; VAR_1 . METHOD_2 ( ) ; } }
99
<BUG>public void METHOD_1 ( java.util.ArrayList < TYPE_1 > VAR_1 ) throws java.lang.Exception {</BUG> if ( ( VAR_1 . size ( ) ) == INT_1 ) this . VAR_1 = VAR_1 ; else throw new java.lang.Exception ( STRING_1 ) ; }
public void METHOD_1 ( java.util.List < TYPE_1 > VAR_1 ) throws java.lang.Exception { if ( ( VAR_1 . size ( ) ) == INT_1 ) this . VAR_1 = VAR_1 ; else throw new java.lang.Exception ( STRING_1 ) ; }
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
32
Edit dataset card