incubator-giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Homan (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GIRAPH-176) BasicRPCCommunications has unnecessary cast of Vertex
Date Sat, 07 Apr 2012 20:36:19 GMT
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

        

Mime
View raw message