You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Qiang Zhang (JIRA)" <ji...@apache.org> on 2017/04/17 05:46:41 UTC
[jira] [Updated] (RANGER-1518) Do some code improvement for the
error message in PolicyMgrUserGroupBuilder.java
[ https://issues.apache.org/jira/browse/RANGER-1518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Qiang Zhang updated RANGER-1518:
--------------------------------
Attachment: 0001-Ranger-1518-Do-some-code-inprovement.patch
> Do some code improvement for the error message in PolicyMgrUserGroupBuilder.java
> --------------------------------------------------------------------------------
>
> Key: RANGER-1518
> URL: https://issues.apache.org/jira/browse/RANGER-1518
> Project: Ranger
> Issue Type: Improvement
> Components: admin
> Affects Versions: 1.0.0
> Reporter: Qiang Zhang
> Assignee: Qiang Zhang
> Priority: Trivial
> Fix For: 1.0.0
>
> Attachments: 0001-Ranger-1518-Do-some-code-inprovement.patch
>
>
> {code}
> if (addUserGroupInfo(ugInfo) == null) {
> String msg = "Failed to add add user group info";
> LOG.error(msg);
> throw new Exception(msg);
> }
> {code}
> Duplicate 'add' for this error message.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)