Skip to content

[reopen]Redundant default parameter value assignment warning shouldn't appear if target is a string #214

@acailley

Description

@acailley

Hi,
with mapstruct-1.5.5.Final.jar and IntelliJ IDEA 2024.3.2 (Ultimate Edition),
I am facing the same issue as #93 https://github.com/mapstruct/mapstruct-idea/issues/93

@Mapping(target = "myFied", constant = "")
Type2 toType2(final Type1 myType1);

gives me the warning "Redundant default parameter value assignment"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions