Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
GIRAPH-176. BasicRPCCommunications has unnecessary cast of Vertex. Co…
Browse files Browse the repository at this point in the history
…ntributed by Devaraj K.

git-svn-id: https://svn.apache.org/repos/asf/incubator/giraph/trunk@1327348 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
jghoman committed Apr 18, 2012
1 parent 6f8296d commit 0e78d17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG
Expand Up @@ -2,6 +2,9 @@ Giraph Change Log

Release 0.2.0 - unreleased

GIRAPH-176. BasicRPCCommunications has unnecessary cast of Vertex.
(Devaraj K via jghoman)

GIRAPH-175. Replace manual array copy to utility method call.
(Devaraj K via jghoman)

Expand Down
Expand Up @@ -1256,7 +1256,7 @@ public void prepareSuperstep() {
}
if (vertex != null) {
((MutableVertex<I, V, E, M>) vertex).setVertexId(vertexIndex);
partition.putVertex((BasicVertex<I, V, E, M>) vertex);
partition.putVertex(vertex);
} else if (originalVertex != null) {
partition.removeVertex(originalVertex.getVertexId());
}
Expand Down

0 comments on commit 0e78d17

Please sign in to comment.