summaryrefslogtreecommitdiff
path: root/generator/templates/function_template.java
diff options
context:
space:
mode:
Diffstat (limited to 'generator/templates/function_template.java')
-rw-r--r--generator/templates/function_template.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/templates/function_template.java b/generator/templates/function_template.java
index 1d95cdc40..4372114d4 100644
--- a/generator/templates/function_template.java
+++ b/generator/templates/function_template.java
@@ -31,7 +31,7 @@
{%- if p.deprecated is defined and p.deprecated is not none %}
@Deprecated
{%- endif %}
- public void set{{p.title}}({% if p.mandatory %}@NonNull {% endif %}{{p.return_type}} {{p.last}}) {
+ public {{class_name}} set{{p.title}}({% if p.mandatory %}@NonNull {% endif %}{{p.return_type}} {{p.last}}) {
setParameters({{p.key}}, {{p.last}});
}