avoid null context issue.
This commit is contained in:
parent
2789f5b42c
commit
deaf41c152
|
@ -43,7 +43,7 @@ public final class WebContext extends Properties
|
||||||
private static InheritableThreadLocal context = new InheritableThreadLocal() {
|
private static InheritableThreadLocal context = new InheritableThreadLocal() {
|
||||||
protected WebContext initialValue()
|
protected WebContext initialValue()
|
||||||
{
|
{
|
||||||
return null;
|
return new WebContext();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue