Commit 74ccd488 authored by Sabine Teufl's avatar Sabine Teufl
Browse files

name changed to title

refs 949
parent 3a17aada
......@@ -32,7 +32,7 @@ import org.fortiss.af3.mira.utils.MiraUtils;
* @author mou
* @author $Author$
* @version $Rev$
* @ConQAT.Rating GREEN Hash: 04F64A09434F3C6171B080BAD087E44B
* @ConQAT.Rating YELLOW Hash: C709175CC5A7F87BFAF0000B69D75023
*/
public class ConstraintMessage {
......@@ -48,7 +48,7 @@ public class ConstraintMessage {
public static RequirementConstraintViolation<Requirement> createSameNameViolation(
Requirement req1, Requirement req2) {
return new RequirementConstraintViolation<Requirement>(req1,
"%s and %s have both the same name: %s (E2.1)", getRequirementShortInfo(req1),
"%s and %s have both the same title: %s (E2.1)", getRequirementShortInfo(req1),
getRequirementShortInfo(req2), req1.getName());
}
......@@ -56,7 +56,7 @@ public class ConstraintMessage {
public static RequirementConstraintViolation<Requirement> createSameNameAndActorsViolation(
Requirement req1, Requirement req2) {
return new RequirementConstraintViolation<Requirement>(req1,
"%s and %s have both the same name: %s and the same actors (E2.2)",
"%s and %s have both the same title: %s and the same actors (E2.2)",
getRequirementShortInfo(req1), getRequirementShortInfo(req2), req1.getName());
}
......@@ -93,7 +93,7 @@ public class ConstraintMessage {
/** Creates the violation for requirements without name. */
public static RequirementConstraintViolation<Requirement> createEmtpyNameViolation(
Requirement req) {
return new RequirementConstraintViolation<Requirement>(req, "%s has no name (E1.4)",
return new RequirementConstraintViolation<Requirement>(req, "%s has no title (E1.4)",
MiraUtils.getRequirementShortInfo(req));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment