Final modifier on builder pattern
This commit is contained in:
parent
7fa0d033d6
commit
3c688d845d
|
@ -92,7 +92,7 @@ public class Generator {
|
||||||
writer.write(Utils.toCamelCase(object.name, true));
|
writer.write(Utils.toCamelCase(object.name, true));
|
||||||
writer.write(' ');
|
writer.write(' ');
|
||||||
writer.write(arg.javaName());
|
writer.write(arg.javaName());
|
||||||
writer.write('(');
|
writer.write("(final ");
|
||||||
writer.write(arg.javaType());
|
writer.write(arg.javaType());
|
||||||
writer.write(" value) {\n");
|
writer.write(" value) {\n");
|
||||||
writer.write(VARIABLE_SUFFIX + i);
|
writer.write(VARIABLE_SUFFIX + i);
|
||||||
|
|
Loading…
Reference in New Issue