java: drop duplicated property declaration

GitOrigin-RevId: 4ecd5ee80d1f743855458dba2d1bbbd28b835932
This commit is contained in:
Dmitry Batkovich
2025-04-13 15:15:41 +00:00
committed by intellij-monorepo-bot
parent 97840b8c75
commit 26fa2e4612
2 changed files with 2 additions and 3 deletions
@@ -7,7 +7,7 @@ import com.intellij.codeInsight.completion.CompletionType;
import com.intellij.codeInsight.completion.JavaClassReferenceCompletionContributor;
import com.intellij.codeInsight.completion.command.CommandCompletionFactoryKt;
import com.intellij.codeInsight.editorActions.smartEnter.JavaSmartEnterProcessor;
import com.intellij.java.JavaBundle;
import com.intellij.core.JavaPsiBundle;
import com.intellij.java.syntax.parser.JavaKeywords;
import com.intellij.openapi.command.CommandProcessor;
import com.intellij.openapi.editor.Document;
@@ -52,7 +52,7 @@ public final class JavaTypedHandler extends AbstractBasicJavaTypedHandler {
@Override
protected @NotNull Result processWhileAndIfStatementBody(@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file) {
CommandProcessor.getInstance().executeCommand(project, () -> new JavaSmartEnterProcessor().process(project, editor, file),
JavaBundle.message("command.name.insert.block.statement"), null);
JavaPsiBundle.message("command.name.insert.block.statement"), null);
return Result.STOP;
}
@@ -138,7 +138,6 @@ code.style.generation.use.integer.sum=Use Integer::sum, etc. when possible
combobox.paste.insert.imports=&Insert imports on paste:
command.create.class.from.template=Create Class From Template
command.create.new.subdirectory=Create New Subdirectory
command.name.insert.block.statement=Insert Block Statement
command.name.updating.package.statement=Updating package statement
comment.the.class.will.be.created.in.the.package.0=The class will be created in the package ''{0}''
completion.class.name.hint.2=Press {0} once more to ignore module dependencies while searching