Browse Source

Fix references to "application/*+xml" in Javadoc

See gh-31951
pull/31953/head
pri88yank 2 years ago committed by Stéphane Nicoll
parent
commit
16b4c25f7d
  1. 2
      spring-web/src/main/java/org/springframework/http/converter/xml/AbstractXmlHttpMessageConverter.java

2
spring-web/src/main/java/org/springframework/http/converter/xml/AbstractXmlHttpMessageConverter.java

@ -56,7 +56,7 @@ public abstract class AbstractXmlHttpMessageConverter<T> extends AbstractHttpMes @@ -56,7 +56,7 @@ public abstract class AbstractXmlHttpMessageConverter<T> extends AbstractHttpMes
/**
* Protected constructor that sets the {@link #setSupportedMediaTypes(java.util.List) supportedMediaTypes}
* to {@code text/xml} and {@code application/xml}, and {@code application/*-xml}.
* to {@code text/xml} and {@code application/xml}, and {@code application/*+xml}.
*/
protected AbstractXmlHttpMessageConverter() {
super(MediaType.APPLICATION_XML, MediaType.TEXT_XML, new MediaType("application", "*+xml"));

Loading…
Cancel
Save