Skip to content

Commit

Permalink
Handle Arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
jbonzohln committed Jul 15, 2024
1 parent 3fc125a commit 7f6dce1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ private String fieldName(TypeName typeName) {
.replace('.', '_')
.replace('<', '_')
.replace('>', '_')
.replace("[]", "_ARRAY")
.toUpperCase(Locale.ROOT);
if (fieldName.lastIndexOf('_') == fieldName.length() - 1) {
return fieldName.substring(0, fieldName.length() - 1);
Expand Down

0 comments on commit 7f6dce1

Please sign in to comment.