Skip to content
Snippets Groups Projects
Commit 3e80ff0e authored by Dominique Marcadet's avatar Dominique Marcadet
Browse files

Merge branch '8-update-to-change-in-scl-metamodel' into 'master'

Resolve "update to change in SCL metamodel"

Closes #8

See merge request RiseClipseGroup/RiseClipseValidator_SCL2003!8
parents c42a2641 88d6320a
No related branches found
No related tags found
1 merge request!8Resolve "update to change in SCL metamodel"
Pipeline #1252 passed
......@@ -135,7 +135,7 @@ public class AnyLNValidator {
Diagnostic.ERROR,
RiseClipseValidatorSCL.DIAGNOSTIC_SOURCE,
0,
"DO " + doi + " cannot appear more than once in LN at line " + doi.getAnyLN().getLineNumber(),
"DO " + doi + " cannot appear more than once in LN at line " + doi.getParentAnyLN().getLineNumber(),
new Object[] { doi } ));
return false;
}
......@@ -146,7 +146,7 @@ public class AnyLNValidator {
Diagnostic.ERROR,
RiseClipseValidatorSCL.DIAGNOSTIC_SOURCE,
0,
"DO " + doi + " is forbidden in LN at line " + doi.getAnyLN().getLineNumber(),
"DO " + doi + " is forbidden in LN at line " + doi.getParentAnyLN().getLineNumber(),
new Object[] { doi } ));
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment