Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

GIRAPH-176. BasicRPCCommunications has unnecessary cast of Vertex. Co…

…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...
commit 0e78d17ac0b2717f0afbb8799b16f255231eaea9 1 parent 6f8296d
@jghoman jghoman authored
View
3  CHANGELOG
@@ -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)
View
2  src/main/java/org/apache/giraph/comm/BasicRPCCommunications.java
@@ -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());
}
Please sign in to comment.
Something went wrong with that request. Please try again.