public boolean update ( int id , TYPE_1 item ) { VAR_1 . METHOD_1 ( ) ; TYPE_2 query = VAR_1 . METHOD_2 ( VAR_2 ) ; query . METHOD_3 ( "name" , item . getName ( ) ) . METHOD_3 ( STRING_1 , item . METHOD_4 ( ) ) ; int result = query . METHOD_5 ( ) ; VAR_1 . METHOD_6 ( ) . commit ( ) ; return result > 0 ; }

public boolean update ( int id , TYPE_1 item ) { VAR_1 . METHOD_1 ( ) ; TYPE_2 query = VAR_1 . METHOD_2 ( VAR_2 ) ; query . METHOD_3 ( "name" , item . getName ( ) ) . METHOD_3 ( STRING_1 , item . METHOD_4 ( ) ) . METHOD_3 ( "id" , id ) ; int result = query . METHOD_5 ( ) ; VAR_1 . METHOD_6 ( ) . commit ( ) ; return result > 0 ; }
