Checkstyle Warnings - Type Discouraged (coding standard)