Mahtab Alam wrote:...
Don't use if (something) return somethngElse; else return somethingDifferent;
In the case of a boolean simply write
return o instanceof Weird && ...;
It's all in the old
code conventions. I wish they would update those conventions rather than label them as out of date.