From: Vladimir Plyashkun Date: Mon, 25 Sep 2017 10:12:45 +0000 (+0300) Subject: Merge branch 'master' into vplyashkun/valgrind X-Git-Tag: clion/181.357~2^2~5 X-Git-Url: https://git.jetbrains.org/?p=idea%2Fcommunity.git;a=commitdiff_plain;h=ae187b7fc867815d865a030173cc4189d61dd958 Merge branch 'master' into vplyashkun/valgrind --- ae187b7fc867815d865a030173cc4189d61dd958 diff --cc platform/lang-impl/src/com/intellij/codeInspection/ex/GlobalInspectionContextImpl.java index 9633d51f64f5,6216db8bb7f3..f28d50c6ad66 --- a/platform/lang-impl/src/com/intellij/codeInspection/ex/GlobalInspectionContextImpl.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ex/GlobalInspectionContextImpl.java @@@ -1021,10 -1030,10 +1030,10 @@@ public class GlobalInspectionContextImp }, ModalityState.defaultModalityState()); return; } - + Runnable runnable = () -> { if (!FileModificationService.getInstance().preparePsiElementsForWrite(files)) return; - CleanupInspectionIntention.applyFixesNoSort(getProject(), "Code Cleanup", descriptors, null); + CleanupInspectionIntention.applyFixesNoSort(getProject(), "Code Cleanup", descriptors, null, false); if (postRunnable != null) { postRunnable.run(); }