java - How do I suppress warning "Synchronization on a non-final field" -


is possible suppress kind of warning?

note: not looking suppressing warnings(like @suppresswarnings("all") ), mentioned type.

for intellij, put annotation on class has warnings

@suppresswarnings("synchronizeonnonfinalfield") 

this lead me tag use suppression , trial , error lead me put on class instead of on field or synchronized statement. :-p


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

authentication - Mongodb revoke acccess to connect test database -

python - Scipy.Odr multiple variable regression -