PIVOT-799, fix unavoidable compiler error on generics (not seen in eclipse because the related flag is checked in my workspace)