Uploaded image for project: 'Giraph (Retired)'
  1. Giraph (Retired)
  2. GIRAPH-176

BasicRPCCommunications has unnecessary cast of Vertex

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None

    Description

      BasicRPCCommunications.java, 1224:

            BasicVertex<I, V, E, M> vertex =
                vertexResolver.resolve(vertexIndex,
                    originalVertex,
                    vertexMutations,
                    messages);

      and then a few lines later at 1248:

              partition.putVertex((BasicVertex<I, V, E, M>) vertex);

      vertex gets cast to its own type. This cast can be removed.

      Attachments

        1. GIRAPH-176.patch
          0.7 kB
          Devaraj Kavali

        Activity

          People

            devaraj Devaraj Kavali
            jghoman Jakob Homan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: