Skip to content

Type mismatch on container access in MethodAnnotationInfo #1278

Open
@quilicicf

Description

@quilicicf

In class MethodAnnotationInfo#getVariants, there's a check result.contains(mediaType) where result is a list of Variant and mediaType a MediaType.
The types are imcompatible, meaning this check can never return true.

It looks like what we should check if a variant inside result has a media type equal to mediaType.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions