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

Brian Femiano commented on GIRAPH-165:
--------------------------------------

In GIRAPH-159 I found another work around that avoid the local variable. Since 
the reference is
only used once I chain the call together job.getConfiguration().~ instead of 
conf.~

This would also work. 
                
> checkstyle error: " 'conf' hides a field" on line 154 of GraphRunner
> --------------------------------------------------------------------
>
>                 Key: GIRAPH-165
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-165
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Eugene Koontz
>            Priority: Minor
>         Attachments: GIRAPH-165.patch
>
>
> full checkstyle error is 
> {code}
> <file 
> name="/Users/ekoontz/giraph/src/main/java/org/apache/giraph/GiraphRunner.java">
> <error line="154" column="21" severity="error" message="&apos;conf&apos; 
> hides a field." 
> source="com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck"/>
> </file>
> {code}

--
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

        

Reply via email to