avoid AST parsing when no project is around, does not make any sense

This commit is contained in:
Martin Lippert
2018-01-15 12:17:48 +01:00
parent 1e6f9a25f4
commit 4be3240447

View File

@@ -117,14 +117,8 @@ public final class CompilationUnitCache {
Log.log(e);
}
}
} else {
try {
return requestor.apply(parse(document, null));
} catch (Exception e) {
Log.log(e);
}
}
return requestor.apply(null);
}