Update StopWatch.java

fix comment
This commit is contained in:
anaer 2021-09-29 17:09:36 +08:00 committed by GitHub
parent 58355265ff
commit be8df2bf67
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() {