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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -