-
-
Notifications
You must be signed in to change notification settings - Fork 566
XCOMMONS-3321: Upgrade to Jackson 2.19.0 #4152
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
Conversation
@@ -323,7 +323,8 @@ private DisplayerDescriptor getDisplayerConfig(String column, ObjectNode columnP | |||
DisplayerDescriptor displayerConfig = new DisplayerDescriptor(); | |||
if (columnProperties.path(ACTIONS).isArray()) { | |||
displayerConfig.setId(ACTIONS); | |||
displayerConfig.setParameter(ACTIONS, columnProperties.get(ACTIONS)); | |||
displayerConfig.setParameter(ACTIONS, | |||
columnProperties.get(ACTIONS).valueStream().map(JsonNode::asText).toList()); |
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.
Pointing out that I had to replace arrays with list to values comparable with what is in the test.
|
||
LiveDataEntryDescriptor that = (LiveDataEntryDescriptor) o; | ||
|
||
return new EqualsBuilder() |
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.
Not sure it worth creating a EqualsBuilder for a single property. Objects.equals
should do fine.
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.
This special case is not documented on https://dev.xwiki.org/xwiki/bin/view/Community/CodeStyle/JavaCodeStyle/#HEquals2FHashCodeandToStringimplementations, so I aimed for code consistency.
|
||
LiveDataSelectionConfiguration that = (LiveDataSelectionConfiguration) o; | ||
|
||
return new EqualsBuilder() |
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.
Not sure it worth creating a EqualsBuilder for a single property. Objects.equals
should do fine.
Jira URL
Changes
Description
Clarifications
Screenshots & Video
Executed Tests
All of the tests of the live data module.
Expected merging strategy