We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10bf4d2 commit 77e314eCopy full SHA for 77e314e
1 file changed
src/main/java/me/ryan/model/Score.java
@@ -319,7 +319,9 @@ public String toString() {
319
* 重置成绩
320
*/
321
public void reInit() {
322
- this.idOfArticle = 0;
+ //this.idOfArticle = 0; // 这两个参数并不是跟打过程中的参数,不应该在这里重置
323
+ //this.retypeCount = 0;
324
+
325
this.keystrokes = 0;
326
this.charactersCount = 0;
327
this.timeInterval = LocalTime.of(0, 0);
@@ -331,6 +333,5 @@ public void reInit() {
331
333
this.ratioOfWords = 0;
332
334
this.backspaceCount = 0;
335
this.keysAccuracy = 0;
- this.retypeCount = 0;
336
}
337
0 commit comments