Browse Source

Polishing

pull/25080/head
Sam Brannen 6 years ago
parent
commit
fe3b36af68
  1. 1
      spring-web/src/main/java/org/springframework/http/MediaType.java

1
spring-web/src/main/java/org/springframework/http/MediaType.java

@ -598,7 +598,6 @@ public class MediaType extends MimeType implements Serializable { @@ -598,7 +598,6 @@ public class MediaType extends MimeType implements Serializable {
throw new InvalidMediaTypeException(ex);
}
try {
//return new MediaType(type.getType(), type.getSubtype(), type.getParameters());
return new MediaType(type);
}
catch (IllegalArgumentException ex) {

Loading…
Cancel
Save