rmuir commented on a change in pull request #508:
URL: https://github.com/apache/lucene/pull/508#discussion_r761208470



##########
File path: 
lucene/analysis/common/src/java/org/apache/lucene/analysis/es/SpanishPluralStemmer.java
##########
@@ -119,7 +119,6 @@
           "portamantas",
           "quinientas",
           "quinientos",
-          "quinientos",

Review comment:
       Since the list is long, maybe add a little sanity check below this in 
the `static {}` block, right after we create the `invariants` set. it would 
fail if there were dups.
   ```
   assert invariants.size() == invariantsList.size();
   ```




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