Merge branch '2.2.x'

Closes gh-19104
This commit is contained in:
Stephane Nicoll
2019-11-23 12:05:43 +01:00
4 changed files with 4 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ public class EndpointMediaTypes {
* @since 2.2.0
*/
public EndpointMediaTypes(String... producedAndConsumed) {
this((producedAndConsumed != null) ? Arrays.asList(producedAndConsumed) : (List<String>) null);
this((producedAndConsumed != null) ? Arrays.asList(producedAndConsumed) : null);
}
/**