You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2022/02/25 03:48:24 UTC
[GitHub] [solr] dsmiley commented on pull request #670: SOLR-16019 Use var keywords in this test
dsmiley commented on pull request #670:
URL: https://github.com/apache/solr/pull/670#issuecomment-1050494783
The gist of it: Use `var` when the type is obvious. Perhaps the variable's name (e.g. `zkStateReader`) makes the type declaration needless, or you call some method to initialize it and this method's name makes it obvious. There is some subjectivity of course... I'm more likely to be loose about it in a test.
--
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@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org