public void METHOD_1 ( TYPE_1 VAR_1 ) { for ( TYPE_2 node : nodes ) { VAR_1 . METHOD_2 ( ) . add ( node ) ; } }
public void METHOD_1 ( TYPE_1 VAR_1 ) { for ( TYPE_2 node : nodes ) { if ( ! ( VAR_1 . METHOD_2 ( ) . contains ( node ) ) ) { VAR_1 . METHOD_2 ( ) . add ( node ) ; } } }