} else if (issue.getSeverity() == Severity.WARNING) {
hasWarnings = true;
}
}
}
<BUG>return hasWarnings?Severity.WARNING:null;
}</BUG>
private void postImageChange(final XtextEditor xtextEditor, final Image newImage) {
Shell shell = xtextEditor.getEditorSite().getShell();
if (shell != null && !shell.isDisposed()) {

} else if (issue.getSeverity() == Severity.WARNING) {
hasWarnings = true;
}
}
}
return hasWarnings?Severity.WARNING:null;
}
return null;
}
private void postImageChange(final XtextEditor xtextEditor, final Image newImage) {
Shell shell = xtextEditor.getEditorSite().getShell();
if (shell != null && !shell.isDisposed()) {
