removed deprecated calls in ConnectionChecks.java