You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: suppress Codacy warnings for StringBuilder fields
- Add @SuppressWarnings for PMD and SonarQube patterns
- Add @SuppressFBWarnings for SpotBugs
- Add codacy-disable comments
- StringBuilder fields are safe: cleared after each XML element and capacity trimmed periodically
Signed-off-by: dmiales <dmiales@gmail.com>
@SuppressFBWarnings(value = "DM_STRING_CTOR", justification = "StringBuilder is cleared after each XML element and capacity is trimmed periodically to prevent memory leaks")
@SuppressFBWarnings(value = "DM_STRING_CTOR", justification = "StringBuilder is cleared after each lock element and capacity is trimmed periodically to prevent memory leaks")
0 commit comments