From ac08f632ae69a5f79e54c7b01c812c53e204fa1a Mon Sep 17 00:00:00 2001 From: James Agnew Date: Thu, 3 Oct 2019 12:31:31 -0400 Subject: [PATCH] Increase visibility of constant --- .../ca/uhn/fhir/jpa/model/entity/ResourceHistoryTable.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/ResourceHistoryTable.java b/hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/ResourceHistoryTable.java index c3c4ed4badd..10e6c514a74 100644 --- a/hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/ResourceHistoryTable.java +++ b/hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/ResourceHistoryTable.java @@ -38,10 +38,14 @@ import java.util.Collection; public class ResourceHistoryTable extends BaseHasResource implements Serializable { public static final String IDX_RESVER_ID_VER = "IDX_RESVER_ID_VER"; + /** * @see ResourceEncodingEnum */ - static final int ENCODING_COL_LENGTH = 5; + // Don't reduce the visibility here, we reference this from Smile + @SuppressWarnings("WeakerAccess") + public static final int ENCODING_COL_LENGTH = 5; + private static final long serialVersionUID = 1L; @Id @SequenceGenerator(name = "SEQ_RESOURCE_HISTORY_ID", sequenceName = "SEQ_RESOURCE_HISTORY_ID")