Replace Arrays#asList with Collections.singletonList#70
Replace Arrays#asList with Collections.singletonList#70dkayiwa merged 1 commit intoopenmrs:masterfrom
Conversation
|
Did you create a ticket for this? |
I couldn't find the JIRA project for this. I am planning to link this with: https://openmrs.atlassian.net/browse/SXS-37 |
|
On the ticket, fully describe the details that led to this pull request. |
I added a comment to ticket: https://openmrs.atlassian.net/browse/SXS-37?focusedCommentId=148941 |
|
Do you mind also explaining a bit what used to cause this problem and how the singleton fixes it? |
Arrays.asList() returns an instance of
|
This fixes the
com.thoughtworks.xstream.converters.ConversionException: No converter availableerror when running the 2.x snapshot.Related ticket: https://openmrs.atlassian.net/browse/SXS-37