diff --git a/polaris-core/src/main/java/org/apache/polaris/core/persistence/PolarisEntityManager.java b/polaris-core/src/main/java/org/apache/polaris/core/persistence/PolarisEntityManager.java index 3d0d2457a..215e600ab 100644 --- a/polaris-core/src/main/java/org/apache/polaris/core/persistence/PolarisEntityManager.java +++ b/polaris-core/src/main/java/org/apache/polaris/core/persistence/PolarisEntityManager.java @@ -54,9 +54,9 @@ public class PolarisEntityManager { * @param entityCache the entity cache */ public PolarisEntityManager( - PolarisMetaStoreManager metaStoreManager, - StorageCredentialCache credentialCache, - EntityCache entityCache) { + @Nonnull PolarisMetaStoreManager metaStoreManager, + @Nonnull StorageCredentialCache credentialCache, + @Nonnull EntityCache entityCache) { this.metaStoreManager = metaStoreManager; this.entityCache = entityCache; this.credentialCache = credentialCache;