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 2020/09/14 07:48:41 UTC

[GitHub] [lucene-solr] uschindler commented on a change in pull request #1847: LUCENE-9514: Include TermVectorsWriter in DWPT accounting

uschindler commented on a change in pull request #1847:
URL: https://github.com/apache/lucene-solr/pull/1847#discussion_r487715939



##########
File path: lucene/core/src/java/org/apache/lucene/util/Accountable.java
##########
@@ -41,4 +41,8 @@
     return Collections.emptyList();
   }
 
+  /**
+   * An accountable that always returns 0
+   */
+  Accountable NULL_ACCOUNTABLE = () -> 0;

Review comment:
       To avoid such questions, you can be explicit.




----------------------------------------------------------------
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:
users@infra.apache.org



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