mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Minor performance optimization.
Change-Id: I8c93a9b5347f58670ed4f87296ecd5e45429158d
This commit is contained in:
parent
2356a29c70
commit
6ff4be3caa
1 changed files with 2 additions and 0 deletions
|
@ -156,6 +156,8 @@ public class InternalParserUtil extends ParserFactory {
|
|||
long fileReadTime = System.currentTimeMillis();
|
||||
IFileStore store = EFS.getStore(file.getLocationURI());
|
||||
IFileInfo fileInfo = store.fetchInfo();
|
||||
if (!fileInfo.exists())
|
||||
return null;
|
||||
input= file.getContents(true);
|
||||
if (input instanceof FileInputStream) {
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue