[lombok] Remove unused MessageFormat argument

GitOrigin-RevId: 078ea42a00abf92e6b20777a47ee792c4f6dc50a
This commit is contained in:
Tagir Valeev
2024-06-29 11:07:52 +02:00
committed by intellij-monorepo-bot
parent 1c8a9240f7
commit 680c9462df

View File

@@ -119,11 +119,11 @@ class SingularGuavaTableHandler extends SingularMapHandler {
@Override
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" +
"return {4};";
"return {3};";
return MessageFormat.format(codeBlockTemplate, info.getFieldName(), singularName, collectionQualifiedName,
return MessageFormat.format(codeBlockTemplate, info.getFieldName(), collectionQualifiedName,
sortedCollection ? "naturalOrder()" : "builder()", info.getBuilderChainResult());
}