id
int64 0
46.7k
| buggy
stringlengths 22
390
| fixed
stringlengths 14
367
|
---|---|---|
3,100 | public void METHOD_1 ( boolean value ) { <BUG> VAR_1 = value ;</BUG> } | public void METHOD_1 ( boolean value ) { VAR_1 = ! value ; }
|
3,101 | public void METHOD_1 ( ) { if ( VAR_1 ) { VAR_1 = false ; <BUG> if ( VAR_2 ) TYPE_1 . METHOD_2 ( STRING_1 ) ;</BUG> METHOD_3 ( ) ; METHOD_4 ( ) ; } } | public void METHOD_1 ( ) { if ( VAR_1 ) { VAR_1 = false ; METHOD_3 ( ) ; METHOD_4 ( ) ; } }
|
3,102 | int METHOD_1 ( ) { <BUG> if ( ! ( VAR_1 ) ) {return VAR_2 . METHOD_1 ( ) ;}</BUG> return VAR_3 ; } | int METHOD_1 ( ) { return VAR_3 ; }
|
3,103 | public TYPE_1 METHOD_1 ( ) { <BUG> while ( ( TYPE_2 ) != null ) {return TYPE_2 . METHOD_2 ( ) ;}</BUG> } | public TYPE_1 METHOD_1 ( ) { return ( ( TYPE_1 ) ( TYPE_2 . METHOD_2 ( ) ) ) ; }
|
3,104 | public int METHOD_1 ( TYPE_1 VAR_1 , int VAR_2 ) { <BUG> return VAR_3 . getInt ( ( ( ( VAR_1 . getName ( ) . toLowerCase ( ) ) + STRING_1 ) + VAR_2 ) ) ;</BUG> } | public int METHOD_1 ( TYPE_1 VAR_1 , int VAR_2 ) { java.lang.String path = ( ( VAR_1 . getName ( ) . toLowerCase ( ) ) + STRING_1 ) + VAR_2 ; return VAR_3 . getInt ( path ) ; }
|
3,105 | public static TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { final java.lang.String VAR_2 = VAR_1 . getString ( STRING_1 ) ; if ( VAR_2 == null ) return null ; return TYPE_3 . show ( VAR_2 ) ; } | public static TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { if ( VAR_1 == null ) return null ; final java.lang.String VAR_2 = VAR_1 . getString ( STRING_1 ) ; if ( VAR_2 == null ) return null ; return TYPE_3 . show ( VAR_2 ) ; }
|
3,106 | public void METHOD_1 ( TYPE_1 event ) { int VAR_1 = VAR_2 . METHOD_2 ( ) ; <BUG> VAR_3 . METHOD_3 ( VAR_1 ) ;</BUG> VAR_4 = VAR_1 ; TYPE_2 . METHOD_4 ( this , VAR_4 ) ; } | public void METHOD_1 ( TYPE_1 event ) { int VAR_1 = VAR_2 . METHOD_2 ( ) ; VAR_4 = VAR_1 ; TYPE_2 . METHOD_4 ( this , VAR_4 ) ; }
|
3,107 | public TYPE_1 METHOD_1 ( ) { <BUG> return ( ( TYPE_1 ) ( this . VAR_1 . METHOD_2 ( ) ) ) ;</BUG> } | public TYPE_1 METHOD_1 ( ) { return this . VAR_1 ; }
|
3,108 | public boolean METHOD_1 ( java.lang.String VAR_1 ) { java.lang.System.out.println ( STRING_1 ) ; try { <BUG> VAR_2 . METHOD_1 ( ( STRING_2 + VAR_1 ) ) ;</BUG> return true ; } catch ( java.lang.Exception VAR_3 ) { java.lang.System.err.println ( STRING_3 ) ; return false ; } } | public boolean METHOD_1 ( java.lang.String VAR_1 ) { java.lang.System.out.println ( STRING_1 ) ; try { VAR_2 . METHOD_1 ( VAR_1 ) ; return true ; } catch ( java.lang.Exception VAR_3 ) { java.lang.System.err.println ( STRING_3 ) ; return false ; } }
|
3,109 | public void METHOD_1 ( TYPE_1 < ? > VAR_1 , android.view.View VAR_2 , int position , long id ) { VAR_3 = position ; if ( ( VAR_4 . size ( ) ) != 0 ) { <BUG> VAR_5 . METHOD_2 ( VAR_4 , VAR_3 ) ;</BUG> } } | public void METHOD_1 ( TYPE_1 < ? > VAR_1 , android.view.View VAR_2 , int position , long id ) { VAR_3 = position ; if ( ( VAR_4 . size ( ) ) != 0 ) { VAR_5 . METHOD_2 ( VAR_4 , VAR_3 , false ) ; } }
|
3,110 | public void METHOD_1 ( ) throws java.lang.Exception { if ( ( f ) != null ) f . METHOD_2 ( INT_1 ) ; <BUG> VAR_1 . METHOD_3 ( ) ;</BUG> } | public void METHOD_1 ( ) throws java.lang.Exception { if ( ( f ) != null ) f . METHOD_2 ( INT_1 ) ; }
|
3,111 | public final void METHOD_1 ( TYPE_1 event , java.lang.String args ) { <BUG> VAR_1 . METHOD_2 ( event . METHOD_3 ( ) , ( ( VAR_2 ) + ( TYPE_2 . METHOD_4 ( args ) ) ) ) ;</BUG> } | public final void METHOD_1 ( TYPE_1 event , java.lang.String args ) { VAR_1 . METHOD_2 ( event . METHOD_3 ( ) , TYPE_2 . METHOD_4 ( args ) ) ; }
|
3,112 | public void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 . METHOD_2 ( STRING_1 , VAR_1 . METHOD_3 ( ) ) ; <BUG> TYPE_3 . METHOD_4 ( this , VAR_1 . METHOD_3 ( ) , VAR_2 ) . show ( ) ;</BUG> } | public void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 . METHOD_2 ( STRING_1 , VAR_1 . METHOD_3 ( ) ) ; }
|
3,113 | <BUG>protected final java.lang.String METHOD_1 ( ) {</BUG> return this . METHOD_2 ( STRING_1 ) ; } | public final java.lang.String METHOD_1 ( ) { return this . METHOD_2 ( STRING_1 ) ; }
|
3,114 | protected boolean METHOD_1 ( TYPE_1 context ) { <BUG> return ! ( ( ( context . METHOD_2 ( ) ) == null ) || ( context . METHOD_2 ( ) . METHOD_3 ( ) . isEmpty ( ) ) ) ;</BUG> } | protected boolean METHOD_1 ( TYPE_1 context ) { return ! ( ( ( context . METHOD_2 ( ) . METHOD_3 ( ) ) == null ) || ( context . METHOD_2 ( ) . METHOD_3 ( ) . isEmpty ( ) ) ) ; }
|
3,115 | private void METHOD_1 ( ) { <BUG> java.lang.String VAR_1 = getIntent ( ) . METHOD_2 ( ) . getString ( STRING_1 ) ;if ( VAR_1 != null ) {</BUG> TYPE_1 VAR_2 = TYPE_1 . METHOD_3 ( this ) ; VAR_2 . METHOD_1 ( VAR_1 ) ; } } | private void METHOD_1 ( ) { if ( ( VAR_1 ) != null ) { TYPE_1 VAR_2 = TYPE_1 . METHOD_3 ( this ) ; VAR_2 . METHOD_1 ( VAR_1 ) ; } }
|
3,116 | protected void METHOD_1 ( ) { <BUG> if ( ( ( VAR_1 . size ( ) ) + ( VAR_2 ) ) >= ( VAR_1 . size ( ) ) ) {</BUG> TYPE_1 . METHOD_2 ( VAR_3 ) ; METHOD_3 ( ) ; } super . METHOD_1 ( ) ; } | protected void METHOD_1 ( ) { if ( ( VAR_2 ) >= ( VAR_1 . size ( ) ) ) { TYPE_1 . METHOD_2 ( VAR_3 ) ; METHOD_3 ( ) ; } super . METHOD_1 ( ) ; }
|
3,117 | private void METHOD_1 ( ) { for ( TYPE_1 VAR_1 : this . VAR_2 ) { VAR_1 . METHOD_2 ( ) ; } } | private void METHOD_1 ( ) { synchronized ( this . VAR_2 ) { for ( TYPE_1 VAR_1 : this . VAR_2 ) { VAR_1 . METHOD_2 ( ) ; } } }
|
3,118 | public void METHOD_1 ( ) throws TYPE_1 { <BUG> java.lang.Thread . METHOD_2 ( VAR_1 ) ;</BUG> METHOD_3 ( VAR_2 ) ; } | public void METHOD_1 ( ) throws TYPE_1 { METHOD_3 ( VAR_2 ) ; }
|
3,119 | <BUG>public void METHOD_1 ( TYPE_1 < java.lang.String , java.lang.Object > args ) throws java.lang.Exception {</BUG> this . VAR_1 . METHOD_1 ( args ) ; } | public void METHOD_1 ( java.util.Map < java.lang.String , java.lang.Object > args ) throws java.lang.Exception { this . VAR_1 . METHOD_1 ( args ) ; }
|
3,120 | public boolean METHOD_1 ( java.util.Collection < ? extends TYPE_1 > VAR_1 ) { TYPE_2 . METHOD_2 ( VAR_1 ) ; boolean VAR_2 = false ; for ( TYPE_1 VAR_3 : VAR_1 ) { <BUG> VAR_2 = VAR_2 || ( add ( VAR_3 ) ) ;</BUG> } return VAR_2 ; } | public boolean METHOD_1 ( java.util.Collection < ? extends TYPE_1 > VAR_1 ) { TYPE_2 . METHOD_2 ( VAR_1 ) ; boolean VAR_2 = false ; for ( TYPE_1 VAR_3 : VAR_1 ) { VAR_2 = ( add ( VAR_3 ) ) || VAR_2 ; } return VAR_2 ; }
|
3,121 | private java.lang.String METHOD_1 ( java.lang.String filename , java.lang.String VAR_1 ) { java.lang.String VAR_2 = ( VAR_1 != null ) ? VAR_1 : STRING_1 ; <BUG> java.util.List < java.lang.String > VAR_3 = METHOD_2 ( filename , VAR_2 ) ;return METHOD_3 ( VAR_3 ) ;</BUG> } | private java.lang.String METHOD_1 ( java.lang.String filename , java.lang.String VAR_1 ) { java.lang.String VAR_2 = ( VAR_1 != null ) ? VAR_1 : STRING_1 ; return METHOD_3 ( METHOD_2 ( filename , VAR_2 ) ) ; }
|
3,122 | public boolean METHOD_1 ( java.lang.String VAR_1 ) { <BUG> return VAR_2 . METHOD_2 ( VAR_1 ) ;</BUG> } | public boolean METHOD_1 ( java.lang.String VAR_1 ) { return ! ( VAR_2 . METHOD_2 ( VAR_1 ) ) ; }
|
3,123 | public void METHOD_1 ( java.lang.String VAR_1 ) { this . VAR_1 = VAR_1 ; VAR_2 . METHOD_2 ( STRING_1 , VAR_1 ) ; <BUG> java.lang.System.out.println ( VAR_1 ) ;</BUG> } | public void METHOD_1 ( java.lang.String VAR_1 ) { this . VAR_1 = VAR_1 ; VAR_2 . METHOD_2 ( STRING_1 , VAR_1 ) ; }
|
3,124 | public void METHOD_1 ( int VAR_1 ) { <BUG> ( VAR_2 ) ++ ;</BUG> VAR_3 -= VAR_1 ; } | public void METHOD_1 ( int VAR_1 ) { VAR_2 += VAR_1 ; VAR_3 -= VAR_1 ; }
|
3,125 | public void METHOD_1 ( ) { super . METHOD_1 ( ) ; <BUG> if ( ( VAR_1 ) != null ) {VAR_1 . METHOD_2 ( ) ;}</BUG> } | public void METHOD_1 ( ) { super . METHOD_1 ( ) ; }
|
3,126 | boolean METHOD_1 ( ) { <BUG> if ( ( VAR_1 . METHOD_2 ( ) ) && ( ! ( METHOD_3 ( ) ) ) ) {</BUG> return false ; } return VAR_2 ; } | boolean METHOD_1 ( ) { if ( ! ( METHOD_3 ( ) ) ) { return false ; } return VAR_2 ; }
|
3,127 | public boolean METHOD_1 ( java.lang.String VAR_1 ) { <BUG> VAR_2 . info ( STRING_1 ) ;</BUG> VAR_2 . info ( ( ( STRING_2 + VAR_1 ) + STRING_3 ) ) ; return VAR_3 . remove ( VAR_1 ) ; } | public boolean METHOD_1 ( java.lang.String VAR_1 ) { VAR_2 . info ( ( ( STRING_2 + VAR_1 ) + STRING_3 ) ) ; return VAR_3 . remove ( VAR_1 ) ; }
|
3,128 | <BUG>protected void METHOD_1 ( TYPE_1 VAR_1 ) {if ( ( VAR_2 . contains ( VAR_1 ) ) && ( ! ( VAR_3 . equals ( VAR_4 ) ) ) ) return ;</BUG> VAR_5 . add ( VAR_1 ) ; VAR_2 . add ( VAR_1 ) ; } | protected boolean METHOD_1 ( TYPE_1 VAR_1 ) { if ( VAR_2 . contains ( VAR_1 ) ) return false ; VAR_5 . add ( VAR_1 ) ; VAR_2 . add ( VAR_1 ) ; return true ; }
|
3,129 | java.lang.String METHOD_1 ( ) { <BUG> return ( STRING_1 + ( this . name ) ) + STRING_2 ;</BUG> } | java.lang.String METHOD_1 ( ) { return ( STRING_1 + ( name ) ) + STRING_2 ; }
|
3,130 | private boolean METHOD_1 ( ) { java.util.Properties VAR_1 = METHOD_2 ( VAR_2 ) ; java.lang.String VAR_3 = VAR_1 . METHOD_3 ( STRING_1 ) ; <BUG> if ( VAR_3 . equals ( VAR_4 ) ) {</BUG> return true ; } return false ; } | private boolean METHOD_1 ( ) { java.util.Properties VAR_1 = METHOD_2 ( VAR_2 ) ; java.lang.String VAR_3 = VAR_1 . METHOD_3 ( STRING_1 ) ; if ( ( VAR_3 != null ) && ( VAR_3 . equals ( VAR_4 ) ) ) { return true ; } return false ; }
|
3,131 | public void METHOD_1 ( TYPE_1 VAR_1 ) { int i = VAR_2 . METHOD_2 ( ) ; if ( i >= 0 ) { <BUG> VAR_3 . METHOD_3 ( VAR_4 . get ( i ) ) ;</BUG> } } | public void METHOD_1 ( TYPE_1 VAR_1 ) { int i = VAR_2 . METHOD_2 ( ) ; if ( i >= 0 ) { VAR_3 . METHOD_3 ( VAR_4 . get ( i ) , false ) ; } }
|
3,132 | public final TYPE_1 METHOD_1 ( ) { <BUG> if ( ( VAR_1 ) == null ) {METHOD_2 ( ) ;}</BUG> return VAR_1 ; } | public final TYPE_1 METHOD_1 ( ) { return VAR_1 ; }
|
3,133 | <BUG>public boolean METHOD_1 ( ) {java.io.File file = new java.io.File ( this . METHOD_2 ( ) , VAR_1 ) ;</BUG> return file . METHOD_3 ( ) ; } | public boolean METHOD_1 ( java.io.File file ) { return file . METHOD_3 ( ) ; }
|
3,134 | protected boolean METHOD_1 ( ) { try { return TYPE_1 . METHOD_2 ( ) . METHOD_3 ( VAR_1 , VAR_2 ) ; } catch ( TYPE_2 VAR_3 ) { <BUG> TYPE_3 . METHOD_4 ( STRING_1 , VAR_3 . METHOD_5 ( ) ) ;</BUG> } return true ; } | protected boolean METHOD_1 ( ) { try { return TYPE_1 . METHOD_2 ( ) . METHOD_3 ( VAR_1 , VAR_2 ) ; } catch ( TYPE_2 VAR_3 ) { TYPE_3 . error ( STRING_1 , VAR_3 . METHOD_5 ( ) , VAR_3 ) ; } return true ; }
|
3,135 | <BUG>void METHOD_1 ( TYPE_1 VAR_1 , java.util.Calendar VAR_2 ) ;</BUG> | void METHOD_1 ( TYPE_1 VAR_1 , java.util.Date date ) ;
|
3,136 | public void METHOD_1 ( TYPE_1 key ) { <BUG> VAR_1 . METHOD_2 ( ) ;</BUG> for ( TYPE_1 VAR_2 : key . METHOD_3 ( STRING_1 ) . METHOD_4 ( ) ) { VAR_1 . add ( new TYPE_2 ( TYPE_3 . METHOD_5 ( VAR_2 ) ) ) ; } } | public void METHOD_1 ( TYPE_1 key ) { for ( TYPE_1 VAR_2 : key . METHOD_3 ( STRING_1 ) . METHOD_4 ( ) ) { VAR_1 . add ( new TYPE_2 ( TYPE_3 . METHOD_5 ( VAR_2 ) ) ) ; } }
|
3,137 | protected void METHOD_1 ( ) { <BUG> METHOD_2 ( TYPE_1 . METHOD_3 ( ) , 0 , ( ( INT_1 * INT_2 ) * INT_2 ) ) ;</BUG> } | protected void METHOD_1 ( ) { METHOD_2 ( TYPE_1 . METHOD_3 ( ) , ( INT_1 * INT_2 ) , ( ( INT_1 * INT_2 ) * INT_2 ) ) ; }
|
3,138 | public void METHOD_1 ( ) { try { if ( ( VAR_1 ) != null ) { <BUG> VAR_1 . METHOD_1 ( ) ;</BUG> } VAR_1 . METHOD_1 ( ) ; } catch ( java.io.IOException VAR_2 ) { throw new TYPE_1 ( VAR_2 ) ; } } | public void METHOD_1 ( ) { try { if ( ( VAR_1 ) != null ) { VAR_1 . METHOD_1 ( ) ; } VAR_1 = null ; } catch ( java.io.IOException VAR_2 ) { throw new TYPE_1 ( VAR_2 ) ; } }
|
3,139 | public java.lang.String getName ( ) { <BUG> if ( this . VAR_1 ) {return this . METHOD_1 ( ) ;BUG> }</BUG></BUG> <BUG> else {</BUG> return this . METHOD_2 ( ) ; } } | public java.lang.String getName ( ) { return this . METHOD_2 ( ) ; }
|
3,140 | public TYPE_1 METHOD_1 ( boolean VAR_1 ) { <BUG> VAR_2 = false ;VAR_3 = null ;</BUG> return this ; } | public TYPE_1 METHOD_1 ( boolean VAR_1 ) { VAR_2 = ! VAR_1 ; return this ; }
|
3,141 | protected void METHOD_1 ( int VAR_1 , int VAR_2 , android.content.Intent data ) { <BUG> if ( VAR_2 == ( VAR_3 ) ) {return ;BUG><BUG> }</BUG></BUG></BUG> <BUG> if ( VAR_2 == ( VAR_4 ) ) {</BUG> } <BUG> if ( VAR_2 == ( VAR_5 ) ) {</BUG> } } | protected void METHOD_1 ( int VAR_1 , int VAR_2 , android.content.Intent data ) { }
|
3,142 | public TYPE_1 METHOD_1 ( TYPE_2 TYPE_3 ) { return VAR_1 . METHOD_1 ( METHOD_2 ( ) ) ; } | public TYPE_1 METHOD_1 ( TYPE_2 TYPE_3 ) { if ( TYPE_3 == null ) return null ; return VAR_1 . METHOD_1 ( METHOD_2 ( ) ) ; }
|
3,143 | protected void execute ( ) { <BUG> VAR_1 . METHOD_1 ( ) ;</BUG> TYPE_1 . METHOD_2 ( STRING_1 , VAR_2 ) ; METHOD_3 ( ) ; METHOD_4 ( ) ; } | protected void execute ( ) { TYPE_1 . METHOD_2 ( STRING_1 , VAR_2 ) ; METHOD_3 ( ) ; METHOD_4 ( ) ; }
|
3,144 | public void METHOD_1 ( ) { <BUG> VAR_1 = new TYPE_1 ( context , message ) ;</BUG> VAR_1 . METHOD_2 ( VAR_2 ) ; <BUG> VAR_1 . METHOD_3 ( STRING_1 ) ;VAR_1 . METHOD_4 ( text ) ;</BUG> VAR_1 . METHOD_5 ( ) ; } | public void METHOD_1 ( ) { VAR_1 = new TYPE_1 ( context , text ) ; VAR_1 . METHOD_2 ( VAR_2 ) ; VAR_1 . METHOD_5 ( ) ; }
|
3,145 | public byte [ ] getValue ( ) { <BUG> if ( ( value ) != null ) {</BUG> return value . METHOD_1 ( ) ; <BUG> }return null ;</BUG> } | public byte [ ] getValue ( ) { return value . METHOD_1 ( ) ; }
|
3,146 | protected TYPE_1 METHOD_1 ( ) { TYPE_1 VAR_1 = super . METHOD_1 ( ) ; VAR_1 . METHOD_2 ( VAR_2 ) ; VAR_3 = VAR_4 ; <BUG> VAR_1 . METHOD_3 ( VAR_5 , VAR_6 ) ;</BUG> return VAR_1 ; } | protected TYPE_1 METHOD_1 ( ) { TYPE_1 VAR_1 = super . METHOD_1 ( ) ; VAR_1 . METHOD_2 ( VAR_2 ) ; VAR_3 = VAR_4 ; return VAR_1 ; }
|
3,147 | <BUG>public boolean METHOD_1 ( android.view.View view , java.lang.Object VAR_1 ) {return view == ( ( android.view.View ) ( VAR_1 ) ) ;</BUG> } | public boolean isEmpty ( ) { return false ; }
|
3,148 | public void METHOD_1 ( ) { <BUG> TYPE_1 . METHOD_2 ( this ) ;</BUG> VAR_1 = new TYPE_2 ( ) ; } | public void METHOD_1 ( ) { VAR_1 = new TYPE_2 ( ) ; }
|
3,149 | public void METHOD_1 ( ) { VAR_1 = ! ( VAR_1 ) ; <BUG> if ( VAR_2 ) {VAR_3 . METHOD_2 ( VAR_1 ) ;}</BUG> } | public void METHOD_1 ( ) { VAR_1 = ! ( VAR_1 ) ; }
|
3,150 | public void METHOD_1 ( TYPE_1 time ) { <BUG> TYPE_1 = VAR_1 ;</BUG> } | public void METHOD_1 ( TYPE_1 time ) { }
|
3,151 | public void METHOD_1 ( java.lang.String VAR_1 ) { <BUG> VAR_2 = 1 ;</BUG> } | public void METHOD_1 ( java.lang.String VAR_1 ) { VAR_2 = 0 ; }
|
3,152 | public void METHOD_1 ( double VAR_1 ) { METHOD_2 ( VAR_1 ) ; METHOD_3 ( ) ; METHOD_4 ( ( ( VAR_2 ) * VAR_1 ) ) ; <BUG> if ( METHOD_5 ( ) ) {METHOD_6 ( ) ;}</BUG> } | public void METHOD_1 ( double VAR_1 ) { METHOD_2 ( VAR_1 ) ; METHOD_3 ( ) ; METHOD_4 ( ( ( VAR_2 ) * VAR_1 ) ) ; }
|
3,153 | public void METHOD_1 ( ) { <BUG> VAR_1 = null ;</BUG> VAR_2 = null ; if ( ( VAR_3 ) != null ) VAR_3 . METHOD_2 ( null ) ; super . METHOD_1 ( ) ; } | public void METHOD_1 ( ) { VAR_2 = null ; if ( ( VAR_3 ) != null ) VAR_3 . METHOD_2 ( null ) ; super . METHOD_1 ( ) ; }
|
3,154 | private boolean METHOD_1 ( java.util.Set < TYPE_1 > VAR_1 ) { <BUG> return METHOD_1 ( ( VAR_1 . isEmpty ( ) ? VAR_2 = ( ( TYPE_2 < TYPE_1 > ) ( VAR_3 ) ) : new TYPE_2 < TYPE_1 > ( VAR_1 ) ) ) ;</BUG> } | private boolean METHOD_1 ( java.util.Set < TYPE_1 > VAR_1 ) { return METHOD_1 ( ( VAR_1 . isEmpty ( ) ? ( ( TYPE_2 < TYPE_1 > ) ( VAR_3 ) ) : new TYPE_2 < TYPE_1 > ( VAR_1 ) ) ) ; }
|
3,155 | private void METHOD_1 ( int VAR_1 , int VAR_2 , int VAR_3 ) { TYPE_1 < java.lang.CharSequence > VAR_4 = TYPE_1 . METHOD_2 ( getContext ( ) , VAR_1 , VAR_2 ) ; VAR_4 . METHOD_3 ( VAR_3 ) ; <BUG> VAR_5 . METHOD_4 ( VAR_4 ) ;</BUG> } | private void METHOD_1 ( int VAR_1 , int VAR_2 , int VAR_3 ) { TYPE_1 < java.lang.CharSequence > VAR_4 = TYPE_1 . METHOD_2 ( getContext ( ) , VAR_1 , VAR_2 ) ; VAR_4 . METHOD_3 ( VAR_3 ) ; METHOD_4 ( VAR_4 ) ; }
|
3,156 | public void METHOD_1 ( android.view.View view ) { switch ( view . getId ( ) ) { case VAR_1 : METHOD_2 ( view ) ; break ; <BUG> case VAR_2 : METHOD_3 ( ) ;</BUG> break ; default : break ; } } | public void METHOD_1 ( android.view.View view ) { switch ( view . getId ( ) ) { case VAR_1 : METHOD_2 ( view ) ; break ; case VAR_2 : METHOD_3 ( view ) ; break ; default : break ; } }
|
3,157 | public void METHOD_1 ( boolean VAR_1 ) { <BUG> if ( ! VAR_1 ) VAR_2 = null ;</BUG> view . METHOD_2 ( ) ; VAR_3 . list ( VAR_2 , VAR_4 , VAR_5 , VAR_6 , this ) ; } | public void METHOD_1 ( boolean VAR_1 ) { if ( ! VAR_1 ) { VAR_2 = null ; view . METHOD_2 ( ) ; } VAR_3 . list ( VAR_2 , VAR_4 , VAR_5 , VAR_6 , this ) ; }
|
3,158 | public void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> METHOD_2 ( ( ( java.util.Date ) ( VAR_2 . getValue ( ) ) ) , ( ( java.util.Date ) ( VAR_3 . getValue ( ) ) ) , VAR_4 ) ;</BUG> METHOD_3 ( ) ; } | public void METHOD_1 ( TYPE_1 VAR_1 ) { if ( METHOD_2 ( ( ( java.util.Date ) ( VAR_2 . getValue ( ) ) ) , ( ( java.util.Date ) ( VAR_3 . getValue ( ) ) ) , VAR_4 ) ) { METHOD_3 ( ) ; } }
|
3,159 | public void METHOD_1 ( TYPE_1 < TYPE_2 > VAR_1 ) { if ( ! ( VAR_1 . METHOD_2 ( ) ) ) { <BUG> TYPE_3 . METHOD_3 ( METHOD_4 ( ) , STRING_1 , VAR_2 ) . show ( ) ;</BUG> } } | public void METHOD_1 ( TYPE_1 < TYPE_2 > VAR_1 ) { if ( ! ( VAR_1 . METHOD_2 ( ) ) ) { TYPE_3 . METHOD_3 ( this , STRING_1 , VAR_2 ) . show ( ) ; } }
|
3,160 | public boolean METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> return ( VAR_2 . METHOD_2 ( VAR_1 . getType ( ) . METHOD_3 ( ) ) ) != null ? true : false ;</BUG> } | public boolean METHOD_1 ( TYPE_1 VAR_1 ) { return ( VAR_2 . METHOD_2 ( VAR_1 ) ) != null ? true : false ; }
|
3,161 | public int METHOD_1 ( ) { <BUG> if ( VAR_1 . METHOD_2 ( ) ) {</BUG> return METHOD_3 ( ) ; } return VAR_2 ; } | public int METHOD_1 ( ) { if ( ( ( VAR_1 ) != null ) && ( VAR_1 . METHOD_2 ( ) ) ) { return METHOD_3 ( ) ; } return VAR_2 ; }
|
3,162 | public void METHOD_1 ( ) { <BUG> METHOD_2 ( ) ;</BUG> METHOD_3 ( ) ; VAR_1 . METHOD_4 ( ) . METHOD_5 ( ) . METHOD_6 ( ) ; } | public void METHOD_1 ( ) { METHOD_3 ( ) ; VAR_1 . METHOD_4 ( ) . METHOD_5 ( ) . METHOD_6 ( ) ; }
|
3,163 | private void METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 ) { TYPE_3 VAR_3 = VAR_1 . METHOD_2 ( ) ; <BUG> java.lang.String key = VAR_1 . METHOD_3 ( ) ;TYPE_4 VAR_4 = METHOD_4 ( VAR_3 , VAR_2 , key ) ;METHOD_5 ( VAR_4 , VAR_1 ) ;</BUG> } | private void METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 ) { TYPE_3 VAR_3 = VAR_1 . METHOD_2 ( ) ; METHOD_5 ( VAR_3 , VAR_2 , VAR_1 ) ; }
|
3,164 | void METHOD_1 ( TYPE_1 VAR_1 ) throws TYPE_2 { VAR_2 . setEnabled ( false ) ; <BUG> if ( VAR_1 . getString ( STRING_1 ) . equals ( STRING_2 ) ) {</BUG> VAR_2 . setText ( VAR_3 ) ; } else { VAR_2 . setText ( VAR_4 ) ; } } | void METHOD_1 ( TYPE_1 VAR_1 ) throws TYPE_2 { if ( VAR_1 . getString ( STRING_1 ) . equals ( STRING_2 ) ) { VAR_2 . setEnabled ( false ) ; VAR_2 . setText ( VAR_3 ) ; } else { VAR_2 . setText ( VAR_4 ) ; } }
|
3,165 | public TYPE_1 METHOD_1 ( ) { <BUG> TYPE_2 . METHOD_2 ( STRING_1 , VAR_1 ) ;</BUG> TYPE_1 query = new TYPE_1 ( STRING_2 ) ; query . METHOD_3 ( STRING_3 , VAR_1 ) ; query . METHOD_4 ( STRING_4 ) ; return query ; } | public TYPE_1 METHOD_1 ( ) { TYPE_1 query = new TYPE_1 ( STRING_2 ) ; query . METHOD_3 ( STRING_3 , VAR_1 ) ; query . METHOD_4 ( STRING_4 ) ; return query ; }
|
3,166 | public void METHOD_1 ( android.view.View VAR_1 ) { <BUG> int position = ( ( java.lang.Integer ) ( VAR_1 . METHOD_2 ( ) ) ) ;java.lang.Object VAR_2 = METHOD_3 ( position ) ;TYPE_1 VAR_3 = ( ( TYPE_1 ) ( VAR_2 ) ) ;</BUG> } | public void METHOD_1 ( android.view.View VAR_1 ) { }
|
3,167 | public void METHOD_1 ( ) { VAR_1 = new TYPE_1 ( VAR_2 ) ; VAR_3 = true ; } | public void METHOD_1 ( ) { if ( ! ( VAR_3 ) ) { VAR_1 = new TYPE_1 ( VAR_2 ) ; VAR_3 = true ; } }
|
3,168 | private boolean METHOD_1 ( ) { <BUG> TYPE_1 VAR_1 = METHOD_2 ( ) ;</BUG> METHOD_3 ( VAR_2 , STRING_1 ) ; METHOD_4 ( ) ; METHOD_3 ( VAR_3 , STRING_2 ) ; VAR_1 . METHOD_5 ( VAR_4 ) ; return true ; } | private boolean METHOD_1 ( ) { TYPE_1 VAR_1 = b . METHOD_2 ( ) ; METHOD_3 ( VAR_2 , STRING_1 ) ; METHOD_4 ( ) ; METHOD_3 ( VAR_3 , STRING_2 ) ; VAR_1 . METHOD_5 ( VAR_4 ) ; return true ; }
|
3,169 | public android.view.View METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 , TYPE_3 VAR_3 ) { <BUG> VAR_4 = new TYPE_4 ( ) ;</BUG> return VAR_1 . METHOD_2 ( VAR_5 , VAR_2 , false ) ; } | public android.view.View METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 , TYPE_3 VAR_3 ) { VAR_4 = new TYPE_4 ( this ) ; return VAR_1 . METHOD_2 ( VAR_5 , VAR_2 , false ) ; }
|
3,170 | public void METHOD_1 ( ) { <BUG> if ( ! ( ( VAR_1 ) instanceof TYPE_1 < ? > ) ) VAR_1 . METHOD_1 ( ) ;</BUG> } | public void METHOD_1 ( ) { VAR_1 . METHOD_1 ( ) ; }
|
3,171 | public void METHOD_1 ( ) { <BUG> TYPE_1 . assertEquals ( STRING_1 , VAR_1 . METHOD_2 ( ) ) ;TYPE_1 . assertEquals ( STRING_1 , VAR_2 . METHOD_2 ( ) ) ;</BUG> } | public void METHOD_1 ( ) { TYPE_1 . assertEquals ( key , VAR_1 . METHOD_2 ( ) ) ; TYPE_1 . assertEquals ( key , VAR_2 . METHOD_2 ( ) ) ; }
|
3,172 | public void METHOD_1 ( android.widget.LinearLayout VAR_1 ) { <BUG> if ( ( VAR_2 ) >= ( VAR_3 ) ) {VAR_1 . METHOD_2 ( true ) ;BUG> }</BUG></BUG> <BUG> else {</BUG> VAR_1 . METHOD_3 ( true ) ; } } | public void METHOD_1 ( android.widget.LinearLayout VAR_1 ) { VAR_1 . METHOD_3 ( true ) ; }
|
3,173 | private void METHOD_1 ( TYPE_1 item ) { item . METHOD_2 ( VAR_1 ) ; item . METHOD_3 ( METHOD_4 ( ) . getColor ( VAR_2 ) ) ; } | private void METHOD_1 ( TYPE_1 item ) { if ( item != null ) { item . METHOD_2 ( VAR_1 ) ; item . METHOD_3 ( METHOD_4 ( ) . getColor ( VAR_2 ) ) ; } }
|
3,174 | protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( VAR_2 ) ; VAR_3 = TYPE_2 . METHOD_3 ( ) ; VAR_4 = new TYPE_3 ( VAR_3 , this ) ; METHOD_4 ( ) ; <BUG> METHOD_5 ( ) ;</BUG> } | protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( VAR_2 ) ; VAR_3 = TYPE_2 . METHOD_3 ( ) ; VAR_4 = new TYPE_3 ( VAR_3 , this ) ; METHOD_4 ( ) ; }
|
3,175 | public java.lang.String METHOD_1 ( java.lang.String name ) { name = TYPE_1 . toLowerCase ( name ) ; <BUG> if ( name != null ) {return VAR_1 . get ( name ) ;}</BUG> return null ; } | public java.lang.String METHOD_1 ( java.lang.String name ) { name = TYPE_1 . toLowerCase ( name ) ; if ( ! ( TYPE_1 . isEmpty ( name ) ) ) return VAR_1 . get ( name ) ; return null ; }
|
3,176 | public void METHOD_1 ( ) throws TYPE_1 { <BUG> METHOD_2 ( ) ;</BUG> TYPE_2 VAR_1 = new TYPE_2 ( VAR_2 ) ; VAR_1 . METHOD_3 ( VAR_3 ) . METHOD_4 ( ) . METHOD_5 ( ) ; java.lang.Thread . METHOD_6 ( INT_1 ) ; METHOD_7 ( ) ; } | public void METHOD_1 ( ) throws TYPE_1 { TYPE_2 VAR_1 = new TYPE_2 ( VAR_2 ) ; VAR_1 . METHOD_3 ( VAR_3 ) . METHOD_4 ( ) . METHOD_5 ( ) ; java.lang.Thread . METHOD_6 ( INT_1 ) ; METHOD_7 ( ) ; }
|
3,177 | public static int METHOD_1 ( ) { int result = VAR_1 . get ( ) ; <BUG> if ( result <= 0 ) {</BUG> result = VAR_2 ; } VAR_1 . set ( VAR_2 ) ; return result ; } | public static int METHOD_1 ( ) { int result = VAR_1 . get ( ) ; if ( result == 0 ) { result = VAR_2 ; } VAR_1 . set ( VAR_2 ) ; return result ; }
|
3,178 | public TYPE_1 < TYPE_2 > METHOD_1 ( TYPE_3 < TYPE_2 > VAR_1 ) { <BUG> TYPE_4 < TYPE_2 > VAR_2 = new TYPE_4 ( VAR_1 ) ;VAR_2 . METHOD_2 ( this . VAR_2 . values ( ) ) ;return VAR_2 ;</BUG> } | public TYPE_1 < TYPE_2 > METHOD_1 ( TYPE_3 < TYPE_2 > VAR_1 ) { java.util.List < TYPE_2 > list = new java.util.ArrayList < > ( ) ; list . METHOD_2 ( VAR_2 . values ( ) ) ; java.util.Collections.sort ( list , VAR_1 ) ; return list ; }
|
3,179 | public void METHOD_1 ( ) throws java.io.IOException { <BUG> METHOD_2 ( VAR_1 ) ;</BUG> } | public void METHOD_1 ( ) throws java.io.IOException { METHOD_2 ( new java.io.File ( VAR_1 ) ) ; }
|
3,180 | private void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> if ( ( VAR_2 ) == 0 ) {</BUG> VAR_3 = VAR_1 . METHOD_2 ( ) ; <BUG> }</BUG> } | private void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_3 = VAR_1 . METHOD_2 ( ) ; }
|
3,181 | public static void METHOD_1 ( long VAR_1 , TYPE_1 VAR_2 ) { <BUG> VAR_3 . METHOD_2 ( VAR_1 , VAR_2 ) ;</BUG> } | public static void METHOD_1 ( long VAR_1 , TYPE_1 VAR_2 ) { VAR_3 . put ( VAR_1 , VAR_2 ) ; }
|
3,182 | <BUG>private void METHOD_1 ( ) {</BUG> VAR_1 [ VAR_2 ] = VAR_3 [ VAR_2 ] ; } | public void METHOD_1 ( ) { VAR_1 [ VAR_2 ] = VAR_3 [ VAR_2 ] ; }
|
3,183 | public TYPE_1 < TYPE_2 > METHOD_1 ( TYPE_2 x ) { return TYPE_1 . METHOD_2 ( VAR_1 , TYPE_3 . METHOD_2 ( x , VAR_2 ) , ( ( VAR_3 ) + ( x . METHOD_3 ( ) ) ) ) ; } | public TYPE_1 < TYPE_2 > METHOD_1 ( TYPE_2 x ) { assert x != null ; return TYPE_1 . METHOD_2 ( VAR_1 , TYPE_3 . METHOD_2 ( x , VAR_2 ) , ( ( VAR_3 ) + ( x . METHOD_3 ( ) ) ) ) ; }
|
3,184 | public void METHOD_1 ( ) { <BUG> super . METHOD_2 ( ) ;</BUG> if ( VAR_1 . METHOD_3 ( ) ) { boolean show = ! ( VAR_2 . METHOD_4 ( ) ) ; VAR_2 . METHOD_5 ( show ) ; METHOD_6 ( show ) ; } } | public void METHOD_1 ( ) { super . METHOD_1 ( ) ; if ( VAR_1 . METHOD_3 ( ) ) { boolean show = ! ( VAR_2 . METHOD_4 ( ) ) ; VAR_2 . METHOD_5 ( show ) ; METHOD_6 ( show ) ; } }
|
3,185 | public java.lang.String METHOD_1 ( java.lang.String field ) { <BUG> return METHOD_2 ( field ) ? METHOD_3 ( VAR_1 ) : field ;</BUG> } | public java.lang.String METHOD_1 ( java.lang.String field ) { return METHOD_2 ( field ) ? field : METHOD_3 ( VAR_1 ) ; }
|
3,186 | <BUG>public TYPE_1 METHOD_1 ( long VAR_1 , TYPE_1 VAR_2 , TYPE_2 VAR_3 ) {return VAR_4 . METHOD_1 ( VAR_1 , VAR_2 , VAR_3 ) ;</BUG> } | public TYPE_1 METHOD_1 ( long VAR_1 , TYPE_1 VAR_2 ) { return VAR_4 . METHOD_1 ( null , VAR_1 , VAR_2 ) ; }
|
3,187 | public java.lang.String view ( java.lang.String id ) throws java.lang.Exception { <BUG> return new java.lang.String ( TYPE_1 . METHOD_1 ( TYPE_2 . get ( ( ( ( ( VAR_1 ) + STRING_1 ) + id ) + STRING_2 ) ) ) ) ;</BUG> } | public java.lang.String view ( java.lang.String id ) throws java.lang.Exception { return new java.lang.String ( TYPE_1 . METHOD_1 ( TYPE_2 . get ( ( ( ( VAR_1 ) + STRING_1 ) + id ) ) ) ) ; }
|
3,188 | public void handle ( TYPE_1 message ) { <BUG> VAR_1 . METHOD_1 ( ( VAR_2 = new TYPE_2 ( VAR_1 , VAR_3 , message , this ) ) ) ;</BUG> VAR_4 . METHOD_2 ( VAR_2 . METHOD_3 ( ) ) ; } | public void handle ( TYPE_1 message ) { VAR_2 = new TYPE_2 ( VAR_1 , VAR_3 , message , this ) ; VAR_4 . METHOD_2 ( VAR_2 . METHOD_3 ( ) ) ; VAR_1 . METHOD_1 ( VAR_2 ) ; }
|
3,189 | public boolean METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> return VAR_2 . METHOD_2 ( ( ( VAR_3 ) * ( ( VAR_4 . METHOD_3 ( ) ) + 1 ) ) , 0 , 0 ) ;</BUG> } | public boolean METHOD_1 ( TYPE_1 VAR_1 ) { return VAR_2 . METHOD_2 ( VAR_3 , 0 , 0 ) ; }
|
3,190 | public void METHOD_1 ( ) { <BUG> TYPE_1 . METHOD_2 ( VAR_1 , STRING_1 , VAR_2 ) . show ( ) ;</BUG> } | public void METHOD_1 ( ) { }
|
3,191 | public java.lang.String METHOD_1 ( ) { switch ( value ) { <BUG> case "0" : return STRING_1 ;</BUG> case STRING_2 : return STRING_3 ; case STRING_4 : return STRING_5 ; case STRING_6 : return STRING_7 ; <BUG> default : return STRING_8 ;</BUG> } } | public java.lang.String METHOD_1 ( ) { switch ( value ) { case STRING_2 : return STRING_3 ; case STRING_4 : return STRING_5 ; case STRING_6 : return STRING_7 ; default : return STRING_1 ; } }
|
3,192 | public TYPE_1 METHOD_1 ( ) { <BUG> return this . VAR_1 . get ( ( ( this . VAR_1 . size ( ) ) - INT_1 ) ) ;</BUG> } | public TYPE_1 METHOD_1 ( ) { return this . VAR_1 . get ( 1 ) ; }
|
3,193 | public static TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , int VAR_2 ) { <BUG> return new TYPE_3 ( VAR_1 , VAR_2 ) ;</BUG> } | public static TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , int VAR_2 ) { return new TYPE_1 ( VAR_1 , VAR_2 ) ; }
|
3,194 | public void METHOD_1 ( TYPE_1 result ) { if ( ! ( METHOD_2 ( ) ) ) { return ; } METHOD_3 ( false , VAR_1 ) ; if ( result . METHOD_4 ( ) ) { <BUG> METHOD_5 ( ) ;</BUG> } } | public void METHOD_1 ( TYPE_1 result ) { if ( ! ( METHOD_2 ( ) ) ) { return ; } METHOD_3 ( false , VAR_1 ) ; if ( result . METHOD_4 ( ) ) { METHOD_5 ( false ) ; } }
|
3,195 | public android.view.View getView ( int i , android.view.View view , TYPE_1 VAR_1 ) { if ( ( this . VAR_2 . get ( i ) ) == null ) { <BUG> METHOD_1 ( ) ;</BUG> } return this . VAR_2 . get ( i ) ; } | public android.view.View getView ( int i , android.view.View view , TYPE_1 VAR_1 ) { if ( ( this . VAR_2 . get ( i ) ) == null ) { METHOD_1 ( i ) ; } return this . VAR_2 . get ( i ) ; }
|
3,196 | private void METHOD_1 ( ) { int VAR_1 = VAR_2 . METHOD_1 ( VAR_3 ) ; <BUG> java.lang.System.out.println ( ( VAR_1 + STRING_1 ) ) ;</BUG> if ( VAR_1 != ( - 1 ) ) { VAR_3 [ VAR_1 ] . setEnabled ( false ) ; } } | private void METHOD_1 ( ) { int VAR_1 = VAR_2 . METHOD_1 ( VAR_3 ) ; if ( VAR_1 != ( - 1 ) ) { VAR_3 [ VAR_1 ] . setEnabled ( false ) ; } }
|
3,197 | public TYPE_1 METHOD_1 ( ) throws java.io.IOException { METHOD_2 ( ) ; <BUG> return VAR_1 . METHOD_3 ( ) ;</BUG> } | public TYPE_1 METHOD_1 ( ) throws java.io.IOException { METHOD_2 ( ) ; return VAR_1 . get ( ) . METHOD_3 ( ) ; }
|
3,198 | private java.lang.String METHOD_1 ( java.lang.String x ) { <BUG> TYPE_1 i = new TYPE_1 ( x ) ;</BUG> TYPE_1 k = i . METHOD_1 ( ) ; k = k . METHOD_2 ( ) ; return k . METHOD_3 ( ) ; } | private java.lang.String METHOD_1 ( java.lang.String x ) { TYPE_1 i = new TYPE_1 ( getValue ( x ) . toString ( ) ) ; TYPE_1 k = i . METHOD_1 ( ) ; k = k . METHOD_2 ( ) ; return k . METHOD_3 ( ) ; }
|
3,199 | public TYPE_1 METHOD_1 ( ) { <BUG> return new TYPE_2 ( ) ;</BUG> } | public TYPE_1 METHOD_1 ( ) { return new TYPE_1 ( ) ; }
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.