mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-22 16:29:51 +01:00
do not use deprecated stopwatch constructor
This commit is contained in:
@@ -187,7 +187,7 @@ public class GitFileHook
|
|||||||
{
|
{
|
||||||
logger.debug("try to execute hook {}", hook);
|
logger.debug("try to execute hook {}", hook);
|
||||||
|
|
||||||
Stopwatch sw = new Stopwatch().start();
|
Stopwatch sw = Stopwatch.createStarted();
|
||||||
|
|
||||||
execute(hook);
|
execute(hook);
|
||||||
logger.debug("file hook {} executed in {}", hook, sw.stop());
|
logger.debug("file hook {} executed in {}", hook, sw.stop());
|
||||||
|
|||||||
Reference in New Issue
Block a user