You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2012/12/01 21:35:13 UTC

[jira] (MNG-4588) DefaultMavenExecutionRequest - dead store to local variable

     [ https://jira.codehaus.org/browse/MNG-4588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Rosenvold closed MNG-4588.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Issues to be reviewed for 3.x)
         Assignee: Kristian Rosenvold

Fixed somewhere in 3.x ;)
                
> DefaultMavenExecutionRequest - dead store to local variable
> -----------------------------------------------------------
>
>                 Key: MNG-4588
>                 URL: https://jira.codehaus.org/browse/MNG-4588
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>            Reporter: Maciej Szarlinski
>            Assignee: Kristian Rosenvold
>            Priority: Minor
>
> Method setSession(MavenSession session) in DefaultMavenExecutionRequest assigns parameter to itself, so that variable session can't be changed. It should be: this.session = session;

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