未验证 提交 2fb5f7ac 编写于 作者: H Heng Du 提交者: GitHub

Merge pull request #2785 from Kingdon1992/fix_bug_in_ThreadLocalIndex

[ISSUE #2783]Fix bug in ThreadLocalIndex
......@@ -30,9 +30,8 @@ public class ThreadLocalIndex {
this.threadLocalIndex.set(index);
}
index = Math.abs(index + 1);
this.threadLocalIndex.set(index);
return index;
this.threadLocalIndex.set(++index);
return Math.abs(index);
}
@Override
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册