mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-14 16:18:13 +00:00
ref[thread]: deprecated method in java 17
This commit is contained in:
1 parent
e158e92497
commit
b0d242658c
5 files changed
+5
-13
No files matched your search
@@ -71,7 +71,7 @@ public abstract class EventBus {
|
||||
private final ThreadGroup group;
|
||||
|
||||
public EventThreadFactory(int poolNumber) {
|
||||
this.group = ThreadUtils.currentThreadGroup();
|
||||
this.group = Thread.currentThread().getThreadGroup();
|
||||
this.poolNumber = poolNumber;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user