From 119bfcba4e0c7f87c3540cc88f6f1bfe0d653360 Mon Sep 17 00:00:00 2001 From: volodymyr-korzh <132366313+volodymyr-korzh@users.noreply.github.com> Date: Tue, 29 Aug 2023 11:29:22 -0600 Subject: [PATCH] Fixed Out Of Memory issue during resource validation with local reference check enabled (#1413) * Fixed Out Of Memory issue during resource validation with local reference check enabled * Fixed Out Of Memory issue during resource validation with local reference check enabled - fix --- .../main/java/org/hl7/fhir/r5/utils/FHIRPathEngine.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/FHIRPathEngine.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/FHIRPathEngine.java index 26a617f6e..a5ef904b3 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/FHIRPathEngine.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/FHIRPathEngine.java @@ -116,7 +116,7 @@ public class FHIRPathEngine { private enum Equality { Null, True, False } - private class FHIRConstant extends Base { + private static class FHIRConstant extends Base { private static final long serialVersionUID = -8933773658248269439L; private String value; @@ -158,7 +158,7 @@ public class FHIRPathEngine { } } - private class ClassTypeInfo extends Base { + private static class ClassTypeInfo extends Base { private static final long serialVersionUID = 4909223114071029317L; private Base instance; @@ -1139,7 +1139,7 @@ public class FHIRPathEngine { } } - private class ExecutionTypeContext { + private static class ExecutionTypeContext { private Object appInfo; private String resource; private TypeDetails context; @@ -5909,7 +5909,7 @@ public class FHIRPathEngine { return result; } - public class ElementDefinitionMatch { + public static class ElementDefinitionMatch { private ElementDefinition definition; private ElementDefinition sourceDefinition; // if there was a content reference private String fixedType;