mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polishing
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user