mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 15:52:01 +07:00
Remove unused messageFormat parameter
GitOrigin-RevId: 8322a90c6e49a74ac82ae508e6451e00b2803f8a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
229eff0461
commit
0fc65e532b
@@ -64,11 +64,11 @@ class SingularGuavaMapHandler 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_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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user