Project

General

Profile

Bug #2420

MIRA: Strange code in ID generation of requirement

Added by Anonymous about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
08/24/2015
Due date:
% Done:

100%

Estimated time:

Description

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)

History

#1 Updated by Anonymous about 5 years ago

  • Status changed from New to Resolved
  • Assignee changed from Anonymous to Anonymous
  • % Done changed from 0 to 90

#2 Updated by Anonymous about 5 years ago

  • Status changed from Resolved to Closed

Looks OK

#3 Updated by Anonymous about 5 years ago

  • % Done changed from 90 to 100

Also available in: Atom PDF