Skip to content

Commit

Permalink
[lang] Fixing invalid warning message for override keywords.
Browse files Browse the repository at this point in the history
close #518

Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Oct 14, 2016
1 parent b73a064 commit ccad8ea
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1219,7 +1219,7 @@ protected void doCheckFunctionOverrides(EObject sourceElement, IResolvedOperatio
final SarlAction function = (SarlAction) sourceElement;
if (!overrideProblems && !function.isOverride() && !function.isStatic()
&& !isIgnored(MISSING_OVERRIDE, sourceElement)) {
warning(MessageFormat.format(Messages.SARLValidator_15,
warning(MessageFormat.format(Messages.SARLJavaValidator_15,
resolved.getSimpleSignature(),
getDeclaratorName(resolved)),
function,
Expand Down

0 comments on commit ccad8ea

Please sign in to comment.