From 7766522f9ed53c64dd908a8b6e72ef42b6bbf4b1 Mon Sep 17 00:00:00 2001 From: Looly Date: Thu, 28 Oct 2021 02:06:16 +0800 Subject: [PATCH] fix comment --- hutool-core/src/main/java/cn/hutool/core/date/StopWatch.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hutool-core/src/main/java/cn/hutool/core/date/StopWatch.java b/hutool-core/src/main/java/cn/hutool/core/date/StopWatch.java index 7338644ed..e83bd25de 100755 --- a/hutool-core/src/main/java/cn/hutool/core/date/StopWatch.java +++ b/hutool-core/src/main/java/cn/hutool/core/date/StopWatch.java @@ -335,6 +335,7 @@ public class StopWatch { * StopWatch '[id]': running time = [total] [unit] * * + * @param unit 时间单位,{@code null}则默认为{@link TimeUnit#NANOSECONDS} * @return 任务信息 */ public String shortSummary(TimeUnit unit) {