pseudo-nymous opened a new pull request, #14682:
URL: https://github.com/apache/lucene/pull/14682

   ### Description
   Adds a fix for Luke Analysis tab where user weren't able to add char or 
token filters. 
   
   #### Root Cause:
   We have a util method which returns JList's model underlying data, here list 
of strings representing char filters/token filters. Earlier, the method 
returned a mutable list which allowed adding new entries to filters. But due to 
a previous refactoring from `.collect(Collectors.toList()) to .toList()` it 
returns an immutable list, introduced in 
https://github.com/apache/lucene/pull/12978. 
   
   #### Fix
   Revert from `.toList() to .collect(Collectors.toList())` for **ListUtils** 
class which is only used in CustomAnalyzerPanelProvider class.
   
   Tested locally
   
   Closes https://github.com/apache/lucene/issues/14649
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to