Merge pull request #1862 from anaer/patch-7

Update StopWatch.java
This commit is contained in:
Golden Looly 2021-09-30 17:37:45 +08:00 committed by GitHub
commit 4acad0afd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ import java.util.List;
* stopWatch.stop();
*
* // 任务2
* stopWatch.start("任务");
* stopWatch.start("任务");
* Thread.sleep(2000);
* stopWatch.stop();
*
@ -114,7 +114,7 @@ public class StopWatch {
/**
* 获取StopWatch 的ID用于多个秒表对象的区分
*
* @return the ID 空字符串
* @return the ID 默认为空字符串
* @see #StopWatch(String)
*/
public String getId() {