Remove useless volatile keyword
In this case, volatile was both incorrect (volatile does nothing about thread synchronization) and not required (there is an explicit lock).
Showing
Please register or sign in to comment
In this case, volatile was both incorrect (volatile does nothing about thread synchronization) and not required (there is an explicit lock).