fix NPE cloning integer
This commit is contained in:
parent
bd6225cf9e
commit
f0738ac706
|
@ -89,7 +89,8 @@ public class UnsignedIntType extends IntegerType {
|
|||
|
||||
@Override
|
||||
public UnsignedIntType copy() {
|
||||
UnsignedIntType ret = new UnsignedIntType(getValue());
|
||||
Integer value = getValue();
|
||||
UnsignedIntType ret = value == null ? new UnsignedIntType() : new UnsignedIntType(value.intValue());
|
||||
copyValues(ret);
|
||||
return ret;
|
||||
}
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -19,7 +19,7 @@
|
|||
|
||||
<properties>
|
||||
<hapi_fhir_version>5.1.0</hapi_fhir_version>
|
||||
<validator_test_case_version>1.1.67</validator_test_case_version>
|
||||
<validator_test_case_version>1.1.68-SNAPSHOT</validator_test_case_version>
|
||||
<junit_jupiter_version>5.7.1</junit_jupiter_version>
|
||||
<junit_platform_launcher_version>1.7.1</junit_platform_launcher_version>
|
||||
<maven_surefire_version>3.0.0-M4</maven_surefire_version>
|
||||
|
|
Loading…
Reference in New Issue