diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/http/HttpMessageConverters.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/http/HttpMessageConverters.java index b264f9c456..a7ae40c5cb 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/http/HttpMessageConverters.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/http/HttpMessageConverters.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,10 +70,10 @@ public class HttpMessageConverters implements Iterable> /** * Create a new {@link HttpMessageConverters} instance with the specified additional * converters. - * @param additionalConverters additional converters to be added. New converters will - * be added to the front of the list, overrides will replace existing items without - * changing the order. The {@link #getConverters()} methods can be used for further - * converter manipulation. + * @param additionalConverters additional converters to be added. Items are added just + * before any default converter of the same type (or at the front of the list if no + * default converter is found) The {@link #postProcessConverters(List)} method can be + * used for further converter manipulation. */ public HttpMessageConverters(HttpMessageConverter... additionalConverters) { this(Arrays.asList(additionalConverters));