Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-5000

Replace string literals with proper constants in @Inject

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 6.0.0
    • Core
    • None

    Description

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

      @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)
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            lukaszlenart Lukasz Lenart
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 40m
                2h 40m

                Slack

                  Issue deployment