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

Dead code in PlainTextResult

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.1
    • 2.3.1
    • Other
    • None
    • Patch

    Description

      PlainTextResult had a bit dead code.

      Attached is a small patch which fixes that. It's working now, but it
      could be more optimal: no need to create inputstreams if the
      getResourceAsStream returns null. But this should be the exception
      anyway.

      Attachments

        1. patch.txt
          2 kB
          cgrobmeier

        Activity

          People

            maurizio.cucchiara Maurizio Cucchiara
            grobmeier Christian Grobmeier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified