remove unnecessary ecs dependence

This commit is contained in:
Jakub Valtar
2016-04-29 01:24:29 +02:00
parent a8eb88ec94
commit a83f957856

View File

@@ -302,11 +302,6 @@ public class JavaTextAreaPainter extends TextAreaPainter
* @param x
*/
protected void paintErrorLine(Graphics gfx, int line, int x) {
ErrorCheckerService ecs = getJavaEditor().getErrorChecker();
if (ecs == null || ecs.latestResult.problems.isEmpty()) {
return;
}
LineMarker marker = getJavaEditor().findError(line);
if (marker != null) {
Problem problem = marker.getProblem();