[jira] [Created] (OFBIZ-9635) [FB] Package org.apache.ofbiz.security

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-9635) [FB] Package org.apache.ofbiz.security

Nicolas Malin (Jira)
Dennis Balkir created OFBIZ-9635:
------------------------------------

             Summary: [FB] Package org.apache.ofbiz.security
                 Key: OFBIZ-9635
                 URL: https://issues.apache.org/jira/browse/OFBIZ-9635
             Project: OFBiz
          Issue Type: Sub-task
          Components: framework
    Affects Versions: Trunk
            Reporter: Dennis Balkir
            Priority: Minor


SecurityFactory.java:-1, CI_CONFUSED_INHERITANCE, Priorität: Niedrig
CI: Class org.apache.ofbiz.security.SecurityFactory$OFBizSecurity is final but declares protected field org.apache.ofbiz.security.SecurityFactory$OFBizSecurity.simpleRoleEntity

This class is declared to be final, but declares fields to be protected. Since the class is final, it can not be derived from, and the use of protected is confusing. The access modifier for the field should be changed to private or public to represent the true use for the field.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)