mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ChainCallInplaceIntroducer: registry key removed (unconditional now)
This commit is contained in:
+1
-3
@@ -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<PsiExpression> myOccurrences;
|
||||
List<PsiExpression> 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() {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user