Removed unused set of supported content types from validator

This commit is contained in:
Paul Trudel 2024-04-23 12:23:24 -04:00
parent 7d156e8828
commit fa38c7747e

View File

@ -16,12 +16,6 @@ public class ContentTypeValidator implements ConstraintValidator<ContentTypeCons
private static final Logger log = LoggerFactory.getLogger(ContentTypeValidator.class);
private static final Set<String> SUPPORTED_CONTENT_TYPES = Sets.newHashSet(
MediaType.APPLICATION_XML,
MediaType.APPLICATION_FORM_URLENCODED,
MediaType.MULTIPART_FORM_DATA
);
@Override
public void initialize(ContentTypeConstraint constraintAnnotation) {}