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) {
|
||||
return;
|
||||
}
|
||||
fcext.merge(x.fcext);
|
||||
share.merge(x.share);
|
||||
if (fcext != null) {
|
||||
fcext.merge(x.fcext);
|
||||
}
|
||||
if (share != null) {
|
||||
share.merge(x.share);
|
||||
}
|
||||
additionalProperties.putAll(x.additionalProperties);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue