mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 05:25:44 +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);
|
||||
|
||||
Stopwatch sw = new Stopwatch().start();
|
||||
Stopwatch sw = Stopwatch.createStarted();
|
||||
|
||||
execute(hook);
|
||||
logger.debug("file hook {} executed in {}", hook, sw.stop());
|
||||
|
||||
Reference in New Issue
Block a user