Skip to content

Commit

Permalink
Minor: clean up the generated code for java: remove blank lines betwe…
Browse files Browse the repository at this point in the history
…en javadoc and method signature.

Signed-off-by: Nazar Kacharaba <ext-nazar.kacharaba@here.com>
  • Loading branch information
NazarKacharaba committed Sep 15, 2023
1 parent 2f9fdce commit ebb8e11
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Gluecodium project Release Notes

## Unreleased
### Bug fixes:
* Cleaned up the generated code for java: removed blank lines.

## 13.7.0
Release date: 2023-09-01
### Features:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
{{#ifPredicate "hasAnyComment"}}
/**
{{prefixPartial "combinedComment" " * "}}
*/
{{#if attributes.deprecated}}@Deprecated{{/if}}
{{/ifPredicate}}
*/{{#if attributes.deprecated}}
@Deprecated {{/if}}{{!!
}}{{/ifPredicate}}{{!!
{{+combinedComment}}{{!!
}}{{+combinedComment}}{{!!
}}{{resolveName comment}}{{!!
}}{{#if comment.isExcluded}}
{{!!}}@hidden{{!!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

{{#unless constructorComment.isEmpty}}
/**
{{#resolveName constructorComment}}{{prefix this " * "}}{{/resolveName}}
{{#uninitializedFields}}
{{#resolveName constructorComment}}{{prefix this " * "}}{{/resolveName}}{{!!
}}{{#uninitializedFields}}
* @param {{resolveName}} {{#resolveName comment}}{{prefix this " * " skipFirstLine=true}}{{/resolveName}}
{{/uninitializedFields}}
*/
Expand Down Expand Up @@ -58,7 +58,6 @@
}}{{#set struct=this}}{{#fieldConstructors}}
{{#ifPredicate "hasAnyComment"}}
/**

{{#unless comment.isEmpty}}{{#resolveName comment}}{{prefix this " * "}}
{{/resolveName}}{{/unless}}{{!!
}}{{#if comment.isEmpty}}{{#resolveName constructorComment}}{{#unless this.isEmpty}}{{prefix this " * "}}
Expand Down

0 comments on commit ebb8e11

Please sign in to comment.