TRS.NSYN
A non-synchronized method should not call 'wait()' or 'notify()'
Description
This rule flags any non-synchronized method that is calling `wait()' or `notify()'
Method wait() or notify() is invoked from a method, which is not declared as synchronized. It is not definitely a bug because the monitor can be locked from another method which directly or indirectly invokes the current method.
|