diff --git a/repository/src/main/java/org/apache/atlas/repository/store/aliasstore/ESAliasStore.java b/repository/src/main/java/org/apache/atlas/repository/store/aliasstore/ESAliasStore.java index 955f801b75..e6ff8f69d3 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/aliasstore/ESAliasStore.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/aliasstore/ESAliasStore.java @@ -180,7 +180,7 @@ private void personaPolicyToESDslClauses(List policies, if (getPolicyActions(policy).contains(ACCESS_READ_PERSONA_METADATA)) { if (terms.size() + assets.size() + 1 > assetsMaxLimit) { - // For Metadata policies, along with assets we add 1 more clause for connection qualifiedName hence omparing with "assets.size() + 1" + // For Metadata policies, along with assets we add 1 more clause for connection qualifiedName hence comparing with "assets.size() + 1" throw new AtlasBaseException(AtlasErrorCode.PERSONA_POLICY_ASSETS_LIMIT_EXCEEDED, String.valueOf(assetsMaxLimit), String.valueOf(terms.size())); }