You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2019/01/10 07:51:00 UTC

[jira] [Created] (WW-5000) Replace string literals with proper constants in @Inject

Lukasz Lenart created WW-5000:
---------------------------------

             Summary: Replace string literals with proper constants in @Inject
                 Key: WW-5000
                 URL: https://issues.apache.org/jira/browse/WW-5000
             Project: Struts 2
          Issue Type: Improvement
          Components: Core
            Reporter: Lukasz Lenart
             Fix For: 2.6


In many places string literals are used instead of a proper reference to a constant.

{noformat}
@Inject(value = "struts.xwork.chaining.copyMessages", required = false)
@Inject(value = "struts.xwork.chaining.copyFieldErrors", required = false)
@Inject(value = "struts.xwork.chaining.copyErrors", required = false)
@Inject(value = "struts.javatemplates.defaultTemplateType", required = false)
@Inject(value = "struts.javatemplates.customThemes", required = false)
@Inject(value = "struts.objectFactory.cdi.jndiKey", required = false)
@Inject(value = "enableAopSupport", required = false)
@Inject(value = "struts.oval.validateJPAAnnotations")
@Inject(value = "xwork.autoGrowCollectionLimit", required = false)
@Inject(value = "logMissingProperties", required = false)
@Inject(value="objectFactory.classloader", required=false)
@Inject(value="allowStaticMethodAccess", required=false)
@Inject(value="applicationContextPath",required=false)
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)