uschindler opened a new pull request, #13205: URL: https://github.com/apache/lucene/pull/13205
Followup to #13204: This converts IOContext to a record class. This has several positive effects: - equals, hashCode and toString are autogenerated by an invokedynamic, so we can't forget to handle it correctly - it is also immutable - all parameter checking logic can be moved to some special constructor without any parameters (this is new syntax since Java 17) The IOContext has some crazy constructors, I left them in, but all have to delegate to the default constructor now. -- 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