do not use deprecated stopwatch constructor

This commit is contained in:
Sebastian Sdorra
2014-01-11 13:48:58 +01:00
parent c3100f420c
commit dca3b12d7f

View File

@@ -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());