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

Charles Lamb commented on HDFS-6176:
------------------------------------

[~sureshms], the warning would be on something like the following

publc void f(Object o) {
o = new Object(); // assignment to a formal arg
}

You're right that I should see if Eclipse has a "fix this" function.


> Remove assignments to method arguments
> --------------------------------------
>
>                 Key: HDFS-6176
>                 URL: https://issues.apache.org/jira/browse/HDFS-6176
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Charles Lamb
>            Priority: Minor
>
> There are many places in the code where assignments are made to method 
> arguments. Eclipse is quite happy to flag this if the appropriate warning is 
> enabled.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to