Removed unused set of supported content types from validator
This commit is contained in:
parent
7d156e8828
commit
fa38c7747e
@ -16,12 +16,6 @@ public class ContentTypeValidator implements ConstraintValidator<ContentTypeCons
|
|||||||
|
|
||||||
private static final Logger log = LoggerFactory.getLogger(ContentTypeValidator.class);
|
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
|
@Override
|
||||||
public void initialize(ContentTypeConstraint constraintAnnotation) {}
|
public void initialize(ContentTypeConstraint constraintAnnotation) {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user