struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dalater (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4343) Please create public get* methods or set private member to protected.
Date Wed, 07 May 2014 07:47:01 GMT
dalater created WW-4343:
---------------------------

             Summary: Please create public get* methods or set private member to protected.
                 Key: WW-4343
                 URL: https://issues.apache.org/jira/browse/WW-4343
             Project: Struts 2
          Issue Type: Improvement
          Components: Core Interceptors
    Affects Versions: 2.3.16.3
         Environment: Linux 3.13-1-amd64 
#1 SMP Debian 3.13.10-1  x86_64 GNU/Linux
            Reporter: dalater
             Fix For: Future


eg: in class [com.opensymphony.xwork2.validator.AnnotationActionValidatorManager]
    ......
    private ValidatorFactory validatorFactory;
    private ValidatorFileParser validatorFileParser;
    private FileManager fileManager;
    private boolean reloadingConfigs;
    ......

To make it easier to inherit the base class´╝îplease create public get* methods or change
private member to protected for those important members.

thanks



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message