diff --git a/lion-common/src/main/java/com/lion/common/gray/support/RibbonFilterContextHolder.java b/lion-common/src/main/java/com/lion/common/gray/support/RibbonFilterContextHolder.java index 3182520a..549bd8be 100755 --- a/lion-common/src/main/java/com/lion/common/gray/support/RibbonFilterContextHolder.java +++ b/lion-common/src/main/java/com/lion/common/gray/support/RibbonFilterContextHolder.java @@ -12,7 +12,7 @@ */ public class RibbonFilterContextHolder { - private static final ThreadLocal contextHolder = new InheritableThreadLocal<>() { + private static final ThreadLocal contextHolder = new InheritableThreadLocal() { @Override protected RibbonFilterContext initialValue() { return new DefaultRibbonFilterContext();