Closed FWDekker closed 1 year ago
The following List
s are notable and should definitely be val
s rather than var
s:
Class | Field | Annotation |
---|---|---|
Settings |
templateList |
@OptionTag |
TemplateList |
templates |
@MapAnnotation |
Template |
schemes |
@XCollection |
For non-primitive types, anyway. Check that they are
val
s wherever possible. I think the serialisation doesn't like it when a list is aval
instead of avar
, but honestly, tough luck! I really prefer using aval
there. I really dislike mutability. But do a sanity check anyway whether my dislike is justified there.