id
int64 0
46.7k
| buggy
stringlengths 22
390
| fixed
stringlengths 14
367
|
---|---|---|
200 | <BUG>public void METHOD_1 ( ) {</BUG> VAR_1 = 0.0 ; } | public double METHOD_1 ( ) { final double remove = VAR_1 ; VAR_1 = 0.0 ; return remove ; }
|
201 | public void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> VAR_2 . set ( VAR_3 , VAR_4 , VAR_5 , VAR_6 ) ;</BUG> } | public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 . set ( VAR_3 , VAR_4 , ( ( VAR_5 ) - ( VAR_3 ) ) , ( ( VAR_6 ) - ( VAR_4 ) ) ) ; }
|
202 | public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 = VAR_1 ; java.lang.System.out.println ( VAR_1 ) ; <BUG> java.lang.System.out.println ( STRING_1 ) ;</BUG> } | public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 = VAR_1 ; java.lang.System.out.println ( VAR_1 ) ; }
|
203 | public void METHOD_1 ( TYPE_1 VAR_1 ) { if ( VAR_2 ) { VAR_2 = false ; <BUG><BUG> METHOD_2 ( VAR_2 ) ;</BUG></BUG> VAR_3 . setText ( STRING_1 ) ; } else { VAR_2 = true ; METHOD_2 ( VAR_2 ) ; VAR_3 . setText ( STRING_2 ) ; } } | public void METHOD_1 ( TYPE_1 VAR_1 ) { if ( VAR_2 ) { VAR_2 = false ; METHOD_2 ( ) ; VAR_3 . setText ( STRING_1 ) ; } else { VAR_2 = true ; METHOD_2 ( ) ; VAR_3 . setText ( STRING_2 ) ; } }
|
204 | public void METHOD_1 ( ) { <BUG> VAR_1 . METHOD_2 ( TYPE_1 . METHOD_3 ( VAR_2 ) , VAR_3 ) ;</BUG> TYPE_2 . METHOD_4 ( VAR_4 ) ; } | public void METHOD_1 ( ) { VAR_1 . METHOD_2 ( true , true ) ; TYPE_2 . METHOD_4 ( VAR_4 ) ; }
|
205 | public java.lang.String toString ( ) { <BUG> return ( ( STRING_1 + ( name ) ) + STRING_2 ) + ( VAR_1 . toString ( ) ) ;</BUG> } | public java.lang.String toString ( ) { return name ; }
|
206 | public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { TYPE_3 VAR_2 = VAR_1 . get ( ) ; <BUG> this . VAR_3 . add ( VAR_1 ) ;</BUG> return METHOD_2 ( VAR_2 ) ; } | public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { TYPE_3 VAR_2 = VAR_1 . get ( ) ; this . VAR_3 . add ( VAR_2 ) ; return METHOD_2 ( VAR_2 ) ; }
|
207 | public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( STRING_1 ) ; <BUG> METHOD_3 ( METHOD_4 ( ) ) ;</BUG> } | public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( STRING_1 ) ; remove ( METHOD_4 ( ) ) ; }
|
208 | public void METHOD_1 ( android.view.View VAR_1 ) { state = VAR_2 ; <BUG> this . METHOD_2 ( STRING_1 ) ;</BUG> } | public void METHOD_1 ( android.view.View VAR_1 ) { state = VAR_2 ; this . METHOD_2 ( "0" ) ; }
|
209 | public void METHOD_1 ( TYPE_1 VAR_1 , int i , int VAR_2 , int VAR_3 ) { TYPE_2 . METHOD_2 ( STRING_1 , STRING_2 ) ; <BUG> if ( METHOD_3 ( ) ) VAR_4 . METHOD_4 ( VAR_1 ) ;</BUG> } | public void METHOD_1 ( TYPE_1 VAR_1 , int i , int VAR_2 , int VAR_3 ) { TYPE_2 . METHOD_2 ( STRING_1 , STRING_2 ) ; if ( METHOD_3 ( ) ) VAR_4 . METHOD_4 ( VAR_1 , i , VAR_2 , VAR_3 ) ; }
|
210 | public java.lang.String METHOD_1 ( ) { if ( ( ( VAR_1 . size ( ) ) > 0 ) && ( ( VAR_2 ) > 0 ) ) { VAR_2 -= 1 ; <BUG> }</BUG> return VAR_1 . get ( VAR_2 ) ; } | public java.lang.String METHOD_1 ( ) { if ( ( ( VAR_1 . size ( ) ) > 0 ) && ( ( VAR_2 ) > 0 ) ) { VAR_2 -= 1 ; return VAR_1 . get ( VAR_2 ) ; } return null ; }
|
211 | public int METHOD_1 ( ) { <BUG> TYPE_1 . METHOD_2 ( VAR_1 , ( STRING_1 + ( VAR_2 . size ( ) ) ) ) ;</BUG> return VAR_2 . size ( ) ; } | public int METHOD_1 ( ) { return VAR_2 . size ( ) ; }
|
212 | protected void METHOD_1 ( TYPE_1 VAR_1 ) { java.lang.System.out.println ( STRING_1 ) ; super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( VAR_2 ) ; METHOD_3 ( ) ; <BUG> METHOD_4 ( ) ;</BUG> } | protected void METHOD_1 ( TYPE_1 VAR_1 ) { java.lang.System.out.println ( STRING_1 ) ; super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( VAR_2 ) ; METHOD_3 ( ) ; }
|
213 | <BUG>static boolean METHOD_1 ( java.awt.Color a , int b , int VAR_1 ) {return ( java.lang.Math.abs ( TYPE_1 . METHOD_2 ( a , TYPE_1 . METHOD_3 ( b ) ) ) ) <= VAR_1 ;</BUG> } | static boolean METHOD_1 ( java.awt.Color [ ] a , int b , int [ ] VAR_1 ) { return TYPE_1 . METHOD_1 ( a , TYPE_1 . METHOD_3 ( b ) , VAR_1 ) ; }
|
214 | <BUG>public void METHOD_1 ( final TYPE_1 VAR_1 , final java.lang.String VAR_2 ) {</BUG> VAR_1 . METHOD_2 ( VAR_2 ) ; return VAR_1 ; } | public void METHOD_1 ( final TYPE_1 VAR_1 , final boolean VAR_2 ) { VAR_1 . METHOD_2 ( VAR_2 ) ; return VAR_1 ; }
|
215 | public void METHOD_1 ( java.lang.String VAR_1 ) { } | public void METHOD_1 ( java.lang.String VAR_1 ) { id = VAR_1 ; }
|
216 | public TYPE_1 METHOD_1 ( ) { TYPE_1 VAR_1 = new TYPE_1 ( ) ; <BUG> VAR_1 . METHOD_2 ( STRING_1 ) ;</BUG> VAR_1 . METHOD_3 ( 1 ) ; return VAR_1 ; } | public TYPE_1 METHOD_1 ( ) { TYPE_1 VAR_1 = new TYPE_1 ( ) ; VAR_1 . METHOD_3 ( 1 ) ; return VAR_1 ; }
|
217 | public void METHOD_1 ( TYPE_1 VAR_1 , int x , int y ) { METHOD_2 ( VAR_1 , x , y ) ; <BUG> METHOD_3 ( VAR_1 , x , ( y + INT_1 ) ) ;</BUG> } | public void METHOD_1 ( TYPE_1 VAR_1 , int x , int y ) { METHOD_2 ( VAR_1 , x , y ) ; METHOD_3 ( VAR_1 , x , y ) ; }
|
218 | <BUG>public TYPE_1 < java.lang.String > METHOD_1 ( java.lang.String VAR_1 ) {return java.util.Arrays.asList ( VAR_1 . split ( VAR_2 ) [ INT_1 ] ) ;</BUG> } | public java.lang.String METHOD_1 ( java.lang.String VAR_1 ) throws java.lang.Exception { return VAR_1 . split ( VAR_2 ) [ INT_1 ] ; }
|
219 | public void METHOD_1 ( ) { super . METHOD_1 ( ) ; <BUG> if ( VAR_1 . METHOD_2 ( ) ) {</BUG> METHOD_3 ( ) ; } } | public void METHOD_1 ( ) { super . METHOD_1 ( ) ; if ( ( ( VAR_1 ) != null ) && ( VAR_1 . METHOD_2 ( ) ) ) { METHOD_3 ( ) ; } }
|
220 | public java.lang.Long getValue ( ) { <BUG> return VAR_1 . METHOD_1 ( ) ;</BUG> } | public java.lang.Long getValue ( ) { return VAR_1 . size ( ) ; }
|
221 | public int METHOD_1 ( ) { <BUG> if ( ! ( data . METHOD_2 ( ) ) ) return 0 ;</BUG> return data . size ( ) ; } | public int METHOD_1 ( ) { return data . size ( ) ; }
|
222 | public void METHOD_1 ( ) { TYPE_1 . i ( VAR_1 , STRING_1 ) ; <BUG> METHOD_2 ( false ) ;</BUG> VAR_2 . METHOD_3 ( 0 ) ; METHOD_4 ( ) ; } | public void METHOD_1 ( ) { TYPE_1 . i ( VAR_1 , STRING_1 ) ; VAR_2 . METHOD_3 ( 0 ) ; METHOD_4 ( ) ; }
|
223 | <BUG>private void METHOD_1 ( ) {</BUG> VAR_1 = 0 ; VAR_2 = 0 ; ( VAR_3 ) ++ ; if ( ( VAR_3 ) >= ( VAR_4 . length ) ) { METHOD_2 ( ) ; } else { VAR_5 . METHOD_3 ( VAR_6 ) ; } } | protected void METHOD_1 ( ) { VAR_1 = 0 ; VAR_2 = 0 ; ( VAR_3 ) ++ ; if ( ( VAR_3 ) >= ( VAR_4 . length ) ) { METHOD_2 ( ) ; } else { VAR_5 . METHOD_3 ( VAR_6 ) ; } }
|
224 | public boolean METHOD_1 ( ) { <BUG> if ( ( index ) == 0 ) return true ;</BUG> return false ; } | public boolean METHOD_1 ( ) { if ( ( index ) == ( - 1 ) ) return true ; return false ; }
|
225 | public void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> METHOD_2 ( VAR_2 , VAR_3 , STRING_1 , VAR_4 , true ) ;</BUG> } | public void METHOD_1 ( TYPE_1 VAR_1 ) { METHOD_2 ( VAR_2 , VAR_3 , STRING_1 , VAR_4 , false ) ; }
|
226 | <BUG>public void METHOD_1 ( TYPE_1 node ) {</BUG> METHOD_2 ( node ) ; TYPE_2 . METHOD_3 ( STRING_1 , node . toString ( ) ) ; } | private void METHOD_1 ( TYPE_1 node ) { METHOD_2 ( node ) ; TYPE_2 . METHOD_3 ( STRING_1 , node . toString ( ) ) ; }
|
227 | <BUG>public static < TYPE_1 > boolean METHOD_1 ( int index , java.util.List < TYPE_1 > values ) {</BUG> return TYPE_2 . METHOD_2 ( index , 0 , values . size ( ) ) ; } | public static boolean METHOD_1 ( int index , java.util.List < ? > values ) { return TYPE_2 . METHOD_2 ( index , 0 , values . size ( ) ) ; }
|
228 | public void METHOD_1 ( ) { try { METHOD_2 ( ) ; METHOD_3 ( ) ; } catch ( java.io.IOException VAR_1 ) { VAR_2 . METHOD_4 ( VAR_3 , STRING_1 ) ; <BUG> VAR_4 . METHOD_5 ( STRING_2 ) ;</BUG> } } | public void METHOD_1 ( ) { try { METHOD_2 ( ) ; METHOD_3 ( ) ; } catch ( java.io.IOException VAR_1 ) { VAR_2 . METHOD_4 ( VAR_3 , STRING_1 ) ; } }
|
229 | public void METHOD_1 ( ) throws java.io.IOException { VAR_1 = null ; <BUG> VAR_2 . METHOD_2 ( ) ;VAR_3 . METHOD_2 ( ) ;</BUG> } | public void METHOD_1 ( ) throws java.io.IOException { VAR_1 = null ; VAR_2 = null ; VAR_3 = null ; }
|
230 | public void METHOD_1 ( ) throws java.lang.Exception { <BUG> TYPE_1 . METHOD_2 ( result . METHOD_3 ( ) ) . METHOD_4 ( 1 ) ;</BUG> VAR_1 . METHOD_5 ( VAR_2 ) ; } | public void METHOD_1 ( ) throws java.lang.Exception { METHOD_2 ( result . METHOD_3 ( ) ) . METHOD_4 ( 1 ) ; VAR_1 . METHOD_5 ( VAR_2 ) ; }
|
231 | private java.lang.String METHOD_1 ( java.lang.String VAR_1 ) { <BUG> int end = ( VAR_1 . length ( ) ) - ( VAR_2 . length ( ) ) ;</BUG> return VAR_1 . substring ( 0 , end ) ; } | private java.lang.String METHOD_1 ( java.lang.String VAR_1 ) { int end = ( ( VAR_1 . length ( ) ) - ( VAR_2 . length ( ) ) ) - 1 ; return VAR_1 . substring ( 0 , end ) ; }
|
232 | public boolean METHOD_1 ( java.util.List < TYPE_1 > VAR_1 , TYPE_2 VAR_2 , boolean VAR_3 ) { <BUG> return false ;</BUG> } | public boolean METHOD_1 ( java.util.List < TYPE_1 > VAR_1 , TYPE_2 VAR_2 , boolean VAR_3 ) { return true ; }
|
233 | public void METHOD_1 ( java.lang.String VAR_1 ) { <BUG> try {this . VAR_1 = new TYPE_1 ( VAR_1 ) ;BUG> }</BUG></BUG> <BUG> catch ( TYPE_2 VAR_2 ) {throw new TYPE_3 ( ( ( STRING_1 + VAR_1 ) + STRING_2 ) , VAR_2 ) ;</BUG> } } | public void METHOD_1 ( java.lang.String VAR_1 ) { this . VAR_1 = VAR_1 ; }
|
234 | public void METHOD_1 ( ) { <BUG> TYPE_1 VAR_1 = new TYPE_1 ( STRING_1 , TYPE_2 . METHOD_2 ( INT_1 ) , TYPE_2 . METHOD_2 ( INT_2 ) , INT_3 ) ;</BUG> assertThat ( VAR_1 . METHOD_3 ( ) , TYPE_3 . METHOD_4 ( false ) ) ; } | public void METHOD_1 ( ) { TYPE_1 VAR_1 = new TYPE_1 ( TYPE_2 . METHOD_2 ( INT_1 ) , TYPE_2 . METHOD_2 ( INT_2 ) , INT_3 ) ; assertThat ( VAR_1 . METHOD_3 ( ) , TYPE_3 . METHOD_4 ( false ) ) ; }
|
235 | <BUG>static java.lang.String METHOD_1 ( ) {</BUG> return VAR_1 ; } | public static java.lang.String METHOD_1 ( ) { return VAR_1 ; }
|
236 | public void METHOD_1 ( ) { TYPE_1 VAR_1 = new TYPE_1 ( 1 ) ; TYPE_1 VAR_2 = new TYPE_1 ( INT_1 ) ; <BUG> TYPE_2 . assertEquals ( 1 , TYPE_3 . METHOD_2 ( VAR_1 , VAR_2 ) . value ( ) ) ;</BUG> } | public void METHOD_1 ( ) { TYPE_1 VAR_1 = new TYPE_1 ( 1 ) ; TYPE_1 VAR_2 = new TYPE_1 ( INT_1 ) ; TYPE_2 . assertEquals ( INT_1 , TYPE_3 . METHOD_2 ( VAR_1 , VAR_2 ) . value ( ) ) ; }
|
237 | <BUG>private void METHOD_1 ( ) {</BUG> VAR_1 . METHOD_2 ( getString ( VAR_2 ) , getString ( VAR_3 ) ) ; METHOD_3 ( VAR_1 ) ; } | public void METHOD_1 ( ) { VAR_1 . METHOD_2 ( getString ( VAR_2 ) , getString ( VAR_3 ) ) ; METHOD_3 ( VAR_1 ) ; }
|
238 | public void METHOD_1 ( boolean VAR_1 ) { VAR_2 = VAR_1 ; <BUG> METHOD_1 ( ) ;</BUG> } | public void METHOD_1 ( boolean VAR_1 ) { VAR_2 = VAR_1 ; METHOD_1 ( 0 ) ; }
|
239 | public void show ( boolean show ) { if ( show && ( VAR_1 . METHOD_1 ( ) ) ) return ; <BUG> METHOD_2 ( false ) ;</BUG> TYPE_1 . METHOD_3 ( show , VAR_1 ) ; } | public void show ( boolean show ) { if ( show && ( VAR_1 . METHOD_1 ( ) ) ) return ; TYPE_1 . METHOD_3 ( show , VAR_1 ) ; }
|
240 | public void METHOD_1 ( ) { for ( TYPE_1 listener : VAR_1 ) { listener . METHOD_2 ( ) ; } <BUG> VAR_2 . METHOD_3 ( ) ;</BUG> } | public void METHOD_1 ( ) { for ( TYPE_1 listener : VAR_1 ) { listener . METHOD_2 ( ) ; } if ( ( VAR_2 ) != null ) VAR_2 . METHOD_3 ( ) ; }
|
241 | protected void METHOD_1 ( TYPE_1 VAR_1 ) throws java.lang.Exception { <BUG> java.lang.System.out.println ( STRING_1 ) ;</BUG> if ( VAR_2 . METHOD_2 ( ) ) { VAR_2 . METHOD_3 ( STRING_2 ) ; } } | protected void METHOD_1 ( TYPE_1 VAR_1 ) throws java.lang.Exception { if ( VAR_2 . METHOD_2 ( ) ) { VAR_2 . METHOD_3 ( STRING_2 ) ; } }
|
242 | public java.lang.String METHOD_1 ( ) { <BUG> return STRING_1 + ( url ) ;</BUG> } | public java.lang.String METHOD_1 ( ) { return key ; }
|
243 | public static boolean METHOD_1 ( java.lang.String VAR_1 ) { <BUG> return ( TYPE_1 . get ( VAR_1 ) ) == null ? false : true ;</BUG> } | public static boolean METHOD_1 ( java.lang.String VAR_1 ) { boolean result = false ; if ( VAR_1 != null ) { result = ( ( TYPE_1 . get ( VAR_1 ) ) == null ) ? false : true ; } return result ; }
|
244 | public void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 . METHOD_2 ( VAR_2 , VAR_3 ) ; VAR_4 . METHOD_3 ( ) . METHOD_4 ( VAR_4 . METHOD_5 ( ) ) . METHOD_6 ( true ) ; } | public void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 . METHOD_2 ( VAR_2 , VAR_3 ) ; VAR_4 . METHOD_3 ( ) . METHOD_4 ( VAR_4 . METHOD_5 ( ) ) . METHOD_6 ( true ) ; VAR_2 . METHOD_6 ( ) ; }
|
245 | public void METHOD_1 ( ) throws TYPE_1 { <BUG> METHOD_2 ( null , STRING_1 , INT_1 , INT_2 , null ) ;</BUG> } | public void METHOD_1 ( ) throws TYPE_1 { METHOD_2 ( null , STRING_1 , INT_2 ) ; }
|
246 | public void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 target = position . METHOD_2 ( VAR_1 ) ; if ( target != null ) target . METHOD_3 ( this , position ) ; } | public void METHOD_1 ( TYPE_1 VAR_1 ) { if ( ( position ) != null ) { TYPE_2 target = position . METHOD_2 ( VAR_1 ) ; if ( target != null ) target . METHOD_3 ( this , position ) ; } }
|
247 | public void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( ) . METHOD_3 ( false ) ; } | public void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; if ( ( getView ( ) ) != null ) { METHOD_2 ( ) . METHOD_3 ( false ) ; } }
|
248 | private void METHOD_1 ( ) { METHOD_2 ( false ) ; METHOD_3 ( false ) ; METHOD_4 ( true ) ; <BUG> METHOD_5 ( false ) ;</BUG> METHOD_6 ( VAR_1 ) ; } | private void METHOD_1 ( ) { METHOD_2 ( false ) ; METHOD_3 ( false ) ; METHOD_4 ( true ) ; METHOD_5 ( false , false ) ; METHOD_6 ( VAR_1 ) ; }
|
249 | public int METHOD_1 ( ) { if ( ( VAR_1 ) <= ( VAR_2 ) ) { <BUG> return ( VAR_1 ) - ( VAR_2 ) ;</BUG> } else { return ( ( VAR_3 ) - ( VAR_1 ) ) + ( VAR_2 ) ; } } | public int METHOD_1 ( ) { if ( ( VAR_1 ) <= ( VAR_2 ) ) { return ( VAR_2 ) - ( VAR_1 ) ; } else { return ( ( VAR_3 ) - ( VAR_1 ) ) + ( VAR_2 ) ; } }
|
250 | <BUG>private void METHOD_1 ( ) {</BUG> VAR_1 . METHOD_2 ( ) ; METHOD_3 ( ) ; VAR_1 . METHOD_4 ( ) ; METHOD_5 ( VAR_1 ) ; } | public void METHOD_1 ( ) { VAR_1 . METHOD_2 ( ) ; METHOD_3 ( ) ; VAR_1 . METHOD_4 ( ) ; METHOD_5 ( VAR_1 ) ; }
|
251 | protected java.lang.String METHOD_1 ( TYPE_1 ... params ) { VAR_1 = VAR_2 . METHOD_2 ( params [ 0 ] ) ; VAR_3 = params [ 0 ] ; VAR_4 = VAR_5 ; return STRING_1 ; } | protected java.lang.String METHOD_1 ( TYPE_1 ... params ) { VAR_1 = VAR_2 . METHOD_2 ( params [ 0 ] ) ; VAR_3 = params [ 0 ] ; if ( ( VAR_1 ) != null ) { VAR_4 = VAR_5 ; } return STRING_1 ; }
|
252 | protected void METHOD_1 ( ) { super . METHOD_1 ( ) ; <BUG> VAR_1 . METHOD_2 ( ) ;</BUG> VAR_1 . METHOD_2 ( ) ; } | protected void METHOD_1 ( ) { super . METHOD_1 ( ) ; VAR_1 . METHOD_2 ( ) ; }
|
253 | public java.lang.String METHOD_1 ( ) { <BUG> if ( TYPE_1 . isEmpty ( VAR_1 . METHOD_1 ( ) ) ) {return STRING_1 ;}</BUG> return VAR_1 . METHOD_1 ( ) ; } | public java.lang.String METHOD_1 ( ) { return VAR_1 . METHOD_1 ( ) ; }
|
254 | public void METHOD_1 ( TYPE_1 VAR_1 , int VAR_2 ) { <BUG> if ( VAR_3 ) METHOD_2 ( ) ;</BUG> METHOD_3 ( new android.content.Intent ( this , VAR_4 class ) ) ; METHOD_4 ( ) ; } | public void METHOD_1 ( TYPE_1 VAR_1 , int VAR_2 ) { METHOD_3 ( new android.content.Intent ( this , VAR_4 class ) ) ; METHOD_4 ( ) ; }
|
255 | <BUG>private void METHOD_1 ( android.content.Intent intent ) {TYPE_1 status = intent . METHOD_2 ( VAR_1 ) ;</BUG> try { status . METHOD_3 ( this , VAR_2 ) ; } catch ( TYPE_2 | java.lang.NullPointerException VAR_3 ) { METHOD_4 ( VAR_4 ) ; } } | private void METHOD_1 ( ) { TYPE_1 status = getIntent ( ) . METHOD_2 ( VAR_1 ) ; try { status . METHOD_3 ( this , VAR_2 ) ; } catch ( TYPE_2 | java.lang.NullPointerException VAR_3 ) { METHOD_4 ( VAR_4 ) ; } }
|
256 | public java.lang.Object METHOD_1 ( int i ) { return VAR_1 . get ( i ) ; <BUG> return VAR_2 . get ( i ) ;</BUG> } | public java.lang.Object METHOD_1 ( int i ) { return VAR_1 . get ( i ) ; }
|
257 | public java.lang.String METHOD_1 ( ) { <BUG> return error ;</BUG> } | public java.lang.String METHOD_1 ( ) { return this . error ; }
|
258 | public int METHOD_1 ( int position ) { <BUG> if ( ! ( VAR_1 . METHOD_2 ( position ) ) ) {return VAR_2 . METHOD_3 ( ) ;</BUG> } else { <BUG> return 1 ;</BUG> } } | public int METHOD_1 ( int position ) { if ( VAR_1 . METHOD_2 ( position ) ) { return 1 ; } else { return VAR_2 . METHOD_3 ( ) ; } }
|
259 | <BUG>public TYPE_1 METHOD_1 ( int size ) {return METHOD_2 ( ) . METHOD_1 ( size ) ;</BUG> } | public TYPE_1 METHOD_1 ( java.lang.Object [ ] data ) { return METHOD_2 ( ) . METHOD_1 ( data ) ; }
|
260 | public java.lang.Integer METHOD_1 ( ) { <BUG> try {</BUG> return this . VAR_1 . size ( ) ; <BUG><BUG> }</BUG></BUG> <BUG> catch ( java.lang.NullPointerException VAR_2 ) {return 0 ;</BUG> } } | public java.lang.Integer METHOD_1 ( ) { return this . VAR_1 . size ( ) ; }
|
261 | protected TYPE_1 METHOD_1 ( ) { <BUG> return new TYPE_1 ( this , ( ( TYPE_2 ) ( VAR_1 ) ) ) ;</BUG> } | protected TYPE_1 METHOD_1 ( ) { return new TYPE_1 ( this , VAR_1 ) ; }
|
262 | protected void METHOD_1 ( TYPE_1 < java.lang.Object > VAR_1 , java.lang.String name ) { VAR_2 . put ( name , VAR_1 . METHOD_2 ( ) ) ; <BUG> java.lang.System.out.println ( ( STRING_1 + name ) ) ;</BUG> } | protected void METHOD_1 ( TYPE_1 < java.lang.Object > VAR_1 , java.lang.String name ) { VAR_2 . put ( name , VAR_1 . METHOD_2 ( ) ) ; }
|
263 | public static void METHOD_1 ( java.lang.Class < ? extends TYPE_1 > VAR_1 ) { <BUG> if ( VAR_1 != null ) {</BUG> VAR_2 = VAR_1 ; <BUG><BUG> }</BUG></BUG> <BUG> else {VAR_2 = VAR_3 class ;</BUG> } } | public static void METHOD_1 ( java.lang.Class < ? extends TYPE_1 > VAR_1 ) { VAR_2 = VAR_1 ; }
|
264 | public TYPE_1 < TYPE_2 > METHOD_1 ( java.lang.Long id , java.lang.Integer VAR_1 ) { <BUG> return VAR_2 . METHOD_2 ( id , METHOD_3 ( VAR_1 ) ) ;</BUG> } | public TYPE_1 < TYPE_2 > METHOD_1 ( java.lang.Long id , java.lang.Integer VAR_1 ) { return VAR_2 . METHOD_1 ( id , METHOD_3 ( VAR_1 ) ) ; }
|
265 | public static void main ( java.lang.String [ ] args ) { java.util.logging.Logger.getLogger ( STRING_1 ) . METHOD_1 ( VAR_1 ) ; <BUG> TYPE_1 . METHOD_2 ( new TYPE_2 ( ) {public void METHOD_3 ( ) {</BUG> TYPE_3 VAR_2 = new TYPE_3 ( STRING_2 ) ; <BUG> }</BUG> } ) ; } | public static void main ( java.lang.String [ ] args ) { java.util.logging.Logger.getLogger ( STRING_1 ) . METHOD_1 ( VAR_1 ) ; TYPE_1 . METHOD_2 ( ( ) - > { TYPE_3 VAR_2 = new TYPE_3 ( STRING_2 ) ; } ) ; }
|
266 | protected TYPE_1 METHOD_1 ( TYPE_1 VAR_1 ) { return this . METHOD_1 ( VAR_1 ) ; } | protected TYPE_1 METHOD_1 ( TYPE_1 VAR_1 ) { VAR_1 = super . METHOD_1 ( VAR_1 ) ; return this . METHOD_1 ( VAR_1 ) ; }
|
267 | public boolean METHOD_1 ( ) { <BUG> return ( ( VAR_1 . length ) < INT_1 ) && ( VAR_1 [ 1 ] . METHOD_2 ( STRING_1 ) ) ;</BUG> } | public boolean METHOD_1 ( ) { return ( ( VAR_1 . length ) == INT_1 ) && ( VAR_1 [ 1 ] . METHOD_2 ( STRING_1 ) ) ; }
|
268 | public boolean METHOD_1 ( java.util.Collection < ? > c ) { <BUG> if ( ( c . size ( ) ) != 1 ) {return false ;}return content . equals ( c . iterator ( ) . METHOD_2 ( ) ) ;</BUG> } | public boolean METHOD_1 ( java.util.Collection < ? > c ) { return ( ( c . size ( ) ) == 1 ) && ( content . equals ( c . iterator ( ) . METHOD_2 ( ) ) ) ; }
|
269 | public boolean METHOD_1 ( int VAR_1 , int VAR_2 ) { TYPE_1 params = new TYPE_1 ( ) ; params . put ( STRING_1 , INT_1 ) ; params . put ( STRING_2 , VAR_3 ) ; <BUG> METHOD_2 ( params ) ;</BUG> return true ; } | public boolean METHOD_1 ( int VAR_1 , int VAR_2 ) { TYPE_1 params = new TYPE_1 ( ) ; params . put ( STRING_1 , INT_1 ) ; params . put ( STRING_2 , VAR_3 ) ; METHOD_2 ( params , true ) ; return true ; }
|
270 | public java.util.ArrayList < TYPE_1 > METHOD_1 ( ) { synchronized ( VAR_1 ) { <BUG> return new java.util.ArrayList < TYPE_1 > ( VAR_2 ) ;</BUG> } } | public java.util.ArrayList < TYPE_1 > METHOD_1 ( ) { synchronized ( VAR_1 ) { return VAR_2 ; } }
|
271 | private boolean METHOD_1 ( ) { java.lang.String VAR_1 = VAR_2 . METHOD_2 ( ) ; <BUG> return ( VAR_1 != null ) && ( ( VAR_1 . equals ( STRING_1 ) ) || ( VAR_1 . equals ( STRING_2 ) ) ) ;</BUG> } | private boolean METHOD_1 ( ) { java.lang.String VAR_1 = VAR_2 . METHOD_2 ( ) ; return ( STRING_1 . equals ( VAR_1 ) ) || ( STRING_2 . equals ( VAR_1 ) ) ; }
|
272 | protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( VAR_2 ) ; TYPE_2 VAR_3 = ( ( TYPE_2 ) ( METHOD_3 ( VAR_4 ) ) ) ; METHOD_4 ( ) ; <BUG> METHOD_5 ( ) ;</BUG> } | protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( VAR_2 ) ; TYPE_2 VAR_3 = ( ( TYPE_2 ) ( METHOD_3 ( VAR_4 ) ) ) ; METHOD_4 ( ) ; }
|
273 | public void METHOD_1 ( ) { super . METHOD_1 ( ) ; VAR_1 . METHOD_2 ( ) ; TYPE_1 . remove ( this ) ; } | public void METHOD_1 ( ) { super . METHOD_1 ( ) ; if ( ( VAR_1 ) != null ) { VAR_1 . METHOD_2 ( ) ; } TYPE_1 . remove ( this ) ; }
|
274 | public static void METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 < java.lang.Void > VAR_2 ) { TYPE_3 . METHOD_2 ( VAR_1 , VAR_2 ) ; } | public static void METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 < java.lang.Void > VAR_2 ) { if ( VAR_1 != null ) { TYPE_3 . METHOD_2 ( VAR_1 , VAR_2 ) ; } }
|
275 | <BUG>public static void METHOD_1 ( ) throws java.io.IOException {</BUG> java.lang.System.out.println ( STRING_1 ) ; TYPE_1 . METHOD_2 ( ) ; } | private static void METHOD_1 ( ) throws java.io.IOException { java.lang.System.out.println ( STRING_1 ) ; TYPE_1 . METHOD_2 ( ) ; }
|
276 | public void METHOD_1 ( ) throws java.lang.Exception { <BUG> METHOD_2 ( STRING_1 , new java.lang.String [ 0 ] , VAR_1 . METHOD_3 ( STRING_2 ) ) ;</BUG> } | public void METHOD_1 ( ) throws java.lang.Exception { METHOD_2 ( STRING_1 , new java.lang.String [ 0 ] , VAR_1 . METHOD_1 ( STRING_2 ) ) ; }
|
277 | public java.util.List < TYPE_1 > METHOD_1 ( ) throws TYPE_2 { <BUG> java.util.List < TYPE_1 > VAR_1 = METHOD_2 ( ) ;return VAR_1 ;</BUG> } | public java.util.List < TYPE_1 > METHOD_1 ( ) throws TYPE_2 { return METHOD_2 ( ) ; }
|
278 | public void METHOD_1 ( java.lang.String msg ) { <BUG> java.lang.System.out.println ( STRING_1 ) ;</BUG> METHOD_2 ( msg ) ; } | public void METHOD_1 ( java.lang.String msg ) { METHOD_2 ( msg ) ; }
|
279 | public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , int VAR_2 ) { <BUG> android.view.View VAR_3 = TYPE_3 . METHOD_2 ( VAR_1 . getContext ( ) ) . METHOD_3 ( VAR_4 , null ) ;</BUG> TYPE_1 VAR_5 = new TYPE_1 ( VAR_3 , VAR_6 ) ; return VAR_5 ; } | public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , int VAR_2 ) { android.view.View VAR_3 = TYPE_3 . METHOD_2 ( VAR_1 . getContext ( ) ) . METHOD_3 ( VAR_4 , VAR_1 , false ) ; TYPE_1 VAR_5 = new TYPE_1 ( VAR_3 , VAR_6 ) ; return VAR_5 ; }
|
280 | public boolean METHOD_1 ( ) { <BUG> for ( int i = 1 ;</BUG> i < ( VAR_1 . size ( ) ) ; i ++ ) { if ( METHOD_2 ( i ) ) { return false ; } } return true ; } | public boolean METHOD_1 ( ) { for ( int i = 0 ; i < ( VAR_1 . size ( ) ) ; i ++ ) { if ( METHOD_2 ( i ) ) { return false ; } } return true ; }
|
281 | <BUG>protected java.lang.Class < ? extends TYPE_1 > METHOD_1 ( ) {</BUG> return VAR_1 ; } | public java.lang.Class < ? extends TYPE_1 > METHOD_1 ( ) { return VAR_1 ; }
|
282 | public static java.lang.Integer METHOD_1 ( java.lang.Object VAR_1 ) { if ( VAR_1 == null ) return null ; <BUG> else return VAR_1 . METHOD_2 ( ) ;</BUG> } | public static java.lang.Integer METHOD_1 ( java.lang.Object VAR_1 ) { if ( VAR_1 == null ) return null ; else return java.lang.Math.abs ( VAR_1 . METHOD_2 ( ) ) ; }
|
283 | public void METHOD_1 ( ) throws java.lang.Exception { VAR_1 . METHOD_2 ( new java.lang.String [ ] { } , new java.lang.String [ ] { } <BUG> , STRING_1 , STRING_2 , STRING_1 , STRING_3 ) ;</BUG> } | public void METHOD_1 ( ) throws java.lang.Exception { VAR_1 . METHOD_2 ( new java.lang.String [ ] { } , new java.lang.String [ ] { } , STRING_1 , STRING_2 , STRING_1 , STRING_3 , null , null ) ; }
|
284 | protected java.util.List < TYPE_1 > METHOD_1 ( java.lang.String ... args ) { TYPE_2 VAR_1 = new TYPE_2 ( ) ; <BUG> return VAR_1 . METHOD_2 ( METHOD_3 ( ) . METHOD_4 ( ) ) ;</BUG> } | protected java.util.List < TYPE_1 > METHOD_1 ( java.lang.String ... args ) { TYPE_2 VAR_1 = new TYPE_2 ( ) ; return VAR_1 . METHOD_2 ( METHOD_4 ( ) ) ; }
|
285 | <BUG>public void METHOD_1 ( java.lang.String VAR_1 ) {if ( ( VAR_1 != null ) && ( ! ( VAR_1 . isEmpty ( ) ) ) ) {</BUG> VAR_2 . METHOD_2 ( VAR_1 ) ; } } | public void METHOD_1 ( java.lang.Object VAR_1 ) { if ( VAR_1 != null ) { VAR_2 . METHOD_2 ( VAR_1 ) ; } }
|
286 | public java.util.List METHOD_1 ( ) { synchronized ( VAR_1 ) { METHOD_2 ( ) ; <BUG> METHOD_3 ( VAR_2 ) ;</BUG> return VAR_3 ; } } | public java.util.List METHOD_1 ( ) { synchronized ( VAR_1 ) { METHOD_2 ( ) ; return VAR_3 ; } }
|
287 | public void update ( TYPE_1 VAR_1 ) { <BUG> METHOD_1 ( ) ;</BUG> } | public void update ( TYPE_1 VAR_1 ) { }
|
288 | public java.lang.Object METHOD_1 ( TYPE_1 field ) { switch ( field ) { <BUG> case VAR_1 : return java.lang.Long . METHOD_2 ( METHOD_3 ( ) ) ;</BUG> } throw new TYPE_2 ( ) ; } | public java.lang.Object METHOD_1 ( TYPE_1 field ) { switch ( field ) { case VAR_1 : return METHOD_3 ( ) ; } throw new TYPE_2 ( ) ; }
|
289 | public void update ( TYPE_1 VAR_1 , java.lang.Object arg ) { <BUG> java.lang.System.out.println ( STRING_1 ) ;</BUG> if ( TYPE_2 . METHOD_1 ( ) ) { METHOD_2 ( ) ; <BUG> }else {</BUG> } } | public void update ( TYPE_1 VAR_1 , java.lang.Object arg ) { if ( TYPE_2 . METHOD_1 ( ) ) { METHOD_2 ( ) ; } }
|
290 | public void METHOD_1 ( TYPE_1 VAR_1 , int position , java.lang.Object VAR_2 ) { <BUG> VAR_1 . METHOD_2 ( ( ( TYPE_2 ) ( VAR_2 ) ) ) ;</BUG> TYPE_3 . METHOD_3 ( VAR_3 ) . METHOD_4 ( VAR_4 ) ; } | public void METHOD_1 ( TYPE_1 VAR_1 , int position , java.lang.Object VAR_2 ) { VAR_1 . METHOD_2 ( ( ( android.view.View ) ( VAR_2 ) ) ) ; TYPE_3 . METHOD_3 ( VAR_3 ) . METHOD_4 ( VAR_4 ) ; }
|
291 | void METHOD_1 ( ) { TYPE_1 VAR_1 = ( ( TYPE_1 ) ( METHOD_2 ( VAR_2 ) ) ) ; TYPE_2 VAR_3 = new TYPE_3 ( ) . build ( ) ; VAR_1 . METHOD_3 ( VAR_3 ) ; } | void METHOD_1 ( ) { TYPE_1 VAR_1 = ( ( TYPE_1 ) ( METHOD_2 ( VAR_2 ) ) ) ; if ( VAR_1 != null ) { TYPE_2 VAR_3 = new TYPE_3 ( ) . build ( ) ; VAR_1 . METHOD_3 ( VAR_3 ) ; } }
|
292 | public void METHOD_1 ( java.util.List < TYPE_1 > VAR_1 ) { <BUG> listener . METHOD_1 ( VAR_1 . get ( 0 ) ) ;</BUG> } | public void METHOD_1 ( java.util.List < TYPE_1 > VAR_1 ) { listener . METHOD_1 ( ( ( VAR_1 . size ( ) ) > 0 ? VAR_1 . get ( 0 ) : null ) ) ; }
|
293 | public void METHOD_1 ( java.lang.String text ) throws java.io.IOException { java.lang.System.out.println ( STRING_1 ) ; VAR_1 . METHOD_2 ( text ) ; <BUG> METHOD_3 ( VAR_2 ) ;</BUG> } | public void METHOD_1 ( java.lang.String text ) throws java.io.IOException { java.lang.System.out.println ( STRING_1 ) ; VAR_1 . METHOD_2 ( text ) ; }
|
294 | private void METHOD_1 ( ) throws java.io.IOException , TYPE_1 { <BUG> if ( ( VAR_1 ) && ( VAR_2 ) ) {</BUG> VAR_3 . start ( VAR_4 . METHOD_2 ( ) ) ; VAR_1 = false ; } } | private void METHOD_1 ( ) throws java.io.IOException , TYPE_1 { if ( ( ( VAR_1 ) && ( VAR_2 ) ) && ( ( VAR_3 ) != null ) ) { VAR_3 . start ( VAR_4 . METHOD_2 ( ) ) ; VAR_1 = false ; } }
|
295 | protected void METHOD_1 ( ) { super . METHOD_1 ( ) ; <BUG> METHOD_2 ( ) ;</BUG> VAR_1 = new TYPE_1 < TYPE_2 > ( this , VAR_2 , VAR_3 ) ; VAR_4 . METHOD_3 ( VAR_1 ) ; VAR_1 . METHOD_4 ( ) ; } | protected void METHOD_1 ( ) { METHOD_2 ( ) ; super . METHOD_1 ( ) ; VAR_1 = new TYPE_1 < TYPE_2 > ( this , VAR_2 , VAR_3 ) ; VAR_4 . METHOD_3 ( VAR_1 ) ; VAR_1 . METHOD_4 ( ) ; }
|
296 | public void METHOD_1 ( ) { <BUG> TYPE_1 VAR_1 = VAR_2 . METHOD_2 ( VAR_3 class ) ;TYPE_2 . assertNotNull ( STRING_1 , VAR_1 ) ;</BUG> } | public void METHOD_1 ( ) { TYPE_2 . assertNotNull ( STRING_1 , VAR_2 . METHOD_2 ( VAR_3 class ) ) ; }
|
297 | public void METHOD_1 ( TYPE_1 result ) { super . METHOD_1 ( result ) ; if ( ( VAR_1 ) == null ) { <BUG> throw new TYPE_2 ( STRING_1 ) ;</BUG> } VAR_1 . METHOD_2 ( null ) ; VAR_1 = null ; } | public void METHOD_1 ( TYPE_1 result ) { super . METHOD_1 ( result ) ; if ( ( VAR_1 ) == null ) { return ; } VAR_1 . METHOD_2 ( null ) ; VAR_1 = null ; }
|
298 | public java.lang.String METHOD_1 ( ) throws TYPE_1 , TYPE_2 { <BUG> TYPE_3 . METHOD_2 ( INT_1 ) ;</BUG> return STRING_1 ; } | public java.lang.String METHOD_1 ( ) throws TYPE_1 , TYPE_2 { return STRING_1 ; }
|
299 | public java.lang.String toString ( ) { <BUG> return null ;</BUG> } | public java.lang.String toString ( ) { return this . value ; }
|