From a179f7e74dec0e7cc3d7cd0b2f64fb05904140f2 Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Fri, 25 May 2018 14:34:22 +0300 Subject: [PATCH] removed deprecated --- .../com/intellij/openapi/command/WriteCommandAction.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/platform/core-api/src/com/intellij/openapi/command/WriteCommandAction.java b/platform/core-api/src/com/intellij/openapi/command/WriteCommandAction.java index 5f5a58fa8dc1..a32a68723977 100644 --- a/platform/core-api/src/com/intellij/openapi/command/WriteCommandAction.java +++ b/platform/core-api/src/com/intellij/openapi/command/WriteCommandAction.java @@ -366,12 +366,4 @@ public abstract class WriteCommandAction extends BaseActionRunnable { public static T runWriteCommandAction(Project project, @NotNull final ThrowableComputable computable) throws E { return writeCommandAction(project).compute(computable); } - - // - /** @deprecated use {@link FileModificationService#preparePsiElementsForWrite(Collection)} (to be removed in IDEA 2018) */ - @SuppressWarnings("unused") - public static boolean ensureFilesWritable(@NotNull Project project, @NotNull Collection psiFiles) { - return FileModificationService.getInstance().preparePsiElementsForWrite(psiFiles); - } - // } \ No newline at end of file