Is there a rule in FindBugs or PMD that will warn when StringBuffer, which is synchronized, can be safely replaced with StringBuilder?
For example when a StringBuffer variable reference never escapes (to ...
Code review tool is complaining Possible null pointer dereference of safeScanWarnings in saveSafeScan(...) at the line if (safeScanWarnings != null & safeScanWarnings.size() > 0)
I am wondering how is this possible? Is ...