MIRA: Strange code in ID generation of requirement
In MiraUtils.checkAndSetNewReqID there is some code that I do not understand:
if(reqID.equals(“New Requirement”) || reqID.equals(“New Use Case”)) {
if(newReq instanceof UseCase)
reqID = “New Use Case”;
if(newReq instanceof InterfaceBehaviour)
reqID = “New Interface Behaviour”;
newReq.setReqId(reqID);
return;
}
a) Please comment it, if it is necessary
b) Please check spelling if it is necessary (big letters and small
letters)
(from redmine: issue id 2420, created on 2015-08-24, closed on 2015-09-02)