Do not raise java:S1149 if that is imposed by method signature of a library


The rule java:S1149 is “Synchronized classes Vector, Hashtable, Stack and StringBuffer should not be used”.
It is impossible to satisfy this rule if we call a library method which signature uses synchronized classes Vector, Hashtable, Stack and StringBuffer.
Is it possible for you to filter out these warnings in this case?

Nicolas Baumann.

Goes in the same direction as this request:

Yes but overriding is a particular case. I was referring to calling methods in general (non necessarily overriding) that are found in a library. If this library is not open source, there is not the slightest chance of anything possible.