This question already has an answer here:
Creating a builder pattern for the DTO facility http://ift.tt/2CDOSBp. I set the 'final' fields for most fields so that it is possible to set them only through the pattern. However, the IDE shows me an error http://ift.tt/2ohLOrJ.
For example Variable 'id' might not have been initialize
.
I use this guide http://ift.tt/20s4ywx
Aucun commentaire:
Enregistrer un commentaire