CONN-764: removed unused method with fortify violation.