mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
BUGFIX #I81ETQ parse_on_start=false 场景 NPE 问题
This commit is contained in:
@@ -16,11 +16,10 @@ public class IdGeneratorHolder {
|
|||||||
|
|
||||||
private RequestIdGenerator requestIdGenerator;
|
private RequestIdGenerator requestIdGenerator;
|
||||||
|
|
||||||
private static IdGeneratorHolder INSTANCE;
|
private static IdGeneratorHolder INSTANCE = new IdGeneratorHolder();
|
||||||
|
|
||||||
public static void init() {
|
public static void init() {
|
||||||
try {
|
try {
|
||||||
INSTANCE = new IdGeneratorHolder();
|
|
||||||
LiteflowConfig liteflowConfig = LiteflowConfigGetter.get();
|
LiteflowConfig liteflowConfig = LiteflowConfigGetter.get();
|
||||||
String requestIdGeneratorClass = liteflowConfig.getRequestIdGeneratorClass();
|
String requestIdGeneratorClass = liteflowConfig.getRequestIdGeneratorClass();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user