javanna commented on code in PR #16968:
URL: https://github.com/apache/lucene/pull/16968#discussion_r4458221850


##########
lucene/core/src/java/org/apache/lucene/util/automaton/RegExp.java:
##########
@@ -415,14 +415,10 @@ public enum Kind {
 
   // -----  Matching flags ( > 0xff <= 0xffff )  ------
 
-  /**
-   * Allows case-insensitive matching of ASCII characters.
-   *
-   * <p>This flag has been deprecated in favor of {@link #CASE_INSENSITIVE} 
that supports the full
-   * range of Unicode characters. Usage of this flag now has the same behavior 
as {@link
-   * #CASE_INSENSITIVE}
-   */
-  @Deprecated public static final int ASCII_CASE_INSENSITIVE = 0x0100;
+  // Question for review: should we drop the constant instead? Keeping it 
makes raw 0x0100 flag
+  // values from 10.x

Review Comment:
   I think we may have kept an older flag around in the past to avoid last 
minute breaking changes (the deprecated complement operator), but in general, 
we should remove the flag. It looks like the behaviour is already the same as 
CASE_INSENSITIVE. Why would we keep the flag around for one more major?



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