public void METHOD_1 ( TYPE_1 VAR_1 , TYPE_1 VAR_2 ) { java.util.Iterator < TYPE_1 > iterator = VAR_3 . iterator ( ) ; while ( iterator . METHOD_2 ( ) ) { TYPE_1 VAR_4 = iterator . METHOD_3 ( ) ; if ( VAR_4 . getId ( ) . equals ( VAR_1 . getId ( ) ) ) { iterator . remove ( ) ; } } VAR_3 . add ( VAR_2 ) ; METHOD_4 ( ) ; }

public void METHOD_1 ( TYPE_1 VAR_1 , TYPE_1 VAR_2 ) { for ( final java.util.Iterator < TYPE_1 > iterator = VAR_3 . iterator ( ) ; iterator . METHOD_2 ( ) ; ) { TYPE_1 VAR_4 = iterator . METHOD_3 ( ) ; if ( VAR_4 . getId ( ) . equals ( VAR_1 . getId ( ) ) ) { iterator . remove ( ) ; } } VAR_3 . add ( VAR_2 ) ; METHOD_4 ( ) ; }
