mirror of
https://github.com/1C-Company/v8-code-style.git
synced 2024-12-01 02:32:18 +02:00
G5V8DT-23853 Зависание EDT при редактировании модуля (проверка Xтекст)
правки по ревью
This commit is contained in:
parent
438bf6778c
commit
434017e166
@ -13,6 +13,7 @@
|
||||
package com.e1c.v8codestyle.bsl.check;
|
||||
|
||||
import static com._1c.g5.v8.dt.bsl.model.BslPackage.Literals.METHOD;
|
||||
import static org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS;
|
||||
|
||||
import java.text.MessageFormat;
|
||||
import java.util.List;
|
||||
@ -245,8 +246,7 @@ public final class RedundantExportMethodCheck
|
||||
|
||||
ResourceSet resourceSet = new ResourceSetImpl();
|
||||
//special ResourceSet for checking by saved modules
|
||||
resourceSet.getLoadOptions()
|
||||
.put(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS, Boolean.TRUE);
|
||||
resourceSet.getLoadOptions().put(PERSISTED_DESCRIPTIONS, Boolean.TRUE);
|
||||
|
||||
IResourceDescriptions indexData = resourceDescriptionsProvider.getResourceDescriptions(resourceSet);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user