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

View File

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