giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Schelter <...@apache.org>
Subject Re: IntIntNullIntVertex initialize method
Date Sun, 19 Feb 2012 18:53:12 GMT
That's a good point, can you open a Jira issue for that? Maybe we should
use some annotation like @Nullable to mark parameters that can be null
to make it easier to avoid forgetting checks in the implementing code.

--sebastian



On 19.02.2012 19:47, yavuz gokirmak wrote:
> Hello,
> 
> I am writing my own giraph algorithms to understand the system,
> I have again a question about IntIntNullIntVertex
> 
> I think IntIntNullIntVertex.initialize method should handle "null" edges
> argument
> because in VertexResolver.resolve method (line:91) vertex.initialize is
> called with edge argument as null.
> 
> Finally I wrote my own simple graph algorithm and able to run over girap.
> Sorry for newbie questions.
> 
> - ygokirmak
> 


Mime
View raw message