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.


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

Reply via email to