id
int64 0
46.7k
| buggy
stringlengths 22
390
| fixed
stringlengths 14
367
|
---|---|---|
100 | public java.util.List < TYPE_1 > METHOD_1 ( ) { <BUG> java.lang.System.out.println ( STRING_1 ) ;</BUG> return VAR_1 . METHOD_2 ( STRING_2 , VAR_2 class ) . METHOD_3 ( ) ; } | public java.util.List < TYPE_1 > METHOD_1 ( ) { return VAR_1 . METHOD_2 ( STRING_2 , VAR_2 class ) . METHOD_3 ( ) ; }
|
101 | public TYPE_1 get ( int id , int VAR_1 ) { java.util.List < TYPE_1 > VAR_2 = VAR_3 . query ( STRING_1 , new java.lang.Object [ ] { <BUG> VAR_1 }</BUG> , VAR_4 ) ; return TYPE_2 . METHOD_1 ( VAR_2 ) ; } | public TYPE_1 get ( int id , int VAR_1 ) { java.util.List < TYPE_1 > VAR_2 = VAR_3 . query ( STRING_1 , new java.lang.Object [ ] { id , VAR_1 } , VAR_4 ) ; return TYPE_2 . METHOD_1 ( VAR_2 ) ; }
|
102 | public void METHOD_1 ( ) { <BUG> TYPE_1 . assertEquals ( 0 , i ) ;</BUG> ( i ) ++ ; } | public void METHOD_1 ( ) { i = 0 ; ( i ) ++ ; }
|
103 | public char METHOD_1 ( java.util.List < TYPE_1 > VAR_1 ) { METHOD_2 ( ) ; char VAR_2 = VAR_3 . get ( 0 ) ; VAR_4 . add ( VAR_2 ) ; <BUG> return CHAR_1 ;</BUG> } | public char METHOD_1 ( java.util.List < TYPE_1 > VAR_1 ) { METHOD_2 ( ) ; char VAR_2 = VAR_3 . get ( 0 ) ; VAR_4 . add ( VAR_2 ) ; return VAR_2 ; }
|
104 | public void delete ( TYPE_1 VAR_1 ) { METHOD_1 ( VAR_1 ) ; VAR_2 . add ( VAR_1 . id ) ; VAR_3 . remove ( VAR_1 . id ) ; METHOD_2 ( ) ; VAR_4 . remove ( VAR_1 ) ; <BUG> METHOD_3 ( ) ;</BUG> } | public void delete ( TYPE_1 VAR_1 ) { METHOD_1 ( VAR_1 ) ; VAR_2 . add ( VAR_1 . id ) ; VAR_3 . remove ( VAR_1 . id ) ; METHOD_2 ( ) ; VAR_4 . remove ( VAR_1 ) ; }
|
105 | <BUG>public TYPE_1 METHOD_1 ( TYPE_2 < TYPE_1 > node ) {throw new TYPE_3 ( STRING_1 ) ;</BUG> } | public TYPE_2 < TYPE_1 > METHOD_1 ( TYPE_2 < TYPE_1 > node ) { return node ; }
|
106 | private java.lang.String METHOD_1 ( java.lang.String VAR_1 ) { <BUG> return this . get ( VAR_1 ) . toString ( ) . toLowerCase ( ) ;</BUG> } | private java.lang.String METHOD_1 ( java.lang.String VAR_1 ) { return this . getString ( VAR_1 ) . toLowerCase ( ) ; }
|
107 | <BUG>TYPE_1 METHOD_1 ( java.util.List < TYPE_2 > VAR_1 , java.util.List < TYPE_3 > VAR_2 , TYPE_4 VAR_3 , TYPE_5 listener ) {</BUG> } | public TYPE_1 METHOD_1 ( java.util.List < TYPE_2 > VAR_1 , java.util.List < TYPE_3 > VAR_2 , TYPE_4 VAR_3 , TYPE_5 listener ) { return null ; }
|
108 | <BUG>private static boolean METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 ... VAR_2 ) {for ( TYPE_2 output : VAR_3 ) {if ( TYPE_3 . METHOD_2 ( output , VAR_2 ) ) return true ;}</BUG> return false ; } | private static boolean METHOD_1 ( java.lang.Object VAR_1 , TYPE_2 ... VAR_2 ) { return false ; }
|
109 | private static void METHOD_1 ( TYPE_1 handle , TYPE_2 VAR_1 ) throws TYPE_3 { <BUG> VAR_2 = TYPE_4 . METHOD_2 ( TYPE_4 . METHOD_3 ( VAR_3 ) ) ;VAR_4 = TYPE_4 . METHOD_2 ( TYPE_4 . METHOD_4 ( VAR_3 ) ) ;</BUG> } | private static void METHOD_1 ( TYPE_1 handle , TYPE_2 VAR_1 ) throws TYPE_3 { VAR_2 = TYPE_4 . METHOD_2 ( TYPE_4 . METHOD_3 ( VAR_3 ) , 0 ) ; VAR_4 = TYPE_4 . METHOD_2 ( TYPE_4 . METHOD_4 ( VAR_3 ) , 1 ) ; }
|
110 | public java.lang.String toString ( ) { <BUG> return ( ( STRING_1 + ( VAR_1 ) ) + STRING_2 ) + ( TYPE_1 . toString ( params ) ) ;</BUG> } | public java.lang.String toString ( ) { return ( ( STRING_1 + ( VAR_1 ) ) + STRING_2 ) + ( params ) ; }
|
111 | <BUG>public void METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 , TYPE_3 < TYPE_4 > VAR_3 ) {</BUG> for ( TYPE_5 VAR_4 : VAR_5 ) { VAR_3 . add ( METHOD_2 ( VAR_4 , 1 ) ) ; } } | public void METHOD_1 ( TYPE_2 VAR_2 , TYPE_3 < TYPE_4 > VAR_3 ) { for ( TYPE_5 VAR_4 : VAR_5 ) { VAR_3 . add ( METHOD_2 ( VAR_4 , 1 ) ) ; } }
|
112 | public void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> int VAR_2 = ( VAR_1 . METHOD_2 ( ) ) * INT_1 ;</BUG> METHOD_3 ( VAR_2 ) ; TYPE_2 . METHOD_4 ( VAR_3 , STRING_1 ) ; } | public void METHOD_1 ( TYPE_1 VAR_1 ) { int VAR_2 = VAR_1 . METHOD_2 ( ) ; METHOD_3 ( VAR_2 ) ; TYPE_2 . METHOD_4 ( VAR_3 , STRING_1 ) ; }
|
113 | <BUG>public void METHOD_1 ( final android.content.Intent intent , int VAR_1 ) {VAR_2 . METHOD_2 ( new TYPE_1 ( ) {public void METHOD_3 ( ) {</BUG> METHOD_4 ( intent , true ) ; <BUG><BUG> }</BUG></BUG> } <BUG> , VAR_1 ) ;</BUG> } | public void METHOD_3 ( ) { METHOD_4 ( intent , true ) ; }
|
114 | public void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> METHOD_2 ( 0 , STRING_1 ) ;</BUG> VAR_2 . add ( 0 , VAR_1 ) ; METHOD_3 ( ) ; } | public void METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 . add ( 0 , VAR_1 ) ; METHOD_3 ( ) ; METHOD_2 ( 0 , STRING_1 ) ; }
|
115 | public void METHOD_1 ( double value ) { <BUG> VAR_1 = new TYPE_1 ( ( ( VAR_1 . get ( ) ) + value ) ) ;</BUG> } | public void METHOD_1 ( double value ) { VAR_1 . set ( ( ( VAR_1 . get ( ) ) + value ) ) ; }
|
116 | public void METHOD_1 ( TYPE_1 c , int VAR_1 ) { <BUG> c . METHOD_2 ( VAR_2 , ( ( int ) ( ( ( ( VAR_3 ) * ( - 1 ) ) + VAR_1 ) * FLOAT_1 ) ) ) ;</BUG> } | public void METHOD_1 ( TYPE_1 c , int VAR_1 ) { c . METHOD_2 ( VAR_2 , ( ( int ) ( ( ( VAR_3 ) * ( - 1 ) ) + VAR_1 ) ) ) ; }
|
117 | private boolean METHOD_1 ( final long index ) { TYPE_1 . METHOD_2 ( STRING_1 ) ; TYPE_2 VAR_1 = METHOD_3 ( index ) ; <BUG> return VAR_1 . METHOD_4 ( this , true ) ;</BUG> } | private boolean METHOD_1 ( final long index ) { TYPE_1 . METHOD_2 ( STRING_1 ) ; TYPE_2 VAR_1 = METHOD_3 ( index ) ; return VAR_1 . METHOD_4 ( this ) ; }
|
118 | public static void METHOD_1 ( ) { <BUG> TYPE_1 . METHOD_2 ( ( VAR_1 = new TYPE_2 ( VAR_2 , new TYPE_3 ( STRING_1 ) , new TYPE_3 ( STRING_2 ) , - INT_1 , INT_2 , INT_3 ) ) ) ;</BUG> } | public static void METHOD_1 ( ) { TYPE_1 . METHOD_2 ( ( VAR_1 = new TYPE_2 ( VAR_2 , - INT_1 , INT_2 , INT_3 ) ) ) ; }
|
119 | public void METHOD_1 ( ) throws java.lang.Exception { METHOD_2 ( ) ; <BUG> TYPE_1 VAR_1 = VAR_2 . METHOD_3 ( new TYPE_2 ( ) . METHOD_4 ( ) ) ;VAR_3 . METHOD_5 ( ) . METHOD_6 ( TYPE_3 . METHOD_7 ( VAR_1 . data ) ) ;</BUG> } | public void METHOD_1 ( ) throws java.lang.Exception { METHOD_2 ( ) ; METHOD_6 ( VAR_2 . METHOD_3 ( new TYPE_2 ( ) . METHOD_4 ( ) ) ) ; }
|
120 | public void METHOD_1 ( android.view.View view ) { TYPE_1 . METHOD_2 ( VAR_1 , STRING_1 ) ; <BUG> METHOD_3 ( VAR_2 ) ;</BUG> METHOD_4 ( VAR_3 ) ; } | public void METHOD_1 ( android.view.View view ) { TYPE_1 . METHOD_2 ( VAR_1 , STRING_1 ) ; METHOD_4 ( VAR_3 ) ; }
|
121 | public void METHOD_1 ( ) { VAR_1 . METHOD_2 ( VAR_2 ) ; VAR_3 . METHOD_3 ( VAR_1 ) ; VAR_3 . METHOD_4 ( this ) ; } | public void METHOD_1 ( ) { if ( ( state ) == 1 ) { VAR_1 . METHOD_2 ( VAR_2 ) ; VAR_3 . METHOD_3 ( VAR_1 ) ; VAR_3 . METHOD_4 ( this ) ; } }
|
122 | public boolean METHOD_1 ( ) { <BUG> return ( ( VAR_1 ) != null ) || ( ! ( VAR_2 ) ) ;</BUG> } | public boolean METHOD_1 ( ) { return ( ( VAR_1 ) != null ) && ( VAR_2 ) ; }
|
123 | public void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 VAR_2 = VAR_3 . METHOD_2 ( ) ; TYPE_3 VAR_4 = VAR_2 . METHOD_3 ( ) ; VAR_4 . METHOD_4 ( VAR_1 ) ; <BUG> TYPE_4 . info ( STRING_1 ) ;</BUG> } | public void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 VAR_2 = VAR_3 . METHOD_2 ( ) ; TYPE_3 VAR_4 = VAR_2 . METHOD_3 ( ) ; VAR_4 . METHOD_4 ( VAR_1 ) ; }
|
124 | <BUG>public int METHOD_1 ( int VAR_1 , int VAR_2 ) {return this . VAR_3 [ VAR_1 ] [ VAR_2 ] . value ;</BUG> } | public int METHOD_1 ( int x , int y ) { return this . VAR_3 [ y ] [ x ] . value ; }
|
125 | protected void METHOD_1 ( java.lang.Void VAR_1 ) { <BUG> if ( VAR_2 . METHOD_2 ( ) ) VAR_2 . METHOD_3 ( ) ;</BUG> if ( VAR_3 ) VAR_4 . METHOD_4 ( VAR_5 ) ; } | protected void METHOD_1 ( java.lang.Void VAR_1 ) { if ( ( ( VAR_2 ) != null ) && ( VAR_2 . METHOD_2 ( ) ) ) VAR_2 . METHOD_3 ( ) ; if ( VAR_3 ) VAR_4 . METHOD_4 ( VAR_5 ) ; }
|
126 | <BUG>public static java.util.ArrayList < TYPE_1 > METHOD_1 ( ) {try {</BUG> return TYPE_2 . METHOD_2 ( VAR_1 , VAR_2 , VAR_3 class ) ; <BUG><BUG> }</BUG></BUG> <BUG> catch ( TYPE_3 VAR_4 ) {return null ;</BUG> } } | public static java.util.ArrayList < TYPE_1 > METHOD_1 ( ) throws TYPE_3 { return TYPE_2 . METHOD_2 ( VAR_1 , VAR_2 , VAR_3 class ) ; }
|
127 | <BUG>public synchronized void METHOD_1 ( java.lang.String VAR_1 , java.lang.String VAR_2 , boolean VAR_3 ) throws java.io.IOException , TYPE_1 {METHOD_1 ( VAR_1 , VAR_2 . METHOD_2 ( ) , VAR_3 ) ;</BUG> } | public synchronized void METHOD_1 ( java.lang.String VAR_1 , java.lang.String VAR_2 ) throws java.io.IOException , TYPE_1 { METHOD_1 ( VAR_1 , VAR_2 . METHOD_2 ( ) ) ; }
|
128 | public TYPE_1 METHOD_1 ( ) { TYPE_1 VAR_1 = new TYPE_1 ( ) ; try { <BUG> VAR_1 . put ( "id" , id ) ;</BUG> } catch ( TYPE_2 VAR_2 ) { VAR_2 . METHOD_2 ( ) ; } return VAR_1 ; } | public TYPE_1 METHOD_1 ( ) { TYPE_1 VAR_1 = new TYPE_1 ( ) ; try { VAR_1 . put ( "id" , getId ( ) ) ; } catch ( TYPE_2 VAR_2 ) { VAR_2 . METHOD_2 ( ) ; } return VAR_1 ; }
|
129 | public boolean METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 . METHOD_2 ( VAR_3 ) ; VAR_4 . METHOD_3 ( VAR_5 , VAR_6 ) ; <BUG> TYPE_2 VAR_7 = TYPE_2 . METHOD_4 ( ) ;VAR_7 . METHOD_5 ( ) ;</BUG> return true ; } | public boolean METHOD_1 ( TYPE_1 VAR_1 ) { VAR_2 . METHOD_2 ( VAR_3 ) ; VAR_4 . METHOD_3 ( VAR_5 , VAR_6 ) ; return true ; }
|
130 | public java.lang.String METHOD_1 ( ) { int i = filename . METHOD_2 ( CHAR_1 ) ; if ( i > 0 ) { return filename . substring ( i ) ; } return STRING_1 ; } | public java.lang.String METHOD_1 ( ) { if ( ( filename ) == null ) { return STRING_1 ; } int i = filename . METHOD_2 ( CHAR_1 ) ; if ( i > 0 ) { return filename . substring ( i ) ; } return STRING_1 ; }
|
131 | public TYPE_1 METHOD_1 ( TYPE_2 < TYPE_1 > VAR_1 ) { <BUG> return ( value ) == null ? METHOD_2 ( VAR_1 ) : value ;</BUG> } | public TYPE_1 METHOD_1 ( TYPE_2 < TYPE_1 > VAR_1 ) { final TYPE_1 result = value ; return result == null ? METHOD_2 ( VAR_1 ) : result ; }
|
132 | public void METHOD_1 ( TYPE_1 VAR_1 ) { <BUG> boolean VAR_2 = VAR_1 . METHOD_2 ( ) ;</BUG> METHOD_3 ( VAR_3 , ( VAR_2 ? VAR_4 : VAR_5 ) ) ; } | public void METHOD_1 ( TYPE_1 VAR_1 ) { boolean VAR_2 = false ; if ( null != VAR_1 ) { VAR_2 = VAR_1 . METHOD_2 ( ) ; } METHOD_3 ( VAR_3 , ( VAR_2 ? VAR_4 : VAR_5 ) ) ; }
|
133 | public void METHOD_1 ( java.lang.String path ) { this . VAR_1 = path ; <BUG> java.lang.System.out.println ( ( STRING_1 + path ) ) ;</BUG> VAR_2 . open ( VAR_3 , false , path ) ; } | public void METHOD_1 ( java.lang.String path ) { this . VAR_1 = path ; if ( path != null ) { VAR_2 . open ( VAR_3 , false , path ) ; } }
|
134 | public double METHOD_1 ( int time ) { <BUG> return TYPE_1 . METHOD_2 ( ( time * ( this . VAR_1 ) ) ) ;</BUG> } | public double METHOD_1 ( int time ) { return TYPE_1 . METHOD_2 ( ( time * ( - ( this . VAR_1 ) ) ) ) ; }
|
135 | private static void METHOD_1 ( int [ ] data ) { if ( data != null ) { java.lang.System.out.println ( TYPE_1 . toString ( data ) ) ; <BUG> }else {java.lang.System.out.println ( STRING_1 ) ;</BUG> } } | private static void METHOD_1 ( int [ ] data ) { if ( data != null ) { java.lang.System.out.println ( TYPE_1 . toString ( data ) ) ; } }
|
136 | public static TYPE_1 METHOD_1 ( java.lang.String VAR_1 , java.lang.String VAR_2 , java.lang.String VAR_3 , java.lang.String VAR_4 , java.lang.String VAR_5 , java.lang.String VAR_6 ) { TYPE_2 . METHOD_2 ( ) ; <BUG> return new TYPE_3 ( VAR_1 , VAR_2 , VAR_3 , VAR_4 , VAR_5 , VAR_6 ) ;</BUG> } | public static TYPE_1 METHOD_1 ( java.lang.String VAR_1 , java.lang.String VAR_2 , java.lang.String VAR_3 , java.lang.String VAR_4 , java.lang.String VAR_5 , java.lang.String VAR_6 ) { TYPE_2 . METHOD_2 ( ) ; return new TYPE_3 ( VAR_1 , null , VAR_3 , VAR_4 , VAR_5 , VAR_6 ) ; }
|
137 | private void METHOD_1 ( android.view.View view ) { if ( ( VAR_1 ) != null ) { VAR_1 . METHOD_2 ( ) ; } <BUG> METHOD_3 ( VAR_2 ) ;</BUG> } | private void METHOD_1 ( android.view.View view ) { if ( ( VAR_1 ) != null ) { VAR_1 . METHOD_2 ( ) ; } if ( ( VAR_2 ) == 0 ) { METHOD_3 ( 0 ) ; } }
|
138 | public static void main ( java.lang.String [ ] args ) { <BUG> new TYPE_1 ( ) . start ( ) ;TYPE_2 VAR_1 = new TYPE_2 ( ) ;VAR_1 . METHOD_1 ( STRING_1 ) ;</BUG> new TYPE_3 ( ) ; } | public static void main ( java.lang.String [ ] args ) { new TYPE_3 ( ) ; }
|
139 | <BUG>public void METHOD_1 ( TYPE_1 VAR_1 ) {java.lang.String VAR_2 = VAR_1 . METHOD_2 ( ) ;java.lang.String VAR_3 = VAR_1 . METHOD_3 ( ) ;TYPE_2 . assertEquals ( VAR_2 , VAR_3 ) ;METHOD_4 ( VAR_4 , VAR_3 , VAR_5 ) ;</BUG> } | public java.lang.String METHOD_1 ( TYPE_1 VAR_1 ) { return METHOD_4 ( VAR_4 , VAR_1 . METHOD_3 ( ) , VAR_5 ) ; }
|
140 | public boolean METHOD_1 ( ) { <BUG> if ( ( VAR_1 ) == true ) {VAR_2 . METHOD_2 ( STRING_1 ) ;return true ;BUG> }</BUG></BUG> <BUG> else {VAR_2 . METHOD_2 ( STRING_2 ) ;</BUG> return false ; } } | public boolean METHOD_1 ( ) { return false ; }
|
141 | <BUG>public void METHOD_1 ( ) {</BUG> VAR_1 . METHOD_2 ( ( ( VAR_1 . METHOD_3 ( ) ) - ( VAR_2 . METHOD_3 ( ) ) ) ) ; } | private void METHOD_1 ( ) { VAR_1 . METHOD_2 ( ( ( VAR_1 . METHOD_3 ( ) ) - ( VAR_2 . METHOD_3 ( ) ) ) ) ; }
|
142 | public void METHOD_1 ( int VAR_1 ) { this . VAR_2 = VAR_1 ; <BUG> VAR_3 . METHOD_2 ( STRING_1 ) ;</BUG> } | public void METHOD_1 ( int VAR_1 ) { this . VAR_2 = VAR_1 ; VAR_3 . METHOD_2 ( ( STRING_1 + VAR_1 ) ) ; }
|
143 | public void METHOD_1 ( ) { if ( ( VAR_1 ) != null ) { VAR_1 . METHOD_2 ( VAR_2 ) ; <BUG> }if ( ( VAR_3 ) != null ) {VAR_3 . METHOD_2 ( ( 1 - ( VAR_2 ) ) ) ;</BUG> } } | public void METHOD_1 ( ) { if ( ( VAR_1 ) != null ) { VAR_1 . METHOD_2 ( VAR_2 ) ; } }
|
144 | <BUG>public static java.lang.String METHOD_1 ( java.lang.String key ) {</BUG> try { <BUG> return TYPE_1 . METHOD_2 ( key , VAR_1 ) ;</BUG> } catch ( TYPE_2 VAR_2 ) { throw new TYPE_3 ( ( ( VAR_1 ) + STRING_1 ) ) ; } } | public static java.lang.String METHOD_1 ( java.lang.String str ) { try { return TYPE_1 . METHOD_2 ( str , VAR_1 ) ; } catch ( TYPE_2 VAR_2 ) { throw new TYPE_3 ( ( ( VAR_1 ) + STRING_1 ) ) ; } }
|
145 | <BUG>public void METHOD_1 ( java.lang.String string ) {</BUG> } | public void METHOD_1 ( java.lang.String className ) { }
|
146 | public TYPE_1 METHOD_1 ( ) { <BUG> super . METHOD_1 ( ) ;</BUG> if ( ( VAR_1 ) != null ) { return VAR_1 . METHOD_2 ( ) . METHOD_1 ( ) ; } <BUG> return null ;</BUG> } | public TYPE_1 METHOD_1 ( ) { if ( ( VAR_1 ) != null ) { return VAR_1 . METHOD_2 ( ) . METHOD_1 ( ) ; } return super . METHOD_1 ( ) ; }
|
147 | public void METHOD_1 ( java.lang.Class < ? extends TYPE_1 > VAR_1 ) { <BUG> this . VAR_2 = VAR_1 ;</BUG> } | public void METHOD_1 ( java.lang.Class < ? extends TYPE_1 > VAR_1 ) { VAR_2 = VAR_1 ; }
|
148 | public TYPE_1 < TYPE_2 > METHOD_1 ( java.lang.String VAR_1 ) { <BUG> return TYPE_3 . METHOD_2 ( VAR_2 . METHOD_3 ( VAR_1 ) ) ;</BUG> } | public TYPE_1 < TYPE_2 > METHOD_1 ( java.lang.String VAR_1 ) { return VAR_2 . METHOD_3 ( VAR_1 ) ; }
|
149 | public void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 . i ( VAR_2 , STRING_1 ) ; <BUG> TYPE_3 . METHOD_2 ( getContext ( ) ) . METHOD_3 ( ) ;</BUG> } | public void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 . i ( VAR_2 , STRING_1 ) ; TYPE_3 . METHOD_2 ( ) . METHOD_3 ( ) ; }
|
150 | public java.lang.Long METHOD_1 ( java.lang.String name , long count ) { java.lang.Long VAR_1 = VAR_2 . get ( name ) ; <BUG> if ( VAR_1 == null ) {VAR_1 = 0L ;}</BUG> return METHOD_2 ( name , VAR_1 , count ) ; } | public java.lang.Long METHOD_1 ( java.lang.String name , long count ) { java.lang.Long VAR_1 = VAR_2 . get ( name ) ; return METHOD_2 ( name , VAR_1 , count ) ; }
|
151 | public TYPE_1 < TYPE_2 , java.lang.Integer > METHOD_1 ( byte [ ] message ) { <BUG> return this . VAR_1 . METHOD_2 ( message ) ;</BUG> } | public TYPE_1 < TYPE_2 , java.lang.Integer > METHOD_1 ( byte [ ] message ) { return this . VAR_1 . METHOD_1 ( message ) ; }
|
152 | public void METHOD_1 ( ) throws java.lang.Exception { METHOD_2 ( ) ; <BUG> TYPE_1 . assertNotNull ( VAR_1 ) ;</BUG> } | public void METHOD_1 ( ) throws java.lang.Exception { METHOD_2 ( ) ; assertNotNull ( VAR_1 ) ; }
|
153 | <BUG>private void METHOD_1 ( ) {</BUG> this . METHOD_2 ( METHOD_3 ( ) . METHOD_4 ( VAR_1 , values . get ( 0 ) ) . METHOD_4 ( VAR_2 , values . get ( 0 ) ) ) ; } | protected void METHOD_1 ( ) { this . METHOD_2 ( METHOD_3 ( ) . METHOD_4 ( VAR_1 , values . get ( 0 ) ) . METHOD_4 ( VAR_2 , values . get ( 0 ) ) ) ; }
|
154 | private java.lang.String METHOD_1 ( ) { <BUG> return ( TYPE_1 . METHOD_2 ( 0 ) ) + STRING_1 ;</BUG> } | private java.lang.String METHOD_1 ( ) { return ( TYPE_1 . METHOD_2 ( ) ) + STRING_1 ; }
|
155 | public void METHOD_1 ( ) { <BUG> VAR_1 . METHOD_2 ( new TYPE_1 ( ) ) ;VAR_1 . METHOD_2 ( new TYPE_2 ( ) ) ;</BUG> } | public void METHOD_1 ( ) { METHOD_2 ( new TYPE_1 ( ) ) ; METHOD_2 ( new TYPE_2 ( ) ) ; }
|
156 | <BUG>public void METHOD_1 ( ) {</BUG> VAR_1 = false ; VAR_2 = new TYPE_1 ( VAR_3 ) ; } | private void METHOD_1 ( ) { VAR_1 = false ; VAR_2 = new TYPE_1 ( VAR_3 ) ; }
|
157 | protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; this . METHOD_2 ( VAR_2 ) ; METHOD_3 ( VAR_3 ) ; METHOD_4 ( ) ; <BUG> METHOD_5 ( ) ;</BUG> } | protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; this . METHOD_2 ( VAR_2 ) ; METHOD_3 ( VAR_3 ) ; METHOD_4 ( ) ; }
|
158 | public void fail ( TYPE_1 VAR_1 ) { <BUG> java.lang.Object id = VAR_1 . getValue ( 0 ) ;synchronized ( VAR_2 ) {( VAR_2 . get ( id ) . VAR_3 ) ++ ;}METHOD_1 ( VAR_1 ) ;</BUG> VAR_4 . fail ( VAR_1 ) ; } | public void fail ( TYPE_1 VAR_1 ) { VAR_4 . fail ( VAR_1 ) ; }
|
159 | protected void METHOD_1 ( ) { super . METHOD_1 ( ) ; TYPE_1 . METHOD_2 ( VAR_1 , STRING_1 ) ; <BUG> TYPE_2 VAR_2 = new TYPE_2 ( ) ;METHOD_3 ( VAR_2 ) ;</BUG> } | protected void METHOD_1 ( ) { super . METHOD_1 ( ) ; TYPE_1 . METHOD_2 ( VAR_1 , STRING_1 ) ; }
|
160 | public void METHOD_1 ( final double VAR_1 ) { <BUG> this . VAR_2 = VAR_1 ;</BUG> this . VAR_1 = VAR_1 ; } | public void METHOD_1 ( final double VAR_1 ) { this . VAR_1 = VAR_1 ; }
|
161 | void METHOD_1 ( ) { double k = 1 / ( VAR_1 ) ; VAR_1 += VAR_2 ; k *= VAR_1 ; <BUG> VAR_3 . METHOD_2 ( k ) ;</BUG> } | void METHOD_1 ( ) { double k = 1 / ( VAR_1 ) ; VAR_1 += VAR_2 ; k *= VAR_1 ; VAR_3 = VAR_3 . METHOD_2 ( k ) ; }
|
162 | private void METHOD_1 ( TYPE_1 VAR_1 , java.lang.String args , java.util.Map < java.lang.String , java.lang.String > VAR_2 ) throws TYPE_2 { <BUG> METHOD_2 ( ) ;</BUG> TYPE_3 VAR_3 = VAR_1 . METHOD_3 ( METHOD_4 ( ) , VAR_4 ) ; VAR_3 . execute ( args , VAR_2 ) ; } | private void METHOD_1 ( TYPE_1 VAR_1 , java.lang.String args , java.util.Map < java.lang.String , java.lang.String > VAR_2 ) throws TYPE_2 { TYPE_3 VAR_3 = VAR_1 . METHOD_3 ( METHOD_4 ( ) , VAR_4 ) ; VAR_3 . execute ( args , VAR_2 ) ; }
|
163 | private void METHOD_1 ( ) { VAR_1 = true ; <BUG> VAR_2 . METHOD_2 ( VAR_3 ) ;</BUG> } | private void METHOD_1 ( ) { VAR_1 = true ; }
|
164 | <BUG>public static boolean METHOD_1 ( java.lang.String filename ) {</BUG> return new java.io.File ( filename ) . METHOD_2 ( ) ; } | private static boolean METHOD_1 ( java.lang.String filename ) { return new java.io.File ( filename ) . METHOD_2 ( ) ; }
|
165 | public void METHOD_1 ( java.util.Random VAR_1 ) { <BUG> this . METHOD_2 ( ) ;</BUG> if ( ( VAR_1 . METHOD_3 ( INT_1 ) ) < ( this . METHOD_4 ( ) ) ) { this . METHOD_2 ( ) ; } } | public void METHOD_1 ( java.util.Random VAR_1 ) { if ( ( VAR_1 . METHOD_3 ( INT_1 ) ) < ( this . METHOD_4 ( ) ) ) { this . METHOD_2 ( ) ; } }
|
166 | protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; int VAR_2 = VAR_3 . METHOD_2 ( ) ; <BUG> TYPE_2 . METHOD_3 ( STRING_1 , ( STRING_2 + VAR_2 ) ) ;</BUG> VAR_1 . METHOD_4 ( STRING_3 , VAR_2 ) ; } | protected void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; int VAR_2 = VAR_3 . METHOD_2 ( ) ; VAR_1 . METHOD_4 ( STRING_3 , VAR_2 ) ; }
|
167 | public void METHOD_1 ( ) { <BUG> METHOD_2 ( ) ;</BUG> if ( ( VAR_1 ) != null ) METHOD_3 ( VAR_1 . METHOD_4 ( ) , VAR_1 . METHOD_5 ( ) ) ; } | public void METHOD_1 ( ) { if ( ( VAR_1 ) != null ) METHOD_3 ( VAR_1 . METHOD_4 ( ) , VAR_1 . METHOD_5 ( ) ) ; }
|
168 | <BUG>public void METHOD_1 ( ) {</BUG> VAR_1 = null ; VAR_2 = null ; for ( int i = 0 ; i < INT_1 ; i ++ ) { VAR_3 [ i ] = null ; } VAR_3 = null ; VAR_4 = null ; VAR_5 = null ; } | private void METHOD_1 ( ) { VAR_1 = null ; VAR_2 = null ; for ( int i = 0 ; i < INT_1 ; i ++ ) { VAR_3 [ i ] = null ; } VAR_3 = null ; VAR_4 = null ; VAR_5 = null ; }
|
169 | public void METHOD_1 ( android.view.View view , int position ) { <BUG> VAR_1 = VAR_2 . get ( position ) ;VAR_3 . METHOD_2 ( VAR_1 ) ;</BUG> } | public void METHOD_1 ( android.view.View view , int position ) { }
|
170 | private void METHOD_1 ( long VAR_1 ) { METHOD_2 ( VAR_2 ) ; METHOD_3 ( VAR_1 ) ; METHOD_3 ( 0L ) ; if ( VAR_1 == ( VAR_3 ) ) { VAR_4 = true ; } } | private void METHOD_1 ( long VAR_1 ) { if ( VAR_1 != 0L ) { METHOD_2 ( VAR_2 ) ; METHOD_3 ( VAR_1 ) ; METHOD_3 ( 0L ) ; if ( VAR_1 == ( VAR_3 ) ) { VAR_4 = true ; } } }
|
171 | <BUG>public static < TYPE_1 > TYPE_2 < TYPE_1 > METHOD_1 ( int VAR_1 , int VAR_2 , TYPE_1 value ) {TYPE_2 < TYPE_1 > VAR_3 = null ;VAR_3 = new TYPE_2 < TYPE_1 > ( VAR_1 , value ) ;</BUG> return VAR_3 ; } | public static < TYPE_1 > TYPE_2 < ? > METHOD_1 ( int VAR_1 , int VAR_2 , TYPE_1 value ) { TYPE_2 < ? > VAR_3 = null ; return VAR_3 ; }
|
172 | <BUG>public int compareTo ( TYPE_1 VAR_1 ) {return this . toString ( ) . compareTo ( VAR_1 . toString ( ) ) ;</BUG> } | public int compareTo ( TYPE_1 obj ) { return this . toString ( ) . compareTo ( obj . toString ( ) ) ; }
|
173 | <BUG>private static void METHOD_1 ( ) {TYPE_1 VAR_1 = ( ( TYPE_1 ) ( TYPE_2 . METHOD_2 ( ) . METHOD_3 ( VAR_2 ) ) ) ;</BUG> VAR_1 . METHOD_4 ( ) ; } | private static void METHOD_1 ( android.content.Context context ) { TYPE_1 VAR_1 = ( ( TYPE_1 ) ( context . METHOD_3 ( VAR_2 ) ) ) ; VAR_1 . METHOD_4 ( ) ; }
|
174 | public void METHOD_1 ( android.view.View VAR_1 ) { <BUG> VAR_2 . METHOD_2 ( ) ;</BUG> VAR_3 . METHOD_3 ( VAR_4 ) ; VAR_5 . setText ( VAR_6 ) ; } | public void METHOD_1 ( android.view.View VAR_1 ) { VAR_3 . METHOD_3 ( VAR_4 ) ; VAR_5 . setText ( VAR_6 ) ; VAR_2 . METHOD_2 ( ) ; }
|
175 | public void METHOD_1 ( final TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; ( this . VAR_2 ) ++ ; <BUG> java.lang.System.out.println ( ( ( ( this ) + STRING_1 ) + ( VAR_2 ) ) ) ;</BUG> } | public void METHOD_1 ( final TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; ( this . VAR_2 ) ++ ; java.lang.System.out.println ( this . VAR_2 ) ; }
|
176 | public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , int VAR_2 , int VAR_3 , int VAR_4 ) { <BUG> return new TYPE_3 ( VAR_1 , VAR_2 , VAR_4 , VAR_3 , VAR_5 ) ;</BUG> } | public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , int VAR_2 , int VAR_3 , int VAR_4 ) { return new TYPE_3 ( VAR_1 , VAR_2 , VAR_3 , VAR_4 , VAR_5 ) ; }
|
177 | public static void METHOD_1 ( java.util.ArrayList < TYPE_1 > VAR_1 ) throws java.lang.Exception { VAR_1 . remove ( 0 ) ; <BUG> java.lang.System.out.println ( STRING_1 ) ;if ( ( VAR_1 . size ( ) ) == 0 ) {throw new java.lang.Exception ( STRING_2 ) ;}</BUG> } | public static void METHOD_1 ( java.util.ArrayList < TYPE_1 > VAR_1 ) throws java.lang.Exception { VAR_1 . remove ( 0 ) ; }
|
178 | public java.lang.String METHOD_1 ( int VAR_1 ) { return VAR_2 [ VAR_1 ] ; } | public java.lang.String METHOD_1 ( int VAR_1 ) { if ( ( VAR_1 < 0 ) || ( VAR_1 >= ( VAR_2 . length ) ) ) return null ; return VAR_2 [ VAR_1 ] ; }
|
179 | public void METHOD_1 ( final java.lang.String VAR_1 ) { <BUG> if ( ! ( name . equals ( VAR_1 ) ) ) {</BUG> VAR_2 . add ( name ) ; VAR_2 . remove ( VAR_1 ) ; name = VAR_1 ; } } | public void METHOD_1 ( final java.lang.String VAR_1 ) { if ( ( null != VAR_1 ) && ( ! ( name . equals ( VAR_1 ) ) ) ) { VAR_2 . add ( name ) ; VAR_2 . remove ( VAR_1 ) ; name = VAR_1 ; } }
|
180 | public void start ( ) { super . start ( ) ; TYPE_1 . start ( VAR_1 ) ; <BUG> TYPE_1 . start ( METHOD_1 ( ) ) ;</BUG> } | public void start ( ) { super . start ( ) ; TYPE_1 . start ( VAR_1 ) ; }
|
181 | <BUG>public static void METHOD_1 ( android.content.Context context , boolean VAR_1 ) {TYPE_1 . start ( context , VAR_2 , VAR_1 ) ;</BUG> } | public static void METHOD_1 ( android.content.Context context ) { TYPE_1 . start ( context , VAR_2 ) ; }
|
182 | public void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; <BUG> ( ( TYPE_2 ) ( VAR_1 ) ) . METHOD_2 ( ) . METHOD_3 ( INT_1 ) ;</BUG> } | public void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; }
|
183 | protected void execute ( ) { TYPE_1 . METHOD_1 ( STRING_1 , true ) ; <BUG> VAR_1 . METHOD_2 ( VAR_2 . METHOD_3 ( 0 ) , VAR_2 . METHOD_3 ( INT_1 ) , VAR_2 . METHOD_3 ( 1 ) , 0 ) ;</BUG> } | protected void execute ( ) { TYPE_1 . METHOD_1 ( STRING_1 , true ) ; VAR_1 . METHOD_2 ( VAR_2 ) ; }
|
184 | public boolean METHOD_1 ( ) { <BUG> return ( ( getView ( ) . METHOD_2 ( ) ) + ( METHOD_3 ( ) ) ) >= ( METHOD_4 ( ) . METHOD_5 ( ) ) ;</BUG> } | public boolean METHOD_1 ( ) { return ( ( getView ( ) . METHOD_2 ( ) ) + ( METHOD_3 ( ) ) ) == ( METHOD_4 ( ) . METHOD_5 ( ) ) ; }
|
185 | public void METHOD_1 ( final int VAR_1 , final TYPE_1 node ) { <BUG> while ( ( VAR_2 . size ( ) ) < VAR_1 ) {</BUG> VAR_2 . add ( null ) ; } VAR_2 . set ( VAR_1 , node ) ; } | public void METHOD_1 ( final int VAR_1 , final TYPE_1 node ) { while ( ( VAR_2 . size ( ) ) <= VAR_1 ) { VAR_2 . add ( null ) ; } VAR_2 . set ( VAR_1 , node ) ; }
|
186 | public int METHOD_1 ( TYPE_1 t , int id ) { <BUG> data . add ( t ) ;return data . size ( ) ;</BUG> } | public int METHOD_1 ( TYPE_1 t , int id ) { data . add ( id , t ) ; return id ; }
|
187 | public void METHOD_1 ( TYPE_1 < java.lang.Void > VAR_1 ) { VAR_2 . METHOD_2 ( ) ; <BUG> TYPE_2 . METHOD_3 ( this , VAR_3 , getIntent ( ) , VAR_2 . METHOD_4 ( ) , VAR_4 , VAR_5 , null ) ;</BUG> } | public void METHOD_1 ( TYPE_1 < java.lang.Void > VAR_1 ) { VAR_2 . METHOD_2 ( ) ; TYPE_2 . METHOD_3 ( this , VAR_3 , null , VAR_2 . METHOD_4 ( ) , VAR_4 , VAR_5 , null ) ; }
|
188 | <BUG>public void METHOD_1 ( TYPE_1 event ) {</BUG> this . VAR_1 = event . METHOD_2 ( ) ; } | private void METHOD_1 ( TYPE_1 event ) { this . VAR_1 = event . METHOD_2 ( ) ; }
|
189 | public TYPE_1 METHOD_1 ( ) { <BUG> if ( ( VAR_1 ) != null ) {</BUG> return VAR_1 ; <BUG><BUG> }</BUG></BUG> <BUG> else {return null ;</BUG> } } | public TYPE_1 METHOD_1 ( ) { return VAR_1 ; }
|
190 | protected TYPE_1 METHOD_1 ( ) { <BUG> return new TYPE_1 ( METHOD_2 ( ) ) ;</BUG> } | protected TYPE_1 METHOD_1 ( ) { return new TYPE_1 ( ) ; }
|
191 | public int METHOD_1 ( ) { <BUG> VAR_1 = 0 ;TYPE_1 VAR_2 = VAR_3 . METHOD_2 ( ) [ 0 ] . METHOD_3 ( ) ;VAR_1 = METHOD_4 ( VAR_2 ) ;</BUG> return VAR_1 ; } | public int METHOD_1 ( ) { return VAR_1 ; }
|
192 | TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) { <BUG> return new TYPE_1 ( VAR_1 , null , null , true , VAR_2 < TYPE_2 , TYPE_3 > METHOD_2 ( ) ) ;</BUG> } | TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) { return new TYPE_1 ( VAR_1 , null , null , true , false , VAR_2 < TYPE_2 , TYPE_3 > METHOD_2 ( ) ) ; }
|
193 | public void METHOD_1 ( ) { try { <BUG> METHOD_2 ( VAR_1 ) ;</BUG> } catch ( TYPE_1 VAR_2 ) { VAR_2 . METHOD_3 ( ) ; } } | public void METHOD_1 ( ) { try { METHOD_2 ( ) ; } catch ( TYPE_1 VAR_2 ) { VAR_2 . METHOD_3 ( ) ; } }
|
194 | public java.util.Map < java.lang.String , TYPE_1 > METHOD_1 ( ) { <BUG> if ( ( VAR_1 ) == ( VAR_2 ) ) {int VAR_3 = ( index . METHOD_2 ( ) ) % ( VAR_4 ) ;return VAR_5 . get ( VAR_3 ) ;}return null ;</BUG> } | public java.util.Map < java.lang.String , TYPE_1 > METHOD_1 ( ) { return this . VAR_5 ; }
|
195 | public void METHOD_1 ( TYPE_1 VAR_1 , int i ) { java.io.File VAR_2 = new java.io.File ( VAR_3 ) ; VAR_2 . METHOD_2 ( file ) ; VAR_4 . METHOD_3 ( ) ; <BUG> VAR_4 . open ( file . METHOD_4 ( ) ) ;</BUG> VAR_3 = null ; } | public void METHOD_1 ( TYPE_1 VAR_1 , int i ) { java.io.File VAR_2 = new java.io.File ( VAR_3 ) ; VAR_2 . METHOD_2 ( file ) ; VAR_4 . METHOD_3 ( ) ; VAR_3 = null ; }
|
196 | private void METHOD_1 ( ) { <BUG> VAR_1 = java.lang.Integer.parseInt ( VAR_2 . getString ( STRING_1 , STRING_2 ) ) ;</BUG> } | private void METHOD_1 ( ) { VAR_1 = java.lang.Integer.parseInt ( VAR_2 . getString ( STRING_1 , "0" ) ) ; }
|
197 | public int [ ] METHOD_1 ( int i ) { <BUG> return VAR_1 . METHOD_2 ( i ) ;</BUG> } | public int [ ] METHOD_1 ( int i ) { return ( VAR_1 ) != null ? VAR_1 . METHOD_2 ( i ) : new int [ 0 ] ; }
|
198 | private static int METHOD_1 ( int n ) { <BUG> return ( ( int ) ( ( TYPE_1 . METHOD_2 ( n ) ) / ( VAR_1 ) ) ) ;</BUG> } | private static int METHOD_1 ( int n ) { return ( ( int ) ( java.lang.Math.round ( ( ( TYPE_1 . METHOD_2 ( n ) ) / ( VAR_1 ) ) ) ) ) ; }
|
199 | private void METHOD_1 ( ) { VAR_1 . setText ( STRING_1 ) ; VAR_2 . METHOD_2 ( ) . METHOD_3 ( ) ; } | private void METHOD_1 ( ) { if ( ! ( error ) ) { VAR_1 . setText ( STRING_1 ) ; } VAR_2 . METHOD_2 ( ) . METHOD_3 ( ) ; }
|