janhoy commented on PR #4786:
URL: https://github.com/apache/solr/pull/4786#issuecomment-5597398692
> extraFilters
I had AI look into this: calling `clone()` on the two maps would be worse
than the copy constructors. `TreeMap.clone()` and `LinkedHashMap.clone()` both
return `Object`, so we'd need an unchecked cast and a
`@SuppressWarnings("unchecked")`, and since `clone()` isn't on the `Map`
interface the fields would have to be declared as concrete
`TreeMap`/`LinkedHashMap`.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]