ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sailaja Polavarapu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RANGER-1313) Fix issue found during coverity scan in one of the ranger usersync unit tests.
Date Tue, 17 Jan 2017 22:50:27 GMT

    [ https://issues.apache.org/jira/browse/RANGER-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15826985#comment-15826985
] 

Sailaja Polavarapu commented on RANGER-1313:
--------------------------------------------

Review request:
https://reviews.apache.org/r/55650/

> Fix issue found during coverity scan in one of the ranger usersync unit tests.
> ------------------------------------------------------------------------------
>
>                 Key: RANGER-1313
>                 URL: https://issues.apache.org/jira/browse/RANGER-1313
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger, usersync
>    Affects Versions: 0.6.2
>            Reporter: Sailaja Polavarapu
>            Assignee: Sailaja Polavarapu
>            Priority: Minor
>             Fix For: 0.7.0
>
>         Attachments: 0001-RANGER-1313-Fix-issue-found-during-coverity-scan-in-.patch
>
>
>     ** CID 155460:  FindBugs: Dodgy code
> (FB.URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD)
>     /ugsync/src/test/java/org/apache/ranger/usergroupsync/TestRegEx.java:
> 32 in ()
>     
>     
>     
> __________________________________________________________________________
> ______________________________
>     *** CID 155460:  FindBugs: Dodgy code
> (FB.URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD)
>     /ugsync/src/test/java/org/apache/ranger/usergroupsync/TestRegEx.java:
> 32 in ()
>     26    
>     27     import org.junit.Before;
>     28     import org.junit.Test;
>     29    
>     30     public class TestRegEx {
>     31     	protected String userNameBaseProperty =
> "ranger.usersync.mapping.username.regex";
>     >>>     CID 155460:  FindBugs: Dodgy code
> (FB.URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD)
>     >>>     Unread public/protected field:
> org.apache.ranger.usergroupsync.TestRegEx.groupNameBaseProperty.
>     32         protected String groupNameBaseProperty =
> "ranger.usersync.mapping.groupname.regex";
>     33         protected RegEx userNameRegEx = null;
>     34         protected RegEx groupNameRegEx = null;
>     35         List<String> userRegexPatterns = null;
>     36         List<String> groupRegexPatterns = null;
>     37    



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message