mapstruct-idea
mapstruct-idea copied to clipboard
[reopen]Redundant default parameter value assignment warning shouldn't appear if target is a string
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 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.