From 63c310c168864fd589b698143726ef1193b97e9b Mon Sep 17 00:00:00 2001 From: James Agnew Date: Fri, 17 Jan 2020 13:11:17 +0800 Subject: [PATCH] Make a constant public --- .../src/main/java/ca/uhn/fhir/jpa/dao/SearchBuilder.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/SearchBuilder.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/SearchBuilder.java index 38e5bad1297..c57b4ac15b3 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/SearchBuilder.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/SearchBuilder.java @@ -134,13 +134,15 @@ import static org.apache.commons.lang3.StringUtils.trim; @Scope("prototype") public class SearchBuilder implements ISearchBuilder { - private static final List EMPTY_LONG_LIST = Collections.unmodifiableList(new ArrayList<>()); - private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(SearchBuilder.class); /** * See loadResourcesByPid * for an explanation of why we use the constant 800 */ - private static final int MAXIMUM_PAGE_SIZE = 800; + // NB: keep public + public static final int MAXIMUM_PAGE_SIZE = 800; + + private static final List EMPTY_LONG_LIST = Collections.unmodifiableList(new ArrayList<>()); + private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(SearchBuilder.class); private static ResourcePersistentId NO_MORE = new ResourcePersistentId(-1L); private final boolean myDontUseHashesForSearch; private final DaoConfig myDaoConfig;