BasicRPCCommunications has unnecessary cast of Vertex
-----------------------------------------------------

                 Key: GIRAPH-176
                 URL: https://issues.apache.org/jira/browse/GIRAPH-176
             Project: Giraph
          Issue Type: Improvement
            Reporter: Jakob Homan
            Priority: Minor


BasicRPCCommunications.java, 1224:
{code}      BasicVertex<I, V, E, M> vertex =
          vertexResolver.resolve(vertexIndex,
              originalVertex,
              vertexMutations,
              messages);{code}
and then a few lines later at 1248:
{code}        partition.putVertex((BasicVertex<I, V, E, M>) vertex);{code}
vertex gets cast to its own type. This cast can be removed.

--
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

        

Reply via email to