From 2d84e6c1080ea2c90d8614d8a4431f32f93ff95c Mon Sep 17 00:00:00 2001 From: "Anna.Kozlova" Date: Fri, 28 Oct 2016 17:57:48 +0200 Subject: [PATCH] EA-90808 - E: BaseRefactoringProcessor.run --- .../codeInsight/intention/impl/EncapsulateFieldAction.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/java/java-impl/src/com/intellij/codeInsight/intention/impl/EncapsulateFieldAction.java b/java/java-impl/src/com/intellij/codeInsight/intention/impl/EncapsulateFieldAction.java index 18ca4f74e301..cf1a127cb6ee 100644 --- a/java/java-impl/src/com/intellij/codeInsight/intention/impl/EncapsulateFieldAction.java +++ b/java/java-impl/src/com/intellij/codeInsight/intention/impl/EncapsulateFieldAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2012 JetBrains s.r.o. + * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -85,4 +85,9 @@ public class EncapsulateFieldAction extends BaseRefactoringIntentionAction { } return (PsiField)resolved; } + + @Override + public boolean startInWriteAction() { + return false; + } } \ No newline at end of file