struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Grobmeier (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-3615) Dead code in PlainTextResult
Date Thu, 28 Apr 2011 07:32:03 GMT

     [ https://issues.apache.org/jira/browse/WW-3615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christian Grobmeier updated WW-3615:
------------------------------------

    Attachment: patch.txt

Patch against trunk

> Dead code in PlainTextResult
> ----------------------------
>
>                 Key: WW-3615
>                 URL: https://issues.apache.org/jira/browse/WW-3615
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.3
>            Reporter: Christian Grobmeier
>            Priority: Minor
>         Attachments: patch.txt
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message