Skip to content

Commit 0b7bb6b

Browse files
committed
Fixing enum delaration statement (in its own line as a statement)
1 parent 232836c commit 0b7bb6b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

partials/java-class

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,12 @@
7272
{%- endif %}
7373
{# Enums #}
7474
{%- if prop.enum() %}
75-
{{ indent2 }}public static enum {{ type }} { {{ prop.enum() }} }
75+
{{ indent2 }}public static enum {{ type }} {
76+
{{ indent3 }} {{ prop.enum() }}
77+
{{ indent2 }}};
7678
{%- endif %}
7779
{%- endfor -%}
80+
{{ indent2 }}
7881

7982
{{ indent2 }}public String toString() {
8083
{{ indent3 }}return "{{ className }} ["

0 commit comments

Comments
 (0)