From 5e7472a1c81ddb1c114db381be511196eb384c54 Mon Sep 17 00:00:00 2001 From: c-schuler Date: Wed, 14 Dec 2022 09:12:45 -0700 Subject: [PATCH] Updating to use Integer to avoid NPE --- .../cqf/ruler/cdshooks/providers/ProviderConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/cds-hooks/src/main/java/org/opencds/cqf/ruler/cdshooks/providers/ProviderConfiguration.java b/plugin/cds-hooks/src/main/java/org/opencds/cqf/ruler/cdshooks/providers/ProviderConfiguration.java index 49c28453d..deda0f4da 100644 --- a/plugin/cds-hooks/src/main/java/org/opencds/cqf/ruler/cdshooks/providers/ProviderConfiguration.java +++ b/plugin/cds-hooks/src/main/java/org/opencds/cqf/ruler/cdshooks/providers/ProviderConfiguration.java @@ -36,7 +36,7 @@ public ProviderConfiguration(CdsHooksProperties cdsProperties, CqlProperties cql this.cqlLoggingEnabled = cqlProperties.getOptions().getCqlEngineOptions().isDebugLoggingEnabled(); } - public int getMaxCodesPerQuery() { + public Integer getMaxCodesPerQuery() { return this.maxCodesPerQuery; } @@ -48,7 +48,7 @@ public boolean getExpandValueSets() { return this.expandValueSets; } - public int getQueryBatchThreshold() { return this.queryBatchThreshold; } + public Integer getQueryBatchThreshold() { return this.queryBatchThreshold; } public int getMaxUriLength() { return this.maxUriLength;