I'm having a question about hiding fields in setter methods and constructors. I know hiding fields is not according to Sun code standards, but is it really not permitted to use it in constructors and setters?
I now have something like
Before, I had some ide generated code like:
Personally, I prefer the ide generated version. What do you think? [ July 26, 2008: Message edited by: Kah Tang ]
Joined: Jul 23, 2008
I agree with you, I always use the second form
Joined: Jul 22, 2008
I also always use the second form, I think hiding is not a problem in this case, but for the SCJD I am not sure.