You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Otavio Rodolfo Piske (Jira)" <ji...@apache.org> on 2023/12/12 12:39:00 UTC

[jira] [Updated] (CAMEL-20224) Deprecate milliseconds-based input from StopWatch

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

Otavio Rodolfo Piske updated CAMEL-20224:
-----------------------------------------
    Fix Version/s: 4.3.0

> Deprecate milliseconds-based input from StopWatch
> -------------------------------------------------
>
>                 Key: CAMEL-20224
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20224
>             Project: Camel
>          Issue Type: Task
>          Components: camel-core
>            Reporter: Otavio Rodolfo Piske
>            Assignee: Otavio Rodolfo Piske
>            Priority: Major
>             Fix For: 4.3.0
>
>
> Quoting [~rhuanrocha] on CAMEL-19734: 
> "... The constructor StopWatch(long timeMillis) can induce the developer to use it with the System.currentTimeMillis [Ex.: StopWatch(System.currentTimeMillis())] and generate a side effect. I think the better approach is to redefine the StopWatch to work just with nanoTime, and remove the timeMillis ..."



--
This message was sent by Atlassian Jira
(v8.20.10#820010)