getsaurabh02 opened a new pull request, #15755:
URL: https://github.com/apache/lucene/pull/15755

   ## Description
   Deprecates `Operations.minus()` and moves it to `AutomatonTestUtil` for 
testing purposes only, following the recommendation from #15750.
   
   ## Changes
   - Deprecated `Operations.minus()` (marked for removal in Lucene 12)
   - Added `AutomatonTestUtil.minus()` for testing
   - Updated all test usages (5 files):
     - TestRegExpParsing.java
     - TestAutomaton.java
     - TestDeterminism.java
     - TestAutomatonQuery.java
     - AutomatonTestUtil.java itself
   
   ## Rationale
   The minus operation can be slow and is not recommended for production use. 
Moving it to test utilities makes this clear and follows the pattern suggested 
by @rmuir in #15750.
   
   ## Testing
   - All tests pass
   - Code formatted with `./gradlew tidy`


-- 
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]

Reply via email to