giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paolo Castagna (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-151) IntIntNullIntVertex.initialize method should handle "null" edges argument
Date Wed, 30 May 2012 13:57:23 GMT

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

Paolo Castagna commented on GIRAPH-151:
---------------------------------------

I think is not the case any more, IntIntNullIntVertex.initialize copes with "null" edges:


{code:java}
    this.neighbors = new int[(edges != null) ? edges.size() : 0];
    ...
    if (edges != null) {
        ...
    }
{code}
                
> IntIntNullIntVertex.initialize method should handle "null" edges argument
> -------------------------------------------------------------------------
>
>                 Key: GIRAPH-151
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-151
>             Project: Giraph
>          Issue Type: Bug
>          Components: graph
>    Affects Versions: 0.1.0
>         Environment: Linux 2.6.18-028stab095.1-PAE
>            Reporter: yavuz gokirmak
>            Priority: Trivial
>              Labels: patch
>             Fix For: 0.1.0
>
>
> IntIntNullIntVertex.initialize method should handle "null" edges argument
> because in VertexResolver.resolve method (line:91) vertex.initialize is called with edge
argument as null

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

        

Mime
View raw message