You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2012/10/11 12:07:04 UTC
[jira] [Resolved] (WW-3425) Refactoring of Reset tag when testing
if the key/value were entered
[ https://issues.apache.org/jira/browse/WW-3425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart resolved WW-3425.
-------------------------------
Resolution: Fixed
Assignee: Lukasz Lenart
Patch applied, thanks!
> Refactoring of Reset tag when testing if the key/value were entered
> -------------------------------------------------------------------
>
> Key: WW-3425
> URL: https://issues.apache.org/jira/browse/WW-3425
> Project: Struts 2
> Issue Type: Improvement
> Components: Other
> Affects Versions: 2.2.1
> Reporter: Cristian Peraferrer
> Assignee: Lukasz Lenart
> Priority: Trivial
> Fix For: 2.3.6
>
> Attachments: resetTagRefactored.patch
>
>
> Tiny code refactoring in the reset tag code when testing if the key/value are present. There is no need to test if value is null two times.
> I have also corrected some typos in the comments/javadoc.
> I've attached the patch to fix it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira