struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-5000) Replace string literals with proper constants in @Inject
Date Thu, 10 Jan 2019 07:51:00 GMT
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)

Mime
View raw message