dweiss commented on a change in pull request #1184: LUCENE-9142 Refactor IntSet 
operations for determinize
URL: https://github.com/apache/lucene-solr/pull/1184#discussion_r369454325
 
 

 ##########
 File path: 
lucene/core/src/java/org/apache/lucene/util/automaton/SortedIntSet.java
 ##########
 @@ -77,6 +88,7 @@ public void incr(int num) {
         values[i] = num;
         counts[i] = 1;
         upto++;
+        stale = true;
 
 Review comment:
   oh, found the replacement we should use: ArrayUtil.copyOfSubArray

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to