Skip to content

Commit

Permalink
Add nonnull annotations for public constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjian2664 committed Dec 17, 2024
1 parent b7fa1f4 commit 1b04105
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ public class PolarisEntityManager {
* @param entityCache the entity cache
*/
public PolarisEntityManager(
PolarisMetaStoreManager metaStoreManager,
StorageCredentialCache credentialCache,
EntityCache entityCache) {
@Nonnull PolarisMetaStoreManager metaStoreManager,
@Nullable StorageCredentialCache credentialCache,
@Nonnull EntityCache entityCache) {
this.metaStoreManager = metaStoreManager;
this.entityCache = entityCache;
this.credentialCache = credentialCache;
Expand Down

0 comments on commit 1b04105

Please sign in to comment.