GitHub user wilderrodrigues opened a pull request: https://github.com/apache/cloudstack/pull/525
Using Profiler class, from the utils package, instead of System.currentTimeMillis() Class ClusterServiceServletImpl was using System.currentTimeMillis() in order to measure a method execution time . We have a Profiler class, under the com.cloud.utils package, so I'm trying to make the use of that class consistent. The PR is split in 2 commits: one for the formatting changes; and the other for applying the Profiler usage. You can merge this pull request into a Git repository by running: $ git pull https://github.com/schubergphilis/cloudstack fix/no_sys_timemillis_II Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/525.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #525 ---- commit 617f61f627c6d95cafea6e148d93ced88fb14a02 Author: wilderrodrigues <wrodrig...@schubergphilis.com> Date: 2015-06-25T06:07:20Z Formatting class ClusterServiceServletImpl - Splitting format commit from fix commit. commit 790ad55a463a1b40164bd09c6fdc0621719f5105 Author: wilderrodrigues <wrodrig...@schubergphilis.com> Date: 2015-06-25T06:09:18Z Using Profiler class, from the utils package, instead of System.currentTimeMillis() ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---