public TYPE_1 METHOD_1 ( TYPE_2 id ) { TYPE_1 result = null ; for ( TYPE_1 VAR_1 : VAR_2 ) { if ( id . equals ( VAR_1 . getId ( ) ) ) { result = VAR_1 ; break ; } } return result ; } 

public TYPE_1 METHOD_1 ( TYPE_2 id ) { TYPE_1 result = null ; for ( TYPE_1 VAR_1 : VAR_2 ) { if ( VAR_1 . getId ( ) . equals ( id ) ) { result = VAR_1 ; break ; } } return result ; } 
