Detective denies influencing swim students