Commit 4d766fea authored by Daniel Ratiu's avatar Daniel Ratiu
Browse files

small improvements of the message

refs 884
parent 6f42ebb4
......@@ -29,7 +29,7 @@ import org.fortiss.tooling.kernel.extension.base.ConstraintViolationBase;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: D55B5CB814ED2E5CC6408CF4FC68A492
* @ConQAT.Rating YELLOW Hash: CD72BAF25CB0AC0DB0D44CB862456681
*/
final class ConstraintMessage {
......@@ -62,6 +62,7 @@ final class ConstraintMessage {
TransitionSegment segment, StateAutomaton automaton) {
return new ConstraintViolationBase<TransitionSegment>(segment, ERROR, "Transition " +
segment.getName() + " in automaton of component " +
automaton.getComponent().getName() + " has not connected to atomic state.");
automaton.getComponent().getName() +
" has a terminating connection point in a non-atomic state.");
}
}
......@@ -40,7 +40,7 @@ import org.fortiss.tooling.kernel.extension.data.IConstraintViolation;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 2712669752170D82A55D4EBB35425721
* @ConQAT.Rating YELLOW Hash: 5B6D97C957039BECA204AC354951C6D4
*/
public class StateAutomatonConstraintChecker extends ConstraintCheckerBase<StateAutomaton> {
......@@ -61,7 +61,7 @@ public class StateAutomatonConstraintChecker extends ConstraintCheckerBase<State
return result;
}
/** Checks that no chain of transistion segments ends or starts in a non-atomic state. */
/** Checks that no chain of transition segments ends or starts in a non-atomic state. */
private void doLooseTransitionSegmentCheck(StateAutomaton modelElement,
List<IConstraintViolation<? extends EObject>> result) {
for(Iterator<EObject> iter = modelElement.eAllContents(); iter.hasNext();) {
......
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