Remove redundant code
See gh-19000
This commit is contained in:
committed by
Stephane Nicoll
parent
0c5bb60384
commit
65ab82b3cd
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user