ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Balkir (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OFBIZ-9635) [FB] Package org.apache.ofbiz.security
Date Fri, 25 Aug 2017 13:39:00 GMT
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

View raw message