Skip to content

Commit 74ab952

Browse files
Update formatting in RPC generator
1 parent b22f117 commit 74ab952

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

generator/templates/function_template.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{%- block params %}
44
{%- if params is defined %}
55
{%- for p in params %}
6-
{%- if p.origin not in ('success', 'resultCode', 'info') or kind != "response" %}{% set see, deprecated, since, history, spacing, begin, end, prefix = p.see, p.deprecated, p.since, p.history, ' ', '/**', '*/', ' * ' %}
6+
{%- if p.origin not in ('success', 'resultCode', 'info') or kind != "response" %}{% set see, deprecated, since, history, spacing, begin, end, prefix = p.see, p.deprecated, p.since, p.history, ' ', '/**', ' */', ' * ' %}
77
{%- include "javadoc_version_info.java" %}
88
{%- if p.deprecated is not none %}
99
@Deprecated

generator/templates/javadoc_version_info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
{{spacing}}{{prefix}}@see {{see}}
1515
{%- endif %}
1616
{%- if end is defined %}
17-
{{spacing}} {{end}}
17+
{{spacing}}{{end}}
1818
{%- endif %}
1919
{%- endif %}

generator/templates/struct_template.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{%- block params %}
44
{%- if params is defined %}
5-
{%- for p in params %}{% set see, deprecated, since, history, spacing, begin, end, prefix = p.see, p.deprecated, p.since, p.history, ' ', '/**', '*/', ' * ' %}
5+
{%- for p in params %}{% set see, deprecated, since, history, spacing, begin, end, prefix = p.see, p.deprecated, p.since, p.history, ' ', '/**', ' */', ' * ' %}
66
{%- include "javadoc_version_info.java" %}
77
{%- if p.deprecated is not none %}
88
@Deprecated

0 commit comments

Comments
 (0)