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

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -