mapstruct-idea icon indicating copy to clipboard operation
mapstruct-idea copied to clipboard

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

Open acailley opened this issue 9 months ago • 1 comments

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"

acailley avatar Apr 07 '25 09:04 acailley

@acailley which version of the MapStruct plugin are you using?

I tried on IntelliJ IDEA 2025.1.1.1 (Ultimate Edition) and I do not see that warning.

filiphr avatar May 10 '25 17:05 filiphr