mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-intentions] RemoveRedundantLambdaParameterTypesFix: change the text shown in the quick-fix popup
IJ-CR-20911 IDEA-256074 GitOrigin-RevId: 3b80041a212f75d78438d448027038d6ab06c7ea
This commit is contained in:
committed by
intellij-monorepo-bot
parent
de493220dc
commit
76de5537bb
+1
-1
@@ -71,7 +71,7 @@ public class JavaFutureKeywordUseFixProvider extends UnresolvedReferenceQuickFix
|
||||
if (lambdaExpression == null) return;
|
||||
registrar.register(PriorityIntentionActionWrapper.highPriority(
|
||||
QuickFixFactory.getInstance().createRemoveRedundantLambdaParameterTypesFix(lambdaExpression, JavaBundle.message(
|
||||
"quickfix.family.remove.local.variable.syntax"))));
|
||||
"remove.var.keyword.text"))));
|
||||
}
|
||||
|
||||
private static void registerSetVariableTypeFix(PsiElement parent, @NotNull QuickFixActionRegistrar registrar) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Remove local variable syntax" "true"
|
||||
// "Remove 'var'" "true"
|
||||
import java.util.function.Function;
|
||||
|
||||
class Main {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Remove local variable syntax" "true"
|
||||
// "Remove 'var'" "true"
|
||||
import java.util.function.Function;
|
||||
|
||||
class Main {
|
||||
|
||||
@@ -1126,7 +1126,6 @@ quickfix.family.find.cause=Find cause
|
||||
quickfix.family.remove.javadoc.tag=Remove tag
|
||||
quickfix.family.remove.redundant.parameter=Remove redundant parameter
|
||||
quickfix.family.remove.redundant.parameter.types=Remove redundant parameter types
|
||||
quickfix.family.remove.local.variable.syntax=Remove local variable syntax
|
||||
quickfix.family.replace.cast.type=Replace cast type
|
||||
quickfix.family.replace.inefficient.stream.count=Replace inefficient Stream.count()
|
||||
quickfix.family.replace.optional.chain.with.if.statements=Replace Optional chain with if statements
|
||||
@@ -1738,3 +1737,4 @@ introduce.parameter.inlay.tooltip.delegate=Delegate via overloading method
|
||||
introduce.parameter.advertisement.text=Press {0} to delegate via overloading method or {1} to show more options
|
||||
progress.title.collect.method.overriders=Collect method overriders...
|
||||
unresolved.class.reference.repair.message=Try to resolve class reference
|
||||
remove.var.keyword.text=Remove 'var'
|
||||
|
||||
Reference in New Issue
Block a user