INT-3231: Fix Tail setters types for SPR 3.1.x

JIRA: https://jira.springsource.org/browse/INT-3231