You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/01/02 18:09:00 UTC

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

     [ https://issues.apache.org/jira/browse/WW-5000?focusedWorklogId=530233&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-530233 ]

ASF GitHub Bot logged work on WW-5000:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Jan/21 18:08
            Start Date: 02/Jan/21 18:08
    Worklog Time Spent: 10m 
      Work Description: lukaszlenart opened a new pull request #464:
URL: https://github.com/apache/struts/pull/464


   Implements [WW-5000](https://issues.apache.org/jira/browse/WW-5000)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 530233)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>            Priority: Minor
>             Fix For: 2.6
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)