input
stringlengths 96
415
| output
stringlengths 18
303
|
---|---|
The following code may contain bugs. Write a refined code without bugs. protected TYPE_1 METHOD_1 ( ) { return new TYPE_2 ( this ) ; }
|
public TYPE_1 METHOD_1 ( ) { return new TYPE_2 ( this ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public int METHOD_1 ( int i ) { return VAR_1 . get ( VAR_2 . get ( i ) ) . size ( ) ; }
|
public int METHOD_1 ( int i ) { if ( ( VAR_1 . get ( VAR_2 . get ( i ) ) ) != null ) return VAR_1 . get ( VAR_2 . get ( i ) ) . size ( ) ; else return 0 ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( ) { TYPE_1 VAR_1 = new TYPE_1 ( ) ; TYPE_1 VAR_2 = VAR_1 . METHOD_2 ( new TYPE_1 ( ) ) ; assertTrue ( VAR_1 . METHOD_3 ( VAR_2 ) ) ; }
|
public void METHOD_1 ( ) { TYPE_1 VAR_1 = new TYPE_1 ( ) ; TYPE_1 VAR_2 = TYPE_1 . METHOD_2 ( new TYPE_1 [ ] { VAR_1 , new TYPE_1 ( ) } ) ; assertTrue ( VAR_1 . METHOD_3 ( VAR_2 ) ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( ) { METHOD_2 ( ) ; super . METHOD_3 ( ) ; }
|
public void METHOD_1 ( ) { METHOD_2 ( ) ; super . METHOD_1 ( ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public static void METHOD_1 ( java.lang.String VAR_1 ) { VAR_2 . setText ( VAR_1 ) ; if ( ( java.lang.Double . METHOD_2 ( VAR_1 ) ) > 0 ) { TYPE_1 . METHOD_3 ( true ) ; } }
|
public static void METHOD_1 ( java.lang.String VAR_1 ) { VAR_2 . setText ( VAR_1 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public TYPE_1 METHOD_1 ( java.lang.String VAR_1 , java.lang.String VAR_2 , java.lang.String VAR_3 ) { TYPE_1 VAR_4 = new TYPE_1 ( VAR_1 , VAR_2 , VAR_5 . METHOD_2 ( VAR_3 ) ) ; return VAR_6 . METHOD_3 ( VAR_4 ) ; }
|
public void METHOD_1 ( java.lang.String VAR_1 , java.lang.String VAR_2 , java.lang.String VAR_3 ) { VAR_6 . METHOD_3 ( new TYPE_1 ( VAR_1 , VAR_2 , VAR_5 . METHOD_2 ( VAR_3 ) ) ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public boolean METHOD_1 ( ) { if ( ( ( METHOD_2 ( ) ) != null ) || ( ( METHOD_2 ( ) . METHOD_3 ( ) . compareTo ( STRING_1 ) ) == 0 ) ) { return false ; } else { return true ; } }
|
public boolean METHOD_1 ( ) { if ( ( METHOD_2 ( ) . toString ( ) . compareTo ( STRING_1 ) ) == 0 ) { return false ; } else { return true ; } }
|
The following code may contain bugs. Write a refined code without bugs. public void execute ( TYPE_1 VAR_1 , TYPE_2 VAR_2 ) { java.lang.System.out.println ( STRING_1 . toString ( ) ) ; }
|
public void execute ( TYPE_1 VAR_1 , TYPE_2 VAR_2 ) { java.lang.System.out.println ( ( STRING_1 + ( VAR_1 . toString ( ) ) ) ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public boolean select ( TYPE_1 VAR_1 , java.lang.Object VAR_2 , java.lang.Object element ) { if ( element instanceof TYPE_2 ) { if ( element instanceof TYPE_3 ) { return true ; } return METHOD_1 ( ( ( TYPE_4 ) ( element ) ) ) ; } return false ; }
|
public boolean select ( TYPE_1 VAR_1 , java.lang.Object VAR_2 , java.lang.Object element ) { if ( element instanceof TYPE_2 ) { return METHOD_1 ( ( ( TYPE_2 ) ( element ) ) ) ; } return false ; }
|
The following code may contain bugs. Write a refined code without bugs. public void remove ( int index ) { VAR_1 . remove ( index ) ; VAR_2 . remove ( index ) ; }
|
public void remove ( int index ) { VAR_1 . remove ( index ) ; VAR_2 . remove ( index ) ; length = ( length ) - 1 ; }
|
The following code may contain bugs. Write a refined code without bugs. public final boolean METHOD_1 ( TYPE_1 item , boolean VAR_1 ) { return METHOD_1 ( item , VAR_1 , true ) ; }
|
public final boolean METHOD_1 ( TYPE_1 item , boolean VAR_1 ) { return METHOD_1 ( item , VAR_1 , false ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( ) { super . METHOD_1 ( ) ; if ( ( VAR_1 ) == ( ( VAR_2 ) - 1 ) ) { METHOD_2 ( ) ; } VAR_3 . METHOD_3 ( VAR_1 , false ) ; }
|
public void METHOD_1 ( ) { super . METHOD_1 ( ) ; if ( ( VAR_1 ) == ( ( VAR_2 ) - 1 ) ) { METHOD_2 ( ) ; } else { VAR_3 . METHOD_3 ( VAR_1 , false ) ; } }
|
The following code may contain bugs. Write a refined code without bugs. public java.util.Iterator < TYPE_1 > iterator ( ) { return TYPE_2 . METHOD_1 ( VAR_1 . values ( ) , true , VAR_2 ) ; }
|
public java.util.Iterator < TYPE_1 > iterator ( ) { return TYPE_2 . METHOD_1 ( VAR_1 . values ( ) , true , p ) ; }
|
The following code may contain bugs. Write a refined code without bugs. private void METHOD_1 ( ) { java.lang.String VAR_1 = METHOD_2 ( VAR_2 , this . VAR_3 ) ; java.lang.System.out.println ( ( STRING_1 + ( VAR_4 ) ) ) ; this . VAR_4 = VAR_1 ; }
|
private void METHOD_1 ( ) { java.lang.String VAR_1 = METHOD_2 ( VAR_2 , this . VAR_3 ) ; java.lang.System.out.println ( ( STRING_1 + VAR_1 ) ) ; this . VAR_4 = VAR_1 ; }
|
The following code may contain bugs. Write a refined code without bugs. private void METHOD_1 ( ) { VAR_1 . METHOD_2 ( ) ; VAR_1 . METHOD_3 ( VAR_2 ) ; VAR_1 . METHOD_4 ( ) ; METHOD_5 ( ) . METHOD_6 ( ) . replace ( VAR_3 , VAR_4 ) . commit ( ) ; }
|
private void METHOD_1 ( ) { VAR_1 . METHOD_2 ( ) ; VAR_1 . METHOD_3 ( ( ! ( VAR_2 ) ) ) ; VAR_1 . METHOD_4 ( ) ; METHOD_5 ( ) . METHOD_6 ( ) . replace ( VAR_3 , VAR_4 ) . commit ( ) ; }
|
The following code may contain bugs. Write a refined code without bugs. private void METHOD_1 ( ) { TYPE_1 VAR_1 = getActivity ( ) . METHOD_2 ( VAR_2 ) ; TYPE_2 VAR_3 = VAR_1 . METHOD_3 ( ) ; VAR_4 . METHOD_4 ( VAR_3 ) ; VAR_3 . METHOD_5 ( ) ; }
|
private void METHOD_1 ( ) { TYPE_2 VAR_3 = METHOD_2 ( ) . METHOD_3 ( ) ; VAR_4 . METHOD_4 ( VAR_3 ) ; VAR_3 . METHOD_5 ( ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( ) { VAR_1 = null ; super . METHOD_1 ( ) ; TYPE_1 . METHOD_2 ( STRING_1 , STRING_2 ) ; }
|
public void METHOD_1 ( ) { VAR_1 = null ; super . METHOD_1 ( ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public long add ( long VAR_1 ) { if ( ( VAR_2 ) != null ) { VAR_2 . add ( VAR_1 ) ; } return VAR_3 . METHOD_1 ( VAR_1 ) ; }
|
private long add ( long VAR_1 ) { if ( ( VAR_2 ) != null ) { VAR_2 . add ( VAR_1 ) ; } return VAR_3 . METHOD_1 ( VAR_1 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( ) { TYPE_1 . assertThat ( VAR_1 ) . METHOD_2 ( STRING_1 ) . METHOD_2 ( STRING_2 ) . METHOD_2 ( STRING_3 ) . METHOD_2 ( STRING_4 ) . METHOD_2 ( STRING_5 ) . METHOD_2 ( STRING_6 ) . METHOD_2 ( STRING_7 ) ; }
|
public void METHOD_1 ( ) { TYPE_1 . assertThat ( VAR_1 ) . METHOD_2 ( STRING_1 ) . METHOD_2 ( STRING_3 ) . METHOD_2 ( STRING_4 ) . METHOD_2 ( STRING_5 ) . METHOD_2 ( STRING_6 ) . METHOD_2 ( STRING_7 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( new TYPE_1 ( new TYPE_2 ( ) ) ) ; TYPE_3 . METHOD_3 ( new TYPE_4 ( ) , VAR_1 class ) ; TYPE_3 . METHOD_3 ( new TYPE_4 ( ) , VAR_2 class ) ; }
|
public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( new TYPE_1 ( this ) ) ; TYPE_3 . METHOD_3 ( new TYPE_4 ( ) , VAR_1 class ) ; TYPE_3 . METHOD_3 ( new TYPE_4 ( ) , VAR_2 class ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( ) { super . METHOD_1 ( ) ; VAR_1 = this ; VAR_2 = TYPE_1 . METHOD_2 ( METHOD_3 ( ) ) ; }
|
public void METHOD_1 ( ) { super . METHOD_1 ( ) ; VAR_2 = TYPE_1 . METHOD_2 ( METHOD_3 ( ) ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void delete ( TYPE_1 VAR_1 ) { VAR_2 . delete ( VAR_1 , METHOD_1 ( ) ) ; VAR_2 . METHOD_2 ( ) ; }
|
public void delete ( TYPE_1 VAR_1 ) { VAR_2 . delete ( VAR_1 , METHOD_1 ( ) ) ; VAR_2 . METHOD_2 ( METHOD_1 ( ) ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( TYPE_1 c ) { if ( ( count ) < ( VAR_1 . length ) ) { VAR_1 [ count ] = c ; } }
|
public void METHOD_1 ( TYPE_1 c ) { if ( ( count ) < ( VAR_1 . length ) ) { VAR_1 [ count ] = c ; ( count ) ++ ; } }
|
The following code may contain bugs. Write a refined code without bugs. protected void METHOD_1 ( ) { java.lang.System.out.println ( ( STRING_1 + ( VAR_1 ) ) ) ; }
|
protected void METHOD_1 ( ) { }
|
The following code may contain bugs. Write a refined code without bugs. public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { TYPE_1 VAR_2 = new TYPE_1 ( VAR_1 ) ; this . VAR_3 . add ( VAR_2 ) ; return VAR_2 ; }
|
public void METHOD_1 ( TYPE_1 VAR_2 ) { this . VAR_3 . add ( VAR_2 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public int METHOD_1 ( java.io.File file ) { int VAR_1 ; VAR_2 = file ; VAR_1 = METHOD_2 ( ) ; return VAR_1 ; }
|
public int METHOD_1 ( java.io.File file ) { int VAR_1 ; VAR_2 = file ; VAR_1 = METHOD_2 ( ) ; if ( ( VAR_2 ) == null ) { VAR_1 = - 1 ; } return VAR_1 ; }
|
The following code may contain bugs. Write a refined code without bugs. public boolean METHOD_1 ( java.lang.String VAR_1 ) { if ( TYPE_1 . isEmpty ( VAR_1 ) ) { VAR_2 . METHOD_2 ( ) ; } else { VAR_2 . METHOD_3 ( VAR_1 . toString ( ) ) ; } return true ; }
|
public boolean METHOD_1 ( java.lang.String VAR_1 ) { return true ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( TYPE_1 error ) { TYPE_2 . METHOD_2 ( VAR_1 , java.lang.String.format ( STRING_1 , error . toString ( ) ) ) ; for ( TYPE_3 VAR_2 : VAR_3 ) { VAR_2 . METHOD_3 ( new TYPE_4 ( ) ) ; } }
|
public void METHOD_1 ( TYPE_1 error ) { for ( TYPE_3 VAR_2 : VAR_3 ) { VAR_2 . METHOD_3 ( new TYPE_4 ( error . toString ( ) ) ) ; } }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( ) { VAR_1 . METHOD_2 ( VAR_2 ) ; VAR_3 . METHOD_2 ( VAR_4 ) ; }
|
public void METHOD_1 ( ) { if ( status ) { VAR_1 . METHOD_2 ( VAR_2 ) ; VAR_3 . METHOD_2 ( VAR_4 ) ; } else { VAR_1 . METHOD_2 ( VAR_4 ) ; VAR_3 . METHOD_2 ( VAR_2 ) ; } }
|
The following code may contain bugs. Write a refined code without bugs. public static void METHOD_1 ( ) { TYPE_1 VAR_1 = new TYPE_1 ( VAR_2 , VAR_3 , STRING_1 , true ) ; VAR_1 . METHOD_2 ( VAR_4 ) ; VAR_5 . add ( VAR_1 ) ; }
|
public static void METHOD_1 ( ) { TYPE_1 VAR_1 = new TYPE_1 ( VAR_2 , VAR_3 , STRING_1 , true ) ; VAR_1 . METHOD_2 ( VAR_4 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public java.util.List < TYPE_1 > METHOD_1 ( TYPE_2 key ) { return new java.util.ArrayList < TYPE_1 > ( ) ; }
|
public java.util.Set < TYPE_1 > METHOD_1 ( TYPE_2 key ) { return new java.util.HashSet < TYPE_1 > ( ) ; }
|
The following code may contain bugs. Write a refined code without bugs. java.lang.Object get ( TYPE_1 VAR_1 , java.lang.Object key ) { synchronized ( this . VAR_2 ) { TYPE_2 VAR_3 = METHOD_1 ( VAR_1 , key ) ; return VAR_3 == null ? null : VAR_3 . value ; } }
|
java.lang.Object get ( TYPE_1 VAR_1 , java.lang.Object key ) { TYPE_2 VAR_3 = METHOD_1 ( VAR_1 , key ) ; return VAR_3 == null ? null : VAR_3 . value ; }
|
The following code may contain bugs. Write a refined code without bugs. private void METHOD_1 ( ) { VAR_1 . METHOD_2 ( ( TYPE_1 VAR_2 ) - > VAR_2 . METHOD_1 ( ) ) ; }
|
public void METHOD_1 ( ) { VAR_1 . METHOD_2 ( ( TYPE_1 VAR_2 ) - > VAR_2 . METHOD_1 ( ) ) ; }
|
The following code may contain bugs. Write a refined code without bugs. void METHOD_1 ( java.lang.String message ) { writer . METHOD_2 ( ( ( ( ( ( name ) + STRING_1 ) + ( TYPE_1 . getTime ( ) ) ) + STRING_2 ) + message ) ) ; }
|
void METHOD_1 ( java.lang.String message ) { writer . METHOD_2 ( ( ( ( ( ( TYPE_1 . name ) + STRING_1 ) + ( TYPE_1 . getTime ( ) ) ) + STRING_2 ) + message ) ) ; }
|
The following code may contain bugs. Write a refined code without bugs. protected void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( ) . METHOD_3 ( VAR_1 , VAR_2 ) ; }
|
protected void METHOD_1 ( ) { }
|
The following code may contain bugs. Write a refined code without bugs. public TYPE_1 < TYPE_2 > METHOD_1 ( java.lang.Integer VAR_1 ) { VAR_2 = VAR_3 . METHOD_2 ( VAR_4 . METHOD_3 ( ) , VAR_5 ) ; return TYPE_1 . METHOD_4 ( VAR_2 ) ; }
|
public TYPE_1 < TYPE_2 > METHOD_1 ( ) { VAR_2 = VAR_3 . METHOD_2 ( VAR_4 . METHOD_3 ( ) , VAR_5 ) ; return TYPE_1 . METHOD_4 ( VAR_2 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. protected void METHOD_1 ( TYPE_1 context ) { VAR_1 . info ( ( ( ( STRING_1 + ( getClass ( ) ) ) + STRING_2 ) + context ) ) ; this . VAR_2 = null ; this . VAR_3 = null ; this . VAR_4 = null ; }
|
protected void METHOD_1 ( TYPE_1 context ) { VAR_1 . info ( ( ( ( STRING_1 + ( getClass ( ) ) ) + STRING_2 ) + context ) ) ; this . VAR_3 = null ; this . VAR_4 = null ; }
|
The following code may contain bugs. Write a refined code without bugs. public void execute ( java.lang.String VAR_1 , java.util.List < java.lang.String > VAR_2 ) { execute ( VAR_1 , VAR_2 . METHOD_1 ( new java.lang.String [ 0 ] ) ) ; }
|
public void execute ( java.lang.String VAR_1 , java.util.List < java.lang.String > VAR_2 ) { execute ( VAR_1 , VAR_2 . METHOD_1 ( new java.lang.String [ VAR_2 . size ( ) ] ) ) ; }
|
The following code may contain bugs. Write a refined code without bugs. private java.util.Map < TYPE_1 , TYPE_2 > getView ( ) { if ( ( view ) == null ) { view = TYPE_3 . METHOD_1 ( VAR_1 ) ; } return view ; }
|
private java.util.Map < TYPE_1 , TYPE_2 > getView ( ) { java.util.Map < TYPE_1 , TYPE_2 > result = view ; if ( result == null ) { result = TYPE_3 . METHOD_1 ( VAR_1 ) ; view = result ; } return result ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( TYPE_1 VAR_1 ) { this . VAR_2 = VAR_1 ; VAR_3 . METHOD_2 ( VAR_2 ) ; VAR_4 . METHOD_2 ( VAR_2 ) ; VAR_5 . METHOD_2 ( VAR_2 ) ; }
|
public void METHOD_1 ( TYPE_1 VAR_1 ) { this . VAR_2 = VAR_1 ; VAR_3 . METHOD_2 ( VAR_2 ) ; VAR_4 . METHOD_2 ( VAR_2 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public boolean METHOD_1 ( java.lang.String VAR_1 ) { VAR_2 . METHOD_2 ( VAR_3 . METHOD_3 ( ) , VAR_1 ) ; VAR_4 . METHOD_4 ( false ) ; return true ; }
|
public boolean METHOD_1 ( java.lang.String VAR_1 ) { VAR_2 . METHOD_2 ( VAR_3 . METHOD_3 ( ) , VAR_1 ) ; VAR_4 . METHOD_4 ( true ) ; return true ; }
|
The following code may contain bugs. Write a refined code without bugs. void METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 , java.util.List < TYPE_3 > VAR_3 ) ;
|
void METHOD_1 ( TYPE_1 VAR_1 , java.util.List < TYPE_3 > VAR_3 ) ;
|
The following code may contain bugs. Write a refined code without bugs. void METHOD_1 ( ) { if ( ( VAR_1 ) == null ) { VAR_1 = new TYPE_1 ( ) { public void METHOD_2 ( ) { METHOD_3 ( METHOD_4 ( ) ) ; } } ; } METHOD_5 ( ) . METHOD_6 ( VAR_1 ) ; }
|
void METHOD_1 ( ) { METHOD_3 ( METHOD_4 ( ) ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( android.content.Intent intent ) { TYPE_1 . METHOD_2 ( VAR_1 , STRING_1 ) ; super . METHOD_1 ( intent ) ; }
|
public void METHOD_1 ( android.content.Intent intent ) { super . METHOD_1 ( intent ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public boolean METHOD_1 ( java.lang.String name ) { TYPE_1 VAR_1 = TYPE_1 . METHOD_2 ( name ) ; return this . remove ( VAR_1 . name ( ) ) ; }
|
public boolean METHOD_1 ( java.lang.String name ) { if ( name == null ) { return false ; } TYPE_1 VAR_1 = TYPE_1 . METHOD_2 ( name ) ; return this . remove ( VAR_1 . name ( ) ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public java.util.List < TYPE_1 > METHOD_1 ( ) { for ( TYPE_1 VAR_1 : VAR_2 ) { TYPE_2 . METHOD_2 ( VAR_1 ) ; } return VAR_2 ; }
|
public java.util.List < TYPE_1 > METHOD_1 ( ) { return VAR_2 ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 ) throws java.lang.Exception { TYPE_3 . i ( STRING_1 , STRING_2 ) ; VAR_3 . METHOD_2 ( 0 , VAR_3 . METHOD_3 ( ) ) ; }
|
public void METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 ) throws java.lang.Exception { TYPE_3 . i ( STRING_1 , STRING_2 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public int METHOD_1 ( ) { return METHOD_2 ( ) ; }
|
public int METHOD_1 ( ) { return METHOD_2 ( false ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( java.util.List < TYPE_1 > VAR_1 ) { synchronized ( VAR_2 ) { TYPE_2 VAR_3 = new TYPE_2 ( ( ( VAR_4 ) ++ ) , VAR_1 ) ; VAR_2 . METHOD_2 ( VAR_3 ) ; } }
|
public void METHOD_1 ( java.util.List < TYPE_1 > VAR_1 ) { synchronized ( VAR_2 ) { TYPE_2 VAR_3 = new TYPE_2 ( ( ( VAR_4 ) ++ ) , VAR_1 ) ; VAR_2 . add ( VAR_3 ) ; } }
|
The following code may contain bugs. Write a refined code without bugs. public static void main ( java.lang.String [ ] args ) throws TYPE_1 , java.io.IOException , TYPE_2 { java.lang.String VAR_1 = TYPE_3 . METHOD_1 ( STRING_1 ) ; java.lang.String VAR_2 = TYPE_3 . METHOD_1 ( STRING_2 ) ; java.lang.System.out.println ( TYPE_4 . METHOD_2 ( VAR_1 , VAR_2 ) ) ; }
|
public static void main ( java.lang.String [ ] args ) throws TYPE_1 , java.io.IOException , TYPE_2 { java.lang.String VAR_1 = TYPE_3 . METHOD_1 ( STRING_1 ) ; java.lang.String VAR_2 = TYPE_3 . METHOD_1 ( STRING_2 ) ; TYPE_4 . METHOD_2 ( VAR_1 , VAR_2 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public synchronized java.lang.Integer METHOD_1 ( ) { return VAR_1 ; }
|
public synchronized java.lang.Long METHOD_1 ( ) { return ( VAR_1 ) == null ? 0 : VAR_1 ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( int VAR_1 , TYPE_1 VAR_2 ) throws java.lang.Exception { if ( ( VAR_3 ) instanceof TYPE_2 ) { ( ( TYPE_2 ) ( VAR_3 ) ) . METHOD_1 ( VAR_1 , VAR_2 ) ; } }
|
public void METHOD_1 ( int VAR_1 , TYPE_1 VAR_2 ) throws java.lang.Exception { if ( ( VAR_3 ) instanceof TYPE_2 ) { ( ( TYPE_2 ) ( VAR_3 ) ) . METHOD_1 ( this . rows [ VAR_1 ] . index , VAR_2 ) ; } }
|
The following code may contain bugs. Write a refined code without bugs. private void METHOD_1 ( java.lang.String key , java.lang.String value ) { if ( value == null ) { VAR_1 . remove ( key ) ; } else { VAR_1 . put ( key , value ) ; } }
|
private void METHOD_1 ( java.lang.String key , java.lang.String value ) { if ( value == null ) { VAR_1 . remove ( key ) ; } else { VAR_1 . put ( key , value . trim ( ) ) ; } }
|
The following code may contain bugs. Write a refined code without bugs. private void METHOD_1 ( TYPE_1 < TYPE_2 > VAR_1 ) { VAR_2 . METHOD_2 ( VAR_2 . METHOD_3 ( ) ) ; TYPE_3 . METHOD_4 ( VAR_3 , ( STRING_1 + ( VAR_4 . METHOD_5 ( ) ) ) ) ; }
|
private void METHOD_1 ( TYPE_1 < TYPE_2 > VAR_1 ) { VAR_2 . METHOD_2 ( VAR_4 . METHOD_5 ( ) ) ; TYPE_3 . METHOD_4 ( VAR_3 , ( STRING_1 + ( VAR_4 . METHOD_5 ( ) ) ) ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , int VAR_2 ) { TYPE_3 . METHOD_2 ( VAR_3 ) ; android.view.View VAR_4 = TYPE_4 . METHOD_3 ( VAR_1 . getContext ( ) ) . METHOD_4 ( VAR_5 , VAR_1 , false ) ; return new TYPE_1 ( VAR_4 ) ; }
|
public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , int VAR_2 ) { java.util.Collections.sort ( VAR_3 ) ; android.view.View VAR_4 = TYPE_4 . METHOD_3 ( VAR_1 . getContext ( ) ) . METHOD_4 ( VAR_5 , VAR_1 , false ) ; return new TYPE_1 ( VAR_4 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. private void METHOD_1 ( int VAR_1 , int VAR_2 ) { if ( VAR_3 ) TYPE_1 . METHOD_2 ( VAR_4 , ( ( VAR_1 + STRING_1 ) + VAR_2 ) ) ; VAR_5 . setText ( ( ( VAR_1 + CHAR_1 ) + VAR_2 ) ) ; }
|
private void METHOD_1 ( int VAR_1 , int VAR_2 ) { if ( VAR_3 ) TYPE_1 . METHOD_2 ( VAR_4 , ( ( VAR_1 + STRING_1 ) + VAR_2 ) ) ; VAR_5 . setText ( ( ( VAR_1 + STRING_1 ) + VAR_2 ) ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public boolean METHOD_1 ( TYPE_1 view , java.lang.String url ) { if ( ! ( url . startsWith ( getString ( VAR_1 ) ) ) ) { METHOD_2 ( TYPE_2 . METHOD_3 ( url ) ) ; return false ; } return true ; }
|
public boolean METHOD_1 ( TYPE_1 view , java.lang.String url ) { if ( ! ( url . startsWith ( getString ( VAR_1 ) ) ) ) { METHOD_2 ( TYPE_2 . METHOD_3 ( url ) ) ; return true ; } return false ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( ) throws java.lang.Exception { int [ ] i = VAR_1 . METHOD_2 ( ) ; TYPE_1 . assertEquals ( VAR_1 . isEmpty ( ) , i [ 1 ] ) ; }
|
public void METHOD_1 ( ) throws java.lang.Exception { int [ ] i = VAR_1 . METHOD_2 ( ) ; TYPE_1 . assertEquals ( 0 , i [ 1 ] ) ; }
|
The following code may contain bugs. Write a refined code without bugs. private java.lang.Long METHOD_1 ( final long VAR_1 ) { return VAR_1 < ( VAR_2 ) ? VAR_1 + 1 : VAR_2 ; }
|
private java.lang.Long METHOD_1 ( final long VAR_1 ) { return VAR_1 < ( VAR_2 ) ? VAR_1 : VAR_2 ; }
|
The following code may contain bugs. Write a refined code without bugs. public java.lang.String METHOD_1 ( java.lang.String VAR_1 ) { try { return VAR_2 . getString ( VAR_1 ) ; } catch ( TYPE_1 VAR_3 ) { return STRING_1 ; } }
|
public java.lang.String METHOD_1 ( java.lang.String VAR_1 ) { try { return VAR_2 . getString ( VAR_1 ) ; } catch ( TYPE_1 VAR_3 ) { return null ; } }
|
The following code may contain bugs. Write a refined code without bugs. static float METHOD_1 ( float value , float VAR_1 ) { if ( value > VAR_1 ) return VAR_1 ; if ( value < ( - VAR_1 ) ) return VAR_1 ; return value ; }
|
static float METHOD_1 ( float value , float VAR_1 ) { if ( value > VAR_1 ) return VAR_1 ; else if ( value < ( - VAR_1 ) ) return - VAR_1 ; return value ; }
|
The following code may contain bugs. Write a refined code without bugs. private TYPE_1 < TYPE_2 > METHOD_1 ( TYPE_3 VAR_1 ) { return new TYPE_1 ( new TYPE_2 ( 1 , VAR_1 ) , VAR_2 ) ; }
|
private TYPE_1 < TYPE_2 > METHOD_1 ( TYPE_3 VAR_1 ) { return new TYPE_1 ( new TYPE_2 ( VAR_1 ) , VAR_2 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public static int METHOD_1 ( int min , int VAR_1 ) { int length = ( ( int ) ( ( VAR_1 - min ) + 1 ) ) ; return ( VAR_2 . METHOD_2 ( ( length + 1 ) ) ) + min ; }
|
public static int METHOD_1 ( int min , int VAR_1 ) { int length = ( VAR_1 - min ) + 1 ; return ( VAR_2 . METHOD_2 ( length ) ) + min ; }
|
The following code may contain bugs. Write a refined code without bugs. void METHOD_1 ( java.lang.String msg , java.lang.String VAR_1 , int type ) ;
|
void METHOD_1 ( java.lang.String msg , int type ) ;
|
The following code may contain bugs. Write a refined code without bugs. private void METHOD_1 ( int number , int [ ] VAR_1 , int VAR_2 , int VAR_3 ) { VAR_1 [ VAR_2 ] = VAR_3 ; VAR_1 [ ( VAR_2 + 1 ) ] = number / VAR_3 ; }
|
private void METHOD_1 ( int number , int [ ] VAR_1 , int VAR_2 , int VAR_3 ) { VAR_1 [ VAR_2 ] = VAR_3 ; if ( VAR_3 != ( number / VAR_3 ) ) VAR_1 [ ( VAR_2 + 1 ) ] = number / VAR_3 ; }
|
The following code may contain bugs. Write a refined code without bugs. public long METHOD_1 ( ) { synchronized ( this ) { if ( ( startTime ) < 0 ) { startTime = TYPE_1 . METHOD_2 ( ) ; } return startTime ; } }
|
public long METHOD_1 ( ) { synchronized ( this ) { if ( ( startTime ) <= 0 ) { startTime = TYPE_1 . METHOD_2 ( ) ; } return startTime ; } }
|
The following code may contain bugs. Write a refined code without bugs. public TYPE_1 METHOD_1 ( final java.lang.String VAR_1 ) { this . VAR_2 = VAR_1 ; return this ; }
|
public TYPE_1 METHOD_1 ( final java.lang.String VAR_2 ) { this . VAR_2 = VAR_2 ; return this ; }
|
The following code may contain bugs. Write a refined code without bugs. protected TYPE_1 METHOD_1 ( int index ) { return ; }
|
protected TYPE_1 METHOD_1 ( int index ) { return null ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( int VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; TYPE_1 . METHOD_2 ( ( STRING_1 + VAR_1 ) ) ; }
|
public void METHOD_1 ( int VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( android.view.View VAR_1 ) { if ( VAR_2 . equals ( STRING_1 ) ) { METHOD_2 ( ) ; VAR_2 = STRING_2 ; } TYPE_1 . append ( STRING_3 ) ; VAR_3 . setEnabled ( false ) ; }
|
public void METHOD_1 ( android.view.View VAR_1 ) { if ( VAR_2 . equals ( STRING_1 ) ) { METHOD_2 ( ) ; VAR_2 = STRING_2 ; } TYPE_1 . append ( STRING_3 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( TYPE_1 p ) { TYPE_2 VAR_1 = new TYPE_2 ( METHOD_2 ( p ) , VAR_2 , VAR_3 ) ; VAR_1 . METHOD_3 ( true ) ; }
|
public void METHOD_1 ( TYPE_1 p ) { TYPE_2 VAR_1 = new TYPE_2 ( METHOD_2 ( p , 0 ) , VAR_2 , VAR_3 ) ; VAR_1 . METHOD_3 ( true ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( ) throws java.lang.Exception { TYPE_1 . fail ( STRING_1 ) ; }
|
public void METHOD_1 ( ) throws java.lang.Exception { }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( ) { TYPE_1 c = new TYPE_1 ( VAR_1 ) ; TYPE_2 VAR_2 = VAR_1 . get ( 0 ) ; assertEquals ( c . get ( STRING_1 ) , VAR_2 ) ; }
|
public void METHOD_1 ( ) { TYPE_1 c = new TYPE_1 ( VAR_1 ) ; TYPE_2 VAR_2 = VAR_1 . get ( 0 ) ; assertEquals ( VAR_2 , c . get ( STRING_1 ) ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( int VAR_1 ) { VAR_2 [ VAR_3 ] = VAR_1 ; ( VAR_3 ) ++ ; return ; }
|
public void METHOD_1 ( int VAR_1 ) { VAR_2 [ VAR_3 ] = VAR_1 ; ( VAR_3 ) ++ ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( ) { VAR_1 . setState ( VAR_2 ) ; }
|
public void METHOD_1 ( ) { setState ( VAR_2 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. protected void METHOD_1 ( TYPE_1 result ) { if ( result != null ) VAR_1 . METHOD_2 ( result ) ; else VAR_1 . METHOD_3 ( VAR_2 ) ; }
|
protected void METHOD_1 ( TYPE_1 result ) { if ( result != null ) VAR_1 . METHOD_2 ( result ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public static TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , TYPE_3 VAR_2 ) { try { return new TYPE_1 ( VAR_1 , VAR_2 ) ; } catch ( java.lang.Exception VAR_3 ) { VAR_3 . METHOD_2 ( ) ; } return null ; }
|
public TYPE_1 METHOD_1 ( TYPE_3 VAR_2 ) { try { return new TYPE_1 ( VAR_1 , VAR_2 ) ; } catch ( java.lang.Exception VAR_3 ) { VAR_3 . METHOD_2 ( ) ; } return null ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( ) throws java.lang.Exception { TYPE_1 VAR_1 = new TYPE_1 ( ) ; VAR_1 . METHOD_2 ( STRING_1 ) ; TYPE_2 . assertEquals ( VAR_1 . METHOD_3 ( ) , STRING_2 ) ; }
|
public void METHOD_1 ( ) throws java.lang.Exception { TYPE_1 VAR_1 = new TYPE_1 ( ) ; VAR_1 . METHOD_2 ( STRING_1 ) ; TYPE_2 . assertEquals ( VAR_1 . METHOD_3 ( ) , STRING_1 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public boolean METHOD_1 ( java.lang.String VAR_1 ) { for ( java.lang.String VAR_2 : VAR_3 ) { if ( VAR_2 . METHOD_2 ( VAR_1 ) ) { VAR_4 = VAR_2 ; return true ; } } return false ; }
|
public boolean METHOD_1 ( java.lang.String VAR_1 ) { VAR_4 = VAR_1 ; return false ; }
|
The following code may contain bugs. Write a refined code without bugs. void METHOD_1 ( ) { VAR_1 . METHOD_2 ( ) ; VAR_1 . METHOD_3 ( null ) ; VAR_1 . METHOD_4 ( ) ; TYPE_1 . METHOD_5 ( STRING_1 , STRING_2 ) ; }
|
void METHOD_1 ( ) { VAR_1 . METHOD_2 ( ) ; VAR_1 . METHOD_3 ( null ) ; VAR_1 . METHOD_4 ( ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public static boolean METHOD_1 ( TYPE_1 VAR_1 ) { return TYPE_2 . METHOD_1 ( VAR_1 ) ; }
|
public static boolean METHOD_1 ( TYPE_1 VAR_1 ) { return TYPE_2 . METHOD_1 ( VAR_1 , null , null ) ; }
|
The following code may contain bugs. Write a refined code without bugs. void METHOD_1 ( java.lang.String VAR_1 ) throws TYPE_1 { if ( ! ( TYPE_2 . METHOD_2 ( VAR_1 ) ) ) { throw new TYPE_1 ( STRING_1 ) ; } this . VAR_1 = VAR_1 ; }
|
void METHOD_1 ( java.lang.String VAR_1 ) throws TYPE_1 { if ( ! ( TYPE_2 . METHOD_2 ( VAR_1 ) ) ) { throw new TYPE_1 ( STRING_1 , this ) ; } this . VAR_1 = VAR_1 ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( STRING_1 , STRING_2 ) ; VAR_1 = true ; super . METHOD_1 ( ) ; }
|
public void METHOD_1 ( ) { super . METHOD_1 ( ) ; VAR_1 = true ; }
|
The following code may contain bugs. Write a refined code without bugs. public TYPE_1 METHOD_1 ( TYPE_1 VAR_1 ) { VAR_1 . METHOD_2 ( TYPE_2 . METHOD_3 ( ) . toString ( ) ) ; VAR_2 . METHOD_4 ( VAR_1 ) ; VAR_3 . METHOD_5 ( VAR_1 ) ; return VAR_1 ; }
|
public TYPE_1 METHOD_1 ( TYPE_1 VAR_1 ) { java.lang.String id = TYPE_2 . METHOD_3 ( ) . toString ( ) ; VAR_1 . METHOD_2 ( id ) ; VAR_1 = VAR_2 . METHOD_4 ( VAR_1 ) ; VAR_3 . METHOD_5 ( VAR_1 ) ; return VAR_1 ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; VAR_2 = VAR_1 . METHOD_2 ( ) ; TYPE_2 . METHOD_3 ( VAR_3 , STRING_1 ) ; }
|
public void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; VAR_2 = VAR_1 . METHOD_2 ( ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_1 . METHOD_2 ( VAR_2 ) ; VAR_1 . METHOD_3 ( ) ; VAR_1 . METHOD_4 ( VAR_3 , 0 , 0 , VAR_4 , VAR_5 ) ; VAR_6 . METHOD_4 ( VAR_1 ) ; VAR_1 . end ( ) ; }
|
public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_1 . METHOD_2 ( VAR_2 ) ; VAR_1 . METHOD_3 ( ) ; VAR_3 . METHOD_4 ( VAR_1 ) ; VAR_6 . METHOD_4 ( VAR_1 ) ; VAR_1 . end ( ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( TYPE_1 buf ) { VAR_1 . METHOD_1 ( METHOD_2 ( buf , VAR_2 ) . METHOD_3 ( type ) ) ; }
|
public void METHOD_1 ( TYPE_1 buf ) { VAR_1 . METHOD_1 ( METHOD_2 ( buf , VAR_2 ) ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( java.util.List < java.lang.String > VAR_1 ) { VAR_1 . METHOD_2 ( ) . METHOD_3 ( ( VAR_2 ) - > { java.lang.String time = VAR_3 . METHOD_4 ( VAR_2 ) ; return VAR_4 . METHOD_5 ( VAR_2 , time ) ; } ) ; }
|
public void METHOD_1 ( java.util.List < java.lang.String > VAR_1 ) { for ( java.lang.String VAR_2 : VAR_1 ) { java.lang.String time = VAR_3 . METHOD_4 ( VAR_2 ) ; VAR_4 . METHOD_5 ( VAR_2 , time ) ; } }
|
The following code may contain bugs. Write a refined code without bugs. private void init ( android.content.Context context ) { this . context = context ; if ( TYPE_1 . METHOD_1 ( ) ) { METHOD_2 ( ) ; METHOD_3 ( ) ; } }
|
private void init ( android.content.Context context ) { this . context = context ; if ( TYPE_1 . METHOD_1 ( ) ) { METHOD_2 ( ) ; METHOD_3 ( ) ; setEnabled ( true ) ; } }
|
The following code may contain bugs. Write a refined code without bugs. public TYPE_1 METHOD_1 ( java.lang.Long VAR_1 ) { return VAR_2 . METHOD_2 ( VAR_3 class , VAR_1 ) ; }
|
private TYPE_1 METHOD_1 ( java.lang.Long VAR_1 ) { return VAR_2 . METHOD_2 ( VAR_3 class , VAR_1 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( java.lang.String name ) { this . name = name ; this . VAR_1 = name . toLowerCase ( ) ; }
|
public void METHOD_1 ( java.lang.String name ) { this . name = name ; this . VAR_1 = ( name == null ) ? null : name . toLowerCase ( ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void init ( android.content.Context context ) { VAR_1 = new TYPE_1 ( context ) ; VAR_2 = new TYPE_2 ( context ) ; }
|
public void init ( android.content.Context context ) { if ( ( VAR_1 ) == null ) { VAR_1 = new TYPE_1 ( context ) ; } if ( ( VAR_2 ) == null ) { VAR_2 = new TYPE_2 ( context ) ; } }
|
The following code may contain bugs. Write a refined code without bugs. public TYPE_1 METHOD_1 ( TYPE_2 id ) { TYPE_3 VAR_1 = VAR_2 . METHOD_2 ( ) ; VAR_1 . METHOD_3 ( ) ; TYPE_1 value = ( ( TYPE_1 ) ( VAR_1 . get ( VAR_3 , id ) ) ) ; return value ; }
|
public TYPE_1 METHOD_1 ( TYPE_2 id ) { TYPE_3 VAR_1 = VAR_2 . METHOD_2 ( ) ; TYPE_1 value = ( ( TYPE_1 ) ( VAR_1 . get ( VAR_3 , id ) ) ) ; return value ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( VAR_1 , STRING_1 ) ; if ( ( VAR_2 ) != null ) { METHOD_3 ( VAR_2 . METHOD_4 ( ) ) ; VAR_2 . METHOD_5 ( VAR_3 ) ; VAR_2 = null ; } }
|
public void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( VAR_1 , STRING_1 ) ; if ( ( VAR_2 ) != null ) { METHOD_3 ( VAR_2 . METHOD_4 ( ) ) ; } }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( long VAR_1 , int VAR_2 ) { VAR_3 . METHOD_2 ( VAR_1 ) ; int VAR_4 = VAR_5 . METHOD_3 ( VAR_2 ) ; if ( VAR_4 == 0 ) java.lang.System.out.println ( STRING_1 ) ; }
|
public void METHOD_1 ( long VAR_1 , int VAR_2 ) { VAR_3 . METHOD_2 ( VAR_1 ) ; VAR_5 . METHOD_3 ( VAR_2 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public static < TYPE_1 , TYPE_2 > TYPE_3 < TYPE_1 , TYPE_2 > METHOD_1 ( final TYPE_4 < TYPE_1 , TYPE_2 > VAR_1 , final TYPE_5 VAR_2 ) { return new TYPE_3 < TYPE_1 , TYPE_2 > ( VAR_1 , VAR_2 ) ; }
|
public static < TYPE_1 , TYPE_2 > TYPE_3 < TYPE_1 , TYPE_2 > METHOD_1 ( final TYPE_5 VAR_2 , final TYPE_4 < TYPE_1 , TYPE_2 > VAR_1 ) { return new TYPE_3 < TYPE_1 , TYPE_2 > ( VAR_2 , VAR_1 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. public void METHOD_1 ( TYPE_1 VAR_1 ) { if ( ( VAR_1 . METHOD_2 ( ) ) != 0 ) { VAR_2 . METHOD_3 ( VAR_1 ) ; } VAR_3 . METHOD_4 ( VAR_1 ) ; }
|
public void METHOD_1 ( TYPE_1 VAR_1 ) { if ( ( VAR_1 . METHOD_2 ( ) ) != 0 ) { VAR_2 . METHOD_3 ( VAR_1 ) ; } if ( ( VAR_3 ) != null ) { VAR_3 . METHOD_4 ( VAR_1 ) ; } }
|
The following code may contain bugs. Write a refined code without bugs. private static void METHOD_1 ( int VAR_1 , int VAR_2 ) { TYPE_1 . METHOD_2 ( VAR_1 ) ; TYPE_1 . METHOD_2 ( VAR_2 ) ; }
|
private void METHOD_1 ( int VAR_1 , int VAR_2 ) { METHOD_2 ( VAR_1 ) ; METHOD_2 ( VAR_2 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. private void METHOD_1 ( ) { VAR_1 = TYPE_1 . METHOD_2 ( getContext ( ) . METHOD_3 ( ) , VAR_2 , 0 , VAR_3 ) ; VAR_4 = TYPE_1 . METHOD_2 ( VAR_5 . METHOD_3 ( ) , VAR_6 , 0 , VAR_3 ) ; }
|
private void METHOD_1 ( ) { VAR_1 = TYPE_1 . METHOD_2 ( getContext ( ) . METHOD_3 ( ) , VAR_2 , 0 , VAR_3 ) ; }
|
The following code may contain bugs. Write a refined code without bugs. protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( ) ; METHOD_3 ( ) ; METHOD_4 ( ) ; METHOD_5 ( ) ; METHOD_6 ( ) ; }
|
protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; METHOD_2 ( ) ; METHOD_4 ( ) ; METHOD_5 ( ) ; METHOD_6 ( ) ; }
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.