Open KohGuanZeh opened 2 months ago
Thank you for the report, but we believe the sequence diagram is correct. In Java, enums are classes. Our application makes a call to the static Enum::valueOf
method, hence the distinction between the CommandType
and type:CommandType
.
Morever, this has been supported by Prof Damith in https://github.com/nus-cs2103-AY2324S2/forum/issues/570.
Team chose [response.Rejected
]
Reason for disagreement: [replace this with your explanation]
Enumeration is treated as a class when it should instead be a value.
An enumeration should not be instantiated.