From 434017e16696d4aa7a1c43d3aeec17c2ac2f68a9 Mon Sep 17 00:00:00 2001 From: Dzyuba Maksim Date: Mon, 3 Jul 2023 11:30:03 +0300 Subject: [PATCH] =?UTF-8?q?G5V8DT-23853=20=D0=97=D0=B0=D0=B2=D0=B8=D1=81?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=B5=20EDT=20=D0=BF=D1=80=D0=B8=20=D1=80?= =?UTF-8?q?=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D0=B8=20=D0=BC=D0=BE=D0=B4=D1=83=D0=BB=D1=8F=20(?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B0=20X=D1=82?= =?UTF-8?q?=D0=B5=D0=BA=D1=81=D1=82)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit правки по ревью --- .../e1c/v8codestyle/bsl/check/RedundantExportMethodCheck.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/com.e1c.v8codestyle.bsl/src/com/e1c/v8codestyle/bsl/check/RedundantExportMethodCheck.java b/bundles/com.e1c.v8codestyle.bsl/src/com/e1c/v8codestyle/bsl/check/RedundantExportMethodCheck.java index 353fab53..0ef05ecc 100644 --- a/bundles/com.e1c.v8codestyle.bsl/src/com/e1c/v8codestyle/bsl/check/RedundantExportMethodCheck.java +++ b/bundles/com.e1c.v8codestyle.bsl/src/com/e1c/v8codestyle/bsl/check/RedundantExportMethodCheck.java @@ -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);