You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Synchronization in the constructor is usually unnecessary since the constructor completes before any other operation on the object's members can be made (given that there are no data races in the invoking code). It may be necessary if the constructor creates a thread. However, this should be refactored to a factory method as PH_S007 suggests.
TBD: Check if static fields are accessed.
The text was updated successfully, but these errors were encountered:
Synchronization in the constructor is usually unnecessary since the constructor completes before any other operation on the object's members can be made (given that there are no data races in the invoking code). It may be necessary if the constructor creates a thread. However, this should be refactored to a factory method as PH_S007 suggests.
TBD: Check if static fields are accessed.
The text was updated successfully, but these errors were encountered: