private void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 state = VAR_2 . get ( VAR_1 . getId ( ) ) ; METHOD_2 ( VAR_1 . getId ( ) , state ) ; }
private void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 state = VAR_2 . get ( VAR_1 . getId ( ) ) ; if ( state == null ) { state = new TYPE_2 ( 1 ) ; } METHOD_2 ( VAR_1 . getId ( ) , state ) ; }