mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 15:52:01 +07:00
[lombok] Remove unused MessageFormat argument
GitOrigin-RevId: 078ea42a00abf92e6b20777a47ee792c4f6dc50a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1c8a9240f7
commit
680c9462df
@@ -119,11 +119,11 @@ class SingularGuavaTableHandler extends SingularMapHandler {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String getOneMethodBody(@NotNull String singularName, @NotNull BuilderInfo info) {
|
protected String getOneMethodBody(@NotNull String singularName, @NotNull BuilderInfo info) {
|
||||||
final String codeBlockTemplate = "if (this.{0} == null) this.{0} = {2}.{3}; \n" +
|
final String codeBlockTemplate = "if (this.{0} == null) this.{0} = {1}.{2}; \n" +
|
||||||
"this.{0}.put(" + LOMBOK_ROW_KEY + ", " + LOMBOK_COLUMN_KEY + ", " + LOMBOK_VALUE + ");\n" +
|
"this.{0}.put(" + LOMBOK_ROW_KEY + ", " + LOMBOK_COLUMN_KEY + ", " + LOMBOK_VALUE + ");\n" +
|
||||||
"return {4};";
|
"return {3};";
|
||||||
|
|
||||||
return MessageFormat.format(codeBlockTemplate, info.getFieldName(), singularName, collectionQualifiedName,
|
return MessageFormat.format(codeBlockTemplate, info.getFieldName(), collectionQualifiedName,
|
||||||
sortedCollection ? "naturalOrder()" : "builder()", info.getBuilderChainResult());
|
sortedCollection ? "naturalOrder()" : "builder()", info.getBuilderChainResult());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user