[validation] set the issue code even for plain diagnostics

https://bugs.eclipse.org/bugs/show_bug.cgi?id=369179
This commit is contained in:
Jan Koehnlein 2012-04-19 11:47:05 +02:00
parent 08c019acef
commit 293185e436

View file

@ -89,6 +89,7 @@ public class DiagnosticConverterImpl implements IDiagnosticConverter {
} else {
// default to FAST
issue.setType(CheckType.FAST);
issue.setCode(diagnostic.getSource() + "." + diagnostic.getCode());
}
// marker.put(IXtextResourceChecker.DIAGNOSTIC_KEY, diagnostic);