You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "getsaurabh02 (via GitHub)" <gi...@apache.org> on 2026/02/23 21:33:18 UTC
[PR] Remove deprecated Operations.concatenate and union methods [lucene]
getsaurabh02 opened a new pull request, #15762:
URL: https://github.com/apache/lucene/pull/15762
## Title
Remove deprecated Operations.concatenate and union methods
## Description
Removes deprecated `Operations.concatenate(Automaton, Automaton)` and `Operations.union(Automaton, Automaton)` methods as suggested by @rmuir in #15750.
### Changes
- Removed `Operations.concatenate(Automaton, Automaton)`
- Removed `Operations.union(Automaton, Automaton)`
- Updated CHANGES.txt
### Rationale
These methods were deprecated in favor of the List/Collection variants and are no longer used anywhere in the codebase. The removed methods were simple wrappers that just called `concatenate(Arrays.asList(a1, a2))` and `union(Arrays.asList(a1, a2))`.
### Migration
Users should replace:
- `Operations.concatenate(a1, a2)` → `Operations.concatenate(List.of(a1, a2))`
- `Operations.union(a1, a2)` → `Operations.union(List.of(a1, a2))`
### Testing
- All core tests pass
- No usages of the deprecated methods found in the codebase
--
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-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [PR] Remove deprecated Operations.concatenate and union methods [lucene]
Posted by "rmuir (via GitHub)" <gi...@apache.org>.
rmuir merged PR #15762:
URL: https://github.com/apache/lucene/pull/15762
--
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-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org