struts-issues mailing list archives

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

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

Maurizio Cucchiara resolved WW-3615.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3
         Assignee: Maurizio Cucchiara

Patch applied. 
Thanks Christian

> 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
>            Assignee: Maurizio Cucchiara
>            Priority: Minor
>             Fix For: 2.3
>
>         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