[Bugfix] fixed NPE when Certificate is created with null properties
This commit is contained in:
parent
4627f59a80
commit
5e6423c443
|
@ -89,6 +89,9 @@ public final class Certificate implements Serializable {
|
||||||
else
|
else
|
||||||
this.locale = locale;
|
this.locale = locale;
|
||||||
|
|
||||||
|
if (propertyMap == null)
|
||||||
|
this.propertyMap = Collections.emptyMap();
|
||||||
|
else
|
||||||
this.propertyMap = Collections.unmodifiableMap(propertyMap);
|
this.propertyMap = Collections.unmodifiableMap(propertyMap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue