提交 b78326d8 编写于 作者: K Kingdon1992

[ISSUE #2783] fix_bug_in_ThreadLocalIndex

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