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-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org