id
int64 0
46.7k
| buggy
stringlengths 22
390
| fixed
stringlengths 14
367
|
---|---|---|
9,100 |
public TYPE_1 METHOD_1 ( ) { <BUG> return METHOD_1 ( VAR_1 , VAR_2 ) ;</BUG> }
|
public TYPE_1 METHOD_1 ( ) { return METHOD_1 ( false , false ) ; }
|
9,101 |
private TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) { for ( TYPE_1 VAR_2 : VAR_3 ) { <BUG> if ( ( VAR_2 . METHOD_2 ( ) ) == VAR_1 ) {</BUG> return VAR_2 ; } } return null ; }
|
private TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) { for ( TYPE_1 VAR_2 : VAR_3 ) { if ( VAR_2 . METHOD_2 ( ) . equals ( VAR_1 ) ) { return VAR_2 ; } } return null ; }
|
9,102 |
<BUG>public static void METHOD_1 ( int type ) {</BUG> TYPE_1 . METHOD_1 ( type ) ; }
|
public static void METHOD_1 ( java.lang.String type ) { TYPE_1 . METHOD_1 ( type ) ; }
|
9,103 |
public void METHOD_1 ( ) { <BUG> TYPE_1 VAR_1 = VAR_2 . METHOD_2 ( ) . METHOD_3 ( STRING_1 ) ;TYPE_2 VAR_3 = VAR_1 . METHOD_4 ( STRING_2 ) ;</BUG> METHOD_5 ( VAR_3 ) ; }
|
public void METHOD_1 ( ) { TYPE_2 VAR_3 = VAR_2 . METHOD_2 ( ) . METHOD_3 ( STRING_1 ) . METHOD_4 ( STRING_2 ) ; METHOD_5 ( VAR_3 ) ; }
|
9,104 |
public void METHOD_1 ( ) throws java.io.IOException , TYPE_1 { java.lang.String VAR_1 = new TYPE_2 ( ) . METHOD_2 ( VAR_2 , VAR_3 , VAR_4 ) ; <BUG> java.lang.System.out.println ( VAR_1 . substring ( 0 , INT_1 ) ) ;</BUG> }
|
public void METHOD_1 ( ) throws java.io.IOException , TYPE_1 { java.lang.String VAR_1 = new TYPE_2 ( ) . METHOD_2 ( VAR_2 , VAR_3 , VAR_4 ) ; java.lang.System.out.println ( VAR_1 ) ; }
|
9,105 |
public void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> VAR_1 . METHOD_2 ( ) . METHOD_3 ( VAR_2 class ) . METHOD_4 ( true ) ;</BUG> }
|
public void METHOD_1 ( TYPE_1 VAR_1 ) { }
|
9,106 |
public void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( ) ; <BUG> VAR_2 . METHOD_1 ( ) ;</BUG> }
|
public void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( ) ; }
|
9,107 |
public void METHOD_1 ( long VAR_1 ) { TYPE_1 VAR_2 = METHOD_2 ( VAR_1 ) ; VAR_2 . METHOD_3 ( ) ; <BUG> METHOD_4 ( VAR_3 . id , VAR_3 . count ) ;</BUG> }
|
public void METHOD_1 ( long VAR_1 ) { TYPE_1 VAR_2 = METHOD_2 ( VAR_1 ) ; VAR_2 . METHOD_3 ( ) ; }
|
9,108 |
private boolean METHOD_1 ( final TYPE_1 file ) { final java.lang.String VAR_1 = file . METHOD_2 ( ) ; return ( VAR_1 . equals ( STRING_1 ) ) || ( VAR_1 . equals ( STRING_2 ) ) ; }
|
private boolean METHOD_1 ( final TYPE_1 file ) { final java.lang.String VAR_1 = file . METHOD_2 ( ) ; if ( VAR_1 == null ) return false ; return ( VAR_1 . equals ( STRING_1 ) ) || ( VAR_1 . equals ( STRING_2 ) ) ; }
|
9,109 |
<BUG>public static boolean METHOD_1 ( TYPE_1 VAR_1 ) {return ! ( TYPE_2 . METHOD_2 ( VAR_1 ) ) ;</BUG> }
|
public static boolean METHOD_2 ( TYPE_1 VAR_1 ) { return ! ( TYPE_2 . METHOD_1 ( VAR_1 ) ) ; }
|
9,110 |
boolean METHOD_1 ( ) { <BUG> return ( ( VAR_1 ) & ( VAR_2 ) ) != 0 ;</BUG> }
|
boolean METHOD_1 ( ) { return ( ( this . VAR_1 ) & ( VAR_2 ) ) != 0 ; }
|
9,111 |
protected void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> super . METHOD_1 ( VAR_1 ) ;</BUG> TYPE_2 VAR_2 = TYPE_3 . METHOD_2 ( this , VAR_3 ) ; TYPE_4 VAR_4 = new TYPE_4 ( this ) ; VAR_2 . METHOD_3 ( VAR_4 ) ; }
|
protected void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 VAR_2 = TYPE_3 . METHOD_2 ( this , VAR_3 ) ; TYPE_4 VAR_4 = new TYPE_4 ( this ) ; VAR_2 . METHOD_3 ( VAR_4 ) ; super . METHOD_1 ( VAR_1 ) ; }
|
9,112 |
<BUG>public void METHOD_1 ( java.lang.String title , java.lang.String VAR_1 , int VAR_2 ) {</BUG> VAR_3 . METHOD_2 ( new java.util.Random ( ) . METHOD_3 ( ) , METHOD_4 ( title , VAR_1 , VAR_2 ) . build ( ) ) ; }
|
public void METHOD_1 ( java.lang.String title , java.lang.String VAR_1 , java.lang.String VAR_2 ) { VAR_3 . METHOD_2 ( new java.util.Random ( ) . METHOD_3 ( ) , METHOD_4 ( title , VAR_1 , VAR_2 ) . build ( ) ) ; }
|
9,113 |
public TYPE_1 METHOD_1 ( float min , float VAR_1 ) { METHOD_2 ( ) ; <BUG> final TYPE_1 VAR_2 = new TYPE_1 ( getContext ( ) ) ;</BUG> VAR_2 . METHOD_3 ( min ) ; VAR_2 . METHOD_4 ( VAR_1 ) ; return VAR_2 ; }
|
public TYPE_1 METHOD_1 ( float min , float VAR_1 ) { METHOD_2 ( ) ; final TYPE_1 VAR_2 = new TYPE_1 ( getActivity ( ) ) ; VAR_2 . METHOD_3 ( min ) ; VAR_2 . METHOD_4 ( VAR_1 ) ; return VAR_2 ; }
|
9,114 |
public java.lang.Integer remove ( ) { java.lang.Integer VAR_1 = VAR_2 [ VAR_3 ] ; VAR_2 [ VAR_3 ] = VAR_2 [ size ] ; VAR_2 [ size ] = null ; ( size ) -- ; <BUG> METHOD_1 ( VAR_3 ) ;</BUG> return VAR_1 ; }
|
public java.lang.Integer remove ( ) { java.lang.Integer VAR_1 = VAR_2 [ VAR_3 ] ; VAR_2 [ VAR_3 ] = VAR_2 [ size ] ; VAR_2 [ size ] = null ; METHOD_1 ( VAR_3 ) ; ( size ) -- ; return VAR_1 ; }
|
9,115 |
public boolean METHOD_1 ( java.lang.String VAR_1 ) { <BUG> if ( ( VAR_1 . isEmpty ( ) ) || ( VAR_2 . METHOD_2 ( VAR_1 ) ) ) return true ;</BUG> return false ; }
|
public boolean METHOD_1 ( java.lang.String VAR_1 ) { if ( ( VAR_2 . METHOD_2 ( VAR_1 ) ) && ( ! ( VAR_1 . isEmpty ( ) ) ) ) return true ; return false ; }
|
9,116 |
public java.lang.String [ ] METHOD_1 ( ) { <BUG> java.lang.String [ ] VAR_1 = new java.lang.String [ ] {</BUG> STRING_1 , STRING_2 } ; <BUG> return VAR_1 ;</BUG> }
|
public java.lang.String [ ] METHOD_1 ( ) { return new java.lang.String [ ] { STRING_1 , STRING_2 } ; }
|
9,117 |
public TYPE_1 < java.lang.Void > METHOD_1 ( java.lang.Void VAR_1 ) { <BUG> VAR_2 = true ;</BUG> METHOD_2 ( this ) ; return VAR_3 ; }
|
public TYPE_1 < java.lang.Void > METHOD_1 ( java.lang.Void VAR_1 ) { VAR_2 = false ; METHOD_2 ( this ) ; return VAR_3 ; }
|
9,118 |
protected void METHOD_1 ( java.lang.Integer ... VAR_1 ) { <BUG> TYPE_1 . METHOD_2 ( VAR_2 , STRING_1 , VAR_3 ) . show ( ) ;</BUG> }
|
protected void METHOD_1 ( java.lang.Integer ... VAR_1 ) { TYPE_1 . METHOD_2 ( VAR_2 , STRING_1 , VAR_3 ) ; }
|
9,119 |
public void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> VAR_2 . METHOD_2 ( TYPE_2 . METHOD_3 ( java.lang.String.format ( VAR_3 , VAR_1 . METHOD_4 ( ) ) ) ) . METHOD_5 ( ) ;</BUG> }
|
public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 . METHOD_2 ( TYPE_2 . METHOD_3 ( java.lang.String.format ( VAR_3 , ( ( VAR_1 . METHOD_4 ( ) ) + 1 ) ) ) ) . METHOD_5 ( ) ; }
|
9,120 |
public void METHOD_1 ( android.view.View VAR_1 ) { <BUG> ( ( TYPE_1 ) ( getActivity ( ) . METHOD_2 ( VAR_2 ) ) ) . setText ( ( STRING_1 + ( new java.util.Random ( ) . METHOD_3 ( INT_1 ) ) ) ) ;</BUG> }
|
public void METHOD_1 ( android.view.View VAR_1 ) { ( ( TYPE_1 ) ( view . METHOD_2 ( VAR_2 ) ) ) . setText ( ( STRING_1 + ( new java.util.Random ( ) . METHOD_3 ( INT_1 ) ) ) ) ; }
|
9,121 |
protected void METHOD_1 ( ) { <BUG> VAR_1 . METHOD_2 ( data . METHOD_3 ( ) ) ;VAR_1 . METHOD_4 ( ) ;</BUG> VAR_2 . METHOD_5 ( VAR_3 , true ) ; METHOD_6 ( VAR_4 ) ; METHOD_7 ( VAR_3 ) ; METHOD_8 ( ) ; }
|
protected void METHOD_1 ( ) { VAR_2 . METHOD_5 ( VAR_3 , true ) ; METHOD_6 ( VAR_4 ) ; METHOD_7 ( VAR_3 ) ; METHOD_8 ( ) ; }
|
9,122 |
<BUG>int METHOD_1 ( int VAR_1 , java.lang.String VAR_2 ) ;</BUG>
|
int METHOD_1 ( int VAR_1 ) ;
|
9,123 |
public java.lang.String METHOD_1 ( java.net.URL VAR_1 , TYPE_1 VAR_2 , java.lang.String url ) { int VAR_3 = METHOD_2 ( VAR_2 ) ; <BUG> if ( ( ( VAR_4 ) > 0 ) && ( VAR_3 > ( VAR_4 ) ) ) {</BUG> return null ; } return url ; }
|
public java.lang.String METHOD_1 ( java.net.URL VAR_1 , TYPE_1 VAR_2 , java.lang.String url ) { int VAR_3 = METHOD_2 ( VAR_2 ) ; if ( ( ( VAR_4 ) > 0 ) && ( VAR_3 >= ( VAR_4 ) ) ) { return null ; } return url ; }
|
9,124 |
public void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> VAR_2 . setText ( VAR_1 . toString ( ) ) ;</BUG> }
|
public void METHOD_1 ( TYPE_1 VAR_1 ) { }
|
9,125 |
protected void METHOD_1 ( java.lang.String src ) { java.util.List < java.lang.String > VAR_1 = java.util.Arrays.asList ( VAR_2 ) ; java.util.List < java.lang.String > main = java.util.Arrays.asList ( VAR_3 ) ; <BUG> super . METHOD_2 ( TYPE_1 . METHOD_3 ( src , VAR_1 , main ) ) ;</BUG> }
|
protected void METHOD_1 ( java.lang.String src ) { java.util.List < java.lang.String > VAR_1 = java.util.Arrays.asList ( VAR_2 ) ; java.util.List < java.lang.String > main = java.util.Arrays.asList ( VAR_3 ) ; super . METHOD_1 ( TYPE_1 . METHOD_3 ( src , VAR_1 , main ) ) ; }
|
9,126 |
public TYPE_1 append ( long value ) { VAR_1 . METHOD_1 ( VAR_2 , value ) ; }
|
public TYPE_1 append ( long value ) { VAR_1 . METHOD_1 ( VAR_2 , value ) ; return this ; }
|
9,127 |
public void handle ( TYPE_1 event ) { if ( VAR_1 . METHOD_1 ( ) ) { VAR_2 . METHOD_2 ( true ) ; <BUG> METHOD_3 ( ) ;</BUG> } else { VAR_2 . METHOD_2 ( false ) ; METHOD_3 ( ) ; } }
|
public void handle ( TYPE_1 event ) { if ( VAR_1 . METHOD_1 ( ) ) { VAR_2 . METHOD_2 ( true ) ; METHOD_3 ( ) ; } else { VAR_2 . METHOD_2 ( false ) ; } }
|
9,128 |
public boolean METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 ) { TYPE_3 VAR_3 = ( ( TYPE_3 ) ( VAR_1 . METHOD_2 ( VAR_4 ) ) ) ; if ( VAR_3 != null ) { VAR_3 . METHOD_3 ( ) ; <BUG> VAR_5 = false ;</BUG> } return true ; }
|
public boolean METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 ) { TYPE_3 VAR_3 = ( ( TYPE_3 ) ( VAR_1 . METHOD_2 ( VAR_4 ) ) ) ; if ( VAR_3 != null ) { VAR_3 . METHOD_3 ( ) ; } return true ; }
|
9,129 |
public void execute ( TYPE_1 VAR_1 , java.lang.String arg ) { <BUG> VAR_1 . METHOD_1 ( arg ) ;</BUG> }
|
public void execute ( TYPE_1 VAR_1 , java.lang.String arg ) { VAR_1 . METHOD_1 ( arg . toUpperCase ( ) ) ; }
|
9,130 |
public void METHOD_1 ( int n ) { <BUG> if ( n >= INT_1 ) {METHOD_2 ( ) ;BUG> }</BUG></BUG> <BUG> else {METHOD_3 ( ) ;</BUG> } VAR_1 . METHOD_4 ( n ) ; }
|
public void METHOD_1 ( int n ) { METHOD_3 ( ( n < INT_1 ) ) ; VAR_1 . METHOD_4 ( n ) ; }
|
9,131 |
protected void METHOD_1 ( ) { <BUG> VAR_1 . set ( 0 ) ;</BUG> }
|
protected void METHOD_1 ( ) { }
|
9,132 |
private boolean METHOD_1 ( ) { <BUG> return ( METHOD_2 ( ) ) != null ;</BUG> }
|
private boolean METHOD_1 ( ) { return ( getActivity ( ) ) != null ; }
|
9,133 |
<BUG>public void METHOD_1 ( ) {</BUG> try { <BUG> this . VAR_1 . METHOD_2 ( ) ;this . data = null ;this . VAR_1 = null ;</BUG> } catch ( java.io.IOException VAR_2 ) { VAR_2 . METHOD_3 ( ) ; } }
|
public synchronized void METHOD_1 ( ) { try { if ( ( VAR_1 ) != null ) { VAR_1 . METHOD_2 ( ) ; VAR_1 = null ; data = null ; } } catch ( java.io.IOException VAR_2 ) { VAR_2 . METHOD_3 ( ) ; } }
|
9,134 |
public void METHOD_1 ( TYPE_1 VAR_1 , java.lang.String title ) { <BUG> TYPE_2 VAR_2 = new TYPE_2 ( ( STRING_1 + title ) ) ;</BUG> VAR_3 = ( ( TYPE_3 ) ( VAR_1 ) ) ; VAR_2 . execute ( ) ; }
|
public void METHOD_1 ( TYPE_1 VAR_1 , java.lang.String title ) { TYPE_2 VAR_2 = new TYPE_2 ( title ) ; VAR_3 = ( ( TYPE_3 ) ( VAR_1 ) ) ; VAR_2 . execute ( ) ; }
|
9,135 |
public void METHOD_1 ( android.view.View view ) { <BUG> TYPE_1 VAR_1 = new TYPE_1 ( ) ;</BUG> VAR_1 . METHOD_2 ( ) ; }
|
public void METHOD_1 ( android.view.View view ) { VAR_1 . METHOD_2 ( ) ; }
|
9,136 |
protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( ) ; <BUG> METHOD_3 ( VAR_1 ) ;</BUG> }
|
protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_3 ( VAR_1 ) ; METHOD_2 ( ) ; }
|
9,137 |
public void METHOD_1 ( TYPE_1 event ) { <BUG> TYPE_2 . METHOD_2 ( STRING_1 ) ;</BUG> VAR_1 . METHOD_3 ( INT_1 ) . METHOD_4 ( INT_1 ) ; VAR_2 . METHOD_5 ( ) ; }
|
public void METHOD_1 ( TYPE_1 event ) { VAR_1 . METHOD_3 ( INT_1 ) . METHOD_4 ( INT_1 ) ; VAR_2 . METHOD_5 ( ) ; }
|
9,138 |
<BUG>private void METHOD_1 ( int VAR_1 ) {</BUG> int VAR_2 = INT_1 ; for ( int x = VAR_2 ; x < ( ( METHOD_2 ( ) ) + VAR_2 ) ; x ++ ) TYPE_1 . METHOD_3 ( true , x , METHOD_4 ( ) ) ; }
|
private void METHOD_1 ( ) { int VAR_2 = INT_1 ; for ( int x = VAR_2 ; x < ( ( METHOD_2 ( ) ) + VAR_2 ) ; x ++ ) TYPE_1 . METHOD_3 ( true , x , METHOD_4 ( ) ) ; }
|
9,139 |
public void METHOD_1 ( ) { <BUG> this . VAR_1 = true ;</BUG> }
|
public void METHOD_1 ( ) { this . VAR_1 = false ; }
|
9,140 |
<BUG>public java.lang.String getString ( java.lang.String key , java.lang.String VAR_1 ) {</BUG> java.lang.Object obj = VAR_2 . get ( key ) ; <BUG> return ( ( java.lang.String ) ( obj ) ) ;</BUG> }
|
public boolean getBoolean ( java.lang.String key , boolean VAR_1 ) { java.lang.Object obj = VAR_2 . get ( key ) ; if ( obj == null ) { return VAR_1 ; } return ( ( boolean ) ( obj ) ) ; }
|
9,141 |
public void METHOD_1 ( ) { VAR_1 = new TYPE_1 ( ) ; <BUG> VAR_1 . METHOD_2 ( 0 , INT_1 ) ;VAR_1 . METHOD_2 ( 0 , INT_2 ) ;</BUG> VAR_2 = new TYPE_2 ( VAR_1 ) ; VAR_2 . METHOD_3 ( ) ; }
|
public void METHOD_1 ( ) { VAR_1 = new TYPE_1 ( ) ; VAR_1 . METHOD_2 ( INT_1 , 0 ) ; VAR_1 . METHOD_2 ( INT_2 , 0 ) ; VAR_2 = new TYPE_2 ( VAR_1 ) ; VAR_2 . METHOD_3 ( ) ; }
|
9,142 |
public synchronized void METHOD_1 ( java.lang.Object VAR_1 ) { VAR_2 . remove ( VAR_1 ) ; <BUG> if ( ( VAR_3 ) != null ) VAR_3 . remove ( VAR_1 ) ;</BUG> }
|
public synchronized void METHOD_1 ( java.lang.Object VAR_1 ) { VAR_2 . remove ( VAR_1 ) ; java.util.Set < java.lang.Object > p = VAR_3 ; if ( p != null ) p . remove ( VAR_1 ) ; }
|
9,143 |
public void METHOD_1 ( java.lang.CharSequence VAR_1 , int start , int VAR_2 , int count ) { <BUG> if ( ( VAR_1 . length ( ) ) < INT_1 ) return ;VAR_3 . METHOD_1 ( VAR_1 ) ;</BUG> }
|
public void METHOD_1 ( java.lang.CharSequence VAR_1 , int start , int VAR_2 , int count ) { }
|
9,144 |
private void METHOD_1 ( ) { VAR_1 = new TYPE_1 ( ) ; <BUG> VAR_1 . METHOD_2 ( VAR_2 ) ;</BUG> VAR_1 . METHOD_3 ( VAR_3 ) ; }
|
private void METHOD_1 ( ) { VAR_1 = new TYPE_1 ( ) ; VAR_1 . METHOD_3 ( VAR_3 ) ; }
|
9,145 |
public void METHOD_1 ( android.view.View VAR_1 ) { <BUG> METHOD_2 ( ) ;</BUG> METHOD_2 ( ) ; ( ( TYPE_1 ) ( VAR_2 ) ) . METHOD_3 ( ) ; METHOD_4 ( ) ; }
|
public void METHOD_1 ( android.view.View VAR_1 ) { METHOD_2 ( ) ; ( ( TYPE_1 ) ( VAR_2 ) ) . METHOD_3 ( ) ; METHOD_4 ( ) ; }
|
9,146 |
<BUG>public void METHOD_1 ( java.lang.CharSequence title , java.lang.CharSequence VAR_1 , TYPE_1 VAR_2 ) {</BUG> TYPE_2 VAR_3 = METHOD_2 ( ) ; if ( title != null ) VAR_3 . METHOD_1 ( title ) ; if ( VAR_1 != null ) VAR_3 . METHOD_3 ( VAR_1 ) ; }
|
public void METHOD_1 ( java.lang.CharSequence title , java.lang.CharSequence VAR_1 ) { TYPE_2 VAR_3 = METHOD_2 ( ) ; if ( title != null ) VAR_3 . METHOD_1 ( title ) ; if ( VAR_1 != null ) VAR_3 . METHOD_3 ( VAR_1 ) ; }
|
9,147 |
public static void METHOD_1 ( ) { TYPE_1 VAR_1 = VAR_2 . METHOD_2 ( ) ; if ( VAR_1 != null ) { <BUG> java.lang.System.out.println ( STRING_1 ) ;</BUG> if ( ! ( VAR_3 ) ) { VAR_3 = true ; VAR_4 . METHOD_3 ( VAR_5 ) ; } } }
|
public static void METHOD_1 ( ) { TYPE_1 VAR_1 = VAR_2 . METHOD_2 ( ) ; if ( VAR_1 != null ) { if ( ! ( VAR_3 ) ) { VAR_3 = true ; VAR_4 . METHOD_3 ( VAR_5 ) ; } } }
|
9,148 |
<BUG>public void METHOD_1 ( TYPE_1 VAR_1 ) {</BUG> this . VAR_1 = VAR_1 ; TYPE_2 . METHOD_2 ( ) . METHOD_3 ( ) . set ( this ) ; }
|
public void METHOD_1 ( TYPE_1 VAR_1 , boolean init ) { this . VAR_1 = VAR_1 ; if ( ! init ) { TYPE_2 . METHOD_2 ( ) . METHOD_3 ( ) . set ( this ) ; } }
|
9,149 |
public boolean METHOD_1 ( TYPE_1 type , java.lang.String name ) { <BUG> return ( ! ( name . equals ( getName ( ) ) ) ) && ( ( TYPE_2 . contains ( type ) ) || ( name . contains ( STRING_1 ) ) ) ;</BUG> }
|
public boolean METHOD_1 ( TYPE_1 type , java.lang.String name ) { if ( ! ( name . equals ( getName ( ) ) ) ) { if ( TYPE_2 . contains ( type ) ) { return true ; } } return false ; }
|
9,150 |
public void METHOD_1 ( java.lang.Throwable VAR_1 , TYPE_1 VAR_2 ) { METHOD_2 ( ) ; }
|
public void METHOD_1 ( java.lang.Throwable VAR_1 , TYPE_1 VAR_2 ) { java.lang.System.out.println ( VAR_1 ) ; METHOD_2 ( ) ; }
|
9,151 |
public void METHOD_1 ( ) { <BUG> VAR_1 . METHOD_2 ( ) ;</BUG> VAR_1 . METHOD_3 ( ) ; VAR_1 . start ( ) ; VAR_2 . METHOD_4 ( ) ; ( VAR_3 ) ++ ; }
|
public void METHOD_1 ( ) { VAR_1 . METHOD_3 ( ) ; VAR_1 . start ( ) ; VAR_2 . METHOD_4 ( ) ; ( VAR_3 ) ++ ; }
|
9,152 |
public void METHOD_1 ( ) { if ( ( VAR_1 ) != ( - INT_1 ) ) { VAR_2 . METHOD_2 ( ) ; VAR_3 . METHOD_3 ( VAR_4 ) ; <BUG> VAR_3 . METHOD_4 ( ( ( int ) ( VAR_1 ) ) ) ;</BUG> } }
|
public void METHOD_1 ( ) { if ( ( VAR_1 ) != ( - INT_1 ) ) { VAR_2 . METHOD_2 ( ) ; VAR_3 . METHOD_3 ( VAR_4 ) ; VAR_3 . METHOD_4 ( ( ( int ) ( - ( VAR_1 ) ) ) ) ; } }
|
9,153 |
public java.lang.String METHOD_1 ( int VAR_1 , int size ) { <BUG> return VAR_2 . METHOD_2 ( ) . METHOD_1 ( VAR_1 , size ) ;</BUG> }
|
public java.lang.String METHOD_1 ( int VAR_1 , int size ) { return VAR_2 . METHOD_2 ( ) . METHOD_1 ( VAR_1 , size , size ) ; }
|
9,154 |
public static void main ( java.lang.String [ ] args ) { int VAR_1 = INT_1 ; <BUG> int VAR_2 = 1 ;</BUG> java.lang.System.out.println ( TYPE_1 . METHOD_1 ( VAR_1 , VAR_2 ) ) ; }
|
public static void main ( java.lang.String [ ] args ) { int VAR_1 = INT_1 ; int VAR_2 = 0 ; java.lang.System.out.println ( TYPE_1 . METHOD_1 ( VAR_1 , VAR_2 ) ) ; }
|
9,155 |
private void METHOD_1 ( ) { if ( TYPE_1 . METHOD_2 ( ) . METHOD_3 ( ) ) { VAR_1 = true ; METHOD_4 ( ) ; <BUG> }</BUG> }
|
private void METHOD_1 ( ) { if ( TYPE_1 . METHOD_2 ( ) . METHOD_3 ( ) ) { VAR_1 = true ; } METHOD_4 ( ) ; }
|
9,156 |
public boolean METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> return ( METHOD_2 ( VAR_1 ) ) < ( ( VAR_2 ) - ( VAR_3 ) ) ;</BUG> }
|
public boolean METHOD_1 ( TYPE_1 VAR_1 ) { return ( METHOD_2 ( VAR_1 ) ) < ( ( VAR_2 ) + ( VAR_3 ) ) ; }
|
9,157 |
public void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> TYPE_2 . METHOD_2 ( ) . METHOD_3 ( TYPE_2 , this . VAR_2 , null , VAR_1 ) ;</BUG> }
|
public void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 . METHOD_3 ( this . VAR_2 , null , VAR_1 ) ; }
|
9,158 |
<BUG>private TYPE_1 METHOD_1 ( TYPE_1 VAR_1 ) {</BUG> return new TYPE_1 ( VAR_1 . METHOD_2 ( ) . METHOD_3 ( VAR_2 , VAR_3 . height , VAR_4 ) ) ; }
|
public TYPE_1 METHOD_1 ( TYPE_1 VAR_1 ) { return new TYPE_1 ( VAR_1 . METHOD_2 ( ) . METHOD_3 ( VAR_2 , VAR_3 . height , VAR_4 ) ) ; }
|
9,159 |
public void METHOD_1 ( ) { METHOD_2 ( 0 , 0 , INT_1 ) ; VAR_1 . METHOD_3 ( ) ; }
|
public void METHOD_1 ( ) { METHOD_2 ( 0 , 0 , INT_1 ) ; VAR_1 . METHOD_3 ( ) ; update ( ) ; }
|
9,160 |
private void METHOD_1 ( ) { android.content.Intent intent = new android.content.Intent ( this , VAR_1 class ) ; METHOD_2 ( intent ) ; <BUG> TYPE_1 . METHOD_3 ( this , STRING_1 , VAR_2 ) . show ( ) ;</BUG> }
|
private void METHOD_1 ( ) { android.content.Intent intent = new android.content.Intent ( this , VAR_1 class ) ; METHOD_2 ( intent ) ; }
|
9,161 |
<BUG>public TYPE_1 < TYPE_2 > iterator ( ) {</BUG> return new TYPE_3 ( VAR_1 ) ; }
|
public java.util.Iterator iterator ( ) { return new TYPE_3 ( VAR_1 ) ; }
|
9,162 |
<BUG>private void METHOD_1 ( android.view.View VAR_1 ) {VAR_2 = VAR_1 ;init ( VAR_1 ) ;</BUG> if ( ( VAR_3 ) != null ) { VAR_3 . METHOD_2 ( this ) ; } }
|
private void METHOD_1 ( ) { init ( VAR_2 ) ; if ( ( VAR_3 ) != null ) { VAR_3 . METHOD_2 ( this ) ; } }
|
9,163 |
public void METHOD_1 ( TYPE_1 key ) { <BUG> if ( ( ( keys ) != null ) && ( key != null ) ) keys = new java.util.Vector < > ( ) ;</BUG> if ( key != null ) keys . add ( key ) ; }
|
public void METHOD_1 ( TYPE_1 key ) { if ( ( ( keys ) == null ) && ( key != null ) ) keys = new java.util.Vector < > ( ) ; if ( key != null ) keys . add ( key ) ; }
|
9,164 |
public void METHOD_1 ( ) { super . METHOD_1 ( ) ; VAR_1 . METHOD_2 ( ) ; <BUG> VAR_2 . METHOD_3 ( this , VAR_2 . METHOD_4 ( VAR_3 ) ) ;</BUG> }
|
public void METHOD_1 ( ) { super . METHOD_1 ( ) ; VAR_1 . METHOD_2 ( ) ; }
|
9,165 |
<BUG>private void METHOD_1 ( ) {</BUG> TYPE_1 . METHOD_1 ( VAR_1 ) . METHOD_2 ( new TYPE_2 < TYPE_3 > ( ) { public void METHOD_3 ( TYPE_3 status ) { METHOD_4 ( false ) ; } } ) ; }
|
public void METHOD_1 ( android.view.View view ) { TYPE_1 . METHOD_1 ( VAR_1 ) . METHOD_2 ( new TYPE_2 < TYPE_3 > ( ) { public void METHOD_3 ( TYPE_3 status ) { METHOD_4 ( false ) ; } } ) ; }
|
9,166 |
public void METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 , TYPE_3 VAR_3 ) { <BUG> TYPE_4 VAR_4 = new TYPE_4 ( ) ;</BUG> VAR_4 . METHOD_2 ( VAR_1 , VAR_2 , METHOD_3 ( ) , VAR_3 , VAR_5 ) ; }
|
public void METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 , TYPE_3 VAR_3 ) { VAR_4 . METHOD_2 ( VAR_1 , VAR_2 , METHOD_3 ( ) , VAR_3 , VAR_5 ) ; }
|
9,167 |
private static void METHOD_1 ( ) { <BUG> TYPE_1 VAR_1 = new TYPE_1 ( ) ;VAR_1 . METHOD_2 ( VAR_2 ) ;VAR_3 = TYPE_2 . METHOD_3 ( VAR_1 ) ;</BUG> }
|
private static void METHOD_1 ( ) { VAR_3 = TYPE_2 . METHOD_3 ( ) ; }
|
9,168 |
public java.lang.String toString ( ) { <BUG> return java.lang.String.format ( STRING_1 , java.lang.String . METHOD_1 ( value ) , VAR_1 . METHOD_2 ( ) ) ;</BUG> }
|
public java.lang.String toString ( ) { return java.lang.String.format ( STRING_1 , java.lang.String . METHOD_1 ( value ) , VAR_1 . getName ( ) ) ; }
|
9,169 |
public void METHOD_1 ( ) throws java.lang.Exception { <BUG> METHOD_2 ( VAR_1 , VAR_2 , VAR_3 , VAR_4 ) ;</BUG> }
|
public void METHOD_1 ( ) throws java.lang.Exception { METHOD_2 ( VAR_1 , VAR_2 , VAR_3 , VAR_4 , true ) ; }
|
9,170 |
public java.util.List < TYPE_1 > METHOD_1 ( TYPE_2 VAR_1 , TYPE_3 VAR_2 ) throws java.lang.Exception { <BUG> VAR_3 . info ( STRING_1 ) ;VAR_3 . info ( ( VAR_1 + STRING_2 ) ) ;</BUG> return VAR_4 . METHOD_2 ( VAR_1 ) ; }
|
public java.util.List < TYPE_1 > METHOD_1 ( TYPE_2 VAR_1 , TYPE_3 VAR_2 ) throws java.lang.Exception { return VAR_4 . METHOD_2 ( VAR_1 ) ; }
|
9,171 |
<BUG>public void METHOD_1 ( TYPE_1 [ ] answer ) {</BUG> this . VAR_1 = VAR_1 ; }
|
public void METHOD_1 ( TYPE_1 [ ] VAR_1 ) { this . VAR_1 = VAR_1 ; }
|
9,172 |
public int METHOD_1 ( ) { int result = ( ( int ) ( ( VAR_1 ) ^ ( ( VAR_1 ) > > > INT_1 ) ) ) ; <BUG> result = ( INT_2 * result ) + ( VAR_2 ? 1 : 0 ) ;</BUG> return result ; }
|
public int METHOD_1 ( ) { int result = ( ( int ) ( ( VAR_1 ) ^ ( ( VAR_1 ) > > > INT_1 ) ) ) ; return result ; }
|
9,173 |
public void METHOD_1 ( TYPE_1 VAR_1 ) { METHOD_2 ( STRING_1 ) ; TYPE_2 . METHOD_3 ( ) ; VAR_2 . start ( null ) ; <BUG> METHOD_4 ( ) ;</BUG> }
|
public void METHOD_1 ( TYPE_1 VAR_1 ) { METHOD_2 ( STRING_1 ) ; TYPE_2 . METHOD_3 ( ) ; VAR_2 . start ( null ) ; }
|
9,174 |
public TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) { return TYPE_1 . METHOD_2 ( VAR_2 . METHOD_1 ( VAR_1 ) ) . build ( ) ; }
|
public TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) { java.lang.System.out.println ( VAR_1 ) ; return TYPE_1 . METHOD_2 ( VAR_2 . METHOD_1 ( VAR_1 ) ) . build ( ) ; }
|
9,175 |
public java.lang.Double sum ( ) { if ( VAR_1 . isEmpty ( ) ) { return null ; } <BUG> return TYPE_1 . sum ( VAR_1 . values ( ) ) ;</BUG> }
|
public java.lang.Double sum ( ) { if ( VAR_1 . isEmpty ( ) ) { return null ; } java.lang.Double sum = 0.0 ; for ( java.lang.Double n : VAR_1 . values ( ) ) { sum += n ; } return sum ; }
|
9,176 |
public void equals ( ) throws java.lang.Exception { <BUG> TYPE_1 . fail ( ) ;</BUG> }
|
public void equals ( ) throws java.lang.Exception { fail ( ) ; }
|
9,177 |
public void METHOD_1 ( TYPE_1 event ) { TYPE_2 . METHOD_2 ( ) . METHOD_3 ( ) ; }
|
public void METHOD_1 ( TYPE_1 event ) { if ( ( TYPE_2 . METHOD_2 ( ) ) != null ) { TYPE_2 . METHOD_2 ( ) . METHOD_3 ( ) ; } }
|
9,178 |
public static TYPE_1 METHOD_1 ( int id ) { <BUG> return VAR_1 . METHOD_2 ( id ) ? VAR_1 . get ( id ) : null ;</BUG> }
|
public static TYPE_1 METHOD_1 ( int id ) { return VAR_1 . get ( id ) ; }
|
9,179 |
public TYPE_1 METHOD_1 ( ) { <BUG> return this . VAR_1 . METHOD_2 ( VAR_2 , java.lang.String.format ( STRING_1 , this . VAR_3 . token ( ) ) ) ;</BUG> }
|
public TYPE_1 METHOD_1 ( ) { return this . VAR_1 . METHOD_2 ( VAR_2 , this . VAR_3 . token ( ) ) ; }
|
9,180 |
public void METHOD_1 ( TYPE_1 event ) { <BUG> if ( VAR_1 ) {</BUG> return ; } <BUG> VAR_1 = true ;</BUG> if ( TYPE_2 . equals ( event . METHOD_2 ( ) ) ) { METHOD_3 ( ) ; } <BUG> VAR_1 = false ;</BUG> }
|
public void METHOD_1 ( TYPE_1 event ) { if ( this . VAR_1 ) { return ; } this . VAR_1 = true ; if ( TYPE_2 . equals ( event . METHOD_2 ( ) ) ) { METHOD_3 ( ) ; } this . VAR_1 = false ; }
|
9,181 |
public void METHOD_1 ( TYPE_1 VAR_1 ) { if ( ( VAR_2 ) != null ) { VAR_2 . METHOD_2 ( VAR_1 ) ; <BUG> }else {this . VAR_1 = VAR_1 ;</BUG> } }
|
public void METHOD_1 ( TYPE_1 VAR_1 ) { this . VAR_1 = VAR_1 ; if ( ( VAR_2 ) != null ) { VAR_2 . METHOD_2 ( VAR_1 ) ; } }
|
9,182 |
public static void main ( java.lang.String [ ] args ) { <BUG> new TYPE_1 ( ) . METHOD_1 ( ) ;</BUG> TYPE_2 . main ( args ) ; }
|
public static void main ( java.lang.String [ ] args ) { TYPE_2 . main ( args ) ; }
|
9,183 |
public void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; VAR_1 . METHOD_2 ( STRING_1 , VAR_2 ) ; <BUG> VAR_1 . METHOD_3 ( STRING_2 , VAR_3 . getId ( ) ) ;</BUG> }
|
public void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; VAR_1 . METHOD_2 ( STRING_1 , VAR_2 ) ; if ( ( VAR_3 ) != null ) VAR_1 . METHOD_3 ( STRING_2 , VAR_3 . getId ( ) ) ; }
|
9,184 |
public void METHOD_1 ( ) { <BUG> TYPE_1 VAR_1 = VAR_2 ;</BUG> while ( ! ( VAR_2 . METHOD_2 ( ) ) ) { <BUG> METHOD_3 ( ) ;if ( VAR_1 == ( VAR_2 ) ) {</BUG> java.lang.System.out.println ( STRING_1 ) ; return ; } } }
|
public void METHOD_1 ( ) { while ( ! ( VAR_2 . METHOD_2 ( ) ) ) { if ( ! ( METHOD_3 ( ) ) ) { java.lang.System.out.println ( STRING_1 ) ; return ; } } }
|
9,185 |
public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { <BUG> return new TYPE_1 ( VAR_1 . getString ( 0 ) , VAR_1 . METHOD_2 ( 1 ) , VAR_1 . METHOD_2 ( INT_1 ) , VAR_1 . getString ( INT_2 ) , VAR_1 . getString ( INT_3 ) ) ;</BUG> }
|
public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { return null ; }
|
9,186 |
public void METHOD_1 ( TYPE_1 VAR_1 ) { info = VAR_1 ; VAR_2 = ( ( info . METHOD_2 ( ) ) + STRING_1 ) + ( info . METHOD_3 ( ) ) ; VAR_3 = STRING_2 ; <BUG> java.lang.System.out.println ( ( STRING_3 + ( VAR_2 ) ) ) ;</BUG> }
|
public void METHOD_1 ( TYPE_1 VAR_1 ) { info = VAR_1 ; VAR_2 = ( ( info . METHOD_2 ( ) ) + STRING_1 ) + ( info . METHOD_3 ( ) ) ; VAR_3 = STRING_2 ; }
|
9,187 |
public static void METHOD_1 ( ) { VAR_1 = true ; java.lang.System.out.println ( STRING_1 ) ; <BUG> TYPE_1 . METHOD_2 ( ) ;VAR_2 . METHOD_3 ( true ) ;VAR_2 . METHOD_4 ( VAR_3 ) ;</BUG> }
|
public static void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( ) ; VAR_2 . METHOD_3 ( true ) ; VAR_1 = true ; java.lang.System.out.println ( STRING_1 ) ; }
|
9,188 |
<BUG>public void METHOD_1 ( TYPE_1 VAR_1 , java.lang.Object ... VAR_2 ) {VAR_3 . METHOD_1 ( VAR_1 , this , VAR_2 ) ;</BUG> }
|
public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_3 . METHOD_1 ( VAR_1 , this ) ; }
|
9,189 |
<BUG>public java.lang.String toString ( TYPE_1 value ) {return TYPE_2 . get ( value ) ;</BUG> }
|
public java.lang.String toString ( ) { return TYPE_2 . get ( this ) ; }
|
9,190 |
public void METHOD_1 ( ) throws java.lang.Exception { TYPE_1 < TYPE_2 > VAR_1 = VAR_2 . METHOD_2 ( STRING_1 ) ; <BUG> TYPE_3 . METHOD_3 ( STRING_2 , VAR_1 . METHOD_4 ( ) ) ;</BUG> }
|
public void METHOD_1 ( ) throws java.lang.Exception { TYPE_1 < TYPE_2 > VAR_1 = VAR_2 . METHOD_2 ( STRING_1 ) ; METHOD_3 ( STRING_2 , VAR_1 . METHOD_4 ( ) ) ; }
|
9,191 |
void METHOD_1 ( boolean VAR_1 ) { this . VAR_1 = VAR_1 ; }
|
void METHOD_1 ( boolean VAR_1 ) { this . VAR_1 = VAR_1 ; java.lang.System.out.print ( VAR_1 ) ; }
|
9,192 |
public void METHOD_1 ( ) { <BUG> try {</BUG> VAR_1 . METHOD_2 ( STRING_1 ) ; <BUG><BUG> }</BUG></BUG> <BUG> catch ( java.lang.Exception VAR_2 ) {</BUG> } }
|
public void METHOD_1 ( ) { VAR_1 . METHOD_2 ( STRING_1 ) ; }
|
9,193 |
<BUG>public void METHOD_1 ( ) {</BUG> android.content.Intent VAR_1 = new android.content.Intent ( VAR_2 ) ; METHOD_2 ( VAR_1 ) ; }
|
public synchronized void METHOD_1 ( ) { android.content.Intent VAR_1 = new android.content.Intent ( VAR_2 ) ; METHOD_2 ( VAR_1 ) ; }
|
9,194 |
public void METHOD_1 ( ) { <BUG> try {if ( VAR_1 . METHOD_2 ( VAR_2 ) ) VAR_1 . METHOD_3 ( STRING_1 ) ;VAR_3 . METHOD_4 ( ) ;BUG> }</BUG></BUG> <BUG> catch ( java.io.IOException VAR_4 ) {</BUG> } }
|
public void METHOD_1 ( ) { METHOD_4 ( ) ; }
|
9,195 |
<BUG>public java.lang.Boolean METHOD_1 ( final android.content.Intent intent ) {</BUG> return VAR_1 super . METHOD_2 ( intent , VAR_2 , VAR_3 ) ; }
|
public java.lang.Boolean METHOD_1 ( ) { return VAR_1 super . METHOD_2 ( intent , VAR_2 , VAR_3 ) ; }
|
9,196 |
public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 . METHOD_2 ( true ) ; <BUG> VAR_3 . METHOD_2 ( false ) ;</BUG> VAR_4 = false ; }
|
public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_3 . METHOD_2 ( false ) ; VAR_2 . METHOD_2 ( true ) ; VAR_4 = false ; }
|
9,197 |
<BUG>public java.lang.String METHOD_1 ( java.lang.String VAR_1 , java.lang.String ... keys ) {</BUG> java.lang.Object value = this . METHOD_2 ( keys ) ; if ( value instanceof java.lang.String ) { return ( ( java.lang.String ) ( value ) ) ; } else { <BUG> return VAR_1 ;</BUG> } }
|
public java.lang.String METHOD_1 ( java.lang.String ... keys ) { java.lang.Object value = this . METHOD_2 ( keys ) ; if ( value instanceof java.lang.String ) { return ( ( java.lang.String ) ( value ) ) ; } else { return null ; } }
|
9,198 |
public final void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 . METHOD_1 ( VAR_3 ) ; <BUG> VAR_1 . date = METHOD_2 ( ) ;</BUG> }
|
public final void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 . METHOD_1 ( VAR_3 ) ; VAR_1 . date = date ; }
|
9,199 |
public java.lang.String METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 VAR_2 = VAR_1 . METHOD_2 ( label ) ; return VAR_2 . getString ( ) ; }
|
public java.lang.String METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 VAR_2 = VAR_1 . METHOD_2 ( label ) ; if ( VAR_2 == null ) { return null ; } return VAR_2 . getString ( ) ; }
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.