CONN-668: fix for build failing on findbugs.