Community
Participate
Working Groups
We use the following convention for setter methods: void setFoo(int foo) { this.foo = foo; } Eclipse complains that this assignment has no effect.
Cannot reproduce with trivial test case: public class X { int foo; void setFoo(int foo) { this.foo = foo; } } No error is reported.
Is it ok to close, or do you have more steps to reproduce ?
Strange... I've seen it before, but I can't reproduce it now. Ok to close then, sorry.
No problem.Closing. Please reopen if you see it again and have steps.