diff --git a/java/java-impl/src/com/intellij/refactoring/introduceVariable/IntroduceVariableBase.java b/java/java-impl/src/com/intellij/refactoring/introduceVariable/IntroduceVariableBase.java index fc781c3e5c1a..fcd94939085a 100644 --- a/java/java-impl/src/com/intellij/refactoring/introduceVariable/IntroduceVariableBase.java +++ b/java/java-impl/src/com/intellij/refactoring/introduceVariable/IntroduceVariableBase.java @@ -1259,8 +1259,6 @@ public abstract class IntroduceVariableBase extends IntroduceHandlerBase { } static class OccurrencesInfo { - static final boolean CHAIN_ALLOWED = Registry.is("java.extract.variable.chaining.method"); - List myOccurrences; List myNonWrite; boolean myCantReplaceAll; @@ -1284,7 +1282,7 @@ public abstract class IntroduceVariableBase extends IntroduceHandlerBase { } } myHasWriteAccess = myOccurrences.size() > myNonWrite.size() && myOccurrences.size() > 1; - myChainMethodName = CHAIN_ALLOWED ? getChainCallExtractor() : null; + myChainMethodName = getChainCallExtractor(); } private String getChainCallExtractor() { diff --git a/platform/util/resources/misc/registry.properties b/platform/util/resources/misc/registry.properties index 72f76f761992..d0edff6c51b2 100644 --- a/platform/util/resources/misc/registry.properties +++ b/platform/util/resources/misc/registry.properties @@ -1068,10 +1068,6 @@ JavaScript.WebPack.With.JsonSchema.description=Use JSON-Schema powered support f ide.diagnostics.suggest.sending.all.attachments=false ide.diagnostics.suggest.sending.all.attachments.description=Suggest the user to send all error attachments by default -java.extract.variable.chaining.method=true -java.extract.variable.chaining.method.description=Allows "Extract variable" to create separate call chain step -java.extract.variable.chaining.method.restartRequired=true - performance.watcher.unresponsive.interval.ms=5000 performance.watcher.unresponsive.interval.ms.description=Maximum time in ms for UI freezes. If UI thread freezes longer the thread dump will be logged