Final modifier on builder pattern

This commit is contained in:
Lonami Exo 2018-07-24 21:18:57 +02:00
parent 7fa0d033d6
commit 3c688d845d
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ public class Generator {
writer.write(Utils.toCamelCase(object.name, true));
writer.write(' ');
writer.write(arg.javaName());
writer.write('(');
writer.write("(final ");
writer.write(arg.javaType());
writer.write(" value) {\n");
writer.write(VARIABLE_SUFFIX + i);