WICKET-4608 small optimization for String vars