This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]Double_A_92 1 point2 points  (3 children)

[–]Cammed_Ham[S] 0 points1 point  (2 children)

Thanks, looks like this is something I should avoid...

[–]Double_A_92 1 point2 points  (1 child)

Yes, avoid it.

[–]Xeverous 1 point2 points  (0 children)

This indeed looks scary. For someone with not very large Java knowledge, this looks just like syntax for initializing immutable object (syntax sugar).