forked from j62/ctbrec
Avoid NPE in SessionState.X.merge
This commit is contained in:
parent
9db844b5d1
commit
dc540c795a
|
@ -37,8 +37,12 @@ public class X {
|
||||||
if(x == null) {
|
if(x == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
fcext.merge(x.fcext);
|
if (fcext != null) {
|
||||||
share.merge(x.share);
|
fcext.merge(x.fcext);
|
||||||
|
}
|
||||||
|
if (share != null) {
|
||||||
|
share.merge(x.share);
|
||||||
|
}
|
||||||
additionalProperties.putAll(x.additionalProperties);
|
additionalProperties.putAll(x.additionalProperties);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue