[ 
https://issues.apache.org/jira/browse/LUCENE-7816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Diego Ceccarelli updated LUCENE-7816:
-------------------------------------
    Description: The comment of {{public RTimerTree sub(String desc)}} is a bit 
misleading, stating that the method {{creates new subtimer with given name}} 
and status {{START}}, this is partially true because if the timer was 
previously requested and stopped, the old timer will be returned with status 
{{STOP}}. I changed the comment in order to clarify the behaviour.  (was: 
`public RTimerTree sub(String desc)` is a bit misleading, stating that the 
method 'creates new subtimer with given name' and status 'START', this is 
partially true because if the timer was previously requested and stopped, the 
old timer will be returned with status 'STOP'. I changed the comment in order 
to clarify the behaviour.)

> Improve RTimerTree documentation
> --------------------------------
>
>                 Key: LUCENE-7816
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7816
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Diego Ceccarelli
>            Priority: Minor
>         Attachments: 0001-LUCENE-7816-Improve-RTimerTree-documentation.patch
>
>
> The comment of {{public RTimerTree sub(String desc)}} is a bit misleading, 
> stating that the method {{creates new subtimer with given name}} and status 
> {{START}}, this is partially true because if the timer was previously 
> requested and stopped, the old timer will be returned with status {{STOP}}. I 
> changed the comment in order to clarify the behaviour.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to