-
Notifications
You must be signed in to change notification settings - Fork 689
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
W-17475148: Simple type params handler not handling certain expression param values #14113
Conversation
elrodro83
commented
Jan 2, 2025
- Addendum
param values * Addendum
protected boolean isExpressionValue(CreateParamBeanDefinitionRequest request) { | ||
return request.getParam().getValue().isLeft(); | ||
return request.getParam().getValue().isLeft() | ||
|| isContent(request.getParam().getModel()); | ||
} |
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.
There is something that I don't understand here. The method name is isExpressionValue
and we are changing it so that static values are also considered as expressions if the parameter is a content parameter?
Maybe I'm getting it wrong, but from the test it looks like it.
Are we sure this is the right place to add the "if"? or at least maybe we need a good comment here.
SonarQube Quality Gate |
…n param values (#14113) * Addendum
…n param values (#14113) * Addendum
…n param values (#14113) * Addendum
param values (#14113) * Addendum
…ng certain expression param values (#14113)" (#14213) * Revert "W-17475148: Simple type params handler not handling certain expressio…" This reverts commit 973f8f2. * Revert "W-17475148/W-17484538: Fix NPE in MapEntryBeanDefinitionCreator/MapBeanDefinitionCreator (#14097) (#14104)" This reverts commit 2c18f26.
…ng certain expression param values (#14113) (#14120)" (#14215) * Revert "W-17475148: Simple type params handler not handling certain expression param values (#14113) (#14120)" This reverts commit 8a109d6. * Revert "W-17475148/W-17484538: Fix NPE in MapEntryBeanDefinitionCreator/MapBeanDefinitionCreator (#14097) (#14102)" This reverts commit c6824b8. * Fix
…ng certain expression param values (#14113) (#14119)" (#14216) * Revert "W-17475148: Simple type params handler not handling certain expression param values (#14113) (#14119)" This reverts commit 316dd63. * Revert "W-17475148/W-17484538: Fix NPE in MapEntryBeanDefinitionCreator/MapBeanDefinitionCreator (#14100) (#14105)" This reverts commit 8173b6c. * Fix
…ng certain expression param values (#14113) (#14118)" (#14217) * Revert "W-17475148: Simple type params handler not handling certain expression param values (#14113) (#14118)" This reverts commit 4e95b0e. * Revert "W-17475148/W-17484538: Fix NPE in MapEntryBeanDefinitionCreator/MapBeanDefinitionCreator" This reverts commit 361e731. * Fix
…ng certain expression param values (#14113)" (#14213) * Revert "W-17475148: Simple type params handler not handling certain expressio…" This reverts commit 973f8f2. * Revert "W-17475148/W-17484538: Fix NPE in MapEntryBeanDefinitionCreator/MapBeanDefinitionCreator (#14097) (#14104)" This reverts commit 2c18f26. (cherry picked from commit 84bd787)
…ng certain expression param values (#14113) (#14120)" (#14215) * Revert "W-17475148: Simple type params handler not handling certain expression param values (#14113) (#14120)" This reverts commit 8a109d6. * Revert "W-17475148/W-17484538: Fix NPE in MapEntryBeanDefinitionCreator/MapBeanDefinitionCreator (#14097) (#14102)" This reverts commit c6824b8. * Fix (cherry picked from commit 3cc3924)
…ng certain expression param values (#14113) (#14119)" (#14216) * Revert "W-17475148: Simple type params handler not handling certain expression param values (#14113) (#14119)" This reverts commit 316dd63. * Revert "W-17475148/W-17484538: Fix NPE in MapEntryBeanDefinitionCreator/MapBeanDefinitionCreator (#14100) (#14105)" This reverts commit 8173b6c. * Fix (cherry picked from commit c950f4d)
…ng certain expression param values (#14113) (#14118)" (#14217) * Revert "W-17475148: Simple type params handler not handling certain expression param values (#14113) (#14118)" This reverts commit 4e95b0e. * Revert "W-17475148/W-17484538: Fix NPE in MapEntryBeanDefinitionCreator/MapBeanDefinitionCreator" This reverts commit 361e731. * Fix (cherry picked from commit d0b8c3f)