You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by "Brett Porter (Commented) (JIRA)" <ji...@apache.org> on 2012/01/18 02:19:39 UTC

[jira] [Commented] (NPANDAY-533) Refactor wix-maven-plugin to reduce duplication

    [ https://issues.apache.org/jira/browse/NPANDAY-533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188205#comment-13188205 ] 

Brett Porter commented on NPANDAY-533:
--------------------------------------

applied, thanks! I avoided making most of the formatting changes at the same time, and reformatted as a separate commit (to make the patch easier to review).
                
> Refactor wix-maven-plugin to reduce duplication
> -----------------------------------------------
>
>                 Key: NPANDAY-533
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-533
>             Project: NPanday
>          Issue Type: Improvement
>          Components: Maven Plugins
>    Affects Versions: 1.5.0-incubating
>            Reporter: Adrián Boimvaser
>             Fix For: 1.5.0-incubating
>
>         Attachments: wixMavenPluginRefactored.patch
>
>
> I refactored the wix-maven-plugin to:
> * Reduce some duplication
> * Take advantage of the enhanced for loop
> * Simplify the control flow in cases where: if (condition) { throw ... } else { ... }
>   can be better expressed as: if (condition) { throw ... } ...
> I also added a couple configuration options: supressSchemaValidation (-ss) & cultures (-cultures)
> I attach the patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira