You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Paolo Castagna (JIRA)" <ji...@apache.org> on 2012/05/30 15:57:23 UTC
[jira] [Commented] (GIRAPH-151) IntIntNullIntVertex.initialize
method should handle "null" edges argument
[ 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