Skip to content

Commit

Permalink
[Java] Fix #1012 DTO char array setter visibility.
Browse files Browse the repository at this point in the history
Previously, the setter was generated as package-private rather than
public.
  • Loading branch information
ZachBray committed Aug 30, 2024
1 parent 2f5e8ab commit bb984d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ private void generateArrayProperty(

classBuilder.appendPublic().append("\n")
.append(generateDocumentation(indent, fieldToken))
.append(indent).append("void ").append(formattedPropertyName)
.append(indent).append("public void ").append(formattedPropertyName)
.append("(").append(typeName).append(" value)\n")
.append(indent).append("{\n")
.append(indent).append(INDENT).append(validateMethod).append("(value);\n")
Expand Down

0 comments on commit bb984d4

Please sign in to comment.