private void METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 ... VAR_2 ) throws TYPE_3 { for ( TYPE_2 VAR_3 : VAR_2 ) { VAR_3 . METHOD_2 ( ) ; } VAR_1 . METHOD_2 ( ) ; }
private void METHOD_1 ( boolean commit , TYPE_1 VAR_1 , TYPE_2 ... VAR_2 ) throws TYPE_3 { if ( commit ) VAR_1 . commit ( ) ; for ( TYPE_2 VAR_3 : VAR_2 ) { VAR_3 . METHOD_2 ( ) ; } VAR_1 . METHOD_2 ( ) ; }