You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/02/09 13:01:49 UTC

[GitHub] [lucene] mayya-sharipova commented on a change in pull request #665: LUCENE-10413: Make default Ukrainian stopword set available

mayya-sharipova commented on a change in pull request #665:
URL: https://github.com/apache/lucene/pull/665#discussion_r802636626



##########
File path: lucene/analysis/morfologik/src/java/org/apache/lucene/analysis/uk/UkrainianMorfologikAnalyzer.java
##########
@@ -113,14 +113,11 @@ private static DefaultResources getDefaultResources() {
     return defaultResources;
   }
 
-  private static class DefaultResources {
-    final CharArraySet stopSet;
-    final Dictionary dictionary;
+  private record DefaultResources(CharArraySet stopSet, Dictionary dictionary) {}

Review comment:
       nice, records!




-- 
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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org