diff options
author | Bilal Alsharifi <bilal.alsharifi@gmail.com> | 2020-08-21 16:26:13 -0400 |
---|---|---|
committer | Bilal Alsharifi <bilal.alsharifi@gmail.com> | 2020-08-21 16:26:13 -0400 |
commit | 74ab95256ff3d676aab456edcbb0b4cb496a5450 (patch) | |
tree | a450d5cc2ec25e9fbb68646405163c808f00c8a0 | |
parent | b22f1173aa596fbcbd5cfa4cdf0f9a0ca302e7ca (diff) | |
download | sdl_android-74ab95256ff3d676aab456edcbb0b4cb496a5450.tar.gz |
Update formatting in RPC generator
-rw-r--r-- | generator/templates/function_template.java | 2 | ||||
-rw-r--r-- | generator/templates/javadoc_version_info.java | 2 | ||||
-rw-r--r-- | generator/templates/struct_template.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/generator/templates/function_template.java b/generator/templates/function_template.java index 6ed645e4f..1d95cdc40 100644 --- a/generator/templates/function_template.java +++ b/generator/templates/function_template.java @@ -3,7 +3,7 @@ {%- block params %} {%- if params is defined %} {%- for p in params %} - {%- 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, ' ', '/**', '*/', ' * ' %} + {%- 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, ' ', '/**', ' */', ' * ' %} {%- include "javadoc_version_info.java" %} {%- if p.deprecated is not none %} @Deprecated diff --git a/generator/templates/javadoc_version_info.java b/generator/templates/javadoc_version_info.java index 163fd7e32..a6c34467c 100644 --- a/generator/templates/javadoc_version_info.java +++ b/generator/templates/javadoc_version_info.java @@ -14,6 +14,6 @@ {{spacing}}{{prefix}}@see {{see}} {%- endif %} {%- if end is defined %} -{{spacing}} {{end}} +{{spacing}}{{end}} {%- endif %} {%- endif %}
\ No newline at end of file diff --git a/generator/templates/struct_template.java b/generator/templates/struct_template.java index 2d330feed..aea04d9e7 100644 --- a/generator/templates/struct_template.java +++ b/generator/templates/struct_template.java @@ -2,7 +2,7 @@ {%- block params %} {%- if params is defined %} - {%- for p in params %}{% set see, deprecated, since, history, spacing, begin, end, prefix = p.see, p.deprecated, p.since, p.history, ' ', '/**', '*/', ' * ' %} + {%- for p in params %}{% set see, deprecated, since, history, spacing, begin, end, prefix = p.see, p.deprecated, p.since, p.history, ' ', '/**', ' */', ' * ' %} {%- include "javadoc_version_info.java" %} {%- if p.deprecated is not none %} @Deprecated |