Merge pull request #579 from FStolte/typo

Fixed a typo in XtextValidator
This commit is contained in:
Christian Dietrich 2017-12-13 11:00:05 +01:00 committed by GitHub
commit 58077a7022
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1084,7 +1084,7 @@ public class XtextValidator extends AbstractDeclarativeValidator {
if (keyword.getValue() != null && !(keyword.eContainer() instanceof EnumLiteralDeclaration)
&& !(GrammarUtil.containingRule(keyword) instanceof TerminalRule)) {
if (keyword.getValue().contains(" ") || keyword.getValue().contains("\t")) {
addIssue("A keyword should non contain spaces.",
addIssue("A keyword should not contain spaces.",
keyword,
null,
SPACES_IN_KEYWORD);