Syntax errors message error in Class Diagram

Hi all,
when I try to define an input parameter with generic type (as in Java language) within a method, VP displays the following message:
CANNOT CONFIRM EDIT BECAUSE THERE ARE SYNTAX ERRORS IN TEXT

What I’m trying to draw is a class with a method like the following:

+findByParameters(Map<String,String>:params):List.

Is this possible?

Hello sceamaster,

Your problem is caused by you have swapped the position of the parameter name and type. It should be +operation2(params : Map<String, String>) : List. Feel free to contact me if you require any further information.

Best regards,
Rain

Thanks rain,
and sorry for my misunderstanding about parameters declaration.
it’s not a VP problem.

No problem. Feel free to post again if you have any questions. :slight_smile: :slight_smile: