Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
AF3
Commits
74ccd488
Commit
74ccd488
authored
Aug 10, 2012
by
Sabine Teufl
Browse files
name changed to title
refs 949
parent
3a17aada
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.mira/trunk/src/org/fortiss/af3/mira/verification/ConstraintMessage.java
View file @
74ccd488
...
...
@@ -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
nam
e: %s (E2.1)"
,
getRequirementShortInfo
(
req1
),
"%s and %s have both the same
titl
e: %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
nam
e: %s and the same actors (E2.2)"
,
"%s and %s have both the same
titl
e: %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
nam
e (E1.4)"
,
return
new
RequirementConstraintViolation
<
Requirement
>(
req
,
"%s has no
titl
e (E1.4)"
,
MiraUtils
.
getRequirementShortInfo
(
req
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment