bruno-roustant commented on code in PR #13406:
URL: https://github.com/apache/lucene/pull/13406#discussion_r1612922072
##########
lucene/analysis/common/src/java/org/apache/lucene/analysis/core/FlattenGraphFilter.java:
##########
@@ -349,7 +350,7 @@ public boolean incrementToken() throws IOException {
* The last node in the alt path didn't arrive to remove this
reference.
*/
assert inputNodes.get(inputFrom).tokens.isEmpty() : "about to
remove non empty edge";
- outSrc.inputNodes.remove(Integer.valueOf(inputFrom));
+ outSrc.inputNodes.remove(inputFrom);
Review Comment:
Good catch!
We discussed that name in HPPC after I wrote this line and I forgot to
change here. Thanks.
--
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]