diff --git a/agents-common/src/main/java/org/apache/ranger/plugin/util/RangerRolesProvider.java b/agents-common/src/main/java/org/apache/ranger/plugin/util/RangerRolesProvider.java index bea82f5b81..ef50b540e8 100644 --- a/agents-common/src/main/java/org/apache/ranger/plugin/util/RangerRolesProvider.java +++ b/agents-common/src/main/java/org/apache/ranger/plugin/util/RangerRolesProvider.java @@ -139,7 +139,7 @@ public void loadUserGroupRoles(RangerBasePlugin plugIn) { plugIn.setRoles(roles); rangerUserGroupRolesSetInPlugin = true; setLastActivationTimeInMillis(System.currentTimeMillis()); - lastKnownRoleVersion = roles.getRoleVersion() != null ? roles.getRoleVersion() : -1;; + lastKnownRoleVersion = roles.getRoleVersion() != null ? roles.getRoleVersion() : -1; } else { if (!rangerUserGroupRolesSetInPlugin && !serviceDefSetInPlugin) { plugIn.setRoles(null);