e: 邮件签名]
>
>
>
> *发件人:* 马可阳
> *发送时间:* 2017年8月6日 17:14
> *收件人:* 'java-user@lucene.apache.org'
> *主题:* local variable name question
>
>
>
> In code I can see this:
>
> final TermContext termState
>
>
>
> while it is instance of Term
And this:
Similarity.SimWeight stats
I bet there are more these things. Just out of curiosity.
[邮件签名]
发件人: 马可阳
发送时间: 2017年8月6日 17:14
收件人: 'java-user@lucene.apache.org'
主题: local variable name question
In code I can see this:
final TermContext termState
while it i
In code I can see this:
final TermContext termState
while it is instance of TermContext, why not name it termContext rather than
termState? If termState is more describable name, why not change Class name to
TermState?
[邮件签名]