giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessandro Presta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GIRAPH-433) Vertex#initialize() shouldn't be called with null edges
Date Mon, 19 Nov 2012 18:34:03 GMT

     [ https://issues.apache.org/jira/browse/GIRAPH-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alessandro Presta updated GIRAPH-433:
-------------------------------------

    Description: 
VertexResolver calls Vertex#initialize() with edges=null, and this causes problems for implementations
that don't check for null (see HashMapVertex).
As we have another initialize() that assumes no edges, that should be called instead.
I'm also removing the null check in EdgeListVertex since a null should never be passed.
    
> Vertex#initialize() shouldn't be called with null edges
> -------------------------------------------------------
>
>                 Key: GIRAPH-433
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-433
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Alessandro Presta
>
> VertexResolver calls Vertex#initialize() with edges=null, and this causes problems for
implementations that don't check for null (see HashMapVertex).
> As we have another initialize() that assumes no edges, that should be called instead.
> I'm also removing the null check in EdgeListVertex since a null should never be passed.

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

Mime
View raw message