public void init ( java.util.List < TYPE_1 > keys ) { <BUG> VAR_1 . METHOD_1 ( ) ;</BUG> for ( TYPE_1 key : keys ) { <BUG> VAR_1 . add ( new TYPE_2 ( key ) ) ;</BUG> } }
public void init ( java.util.List < TYPE_1 > keys ) { java.util.List < TYPE_2 > list = new java.util.ArrayList < > ( ) ; for ( TYPE_1 key : keys ) { list . add ( new TYPE_2 ( key ) ) ; } VAR_1 = list ; } 
