[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:
Andrey.Cherkasov
2022-02-18 04:21:24 +00:00
committed by intellij-monorepo-bot
parent de493220dc
commit 76de5537bb
4 changed files with 4 additions and 4 deletions
@@ -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,4 +1,4 @@
// "Remove local variable syntax" "true"
// "Remove 'var'" "true"
import java.util.function.Function;
class Main {
@@ -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'