-
-
Notifications
You must be signed in to change notification settings - Fork 1k
#3133 Redundant null check in generated code when adding parameters #3583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
#3133 Redundant null check in generated code when adding parameters #3583
Conversation
0b95442 to
464cc8b
Compare
processor/src/main/java/org/mapstruct/ap/internal/model/BeanMappingMethod.java
Show resolved
Hide resolved
9bc9826 to
82f7835
Compare
|
Somthing must be configured incorrectly in my IDE... I'm not sure why though |
filiphr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work @zyberzebra. I've done some small polishing (see my commits). Let me know if I've removed too much.
Can you please also rebase this on top of main?
processor/src/main/java/org/mapstruct/ap/internal/model/BeanMappingMethod.java
Outdated
Show resolved
Hide resolved
- verify redundant null checks in mappings are avoided - targets mapper methods that involve update mappings and ensures that null checks are not applied redundantly if already covered - tests for multiple scenarios
aa7bca2 to
0d1561f
Compare
|
@filiphr Is just a rebase needed again? |
|
Not sure what the problem is @zyberzebra, the logs from the builds are gone. |
fix for: #3133